 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495679 -3.48681)', '2026-07-18 15:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495675 -3.486756)'), GeomFromEWKT('SRID=4674;POINT (-38.495679 -3.48681)'))) / (select extract(epoch from '2026-07-18 15:43:55'::timestamp) - extract(epoch from '2026-07-18 15:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495675 -3.486756)'), GeomFromEWKT('SRID=4674;POINT (-38.495679 -3.48681)'))) / (select extract(epoch from '2026-07-18 15:43:55'::timestamp) - extract(epoch from '2026-07-18 15:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495711 -3.486904)', '2026-07-18 15:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495679 -3.48681)'), GeomFromEWKT('SRID=4674;POINT (-38.495711 -3.486904)'))) / (select extract(epoch from '2026-07-18 15:44:00'::timestamp) - extract(epoch from '2026-07-18 15:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495679 -3.48681)'), GeomFromEWKT('SRID=4674;POINT (-38.495711 -3.486904)'))) / (select extract(epoch from '2026-07-18 15:44:00'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495713 -3.486919)', '2026-07-18 15:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495711 -3.486904)'), GeomFromEWKT('SRID=4674;POINT (-38.495713 -3.486919)'))) / (select extract(epoch from '2026-07-18 15:44:01'::timestamp) - extract(epoch from '2026-07-18 15:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495711 -3.486904)'), GeomFromEWKT('SRID=4674;POINT (-38.495713 -3.486919)'))) / (select extract(epoch from '2026-07-18 15:44:01'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495742 -3.486971)', '2026-07-18 15:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495713 -3.486919)'), GeomFromEWKT('SRID=4674;POINT (-38.495742 -3.486971)'))) / (select extract(epoch from '2026-07-18 15:44:04'::timestamp) - extract(epoch from '2026-07-18 15:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495713 -3.486919)'), GeomFromEWKT('SRID=4674;POINT (-38.495742 -3.486971)'))) / (select extract(epoch from '2026-07-18 15:44:04'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495776 -3.487091)', '2026-07-18 15:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495742 -3.486971)'), GeomFromEWKT('SRID=4674;POINT (-38.495776 -3.487091)'))) / (select extract(epoch from '2026-07-18 15:44:11'::timestamp) - extract(epoch from '2026-07-18 15:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495742 -3.486971)'), GeomFromEWKT('SRID=4674;POINT (-38.495776 -3.487091)'))) / (select extract(epoch from '2026-07-18 15:44:11'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495804 -3.487221)', '2026-07-18 15:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495776 -3.487091)'), GeomFromEWKT('SRID=4674;POINT (-38.495804 -3.487221)'))) / (select extract(epoch from '2026-07-18 15:44:18'::timestamp) - extract(epoch from '2026-07-18 15:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495776 -3.487091)'), GeomFromEWKT('SRID=4674;POINT (-38.495804 -3.487221)'))) / (select extract(epoch from '2026-07-18 15:44:18'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.49581 -3.48724)', '2026-07-18 15:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495804 -3.487221)'), GeomFromEWKT('SRID=4674;POINT (-38.49581 -3.48724)'))) / (select extract(epoch from '2026-07-18 15:44:19'::timestamp) - extract(epoch from '2026-07-18 15:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495804 -3.487221)'), GeomFromEWKT('SRID=4674;POINT (-38.49581 -3.48724)'))) / (select extract(epoch from '2026-07-18 15:44:19'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495826 -3.487278)', '2026-07-18 15:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49581 -3.48724)'), GeomFromEWKT('SRID=4674;POINT (-38.495826 -3.487278)'))) / (select extract(epoch from '2026-07-18 15:44:21'::timestamp) - extract(epoch from '2026-07-18 15:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49581 -3.48724)'), GeomFromEWKT('SRID=4674;POINT (-38.495826 -3.487278)'))) / (select extract(epoch from '2026-07-18 15:44:21'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495823 -3.487298)', '2026-07-18 15:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495826 -3.487278)'), GeomFromEWKT('SRID=4674;POINT (-38.495823 -3.487298)'))) / (select extract(epoch from '2026-07-18 15:44:22'::timestamp) - extract(epoch from '2026-07-18 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495826 -3.487278)'), GeomFromEWKT('SRID=4674;POINT (-38.495823 -3.487298)'))) / (select extract(epoch from '2026-07-18 15:44:22'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495825 -3.487316)', '2026-07-18 15:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495823 -3.487298)'), GeomFromEWKT('SRID=4674;POINT (-38.495825 -3.487316)'))) / (select extract(epoch from '2026-07-18 15:44:23'::timestamp) - extract(epoch from '2026-07-18 15:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495823 -3.487298)'), GeomFromEWKT('SRID=4674;POINT (-38.495825 -3.487316)'))) / (select extract(epoch from '2026-07-18 15:44:23'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.49585 -3.487348)', '2026-07-18 15:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495825 -3.487316)'), GeomFromEWKT('SRID=4674;POINT (-38.49585 -3.487348)'))) / (select extract(epoch from '2026-07-18 15:44:25'::timestamp) - extract(epoch from '2026-07-18 15:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495825 -3.487316)'), GeomFromEWKT('SRID=4674;POINT (-38.49585 -3.487348)'))) / (select extract(epoch from '2026-07-18 15:44:25'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495859 -3.487385)', '2026-07-18 15:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49585 -3.487348)'), GeomFromEWKT('SRID=4674;POINT (-38.495859 -3.487385)'))) / (select extract(epoch from '2026-07-18 15:44:27'::timestamp) - extract(epoch from '2026-07-18 15:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49585 -3.487348)'), GeomFromEWKT('SRID=4674;POINT (-38.495859 -3.487385)'))) / (select extract(epoch from '2026-07-18 15:44:27'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.49586 -3.487414)', '2026-07-18 15:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495859 -3.487385)'), GeomFromEWKT('SRID=4674;POINT (-38.49586 -3.487414)'))) / (select extract(epoch from '2026-07-18 15:44:29'::timestamp) - extract(epoch from '2026-07-18 15:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495859 -3.487385)'), GeomFromEWKT('SRID=4674;POINT (-38.49586 -3.487414)'))) / (select extract(epoch from '2026-07-18 15:44:29'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495865 -3.48745)', '2026-07-18 15:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49586 -3.487414)'), GeomFromEWKT('SRID=4674;POINT (-38.495865 -3.48745)'))) / (select extract(epoch from '2026-07-18 15:44:31'::timestamp) - extract(epoch from '2026-07-18 15:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49586 -3.487414)'), GeomFromEWKT('SRID=4674;POINT (-38.495865 -3.48745)'))) / (select extract(epoch from '2026-07-18 15:44:31'::timestamp) - extract(epoch from '2026-07-18 15:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495884 -3.487483)', '2026-07-18 15:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495865 -3.48745)'), GeomFromEWKT('SRID=4674;POINT (-38.495884 -3.487483)'))) / (select extract(epoch from '2026-07-18 15:44:33'::timestamp) - extract(epoch from '2026-07-18 15:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495865 -3.48745)'), GeomFromEWKT('SRID=4674;POINT (-38.495884 -3.487483)'))) / (select extract(epoch from '2026-07-18 15:44:33'::timestamp) - extract(epoch from '2026-07-18 15:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49589 -3.487511)', '2026-07-18 15:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495884 -3.487483)'), GeomFromEWKT('SRID=4674;POINT (-38.49589 -3.487511)'))) / (select extract(epoch from '2026-07-18 15:44:35'::timestamp) - extract(epoch from '2026-07-18 15:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495884 -3.487483)'), GeomFromEWKT('SRID=4674;POINT (-38.49589 -3.487511)'))) / (select extract(epoch from '2026-07-18 15:44:35'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495907 -3.487552)', '2026-07-18 15:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49589 -3.487511)'), GeomFromEWKT('SRID=4674;POINT (-38.495907 -3.487552)'))) / (select extract(epoch from '2026-07-18 15:44:38'::timestamp) - extract(epoch from '2026-07-18 15:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49589 -3.487511)'), GeomFromEWKT('SRID=4674;POINT (-38.495907 -3.487552)'))) / (select extract(epoch from '2026-07-18 15:44:38'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495955 -3.487616)', '2026-07-18 15:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495907 -3.487552)'), GeomFromEWKT('SRID=4674;POINT (-38.495955 -3.487616)'))) / (select extract(epoch from '2026-07-18 15:44:42'::timestamp) - extract(epoch from '2026-07-18 15:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495907 -3.487552)'), GeomFromEWKT('SRID=4674;POINT (-38.495955 -3.487616)'))) / (select extract(epoch from '2026-07-18 15:44:42'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495957 -3.487632)', '2026-07-18 15:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495955 -3.487616)'), GeomFromEWKT('SRID=4674;POINT (-38.495957 -3.487632)'))) / (select extract(epoch from '2026-07-18 15:44:43'::timestamp) - extract(epoch from '2026-07-18 15:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495955 -3.487616)'), GeomFromEWKT('SRID=4674;POINT (-38.495957 -3.487632)'))) / (select extract(epoch from '2026-07-18 15:44:43'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495965 -3.487648)', '2026-07-18 15:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495957 -3.487632)'), GeomFromEWKT('SRID=4674;POINT (-38.495965 -3.487648)'))) / (select extract(epoch from '2026-07-18 15:44:44'::timestamp) - extract(epoch from '2026-07-18 15:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495957 -3.487632)'), GeomFromEWKT('SRID=4674;POINT (-38.495965 -3.487648)'))) / (select extract(epoch from '2026-07-18 15:44:44'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.495995 -3.487693)', '2026-07-18 15:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495965 -3.487648)'), GeomFromEWKT('SRID=4674;POINT (-38.495995 -3.487693)'))) / (select extract(epoch from '2026-07-18 15:44:47'::timestamp) - extract(epoch from '2026-07-18 15:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495965 -3.487648)'), GeomFromEWKT('SRID=4674;POINT (-38.495995 -3.487693)'))) / (select extract(epoch from '2026-07-18 15:44:47'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.496009 -3.487706)', '2026-07-18 15:44:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495995 -3.487693)'), GeomFromEWKT('SRID=4674;POINT (-38.496009 -3.487706)'))) / (select extract(epoch from '2026-07-18 15:44:48'::timestamp) - extract(epoch from '2026-07-18 15:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495995 -3.487693)'), GeomFromEWKT('SRID=4674;POINT (-38.496009 -3.487706)'))) / (select extract(epoch from '2026-07-18 15:44:48'::timestamp) - extract(epoch from '2026-07-18 15:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496013 -3.487721)', '2026-07-18 15:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496009 -3.487706)'), GeomFromEWKT('SRID=4674;POINT (-38.496013 -3.487721)'))) / (select extract(epoch from '2026-07-18 15:44:49'::timestamp) - extract(epoch from '2026-07-18 15:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496009 -3.487706)'), GeomFromEWKT('SRID=4674;POINT (-38.496013 -3.487721)'))) / (select extract(epoch from '2026-07-18 15:44:49'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.496019 -3.487757)', '2026-07-18 15:44:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496013 -3.487721)'), GeomFromEWKT('SRID=4674;POINT (-38.496019 -3.487757)'))) / (select extract(epoch from '2026-07-18 15:44:52'::timestamp) - extract(epoch from '2026-07-18 15:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496013 -3.487721)'), GeomFromEWKT('SRID=4674;POINT (-38.496019 -3.487757)'))) / (select extract(epoch from '2026-07-18 15:44:52'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.496055 -3.487814)', '2026-07-18 15:44:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496019 -3.487757)'), GeomFromEWKT('SRID=4674;POINT (-38.496055 -3.487814)'))) / (select extract(epoch from '2026-07-18 15:44:56'::timestamp) - extract(epoch from '2026-07-18 15:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496019 -3.487757)'), GeomFromEWKT('SRID=4674;POINT (-38.496055 -3.487814)'))) / (select extract(epoch from '2026-07-18 15:44:56'::timestamp) - extract(epoch from '2026-07-18 15:44: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'), 47391, 'SRID=4674;POINT (-38.496104 -3.487898)', '2026-07-18 15:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496055 -3.487814)'), GeomFromEWKT('SRID=4674;POINT (-38.496104 -3.487898)'))) / (select extract(epoch from '2026-07-18 15:45:01'::timestamp) - extract(epoch from '2026-07-18 15:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496055 -3.487814)'), GeomFromEWKT('SRID=4674;POINT (-38.496104 -3.487898)'))) / (select extract(epoch from '2026-07-18 15:45:01'::timestamp) - extract(epoch from '2026-07-18 15:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496147 -3.487984)', '2026-07-18 15:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496104 -3.487898)'), GeomFromEWKT('SRID=4674;POINT (-38.496147 -3.487984)'))) / (select extract(epoch from '2026-07-18 15:45:06'::timestamp) - extract(epoch from '2026-07-18 15:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496104 -3.487898)'), GeomFromEWKT('SRID=4674;POINT (-38.496147 -3.487984)'))) / (select extract(epoch from '2026-07-18 15:45:06'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.49619 -3.488068)', '2026-07-18 15:45:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496147 -3.487984)'), GeomFromEWKT('SRID=4674;POINT (-38.49619 -3.488068)'))) / (select extract(epoch from '2026-07-18 15:45:11'::timestamp) - extract(epoch from '2026-07-18 15:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496147 -3.487984)'), GeomFromEWKT('SRID=4674;POINT (-38.49619 -3.488068)'))) / (select extract(epoch from '2026-07-18 15:45:11'::timestamp) - extract(epoch from '2026-07-18 15:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496227 -3.488178)', '2026-07-18 15:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49619 -3.488068)'), GeomFromEWKT('SRID=4674;POINT (-38.496227 -3.488178)'))) / (select extract(epoch from '2026-07-18 15:45:17'::timestamp) - extract(epoch from '2026-07-18 15:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49619 -3.488068)'), GeomFromEWKT('SRID=4674;POINT (-38.496227 -3.488178)'))) / (select extract(epoch from '2026-07-18 15:45:17'::timestamp) - extract(epoch from '2026-07-18 15:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496232 -3.488212)', '2026-07-18 15:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496227 -3.488178)'), GeomFromEWKT('SRID=4674;POINT (-38.496232 -3.488212)'))) / (select extract(epoch from '2026-07-18 15:45:19'::timestamp) - extract(epoch from '2026-07-18 15:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496227 -3.488178)'), GeomFromEWKT('SRID=4674;POINT (-38.496232 -3.488212)'))) / (select extract(epoch from '2026-07-18 15:45:19'::timestamp) - extract(epoch from '2026-07-18 15:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496278 -3.488251)', '2026-07-18 15:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496232 -3.488212)'), GeomFromEWKT('SRID=4674;POINT (-38.496278 -3.488251)'))) / (select extract(epoch from '2026-07-18 15:45:22'::timestamp) - extract(epoch from '2026-07-18 15:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496232 -3.488212)'), GeomFromEWKT('SRID=4674;POINT (-38.496278 -3.488251)'))) / (select extract(epoch from '2026-07-18 15:45:22'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496284 -3.488266)', '2026-07-18 15:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496278 -3.488251)'), GeomFromEWKT('SRID=4674;POINT (-38.496284 -3.488266)'))) / (select extract(epoch from '2026-07-18 15:45:23'::timestamp) - extract(epoch from '2026-07-18 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496278 -3.488251)'), GeomFromEWKT('SRID=4674;POINT (-38.496284 -3.488266)'))) / (select extract(epoch from '2026-07-18 15:45:23'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496291 -3.488296)', '2026-07-18 15:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496284 -3.488266)'), GeomFromEWKT('SRID=4674;POINT (-38.496291 -3.488296)'))) / (select extract(epoch from '2026-07-18 15:45:25'::timestamp) - extract(epoch from '2026-07-18 15:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496284 -3.488266)'), GeomFromEWKT('SRID=4674;POINT (-38.496291 -3.488296)'))) / (select extract(epoch from '2026-07-18 15:45:25'::timestamp) - extract(epoch from '2026-07-18 15:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496304 -3.48831)', '2026-07-18 15:45:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496291 -3.488296)'), GeomFromEWKT('SRID=4674;POINT (-38.496304 -3.48831)'))) / (select extract(epoch from '2026-07-18 15:45:26'::timestamp) - extract(epoch from '2026-07-18 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496291 -3.488296)'), GeomFromEWKT('SRID=4674;POINT (-38.496304 -3.48831)'))) / (select extract(epoch from '2026-07-18 15:45:26'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496336 -3.488375)', '2026-07-18 15:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496304 -3.48831)'), GeomFromEWKT('SRID=4674;POINT (-38.496336 -3.488375)'))) / (select extract(epoch from '2026-07-18 15:45:30'::timestamp) - extract(epoch from '2026-07-18 15:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496304 -3.48831)'), GeomFromEWKT('SRID=4674;POINT (-38.496336 -3.488375)'))) / (select extract(epoch from '2026-07-18 15:45:30'::timestamp) - extract(epoch from '2026-07-18 15:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496371 -3.488436)', '2026-07-18 15:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496336 -3.488375)'), GeomFromEWKT('SRID=4674;POINT (-38.496371 -3.488436)'))) / (select extract(epoch from '2026-07-18 15:45:34'::timestamp) - extract(epoch from '2026-07-18 15:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496336 -3.488375)'), GeomFromEWKT('SRID=4674;POINT (-38.496371 -3.488436)'))) / (select extract(epoch from '2026-07-18 15:45:34'::timestamp) - extract(epoch from '2026-07-18 15:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496376 -3.488455)', '2026-07-18 15:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496371 -3.488436)'), GeomFromEWKT('SRID=4674;POINT (-38.496376 -3.488455)'))) / (select extract(epoch from '2026-07-18 15:45:35'::timestamp) - extract(epoch from '2026-07-18 15:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496371 -3.488436)'), GeomFromEWKT('SRID=4674;POINT (-38.496376 -3.488455)'))) / (select extract(epoch from '2026-07-18 15:45:35'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496428 -3.488565)', '2026-07-18 15:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496376 -3.488455)'), GeomFromEWKT('SRID=4674;POINT (-38.496428 -3.488565)'))) / (select extract(epoch from '2026-07-18 15:45:42'::timestamp) - extract(epoch from '2026-07-18 15:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496376 -3.488455)'), GeomFromEWKT('SRID=4674;POINT (-38.496428 -3.488565)'))) / (select extract(epoch from '2026-07-18 15:45:42'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496443 -3.488592)', '2026-07-18 15:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496428 -3.488565)'), GeomFromEWKT('SRID=4674;POINT (-38.496443 -3.488592)'))) / (select extract(epoch from '2026-07-18 15:45:44'::timestamp) - extract(epoch from '2026-07-18 15:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496428 -3.488565)'), GeomFromEWKT('SRID=4674;POINT (-38.496443 -3.488592)'))) / (select extract(epoch from '2026-07-18 15:45:44'::timestamp) - extract(epoch from '2026-07-18 15:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496462 -3.488643)', '2026-07-18 15:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496443 -3.488592)'), GeomFromEWKT('SRID=4674;POINT (-38.496462 -3.488643)'))) / (select extract(epoch from '2026-07-18 15:45:47'::timestamp) - extract(epoch from '2026-07-18 15:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496443 -3.488592)'), GeomFromEWKT('SRID=4674;POINT (-38.496462 -3.488643)'))) / (select extract(epoch from '2026-07-18 15:45:47'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496531 -3.488774)', '2026-07-18 15:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496462 -3.488643)'), GeomFromEWKT('SRID=4674;POINT (-38.496531 -3.488774)'))) / (select extract(epoch from '2026-07-18 15:45:55'::timestamp) - extract(epoch from '2026-07-18 15:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496462 -3.488643)'), GeomFromEWKT('SRID=4674;POINT (-38.496531 -3.488774)'))) / (select extract(epoch from '2026-07-18 15:45:55'::timestamp) - extract(epoch from '2026-07-18 15:45: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'), 47391, 'SRID=4674;POINT (-38.496564 -3.488892)', '2026-07-18 15:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496531 -3.488774)'), GeomFromEWKT('SRID=4674;POINT (-38.496564 -3.488892)'))) / (select extract(epoch from '2026-07-18 15:46:01'::timestamp) - extract(epoch from '2026-07-18 15:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496531 -3.488774)'), GeomFromEWKT('SRID=4674;POINT (-38.496564 -3.488892)'))) / (select extract(epoch from '2026-07-18 15:46:01'::timestamp) - extract(epoch from '2026-07-18 15:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496588 -3.488973)', '2026-07-18 15:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496564 -3.488892)'), GeomFromEWKT('SRID=4674;POINT (-38.496588 -3.488973)'))) / (select extract(epoch from '2026-07-18 15:46:05'::timestamp) - extract(epoch from '2026-07-18 15:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496564 -3.488892)'), GeomFromEWKT('SRID=4674;POINT (-38.496588 -3.488973)'))) / (select extract(epoch from '2026-07-18 15:46:05'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496601 -3.488991)', '2026-07-18 15:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496588 -3.488973)'), GeomFromEWKT('SRID=4674;POINT (-38.496601 -3.488991)'))) / (select extract(epoch from '2026-07-18 15:46:06'::timestamp) - extract(epoch from '2026-07-18 15:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496588 -3.488973)'), GeomFromEWKT('SRID=4674;POINT (-38.496601 -3.488991)'))) / (select extract(epoch from '2026-07-18 15:46:06'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.49662 -3.489046)', '2026-07-18 15:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496601 -3.488991)'), GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489046)'))) / (select extract(epoch from '2026-07-18 15:46:09'::timestamp) - extract(epoch from '2026-07-18 15:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496601 -3.488991)'), GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489046)'))) / (select extract(epoch from '2026-07-18 15:46:09'::timestamp) - extract(epoch from '2026-07-18 15:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49662 -3.489082)', '2026-07-18 15:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489046)'), GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489082)'))) / (select extract(epoch from '2026-07-18 15:46:11'::timestamp) - extract(epoch from '2026-07-18 15:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489046)'), GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489082)'))) / (select extract(epoch from '2026-07-18 15:46:11'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.49665 -3.489179)', '2026-07-18 15:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489082)'), GeomFromEWKT('SRID=4674;POINT (-38.49665 -3.489179)'))) / (select extract(epoch from '2026-07-18 15:46:16'::timestamp) - extract(epoch from '2026-07-18 15:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49662 -3.489082)'), GeomFromEWKT('SRID=4674;POINT (-38.49665 -3.489179)'))) / (select extract(epoch from '2026-07-18 15:46:16'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496657 -3.489199)', '2026-07-18 15:46:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49665 -3.489179)'), GeomFromEWKT('SRID=4674;POINT (-38.496657 -3.489199)'))) / (select extract(epoch from '2026-07-18 15:46:17'::timestamp) - extract(epoch from '2026-07-18 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49665 -3.489179)'), GeomFromEWKT('SRID=4674;POINT (-38.496657 -3.489199)'))) / (select extract(epoch from '2026-07-18 15:46:17'::timestamp) - extract(epoch from '2026-07-18 15:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496679 -3.489253)', '2026-07-18 15:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496657 -3.489199)'), GeomFromEWKT('SRID=4674;POINT (-38.496679 -3.489253)'))) / (select extract(epoch from '2026-07-18 15:46:20'::timestamp) - extract(epoch from '2026-07-18 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496657 -3.489199)'), GeomFromEWKT('SRID=4674;POINT (-38.496679 -3.489253)'))) / (select extract(epoch from '2026-07-18 15:46:20'::timestamp) - extract(epoch from '2026-07-18 15:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496709 -3.48934)', '2026-07-18 15:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496679 -3.489253)'), GeomFromEWKT('SRID=4674;POINT (-38.496709 -3.48934)'))) / (select extract(epoch from '2026-07-18 15:46:25'::timestamp) - extract(epoch from '2026-07-18 15:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496679 -3.489253)'), GeomFromEWKT('SRID=4674;POINT (-38.496709 -3.48934)'))) / (select extract(epoch from '2026-07-18 15:46:25'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496736 -3.489393)', '2026-07-18 15:46:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496709 -3.48934)'), GeomFromEWKT('SRID=4674;POINT (-38.496736 -3.489393)'))) / (select extract(epoch from '2026-07-18 15:46:28'::timestamp) - extract(epoch from '2026-07-18 15:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496709 -3.48934)'), GeomFromEWKT('SRID=4674;POINT (-38.496736 -3.489393)'))) / (select extract(epoch from '2026-07-18 15:46:28'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496742 -3.489424)', '2026-07-18 15:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496736 -3.489393)'), GeomFromEWKT('SRID=4674;POINT (-38.496742 -3.489424)'))) / (select extract(epoch from '2026-07-18 15:46:30'::timestamp) - extract(epoch from '2026-07-18 15:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496736 -3.489393)'), GeomFromEWKT('SRID=4674;POINT (-38.496742 -3.489424)'))) / (select extract(epoch from '2026-07-18 15:46:30'::timestamp) - extract(epoch from '2026-07-18 15:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.496782 -3.489507)', '2026-07-18 15:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496742 -3.489424)'), GeomFromEWKT('SRID=4674;POINT (-38.496782 -3.489507)'))) / (select extract(epoch from '2026-07-18 15:46:34'::timestamp) - extract(epoch from '2026-07-18 15:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496742 -3.489424)'), GeomFromEWKT('SRID=4674;POINT (-38.496782 -3.489507)'))) / (select extract(epoch from '2026-07-18 15:46:34'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.496817 -3.48961)', '2026-07-18 15:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496782 -3.489507)'), GeomFromEWKT('SRID=4674;POINT (-38.496817 -3.48961)'))) / (select extract(epoch from '2026-07-18 15:46:40'::timestamp) - extract(epoch from '2026-07-18 15:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496782 -3.489507)'), GeomFromEWKT('SRID=4674;POINT (-38.496817 -3.48961)'))) / (select extract(epoch from '2026-07-18 15:46:40'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496854 -3.489714)', '2026-07-18 15:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496817 -3.48961)'), GeomFromEWKT('SRID=4674;POINT (-38.496854 -3.489714)'))) / (select extract(epoch from '2026-07-18 15:46:46'::timestamp) - extract(epoch from '2026-07-18 15:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496817 -3.48961)'), GeomFromEWKT('SRID=4674;POINT (-38.496854 -3.489714)'))) / (select extract(epoch from '2026-07-18 15:46:46'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496861 -3.489732)', '2026-07-18 15:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496854 -3.489714)'), GeomFromEWKT('SRID=4674;POINT (-38.496861 -3.489732)'))) / (select extract(epoch from '2026-07-18 15:46:47'::timestamp) - extract(epoch from '2026-07-18 15:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496854 -3.489714)'), GeomFromEWKT('SRID=4674;POINT (-38.496861 -3.489732)'))) / (select extract(epoch from '2026-07-18 15:46:47'::timestamp) - extract(epoch from '2026-07-18 15:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49687 -3.489787)', '2026-07-18 15:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496861 -3.489732)'), GeomFromEWKT('SRID=4674;POINT (-38.49687 -3.489787)'))) / (select extract(epoch from '2026-07-18 15:46:50'::timestamp) - extract(epoch from '2026-07-18 15:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496861 -3.489732)'), GeomFromEWKT('SRID=4674;POINT (-38.49687 -3.489787)'))) / (select extract(epoch from '2026-07-18 15:46:50'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.496902 -3.489882)', '2026-07-18 15:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49687 -3.489787)'), GeomFromEWKT('SRID=4674;POINT (-38.496902 -3.489882)'))) / (select extract(epoch from '2026-07-18 15:46:55'::timestamp) - extract(epoch from '2026-07-18 15:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49687 -3.489787)'), GeomFromEWKT('SRID=4674;POINT (-38.496902 -3.489882)'))) / (select extract(epoch from '2026-07-18 15:46:55'::timestamp) - extract(epoch from '2026-07-18 15:46: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'), 47391, 'SRID=4674;POINT (-38.496928 -3.489983)', '2026-07-18 15:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496902 -3.489882)'), GeomFromEWKT('SRID=4674;POINT (-38.496928 -3.489983)'))) / (select extract(epoch from '2026-07-18 15:47:00'::timestamp) - extract(epoch from '2026-07-18 15:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496902 -3.489882)'), GeomFromEWKT('SRID=4674;POINT (-38.496928 -3.489983)'))) / (select extract(epoch from '2026-07-18 15:47:00'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.496957 -3.490078)', '2026-07-18 15:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496928 -3.489983)'), GeomFromEWKT('SRID=4674;POINT (-38.496957 -3.490078)'))) / (select extract(epoch from '2026-07-18 15:47:05'::timestamp) - extract(epoch from '2026-07-18 15:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496928 -3.489983)'), GeomFromEWKT('SRID=4674;POINT (-38.496957 -3.490078)'))) / (select extract(epoch from '2026-07-18 15:47:05'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497003 -3.490182)', '2026-07-18 15:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496957 -3.490078)'), GeomFromEWKT('SRID=4674;POINT (-38.497003 -3.490182)'))) / (select extract(epoch from '2026-07-18 15:47:11'::timestamp) - extract(epoch from '2026-07-18 15:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.496957 -3.490078)'), GeomFromEWKT('SRID=4674;POINT (-38.497003 -3.490182)'))) / (select extract(epoch from '2026-07-18 15:47:11'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497015 -3.490222)', '2026-07-18 15:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497003 -3.490182)'), GeomFromEWKT('SRID=4674;POINT (-38.497015 -3.490222)'))) / (select extract(epoch from '2026-07-18 15:47:14'::timestamp) - extract(epoch from '2026-07-18 15:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497003 -3.490182)'), GeomFromEWKT('SRID=4674;POINT (-38.497015 -3.490222)'))) / (select extract(epoch from '2026-07-18 15:47:14'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497033 -3.490253)', '2026-07-18 15:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497015 -3.490222)'), GeomFromEWKT('SRID=4674;POINT (-38.497033 -3.490253)'))) / (select extract(epoch from '2026-07-18 15:47:16'::timestamp) - extract(epoch from '2026-07-18 15:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497015 -3.490222)'), GeomFromEWKT('SRID=4674;POINT (-38.497033 -3.490253)'))) / (select extract(epoch from '2026-07-18 15:47:16'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497078 -3.490325)', '2026-07-18 15:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497033 -3.490253)'), GeomFromEWKT('SRID=4674;POINT (-38.497078 -3.490325)'))) / (select extract(epoch from '2026-07-18 15:47:21'::timestamp) - extract(epoch from '2026-07-18 15:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497033 -3.490253)'), GeomFromEWKT('SRID=4674;POINT (-38.497078 -3.490325)'))) / (select extract(epoch from '2026-07-18 15:47:21'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497088 -3.490353)', '2026-07-18 15:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497078 -3.490325)'), GeomFromEWKT('SRID=4674;POINT (-38.497088 -3.490353)'))) / (select extract(epoch from '2026-07-18 15:47:23'::timestamp) - extract(epoch from '2026-07-18 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497078 -3.490325)'), GeomFromEWKT('SRID=4674;POINT (-38.497088 -3.490353)'))) / (select extract(epoch from '2026-07-18 15:47:23'::timestamp) - extract(epoch from '2026-07-18 15:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497123 -3.490391)', '2026-07-18 15:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497088 -3.490353)'), GeomFromEWKT('SRID=4674;POINT (-38.497123 -3.490391)'))) / (select extract(epoch from '2026-07-18 15:47:26'::timestamp) - extract(epoch from '2026-07-18 15:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497088 -3.490353)'), GeomFromEWKT('SRID=4674;POINT (-38.497123 -3.490391)'))) / (select extract(epoch from '2026-07-18 15:47:26'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497128 -3.490404)', '2026-07-18 15:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497123 -3.490391)'), GeomFromEWKT('SRID=4674;POINT (-38.497128 -3.490404)'))) / (select extract(epoch from '2026-07-18 15:47:27'::timestamp) - extract(epoch from '2026-07-18 15:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497123 -3.490391)'), GeomFromEWKT('SRID=4674;POINT (-38.497128 -3.490404)'))) / (select extract(epoch from '2026-07-18 15:47:27'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497177 -3.490492)', '2026-07-18 15:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497128 -3.490404)'), GeomFromEWKT('SRID=4674;POINT (-38.497177 -3.490492)'))) / (select extract(epoch from '2026-07-18 15:47:32'::timestamp) - extract(epoch from '2026-07-18 15:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497128 -3.490404)'), GeomFromEWKT('SRID=4674;POINT (-38.497177 -3.490492)'))) / (select extract(epoch from '2026-07-18 15:47:32'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497212 -3.490592)', '2026-07-18 15:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497177 -3.490492)'), GeomFromEWKT('SRID=4674;POINT (-38.497212 -3.490592)'))) / (select extract(epoch from '2026-07-18 15:47:38'::timestamp) - extract(epoch from '2026-07-18 15:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497177 -3.490492)'), GeomFromEWKT('SRID=4674;POINT (-38.497212 -3.490592)'))) / (select extract(epoch from '2026-07-18 15:47:38'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497256 -3.490677)', '2026-07-18 15:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497212 -3.490592)'), GeomFromEWKT('SRID=4674;POINT (-38.497256 -3.490677)'))) / (select extract(epoch from '2026-07-18 15:47:43'::timestamp) - extract(epoch from '2026-07-18 15:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497212 -3.490592)'), GeomFromEWKT('SRID=4674;POINT (-38.497256 -3.490677)'))) / (select extract(epoch from '2026-07-18 15:47:43'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497291 -3.490789)', '2026-07-18 15:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497256 -3.490677)'), GeomFromEWKT('SRID=4674;POINT (-38.497291 -3.490789)'))) / (select extract(epoch from '2026-07-18 15:47:49'::timestamp) - extract(epoch from '2026-07-18 15:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497256 -3.490677)'), GeomFromEWKT('SRID=4674;POINT (-38.497291 -3.490789)'))) / (select extract(epoch from '2026-07-18 15:47:49'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.497329 -3.490903)', '2026-07-18 15:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497291 -3.490789)'), GeomFromEWKT('SRID=4674;POINT (-38.497329 -3.490903)'))) / (select extract(epoch from '2026-07-18 15:47:56'::timestamp) - extract(epoch from '2026-07-18 15:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497291 -3.490789)'), GeomFromEWKT('SRID=4674;POINT (-38.497329 -3.490903)'))) / (select extract(epoch from '2026-07-18 15:47:56'::timestamp) - extract(epoch from '2026-07-18 15:47: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'), 47391, 'SRID=4674;POINT (-38.497341 -3.490928)', '2026-07-18 15:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497329 -3.490903)'), GeomFromEWKT('SRID=4674;POINT (-38.497341 -3.490928)'))) / (select extract(epoch from '2026-07-18 15:47:58'::timestamp) - extract(epoch from '2026-07-18 15:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497329 -3.490903)'), GeomFromEWKT('SRID=4674;POINT (-38.497341 -3.490928)'))) / (select extract(epoch from '2026-07-18 15:47:58'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.497348 -3.490948)', '2026-07-18 15:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497341 -3.490928)'), GeomFromEWKT('SRID=4674;POINT (-38.497348 -3.490948)'))) / (select extract(epoch from '2026-07-18 15:48:00'::timestamp) - extract(epoch from '2026-07-18 15:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497341 -3.490928)'), GeomFromEWKT('SRID=4674;POINT (-38.497348 -3.490948)'))) / (select extract(epoch from '2026-07-18 15:48:00'::timestamp) - extract(epoch from '2026-07-18 15:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497369 -3.490978)', '2026-07-18 15:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497348 -3.490948)'), GeomFromEWKT('SRID=4674;POINT (-38.497369 -3.490978)'))) / (select extract(epoch from '2026-07-18 15:48:02'::timestamp) - extract(epoch from '2026-07-18 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497348 -3.490948)'), GeomFromEWKT('SRID=4674;POINT (-38.497369 -3.490978)'))) / (select extract(epoch from '2026-07-18 15:48:02'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.49739 -3.491021)', '2026-07-18 15:48:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497369 -3.490978)'), GeomFromEWKT('SRID=4674;POINT (-38.49739 -3.491021)'))) / (select extract(epoch from '2026-07-18 15:48:05'::timestamp) - extract(epoch from '2026-07-18 15:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497369 -3.490978)'), GeomFromEWKT('SRID=4674;POINT (-38.49739 -3.491021)'))) / (select extract(epoch from '2026-07-18 15:48:05'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.497416 -3.4911)', '2026-07-18 15:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49739 -3.491021)'), GeomFromEWKT('SRID=4674;POINT (-38.497416 -3.4911)'))) / (select extract(epoch from '2026-07-18 15:48:10'::timestamp) - extract(epoch from '2026-07-18 15:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49739 -3.491021)'), GeomFromEWKT('SRID=4674;POINT (-38.497416 -3.4911)'))) / (select extract(epoch from '2026-07-18 15:48:10'::timestamp) - extract(epoch from '2026-07-18 15:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497449 -3.491208)', '2026-07-18 15:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497416 -3.4911)'), GeomFromEWKT('SRID=4674;POINT (-38.497449 -3.491208)'))) / (select extract(epoch from '2026-07-18 15:48:16'::timestamp) - extract(epoch from '2026-07-18 15:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497416 -3.4911)'), GeomFromEWKT('SRID=4674;POINT (-38.497449 -3.491208)'))) / (select extract(epoch from '2026-07-18 15:48:16'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.49747 -3.491305)', '2026-07-18 15:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497449 -3.491208)'), GeomFromEWKT('SRID=4674;POINT (-38.49747 -3.491305)'))) / (select extract(epoch from '2026-07-18 15:48:21'::timestamp) - extract(epoch from '2026-07-18 15:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497449 -3.491208)'), GeomFromEWKT('SRID=4674;POINT (-38.49747 -3.491305)'))) / (select extract(epoch from '2026-07-18 15:48:21'::timestamp) - extract(epoch from '2026-07-18 15:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497506 -3.491396)', '2026-07-18 15:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49747 -3.491305)'), GeomFromEWKT('SRID=4674;POINT (-38.497506 -3.491396)'))) / (select extract(epoch from '2026-07-18 15:48:27'::timestamp) - extract(epoch from '2026-07-18 15:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49747 -3.491305)'), GeomFromEWKT('SRID=4674;POINT (-38.497506 -3.491396)'))) / (select extract(epoch from '2026-07-18 15:48:27'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.497548 -3.491459)', '2026-07-18 15:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497506 -3.491396)'), GeomFromEWKT('SRID=4674;POINT (-38.497548 -3.491459)'))) / (select extract(epoch from '2026-07-18 15:48:32'::timestamp) - extract(epoch from '2026-07-18 15:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497506 -3.491396)'), GeomFromEWKT('SRID=4674;POINT (-38.497548 -3.491459)'))) / (select extract(epoch from '2026-07-18 15:48:32'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.497555 -3.491486)', '2026-07-18 15:48:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497548 -3.491459)'), GeomFromEWKT('SRID=4674;POINT (-38.497555 -3.491486)'))) / (select extract(epoch from '2026-07-18 15:48:34'::timestamp) - extract(epoch from '2026-07-18 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497548 -3.491459)'), GeomFromEWKT('SRID=4674;POINT (-38.497555 -3.491486)'))) / (select extract(epoch from '2026-07-18 15:48:34'::timestamp) - extract(epoch from '2026-07-18 15:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497588 -3.491526)', '2026-07-18 15:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497555 -3.491486)'), GeomFromEWKT('SRID=4674;POINT (-38.497588 -3.491526)'))) / (select extract(epoch from '2026-07-18 15:48:37'::timestamp) - extract(epoch from '2026-07-18 15:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497555 -3.491486)'), GeomFromEWKT('SRID=4674;POINT (-38.497588 -3.491526)'))) / (select extract(epoch from '2026-07-18 15:48:37'::timestamp) - extract(epoch from '2026-07-18 15:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497635 -3.49164)', '2026-07-18 15:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497588 -3.491526)'), GeomFromEWKT('SRID=4674;POINT (-38.497635 -3.49164)'))) / (select extract(epoch from '2026-07-18 15:48:44'::timestamp) - extract(epoch from '2026-07-18 15:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497588 -3.491526)'), GeomFromEWKT('SRID=4674;POINT (-38.497635 -3.49164)'))) / (select extract(epoch from '2026-07-18 15:48:44'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.497682 -3.491723)', '2026-07-18 15:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497635 -3.49164)'), GeomFromEWKT('SRID=4674;POINT (-38.497682 -3.491723)'))) / (select extract(epoch from '2026-07-18 15:48:49'::timestamp) - extract(epoch from '2026-07-18 15:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497635 -3.49164)'), GeomFromEWKT('SRID=4674;POINT (-38.497682 -3.491723)'))) / (select extract(epoch from '2026-07-18 15:48:49'::timestamp) - extract(epoch from '2026-07-18 15:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497721 -3.491805)', '2026-07-18 15:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497682 -3.491723)'), GeomFromEWKT('SRID=4674;POINT (-38.497721 -3.491805)'))) / (select extract(epoch from '2026-07-18 15:48:54'::timestamp) - extract(epoch from '2026-07-18 15:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497682 -3.491723)'), GeomFromEWKT('SRID=4674;POINT (-38.497721 -3.491805)'))) / (select extract(epoch from '2026-07-18 15:48:54'::timestamp) - extract(epoch from '2026-07-18 15:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497766 -3.491891)', '2026-07-18 15:49:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497721 -3.491805)'), GeomFromEWKT('SRID=4674;POINT (-38.497766 -3.491891)'))) / (select extract(epoch from '2026-07-18 15:49:00'::timestamp) - extract(epoch from '2026-07-18 15:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497721 -3.491805)'), GeomFromEWKT('SRID=4674;POINT (-38.497766 -3.491891)'))) / (select extract(epoch from '2026-07-18 15:49:00'::timestamp) - extract(epoch from '2026-07-18 15:48: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'), 47391, 'SRID=4674;POINT (-38.497812 -3.492011)', '2026-07-18 15:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497766 -3.491891)'), GeomFromEWKT('SRID=4674;POINT (-38.497812 -3.492011)'))) / (select extract(epoch from '2026-07-18 15:49:07'::timestamp) - extract(epoch from '2026-07-18 15:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497766 -3.491891)'), GeomFromEWKT('SRID=4674;POINT (-38.497812 -3.492011)'))) / (select extract(epoch from '2026-07-18 15:49:07'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.497828 -3.492049)', '2026-07-18 15:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497812 -3.492011)'), GeomFromEWKT('SRID=4674;POINT (-38.497828 -3.492049)'))) / (select extract(epoch from '2026-07-18 15:49:09'::timestamp) - extract(epoch from '2026-07-18 15:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497812 -3.492011)'), GeomFromEWKT('SRID=4674;POINT (-38.497828 -3.492049)'))) / (select extract(epoch from '2026-07-18 15:49:09'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.497855 -3.492083)', '2026-07-18 15:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497828 -3.492049)'), GeomFromEWKT('SRID=4674;POINT (-38.497855 -3.492083)'))) / (select extract(epoch from '2026-07-18 15:49:11'::timestamp) - extract(epoch from '2026-07-18 15:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497828 -3.492049)'), GeomFromEWKT('SRID=4674;POINT (-38.497855 -3.492083)'))) / (select extract(epoch from '2026-07-18 15:49:11'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.497878 -3.492137)', '2026-07-18 15:49:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497855 -3.492083)'), GeomFromEWKT('SRID=4674;POINT (-38.497878 -3.492137)'))) / (select extract(epoch from '2026-07-18 15:49:15'::timestamp) - extract(epoch from '2026-07-18 15:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497855 -3.492083)'), GeomFromEWKT('SRID=4674;POINT (-38.497878 -3.492137)'))) / (select extract(epoch from '2026-07-18 15:49:15'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.497923 -3.492223)', '2026-07-18 15:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497878 -3.492137)'), GeomFromEWKT('SRID=4674;POINT (-38.497923 -3.492223)'))) / (select extract(epoch from '2026-07-18 15:49:20'::timestamp) - extract(epoch from '2026-07-18 15:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497878 -3.492137)'), GeomFromEWKT('SRID=4674;POINT (-38.497923 -3.492223)'))) / (select extract(epoch from '2026-07-18 15:49:20'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.497961 -3.492315)', '2026-07-18 15:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497923 -3.492223)'), GeomFromEWKT('SRID=4674;POINT (-38.497961 -3.492315)'))) / (select extract(epoch from '2026-07-18 15:49:25'::timestamp) - extract(epoch from '2026-07-18 15:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497923 -3.492223)'), GeomFromEWKT('SRID=4674;POINT (-38.497961 -3.492315)'))) / (select extract(epoch from '2026-07-18 15:49:25'::timestamp) - extract(epoch from '2026-07-18 15:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.497966 -3.492336)', '2026-07-18 15:49:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497961 -3.492315)'), GeomFromEWKT('SRID=4674;POINT (-38.497966 -3.492336)'))) / (select extract(epoch from '2026-07-18 15:49:26'::timestamp) - extract(epoch from '2026-07-18 15:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497961 -3.492315)'), GeomFromEWKT('SRID=4674;POINT (-38.497966 -3.492336)'))) / (select extract(epoch from '2026-07-18 15:49:26'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.498006 -3.492422)', '2026-07-18 15:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497966 -3.492336)'), GeomFromEWKT('SRID=4674;POINT (-38.498006 -3.492422)'))) / (select extract(epoch from '2026-07-18 15:49:31'::timestamp) - extract(epoch from '2026-07-18 15:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.497966 -3.492336)'), GeomFromEWKT('SRID=4674;POINT (-38.498006 -3.492422)'))) / (select extract(epoch from '2026-07-18 15:49:31'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.498038 -3.492495)', '2026-07-18 15:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498006 -3.492422)'), GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492495)'))) / (select extract(epoch from '2026-07-18 15:49:35'::timestamp) - extract(epoch from '2026-07-18 15:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498006 -3.492422)'), GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492495)'))) / (select extract(epoch from '2026-07-18 15:49:35'::timestamp) - extract(epoch from '2026-07-18 15:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498038 -3.492512)', '2026-07-18 15:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492495)'), GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492512)'))) / (select extract(epoch from '2026-07-18 15:49:36'::timestamp) - extract(epoch from '2026-07-18 15:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492495)'), GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492512)'))) / (select extract(epoch from '2026-07-18 15:49:36'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.498044 -3.492531)', '2026-07-18 15:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492512)'), GeomFromEWKT('SRID=4674;POINT (-38.498044 -3.492531)'))) / (select extract(epoch from '2026-07-18 15:49:37'::timestamp) - extract(epoch from '2026-07-18 15:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498038 -3.492512)'), GeomFromEWKT('SRID=4674;POINT (-38.498044 -3.492531)'))) / (select extract(epoch from '2026-07-18 15:49:37'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.498078 -3.492584)', '2026-07-18 15:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498044 -3.492531)'), GeomFromEWKT('SRID=4674;POINT (-38.498078 -3.492584)'))) / (select extract(epoch from '2026-07-18 15:49:40'::timestamp) - extract(epoch from '2026-07-18 15:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498044 -3.492531)'), GeomFromEWKT('SRID=4674;POINT (-38.498078 -3.492584)'))) / (select extract(epoch from '2026-07-18 15:49:40'::timestamp) - extract(epoch from '2026-07-18 15:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498089 -3.492661)', '2026-07-18 15:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498078 -3.492584)'), GeomFromEWKT('SRID=4674;POINT (-38.498089 -3.492661)'))) / (select extract(epoch from '2026-07-18 15:49:44'::timestamp) - extract(epoch from '2026-07-18 15:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498078 -3.492584)'), GeomFromEWKT('SRID=4674;POINT (-38.498089 -3.492661)'))) / (select extract(epoch from '2026-07-18 15:49:44'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.498116 -3.492702)', '2026-07-18 15:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498089 -3.492661)'), GeomFromEWKT('SRID=4674;POINT (-38.498116 -3.492702)'))) / (select extract(epoch from '2026-07-18 15:49:46'::timestamp) - extract(epoch from '2026-07-18 15:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498089 -3.492661)'), GeomFromEWKT('SRID=4674;POINT (-38.498116 -3.492702)'))) / (select extract(epoch from '2026-07-18 15:49:46'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.49814 -3.492797)', '2026-07-18 15:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498116 -3.492702)'), GeomFromEWKT('SRID=4674;POINT (-38.49814 -3.492797)'))) / (select extract(epoch from '2026-07-18 15:49:51'::timestamp) - extract(epoch from '2026-07-18 15:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498116 -3.492702)'), GeomFromEWKT('SRID=4674;POINT (-38.49814 -3.492797)'))) / (select extract(epoch from '2026-07-18 15:49:51'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.498174 -3.49291)', '2026-07-18 15:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49814 -3.492797)'), GeomFromEWKT('SRID=4674;POINT (-38.498174 -3.49291)'))) / (select extract(epoch from '2026-07-18 15:49:57'::timestamp) - extract(epoch from '2026-07-18 15:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49814 -3.492797)'), GeomFromEWKT('SRID=4674;POINT (-38.498174 -3.49291)'))) / (select extract(epoch from '2026-07-18 15:49:57'::timestamp) - extract(epoch from '2026-07-18 15:49: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'), 47391, 'SRID=4674;POINT (-38.498211 -3.492988)', '2026-07-18 15:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498174 -3.49291)'), GeomFromEWKT('SRID=4674;POINT (-38.498211 -3.492988)'))) / (select extract(epoch from '2026-07-18 15:50:02'::timestamp) - extract(epoch from '2026-07-18 15:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498174 -3.49291)'), GeomFromEWKT('SRID=4674;POINT (-38.498211 -3.492988)'))) / (select extract(epoch from '2026-07-18 15:50:02'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.498268 -3.4931)', '2026-07-18 15:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498211 -3.492988)'), GeomFromEWKT('SRID=4674;POINT (-38.498268 -3.4931)'))) / (select extract(epoch from '2026-07-18 15:50:09'::timestamp) - extract(epoch from '2026-07-18 15:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498211 -3.492988)'), GeomFromEWKT('SRID=4674;POINT (-38.498268 -3.4931)'))) / (select extract(epoch from '2026-07-18 15:50:09'::timestamp) - extract(epoch from '2026-07-18 15:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498315 -3.493208)', '2026-07-18 15:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498268 -3.4931)'), GeomFromEWKT('SRID=4674;POINT (-38.498315 -3.493208)'))) / (select extract(epoch from '2026-07-18 15:50:15'::timestamp) - extract(epoch from '2026-07-18 15:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498268 -3.4931)'), GeomFromEWKT('SRID=4674;POINT (-38.498315 -3.493208)'))) / (select extract(epoch from '2026-07-18 15:50:15'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498361 -3.493319)', '2026-07-18 15:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498315 -3.493208)'), GeomFromEWKT('SRID=4674;POINT (-38.498361 -3.493319)'))) / (select extract(epoch from '2026-07-18 15:50:21'::timestamp) - extract(epoch from '2026-07-18 15:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498315 -3.493208)'), GeomFromEWKT('SRID=4674;POINT (-38.498361 -3.493319)'))) / (select extract(epoch from '2026-07-18 15:50:21'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498383 -3.493353)', '2026-07-18 15:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498361 -3.493319)'), GeomFromEWKT('SRID=4674;POINT (-38.498383 -3.493353)'))) / (select extract(epoch from '2026-07-18 15:50:23'::timestamp) - extract(epoch from '2026-07-18 15:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498361 -3.493319)'), GeomFromEWKT('SRID=4674;POINT (-38.498383 -3.493353)'))) / (select extract(epoch from '2026-07-18 15:50:23'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498384 -3.493385)', '2026-07-18 15:50:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498383 -3.493353)'), GeomFromEWKT('SRID=4674;POINT (-38.498384 -3.493385)'))) / (select extract(epoch from '2026-07-18 15:50:25'::timestamp) - extract(epoch from '2026-07-18 15:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498383 -3.493353)'), GeomFromEWKT('SRID=4674;POINT (-38.498384 -3.493385)'))) / (select extract(epoch from '2026-07-18 15:50:25'::timestamp) - extract(epoch from '2026-07-18 15:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498417 -3.493459)', '2026-07-18 15:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498384 -3.493385)'), GeomFromEWKT('SRID=4674;POINT (-38.498417 -3.493459)'))) / (select extract(epoch from '2026-07-18 15:50:30'::timestamp) - extract(epoch from '2026-07-18 15:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498384 -3.493385)'), GeomFromEWKT('SRID=4674;POINT (-38.498417 -3.493459)'))) / (select extract(epoch from '2026-07-18 15:50:30'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.49842 -3.493473)', '2026-07-18 15:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498417 -3.493459)'), GeomFromEWKT('SRID=4674;POINT (-38.49842 -3.493473)'))) / (select extract(epoch from '2026-07-18 15:50:31'::timestamp) - extract(epoch from '2026-07-18 15:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498417 -3.493459)'), GeomFromEWKT('SRID=4674;POINT (-38.49842 -3.493473)'))) / (select extract(epoch from '2026-07-18 15:50:31'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498451 -3.493542)', '2026-07-18 15:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49842 -3.493473)'), GeomFromEWKT('SRID=4674;POINT (-38.498451 -3.493542)'))) / (select extract(epoch from '2026-07-18 15:50:35'::timestamp) - extract(epoch from '2026-07-18 15:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49842 -3.493473)'), GeomFromEWKT('SRID=4674;POINT (-38.498451 -3.493542)'))) / (select extract(epoch from '2026-07-18 15:50:35'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498506 -3.493688)', '2026-07-18 15:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498451 -3.493542)'), GeomFromEWKT('SRID=4674;POINT (-38.498506 -3.493688)'))) / (select extract(epoch from '2026-07-18 15:50:42'::timestamp) - extract(epoch from '2026-07-18 15:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498451 -3.493542)'), GeomFromEWKT('SRID=4674;POINT (-38.498506 -3.493688)'))) / (select extract(epoch from '2026-07-18 15:50:42'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498547 -3.493802)', '2026-07-18 15:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498506 -3.493688)'), GeomFromEWKT('SRID=4674;POINT (-38.498547 -3.493802)'))) / (select extract(epoch from '2026-07-18 15:50:48'::timestamp) - extract(epoch from '2026-07-18 15:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498506 -3.493688)'), GeomFromEWKT('SRID=4674;POINT (-38.498547 -3.493802)'))) / (select extract(epoch from '2026-07-18 15:50:48'::timestamp) - extract(epoch from '2026-07-18 15:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498571 -3.493854)', '2026-07-18 15:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498547 -3.493802)'), GeomFromEWKT('SRID=4674;POINT (-38.498571 -3.493854)'))) / (select extract(epoch from '2026-07-18 15:50:51'::timestamp) - extract(epoch from '2026-07-18 15:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498547 -3.493802)'), GeomFromEWKT('SRID=4674;POINT (-38.498571 -3.493854)'))) / (select extract(epoch from '2026-07-18 15:50:51'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498573 -3.493868)', '2026-07-18 15:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498571 -3.493854)'), GeomFromEWKT('SRID=4674;POINT (-38.498573 -3.493868)'))) / (select extract(epoch from '2026-07-18 15:50:52'::timestamp) - extract(epoch from '2026-07-18 15:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498571 -3.493854)'), GeomFromEWKT('SRID=4674;POINT (-38.498573 -3.493868)'))) / (select extract(epoch from '2026-07-18 15:50:52'::timestamp) - extract(epoch from '2026-07-18 15:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498583 -3.493907)', '2026-07-18 15:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498573 -3.493868)'), GeomFromEWKT('SRID=4674;POINT (-38.498583 -3.493907)'))) / (select extract(epoch from '2026-07-18 15:50:54'::timestamp) - extract(epoch from '2026-07-18 15:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498573 -3.493868)'), GeomFromEWKT('SRID=4674;POINT (-38.498583 -3.493907)'))) / (select extract(epoch from '2026-07-18 15:50:54'::timestamp) - extract(epoch from '2026-07-18 15:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498617 -3.493965)', '2026-07-18 15:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498583 -3.493907)'), GeomFromEWKT('SRID=4674;POINT (-38.498617 -3.493965)'))) / (select extract(epoch from '2026-07-18 15:50:57'::timestamp) - extract(epoch from '2026-07-18 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498583 -3.493907)'), GeomFromEWKT('SRID=4674;POINT (-38.498617 -3.493965)'))) / (select extract(epoch from '2026-07-18 15:50:57'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498643 -3.494062)', '2026-07-18 15:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498617 -3.493965)'), GeomFromEWKT('SRID=4674;POINT (-38.498643 -3.494062)'))) / (select extract(epoch from '2026-07-18 15:51:02'::timestamp) - extract(epoch from '2026-07-18 15:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498617 -3.493965)'), GeomFromEWKT('SRID=4674;POINT (-38.498643 -3.494062)'))) / (select extract(epoch from '2026-07-18 15:51:02'::timestamp) - extract(epoch from '2026-07-18 15:50: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'), 47391, 'SRID=4674;POINT (-38.498675 -3.494142)', '2026-07-18 15:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498643 -3.494062)'), GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494142)'))) / (select extract(epoch from '2026-07-18 15:51:06'::timestamp) - extract(epoch from '2026-07-18 15:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498643 -3.494062)'), GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494142)'))) / (select extract(epoch from '2026-07-18 15:51:06'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498675 -3.494159)', '2026-07-18 15:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494142)'), GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494159)'))) / (select extract(epoch from '2026-07-18 15:51:07'::timestamp) - extract(epoch from '2026-07-18 15:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494142)'), GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494159)'))) / (select extract(epoch from '2026-07-18 15:51:07'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498679 -3.494177)', '2026-07-18 15:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494159)'), GeomFromEWKT('SRID=4674;POINT (-38.498679 -3.494177)'))) / (select extract(epoch from '2026-07-18 15:51:08'::timestamp) - extract(epoch from '2026-07-18 15:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498675 -3.494159)'), GeomFromEWKT('SRID=4674;POINT (-38.498679 -3.494177)'))) / (select extract(epoch from '2026-07-18 15:51:08'::timestamp) - extract(epoch from '2026-07-18 15:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498696 -3.494216)', '2026-07-18 15:51:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498679 -3.494177)'), GeomFromEWKT('SRID=4674;POINT (-38.498696 -3.494216)'))) / (select extract(epoch from '2026-07-18 15:51:10'::timestamp) - extract(epoch from '2026-07-18 15:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498679 -3.494177)'), GeomFromEWKT('SRID=4674;POINT (-38.498696 -3.494216)'))) / (select extract(epoch from '2026-07-18 15:51:10'::timestamp) - extract(epoch from '2026-07-18 15:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498701 -3.494232)', '2026-07-18 15:51:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498696 -3.494216)'), GeomFromEWKT('SRID=4674;POINT (-38.498701 -3.494232)'))) / (select extract(epoch from '2026-07-18 15:51:11'::timestamp) - extract(epoch from '2026-07-18 15:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498696 -3.494216)'), GeomFromEWKT('SRID=4674;POINT (-38.498701 -3.494232)'))) / (select extract(epoch from '2026-07-18 15:51:11'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498728 -3.494336)', '2026-07-18 15:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498701 -3.494232)'), GeomFromEWKT('SRID=4674;POINT (-38.498728 -3.494336)'))) / (select extract(epoch from '2026-07-18 15:51:17'::timestamp) - extract(epoch from '2026-07-18 15:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498701 -3.494232)'), GeomFromEWKT('SRID=4674;POINT (-38.498728 -3.494336)'))) / (select extract(epoch from '2026-07-18 15:51:17'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498756 -3.494388)', '2026-07-18 15:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498728 -3.494336)'), GeomFromEWKT('SRID=4674;POINT (-38.498756 -3.494388)'))) / (select extract(epoch from '2026-07-18 15:51:21'::timestamp) - extract(epoch from '2026-07-18 15:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498728 -3.494336)'), GeomFromEWKT('SRID=4674;POINT (-38.498756 -3.494388)'))) / (select extract(epoch from '2026-07-18 15:51:21'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498805 -3.494522)', '2026-07-18 15:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498756 -3.494388)'), GeomFromEWKT('SRID=4674;POINT (-38.498805 -3.494522)'))) / (select extract(epoch from '2026-07-18 15:51:28'::timestamp) - extract(epoch from '2026-07-18 15:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498756 -3.494388)'), GeomFromEWKT('SRID=4674;POINT (-38.498805 -3.494522)'))) / (select extract(epoch from '2026-07-18 15:51:28'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498859 -3.494646)', '2026-07-18 15:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498805 -3.494522)'), GeomFromEWKT('SRID=4674;POINT (-38.498859 -3.494646)'))) / (select extract(epoch from '2026-07-18 15:51:35'::timestamp) - extract(epoch from '2026-07-18 15:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498805 -3.494522)'), GeomFromEWKT('SRID=4674;POINT (-38.498859 -3.494646)'))) / (select extract(epoch from '2026-07-18 15:51:35'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498924 -3.494764)', '2026-07-18 15:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498859 -3.494646)'), GeomFromEWKT('SRID=4674;POINT (-38.498924 -3.494764)'))) / (select extract(epoch from '2026-07-18 15:51:42'::timestamp) - extract(epoch from '2026-07-18 15:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498859 -3.494646)'), GeomFromEWKT('SRID=4674;POINT (-38.498924 -3.494764)'))) / (select extract(epoch from '2026-07-18 15:51:42'::timestamp) - extract(epoch from '2026-07-18 15:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.498954 -3.494837)', '2026-07-18 15:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498924 -3.494764)'), GeomFromEWKT('SRID=4674;POINT (-38.498954 -3.494837)'))) / (select extract(epoch from '2026-07-18 15:51:46'::timestamp) - extract(epoch from '2026-07-18 15:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498924 -3.494764)'), GeomFromEWKT('SRID=4674;POINT (-38.498954 -3.494837)'))) / (select extract(epoch from '2026-07-18 15:51:46'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.498966 -3.494855)', '2026-07-18 15:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498954 -3.494837)'), GeomFromEWKT('SRID=4674;POINT (-38.498966 -3.494855)'))) / (select extract(epoch from '2026-07-18 15:51:47'::timestamp) - extract(epoch from '2026-07-18 15:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498954 -3.494837)'), GeomFromEWKT('SRID=4674;POINT (-38.498966 -3.494855)'))) / (select extract(epoch from '2026-07-18 15:51:47'::timestamp) - extract(epoch from '2026-07-18 15:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499009 -3.494953)', '2026-07-18 15:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498966 -3.494855)'), GeomFromEWKT('SRID=4674;POINT (-38.499009 -3.494953)'))) / (select extract(epoch from '2026-07-18 15:51:53'::timestamp) - extract(epoch from '2026-07-18 15:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.498966 -3.494855)'), GeomFromEWKT('SRID=4674;POINT (-38.499009 -3.494953)'))) / (select extract(epoch from '2026-07-18 15:51:53'::timestamp) - extract(epoch from '2026-07-18 15:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499042 -3.495026)', '2026-07-18 15:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499009 -3.494953)'), GeomFromEWKT('SRID=4674;POINT (-38.499042 -3.495026)'))) / (select extract(epoch from '2026-07-18 15:51:57'::timestamp) - extract(epoch from '2026-07-18 15:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499009 -3.494953)'), GeomFromEWKT('SRID=4674;POINT (-38.499042 -3.495026)'))) / (select extract(epoch from '2026-07-18 15:51:57'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499045 -3.495063)', '2026-07-18 15:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499042 -3.495026)'), GeomFromEWKT('SRID=4674;POINT (-38.499045 -3.495063)'))) / (select extract(epoch from '2026-07-18 15:51:59'::timestamp) - extract(epoch from '2026-07-18 15:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499042 -3.495026)'), GeomFromEWKT('SRID=4674;POINT (-38.499045 -3.495063)'))) / (select extract(epoch from '2026-07-18 15:51:59'::timestamp) - extract(epoch from '2026-07-18 15:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499067 -3.495146)', '2026-07-18 15:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499045 -3.495063)'), GeomFromEWKT('SRID=4674;POINT (-38.499067 -3.495146)'))) / (select extract(epoch from '2026-07-18 15:52:04'::timestamp) - extract(epoch from '2026-07-18 15:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499045 -3.495063)'), GeomFromEWKT('SRID=4674;POINT (-38.499067 -3.495146)'))) / (select extract(epoch from '2026-07-18 15:52:04'::timestamp) - extract(epoch from '2026-07-18 15:51: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'), 47391, 'SRID=4674;POINT (-38.499079 -3.495162)', '2026-07-18 15:52:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499067 -3.495146)'), GeomFromEWKT('SRID=4674;POINT (-38.499079 -3.495162)'))) / (select extract(epoch from '2026-07-18 15:52:06'::timestamp) - extract(epoch from '2026-07-18 15:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499067 -3.495146)'), GeomFromEWKT('SRID=4674;POINT (-38.499079 -3.495162)'))) / (select extract(epoch from '2026-07-18 15:52:06'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499091 -3.495189)', '2026-07-18 15:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499079 -3.495162)'), GeomFromEWKT('SRID=4674;POINT (-38.499091 -3.495189)'))) / (select extract(epoch from '2026-07-18 15:52:08'::timestamp) - extract(epoch from '2026-07-18 15:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499079 -3.495162)'), GeomFromEWKT('SRID=4674;POINT (-38.499091 -3.495189)'))) / (select extract(epoch from '2026-07-18 15:52:08'::timestamp) - extract(epoch from '2026-07-18 15:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499119 -3.495247)', '2026-07-18 15:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499091 -3.495189)'), GeomFromEWKT('SRID=4674;POINT (-38.499119 -3.495247)'))) / (select extract(epoch from '2026-07-18 15:52:11'::timestamp) - extract(epoch from '2026-07-18 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499091 -3.495189)'), GeomFromEWKT('SRID=4674;POINT (-38.499119 -3.495247)'))) / (select extract(epoch from '2026-07-18 15:52:11'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499126 -3.49528)', '2026-07-18 15:52:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499119 -3.495247)'), GeomFromEWKT('SRID=4674;POINT (-38.499126 -3.49528)'))) / (select extract(epoch from '2026-07-18 15:52:13'::timestamp) - extract(epoch from '2026-07-18 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499119 -3.495247)'), GeomFromEWKT('SRID=4674;POINT (-38.499126 -3.49528)'))) / (select extract(epoch from '2026-07-18 15:52:13'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.49917 -3.495335)', '2026-07-18 15:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499126 -3.49528)'), GeomFromEWKT('SRID=4674;POINT (-38.49917 -3.495335)'))) / (select extract(epoch from '2026-07-18 15:52:17'::timestamp) - extract(epoch from '2026-07-18 15:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499126 -3.49528)'), GeomFromEWKT('SRID=4674;POINT (-38.49917 -3.495335)'))) / (select extract(epoch from '2026-07-18 15:52:17'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499177 -3.495366)', '2026-07-18 15:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49917 -3.495335)'), GeomFromEWKT('SRID=4674;POINT (-38.499177 -3.495366)'))) / (select extract(epoch from '2026-07-18 15:52:19'::timestamp) - extract(epoch from '2026-07-18 15:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49917 -3.495335)'), GeomFromEWKT('SRID=4674;POINT (-38.499177 -3.495366)'))) / (select extract(epoch from '2026-07-18 15:52:19'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499225 -3.495451)', '2026-07-18 15:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499177 -3.495366)'), GeomFromEWKT('SRID=4674;POINT (-38.499225 -3.495451)'))) / (select extract(epoch from '2026-07-18 15:52:25'::timestamp) - extract(epoch from '2026-07-18 15:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499177 -3.495366)'), GeomFromEWKT('SRID=4674;POINT (-38.499225 -3.495451)'))) / (select extract(epoch from '2026-07-18 15:52:25'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499233 -3.495462)', '2026-07-18 15:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499225 -3.495451)'), GeomFromEWKT('SRID=4674;POINT (-38.499233 -3.495462)'))) / (select extract(epoch from '2026-07-18 15:52:26'::timestamp) - extract(epoch from '2026-07-18 15:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499225 -3.495451)'), GeomFromEWKT('SRID=4674;POINT (-38.499233 -3.495462)'))) / (select extract(epoch from '2026-07-18 15:52:26'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499238 -3.495496)', '2026-07-18 15:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499233 -3.495462)'), GeomFromEWKT('SRID=4674;POINT (-38.499238 -3.495496)'))) / (select extract(epoch from '2026-07-18 15:52:28'::timestamp) - extract(epoch from '2026-07-18 15:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499233 -3.495462)'), GeomFromEWKT('SRID=4674;POINT (-38.499238 -3.495496)'))) / (select extract(epoch from '2026-07-18 15:52:28'::timestamp) - extract(epoch from '2026-07-18 15:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499251 -3.495515)', '2026-07-18 15:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499238 -3.495496)'), GeomFromEWKT('SRID=4674;POINT (-38.499251 -3.495515)'))) / (select extract(epoch from '2026-07-18 15:52:29'::timestamp) - extract(epoch from '2026-07-18 15:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499238 -3.495496)'), GeomFromEWKT('SRID=4674;POINT (-38.499251 -3.495515)'))) / (select extract(epoch from '2026-07-18 15:52:29'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499286 -3.495604)', '2026-07-18 15:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499251 -3.495515)'), GeomFromEWKT('SRID=4674;POINT (-38.499286 -3.495604)'))) / (select extract(epoch from '2026-07-18 15:52:34'::timestamp) - extract(epoch from '2026-07-18 15:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499251 -3.495515)'), GeomFromEWKT('SRID=4674;POINT (-38.499286 -3.495604)'))) / (select extract(epoch from '2026-07-18 15:52:34'::timestamp) - extract(epoch from '2026-07-18 15:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499332 -3.495675)', '2026-07-18 15:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499286 -3.495604)'), GeomFromEWKT('SRID=4674;POINT (-38.499332 -3.495675)'))) / (select extract(epoch from '2026-07-18 15:52:38'::timestamp) - extract(epoch from '2026-07-18 15:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499286 -3.495604)'), GeomFromEWKT('SRID=4674;POINT (-38.499332 -3.495675)'))) / (select extract(epoch from '2026-07-18 15:52:38'::timestamp) - extract(epoch from '2026-07-18 15:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499325 -3.495706)', '2026-07-18 15:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499332 -3.495675)'), GeomFromEWKT('SRID=4674;POINT (-38.499325 -3.495706)'))) / (select extract(epoch from '2026-07-18 15:52:40'::timestamp) - extract(epoch from '2026-07-18 15:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499332 -3.495675)'), GeomFromEWKT('SRID=4674;POINT (-38.499325 -3.495706)'))) / (select extract(epoch from '2026-07-18 15:52:40'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499347 -3.495739)', '2026-07-18 15:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499325 -3.495706)'), GeomFromEWKT('SRID=4674;POINT (-38.499347 -3.495739)'))) / (select extract(epoch from '2026-07-18 15:52:42'::timestamp) - extract(epoch from '2026-07-18 15:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499325 -3.495706)'), GeomFromEWKT('SRID=4674;POINT (-38.499347 -3.495739)'))) / (select extract(epoch from '2026-07-18 15:52:42'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499353 -3.495756)', '2026-07-18 15:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499347 -3.495739)'), GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495756)'))) / (select extract(epoch from '2026-07-18 15:52:43'::timestamp) - extract(epoch from '2026-07-18 15:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499347 -3.495739)'), GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495756)'))) / (select extract(epoch from '2026-07-18 15:52:43'::timestamp) - extract(epoch from '2026-07-18 15:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499353 -3.495787)', '2026-07-18 15:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495756)'), GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495787)'))) / (select extract(epoch from '2026-07-18 15:52:46'::timestamp) - extract(epoch from '2026-07-18 15:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495756)'), GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495787)'))) / (select extract(epoch from '2026-07-18 15:52:46'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499357 -3.495812)', '2026-07-18 15:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495787)'), GeomFromEWKT('SRID=4674;POINT (-38.499357 -3.495812)'))) / (select extract(epoch from '2026-07-18 15:52:48'::timestamp) - extract(epoch from '2026-07-18 15:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499353 -3.495787)'), GeomFromEWKT('SRID=4674;POINT (-38.499357 -3.495812)'))) / (select extract(epoch from '2026-07-18 15:52:48'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499383 -3.495842)', '2026-07-18 15:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499357 -3.495812)'), GeomFromEWKT('SRID=4674;POINT (-38.499383 -3.495842)'))) / (select extract(epoch from '2026-07-18 15:52:51'::timestamp) - extract(epoch from '2026-07-18 15:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499357 -3.495812)'), GeomFromEWKT('SRID=4674;POINT (-38.499383 -3.495842)'))) / (select extract(epoch from '2026-07-18 15:52:51'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499386 -3.495846)', '2026-07-18 15:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499383 -3.495842)'), GeomFromEWKT('SRID=4674;POINT (-38.499386 -3.495846)'))) / (select extract(epoch from '2026-07-18 15:52:52'::timestamp) - extract(epoch from '2026-07-18 15:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499383 -3.495842)'), GeomFromEWKT('SRID=4674;POINT (-38.499386 -3.495846)'))) / (select extract(epoch from '2026-07-18 15:52:52'::timestamp) - extract(epoch from '2026-07-18 15:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49944 -3.495903)', '2026-07-18 15:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499386 -3.495846)'), GeomFromEWKT('SRID=4674;POINT (-38.49944 -3.495903)'))) / (select extract(epoch from '2026-07-18 15:52:57'::timestamp) - extract(epoch from '2026-07-18 15:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499386 -3.495846)'), GeomFromEWKT('SRID=4674;POINT (-38.49944 -3.495903)'))) / (select extract(epoch from '2026-07-18 15:52:57'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499483 -3.495982)', '2026-07-18 15:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49944 -3.495903)'), GeomFromEWKT('SRID=4674;POINT (-38.499483 -3.495982)'))) / (select extract(epoch from '2026-07-18 15:53:02'::timestamp) - extract(epoch from '2026-07-18 15:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49944 -3.495903)'), GeomFromEWKT('SRID=4674;POINT (-38.499483 -3.495982)'))) / (select extract(epoch from '2026-07-18 15:53:02'::timestamp) - extract(epoch from '2026-07-18 15:52: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'), 47391, 'SRID=4674;POINT (-38.499519 -3.496093)', '2026-07-18 15:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499483 -3.495982)'), GeomFromEWKT('SRID=4674;POINT (-38.499519 -3.496093)'))) / (select extract(epoch from '2026-07-18 15:53:08'::timestamp) - extract(epoch from '2026-07-18 15:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499483 -3.495982)'), GeomFromEWKT('SRID=4674;POINT (-38.499519 -3.496093)'))) / (select extract(epoch from '2026-07-18 15:53:08'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499559 -3.496199)', '2026-07-18 15:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499519 -3.496093)'), GeomFromEWKT('SRID=4674;POINT (-38.499559 -3.496199)'))) / (select extract(epoch from '2026-07-18 15:53:14'::timestamp) - extract(epoch from '2026-07-18 15:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499519 -3.496093)'), GeomFromEWKT('SRID=4674;POINT (-38.499559 -3.496199)'))) / (select extract(epoch from '2026-07-18 15:53:14'::timestamp) - extract(epoch from '2026-07-18 15:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499565 -3.496231)', '2026-07-18 15:53:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499559 -3.496199)'), GeomFromEWKT('SRID=4674;POINT (-38.499565 -3.496231)'))) / (select extract(epoch from '2026-07-18 15:53:16'::timestamp) - extract(epoch from '2026-07-18 15:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499559 -3.496199)'), GeomFromEWKT('SRID=4674;POINT (-38.499565 -3.496231)'))) / (select extract(epoch from '2026-07-18 15:53:16'::timestamp) - extract(epoch from '2026-07-18 15:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499587 -3.496282)', '2026-07-18 15:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499565 -3.496231)'), GeomFromEWKT('SRID=4674;POINT (-38.499587 -3.496282)'))) / (select extract(epoch from '2026-07-18 15:53:19'::timestamp) - extract(epoch from '2026-07-18 15:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499565 -3.496231)'), GeomFromEWKT('SRID=4674;POINT (-38.499587 -3.496282)'))) / (select extract(epoch from '2026-07-18 15:53:19'::timestamp) - extract(epoch from '2026-07-18 15:53: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'), 47391, 'SRID=4674;POINT (-38.499629 -3.496379)', '2026-07-18 15:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499587 -3.496282)'), GeomFromEWKT('SRID=4674;POINT (-38.499629 -3.496379)'))) / (select extract(epoch from '2026-07-18 15:53:25'::timestamp) - extract(epoch from '2026-07-18 15:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499587 -3.496282)'), GeomFromEWKT('SRID=4674;POINT (-38.499629 -3.496379)'))) / (select extract(epoch from '2026-07-18 15:53:25'::timestamp) - extract(epoch from '2026-07-18 15:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499667 -3.496504)', '2026-07-18 15:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499629 -3.496379)'), GeomFromEWKT('SRID=4674;POINT (-38.499667 -3.496504)'))) / (select extract(epoch from '2026-07-18 15:53:33'::timestamp) - extract(epoch from '2026-07-18 15:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499629 -3.496379)'), GeomFromEWKT('SRID=4674;POINT (-38.499667 -3.496504)'))) / (select extract(epoch from '2026-07-18 15:53:33'::timestamp) - extract(epoch from '2026-07-18 15:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499671 -3.49652)', '2026-07-18 15:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499667 -3.496504)'), GeomFromEWKT('SRID=4674;POINT (-38.499671 -3.49652)'))) / (select extract(epoch from '2026-07-18 15:53:34'::timestamp) - extract(epoch from '2026-07-18 15:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499667 -3.496504)'), GeomFromEWKT('SRID=4674;POINT (-38.499671 -3.49652)'))) / (select extract(epoch from '2026-07-18 15:53:34'::timestamp) - extract(epoch from '2026-07-18 15:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499692 -3.49657)', '2026-07-18 15:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499671 -3.49652)'), GeomFromEWKT('SRID=4674;POINT (-38.499692 -3.49657)'))) / (select extract(epoch from '2026-07-18 15:53:37'::timestamp) - extract(epoch from '2026-07-18 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499671 -3.49652)'), GeomFromEWKT('SRID=4674;POINT (-38.499692 -3.49657)'))) / (select extract(epoch from '2026-07-18 15:53:37'::timestamp) - extract(epoch from '2026-07-18 15:53: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'), 47391, 'SRID=4674;POINT (-38.499696 -3.496636)', '2026-07-18 15:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499692 -3.49657)'), GeomFromEWKT('SRID=4674;POINT (-38.499696 -3.496636)'))) / (select extract(epoch from '2026-07-18 15:53:41'::timestamp) - extract(epoch from '2026-07-18 15:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499692 -3.49657)'), GeomFromEWKT('SRID=4674;POINT (-38.499696 -3.496636)'))) / (select extract(epoch from '2026-07-18 15:53:41'::timestamp) - extract(epoch from '2026-07-18 15:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499702 -3.496655)', '2026-07-18 15:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499696 -3.496636)'), GeomFromEWKT('SRID=4674;POINT (-38.499702 -3.496655)'))) / (select extract(epoch from '2026-07-18 15:53:42'::timestamp) - extract(epoch from '2026-07-18 15:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499696 -3.496636)'), GeomFromEWKT('SRID=4674;POINT (-38.499702 -3.496655)'))) / (select extract(epoch from '2026-07-18 15:53:42'::timestamp) - extract(epoch from '2026-07-18 15:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499724 -3.496737)', '2026-07-18 15:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499702 -3.496655)'), GeomFromEWKT('SRID=4674;POINT (-38.499724 -3.496737)'))) / (select extract(epoch from '2026-07-18 15:53:48'::timestamp) - extract(epoch from '2026-07-18 15:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499702 -3.496655)'), GeomFromEWKT('SRID=4674;POINT (-38.499724 -3.496737)'))) / (select extract(epoch from '2026-07-18 15:53:48'::timestamp) - extract(epoch from '2026-07-18 15:53: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'), 47391, 'SRID=4674;POINT (-38.499766 -3.49682)', '2026-07-18 15:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499724 -3.496737)'), GeomFromEWKT('SRID=4674;POINT (-38.499766 -3.49682)'))) / (select extract(epoch from '2026-07-18 15:53:54'::timestamp) - extract(epoch from '2026-07-18 15:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499724 -3.496737)'), GeomFromEWKT('SRID=4674;POINT (-38.499766 -3.49682)'))) / (select extract(epoch from '2026-07-18 15:53:54'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.499817 -3.496908)', '2026-07-18 15:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499766 -3.49682)'), GeomFromEWKT('SRID=4674;POINT (-38.499817 -3.496908)'))) / (select extract(epoch from '2026-07-18 15:54:00'::timestamp) - extract(epoch from '2026-07-18 15:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499766 -3.49682)'), GeomFromEWKT('SRID=4674;POINT (-38.499817 -3.496908)'))) / (select extract(epoch from '2026-07-18 15:54:00'::timestamp) - extract(epoch from '2026-07-18 15:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499854 -3.496986)', '2026-07-18 15:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499817 -3.496908)'), GeomFromEWKT('SRID=4674;POINT (-38.499854 -3.496986)'))) / (select extract(epoch from '2026-07-18 15:54:05'::timestamp) - extract(epoch from '2026-07-18 15:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499817 -3.496908)'), GeomFromEWKT('SRID=4674;POINT (-38.499854 -3.496986)'))) / (select extract(epoch from '2026-07-18 15:54:05'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.499871 -3.497044)', '2026-07-18 15:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499854 -3.496986)'), GeomFromEWKT('SRID=4674;POINT (-38.499871 -3.497044)'))) / (select extract(epoch from '2026-07-18 15:54:09'::timestamp) - extract(epoch from '2026-07-18 15:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499854 -3.496986)'), GeomFromEWKT('SRID=4674;POINT (-38.499871 -3.497044)'))) / (select extract(epoch from '2026-07-18 15:54:09'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.499883 -3.49706)', '2026-07-18 15:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499871 -3.497044)'), GeomFromEWKT('SRID=4674;POINT (-38.499883 -3.49706)'))) / (select extract(epoch from '2026-07-18 15:54:10'::timestamp) - extract(epoch from '2026-07-18 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499871 -3.497044)'), GeomFromEWKT('SRID=4674;POINT (-38.499883 -3.49706)'))) / (select extract(epoch from '2026-07-18 15:54:10'::timestamp) - extract(epoch from '2026-07-18 15:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.499892 -3.497079)', '2026-07-18 15:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499883 -3.49706)'), GeomFromEWKT('SRID=4674;POINT (-38.499892 -3.497079)'))) / (select extract(epoch from '2026-07-18 15:54:11'::timestamp) - extract(epoch from '2026-07-18 15:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499883 -3.49706)'), GeomFromEWKT('SRID=4674;POINT (-38.499892 -3.497079)'))) / (select extract(epoch from '2026-07-18 15:54:11'::timestamp) - extract(epoch from '2026-07-18 15:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49992 -3.49715)', '2026-07-18 15:54:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499892 -3.497079)'), GeomFromEWKT('SRID=4674;POINT (-38.49992 -3.49715)'))) / (select extract(epoch from '2026-07-18 15:54:15'::timestamp) - extract(epoch from '2026-07-18 15:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499892 -3.497079)'), GeomFromEWKT('SRID=4674;POINT (-38.49992 -3.49715)'))) / (select extract(epoch from '2026-07-18 15:54:15'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.499954 -3.497261)', '2026-07-18 15:54:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49992 -3.49715)'), GeomFromEWKT('SRID=4674;POINT (-38.499954 -3.497261)'))) / (select extract(epoch from '2026-07-18 15:54:21'::timestamp) - extract(epoch from '2026-07-18 15:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49992 -3.49715)'), GeomFromEWKT('SRID=4674;POINT (-38.499954 -3.497261)'))) / (select extract(epoch from '2026-07-18 15:54:21'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.499979 -3.49734)', '2026-07-18 15:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499954 -3.497261)'), GeomFromEWKT('SRID=4674;POINT (-38.499979 -3.49734)'))) / (select extract(epoch from '2026-07-18 15:54:26'::timestamp) - extract(epoch from '2026-07-18 15:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499954 -3.497261)'), GeomFromEWKT('SRID=4674;POINT (-38.499979 -3.49734)'))) / (select extract(epoch from '2026-07-18 15:54:26'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.499991 -3.497394)', '2026-07-18 15:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499979 -3.49734)'), GeomFromEWKT('SRID=4674;POINT (-38.499991 -3.497394)'))) / (select extract(epoch from '2026-07-18 15:54:29'::timestamp) - extract(epoch from '2026-07-18 15:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499979 -3.49734)'), GeomFromEWKT('SRID=4674;POINT (-38.499991 -3.497394)'))) / (select extract(epoch from '2026-07-18 15:54:29'::timestamp) - extract(epoch from '2026-07-18 15:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500008 -3.497425)', '2026-07-18 15:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499991 -3.497394)'), GeomFromEWKT('SRID=4674;POINT (-38.500008 -3.497425)'))) / (select extract(epoch from '2026-07-18 15:54:31'::timestamp) - extract(epoch from '2026-07-18 15:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.499991 -3.497394)'), GeomFromEWKT('SRID=4674;POINT (-38.500008 -3.497425)'))) / (select extract(epoch from '2026-07-18 15:54:31'::timestamp) - extract(epoch from '2026-07-18 15:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500045 -3.497525)', '2026-07-18 15:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500008 -3.497425)'), GeomFromEWKT('SRID=4674;POINT (-38.500045 -3.497525)'))) / (select extract(epoch from '2026-07-18 15:54:37'::timestamp) - extract(epoch from '2026-07-18 15:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500008 -3.497425)'), GeomFromEWKT('SRID=4674;POINT (-38.500045 -3.497525)'))) / (select extract(epoch from '2026-07-18 15:54:37'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.500073 -3.497633)', '2026-07-18 15:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500045 -3.497525)'), GeomFromEWKT('SRID=4674;POINT (-38.500073 -3.497633)'))) / (select extract(epoch from '2026-07-18 15:54:43'::timestamp) - extract(epoch from '2026-07-18 15:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500045 -3.497525)'), GeomFromEWKT('SRID=4674;POINT (-38.500073 -3.497633)'))) / (select extract(epoch from '2026-07-18 15:54:43'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.500095 -3.497749)', '2026-07-18 15:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500073 -3.497633)'), GeomFromEWKT('SRID=4674;POINT (-38.500095 -3.497749)'))) / (select extract(epoch from '2026-07-18 15:54:50'::timestamp) - extract(epoch from '2026-07-18 15:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500073 -3.497633)'), GeomFromEWKT('SRID=4674;POINT (-38.500095 -3.497749)'))) / (select extract(epoch from '2026-07-18 15:54:50'::timestamp) - extract(epoch from '2026-07-18 15:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500134 -3.497844)', '2026-07-18 15:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500095 -3.497749)'), GeomFromEWKT('SRID=4674;POINT (-38.500134 -3.497844)'))) / (select extract(epoch from '2026-07-18 15:54:56'::timestamp) - extract(epoch from '2026-07-18 15:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500095 -3.497749)'), GeomFromEWKT('SRID=4674;POINT (-38.500134 -3.497844)'))) / (select extract(epoch from '2026-07-18 15:54:56'::timestamp) - extract(epoch from '2026-07-18 15:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500142 -3.497875)', '2026-07-18 15:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500134 -3.497844)'), GeomFromEWKT('SRID=4674;POINT (-38.500142 -3.497875)'))) / (select extract(epoch from '2026-07-18 15:54:58'::timestamp) - extract(epoch from '2026-07-18 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500134 -3.497844)'), GeomFromEWKT('SRID=4674;POINT (-38.500142 -3.497875)'))) / (select extract(epoch from '2026-07-18 15:54:58'::timestamp) - extract(epoch from '2026-07-18 15:54: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'), 47391, 'SRID=4674;POINT (-38.500148 -3.497909)', '2026-07-18 15:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500142 -3.497875)'), GeomFromEWKT('SRID=4674;POINT (-38.500148 -3.497909)'))) / (select extract(epoch from '2026-07-18 15:55:00'::timestamp) - extract(epoch from '2026-07-18 15:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500142 -3.497875)'), GeomFromEWKT('SRID=4674;POINT (-38.500148 -3.497909)'))) / (select extract(epoch from '2026-07-18 15:55:00'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.500177 -3.497992)', '2026-07-18 15:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500148 -3.497909)'), GeomFromEWKT('SRID=4674;POINT (-38.500177 -3.497992)'))) / (select extract(epoch from '2026-07-18 15:55:06'::timestamp) - extract(epoch from '2026-07-18 15:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500148 -3.497909)'), GeomFromEWKT('SRID=4674;POINT (-38.500177 -3.497992)'))) / (select extract(epoch from '2026-07-18 15:55:06'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500182 -3.498004)', '2026-07-18 15:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500177 -3.497992)'), GeomFromEWKT('SRID=4674;POINT (-38.500182 -3.498004)'))) / (select extract(epoch from '2026-07-18 15:55:07'::timestamp) - extract(epoch from '2026-07-18 15:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500177 -3.497992)'), GeomFromEWKT('SRID=4674;POINT (-38.500182 -3.498004)'))) / (select extract(epoch from '2026-07-18 15:55:07'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500199 -3.498058)', '2026-07-18 15:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500182 -3.498004)'), GeomFromEWKT('SRID=4674;POINT (-38.500199 -3.498058)'))) / (select extract(epoch from '2026-07-18 15:55:11'::timestamp) - extract(epoch from '2026-07-18 15:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500182 -3.498004)'), GeomFromEWKT('SRID=4674;POINT (-38.500199 -3.498058)'))) / (select extract(epoch from '2026-07-18 15:55:11'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500246 -3.498146)', '2026-07-18 15:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500199 -3.498058)'), GeomFromEWKT('SRID=4674;POINT (-38.500246 -3.498146)'))) / (select extract(epoch from '2026-07-18 15:55:18'::timestamp) - extract(epoch from '2026-07-18 15:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500199 -3.498058)'), GeomFromEWKT('SRID=4674;POINT (-38.500246 -3.498146)'))) / (select extract(epoch from '2026-07-18 15:55:18'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500293 -3.498245)', '2026-07-18 15:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500246 -3.498146)'), GeomFromEWKT('SRID=4674;POINT (-38.500293 -3.498245)'))) / (select extract(epoch from '2026-07-18 15:55:24'::timestamp) - extract(epoch from '2026-07-18 15:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500246 -3.498146)'), GeomFromEWKT('SRID=4674;POINT (-38.500293 -3.498245)'))) / (select extract(epoch from '2026-07-18 15:55:24'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.50031 -3.498288)', '2026-07-18 15:55:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500293 -3.498245)'), GeomFromEWKT('SRID=4674;POINT (-38.50031 -3.498288)'))) / (select extract(epoch from '2026-07-18 15:55:27'::timestamp) - extract(epoch from '2026-07-18 15:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500293 -3.498245)'), GeomFromEWKT('SRID=4674;POINT (-38.50031 -3.498288)'))) / (select extract(epoch from '2026-07-18 15:55:27'::timestamp) - extract(epoch from '2026-07-18 15:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500313 -3.4983)', '2026-07-18 15:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50031 -3.498288)'), GeomFromEWKT('SRID=4674;POINT (-38.500313 -3.4983)'))) / (select extract(epoch from '2026-07-18 15:55:28'::timestamp) - extract(epoch from '2026-07-18 15:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50031 -3.498288)'), GeomFromEWKT('SRID=4674;POINT (-38.500313 -3.4983)'))) / (select extract(epoch from '2026-07-18 15:55:28'::timestamp) - extract(epoch from '2026-07-18 15:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500364 -3.498377)', '2026-07-18 15:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500313 -3.4983)'), GeomFromEWKT('SRID=4674;POINT (-38.500364 -3.498377)'))) / (select extract(epoch from '2026-07-18 15:55:34'::timestamp) - extract(epoch from '2026-07-18 15:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500313 -3.4983)'), GeomFromEWKT('SRID=4674;POINT (-38.500364 -3.498377)'))) / (select extract(epoch from '2026-07-18 15:55:34'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500399 -3.498439)', '2026-07-18 15:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500364 -3.498377)'), GeomFromEWKT('SRID=4674;POINT (-38.500399 -3.498439)'))) / (select extract(epoch from '2026-07-18 15:55:38'::timestamp) - extract(epoch from '2026-07-18 15:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500364 -3.498377)'), GeomFromEWKT('SRID=4674;POINT (-38.500399 -3.498439)'))) / (select extract(epoch from '2026-07-18 15:55:38'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500403 -3.498458)', '2026-07-18 15:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500399 -3.498439)'), GeomFromEWKT('SRID=4674;POINT (-38.500403 -3.498458)'))) / (select extract(epoch from '2026-07-18 15:55:39'::timestamp) - extract(epoch from '2026-07-18 15:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500399 -3.498439)'), GeomFromEWKT('SRID=4674;POINT (-38.500403 -3.498458)'))) / (select extract(epoch from '2026-07-18 15:55:39'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500441 -3.49854)', '2026-07-18 15:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500403 -3.498458)'), GeomFromEWKT('SRID=4674;POINT (-38.500441 -3.49854)'))) / (select extract(epoch from '2026-07-18 15:55:44'::timestamp) - extract(epoch from '2026-07-18 15:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500403 -3.498458)'), GeomFromEWKT('SRID=4674;POINT (-38.500441 -3.49854)'))) / (select extract(epoch from '2026-07-18 15:55:44'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500475 -3.498627)', '2026-07-18 15:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500441 -3.49854)'), GeomFromEWKT('SRID=4674;POINT (-38.500475 -3.498627)'))) / (select extract(epoch from '2026-07-18 15:55:49'::timestamp) - extract(epoch from '2026-07-18 15:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500441 -3.49854)'), GeomFromEWKT('SRID=4674;POINT (-38.500475 -3.498627)'))) / (select extract(epoch from '2026-07-18 15:55:49'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500501 -3.498679)', '2026-07-18 15:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500475 -3.498627)'), GeomFromEWKT('SRID=4674;POINT (-38.500501 -3.498679)'))) / (select extract(epoch from '2026-07-18 15:55:52'::timestamp) - extract(epoch from '2026-07-18 15:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500475 -3.498627)'), GeomFromEWKT('SRID=4674;POINT (-38.500501 -3.498679)'))) / (select extract(epoch from '2026-07-18 15:55:52'::timestamp) - extract(epoch from '2026-07-18 15:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500504 -3.498699)', '2026-07-18 15:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500501 -3.498679)'), GeomFromEWKT('SRID=4674;POINT (-38.500504 -3.498699)'))) / (select extract(epoch from '2026-07-18 15:55:53'::timestamp) - extract(epoch from '2026-07-18 15:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500501 -3.498679)'), GeomFromEWKT('SRID=4674;POINT (-38.500504 -3.498699)'))) / (select extract(epoch from '2026-07-18 15:55:53'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500534 -3.498749)', '2026-07-18 15:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500504 -3.498699)'), GeomFromEWKT('SRID=4674;POINT (-38.500534 -3.498749)'))) / (select extract(epoch from '2026-07-18 15:55:57'::timestamp) - extract(epoch from '2026-07-18 15:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500504 -3.498699)'), GeomFromEWKT('SRID=4674;POINT (-38.500534 -3.498749)'))) / (select extract(epoch from '2026-07-18 15:55:57'::timestamp) - extract(epoch from '2026-07-18 15:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500544 -3.498776)', '2026-07-18 15:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500534 -3.498749)'), GeomFromEWKT('SRID=4674;POINT (-38.500544 -3.498776)'))) / (select extract(epoch from '2026-07-18 15:55:59'::timestamp) - extract(epoch from '2026-07-18 15:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500534 -3.498749)'), GeomFromEWKT('SRID=4674;POINT (-38.500544 -3.498776)'))) / (select extract(epoch from '2026-07-18 15:55:59'::timestamp) - extract(epoch from '2026-07-18 15:55: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'), 47391, 'SRID=4674;POINT (-38.500582 -3.498816)', '2026-07-18 15:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500544 -3.498776)'), GeomFromEWKT('SRID=4674;POINT (-38.500582 -3.498816)'))) / (select extract(epoch from '2026-07-18 15:56:03'::timestamp) - extract(epoch from '2026-07-18 15:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500544 -3.498776)'), GeomFromEWKT('SRID=4674;POINT (-38.500582 -3.498816)'))) / (select extract(epoch from '2026-07-18 15:56:03'::timestamp) - extract(epoch from '2026-07-18 15:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500583 -3.498831)', '2026-07-18 15:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500582 -3.498816)'), GeomFromEWKT('SRID=4674;POINT (-38.500583 -3.498831)'))) / (select extract(epoch from '2026-07-18 15:56:04'::timestamp) - extract(epoch from '2026-07-18 15:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500582 -3.498816)'), GeomFromEWKT('SRID=4674;POINT (-38.500583 -3.498831)'))) / (select extract(epoch from '2026-07-18 15:56:04'::timestamp) - extract(epoch from '2026-07-18 15:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500641 -3.498932)', '2026-07-18 15:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500583 -3.498831)'), GeomFromEWKT('SRID=4674;POINT (-38.500641 -3.498932)'))) / (select extract(epoch from '2026-07-18 15:56:11'::timestamp) - extract(epoch from '2026-07-18 15:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500583 -3.498831)'), GeomFromEWKT('SRID=4674;POINT (-38.500641 -3.498932)'))) / (select extract(epoch from '2026-07-18 15:56:11'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.500654 -3.498967)', '2026-07-18 15:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500641 -3.498932)'), GeomFromEWKT('SRID=4674;POINT (-38.500654 -3.498967)'))) / (select extract(epoch from '2026-07-18 15:56:13'::timestamp) - extract(epoch from '2026-07-18 15:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500641 -3.498932)'), GeomFromEWKT('SRID=4674;POINT (-38.500654 -3.498967)'))) / (select extract(epoch from '2026-07-18 15:56:13'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.500699 -3.499022)', '2026-07-18 15:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500654 -3.498967)'), GeomFromEWKT('SRID=4674;POINT (-38.500699 -3.499022)'))) / (select extract(epoch from '2026-07-18 15:56:16'::timestamp) - extract(epoch from '2026-07-18 15:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500654 -3.498967)'), GeomFromEWKT('SRID=4674;POINT (-38.500699 -3.499022)'))) / (select extract(epoch from '2026-07-18 15:56:16'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.50072 -3.499077)', '2026-07-18 15:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500699 -3.499022)'), GeomFromEWKT('SRID=4674;POINT (-38.50072 -3.499077)'))) / (select extract(epoch from '2026-07-18 15:56:20'::timestamp) - extract(epoch from '2026-07-18 15:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500699 -3.499022)'), GeomFromEWKT('SRID=4674;POINT (-38.50072 -3.499077)'))) / (select extract(epoch from '2026-07-18 15:56:20'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.50078 -3.499171)', '2026-07-18 15:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50072 -3.499077)'), GeomFromEWKT('SRID=4674;POINT (-38.50078 -3.499171)'))) / (select extract(epoch from '2026-07-18 15:56:26'::timestamp) - extract(epoch from '2026-07-18 15:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50072 -3.499077)'), GeomFromEWKT('SRID=4674;POINT (-38.50078 -3.499171)'))) / (select extract(epoch from '2026-07-18 15:56:26'::timestamp) - extract(epoch from '2026-07-18 15:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500826 -3.499259)', '2026-07-18 15:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50078 -3.499171)'), GeomFromEWKT('SRID=4674;POINT (-38.500826 -3.499259)'))) / (select extract(epoch from '2026-07-18 15:56:31'::timestamp) - extract(epoch from '2026-07-18 15:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50078 -3.499171)'), GeomFromEWKT('SRID=4674;POINT (-38.500826 -3.499259)'))) / (select extract(epoch from '2026-07-18 15:56:31'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.500874 -3.499382)', '2026-07-18 15:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500826 -3.499259)'), GeomFromEWKT('SRID=4674;POINT (-38.500874 -3.499382)'))) / (select extract(epoch from '2026-07-18 15:56:38'::timestamp) - extract(epoch from '2026-07-18 15:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500826 -3.499259)'), GeomFromEWKT('SRID=4674;POINT (-38.500874 -3.499382)'))) / (select extract(epoch from '2026-07-18 15:56:38'::timestamp) - extract(epoch from '2026-07-18 15:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500889 -3.499477)', '2026-07-18 15:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500874 -3.499382)'), GeomFromEWKT('SRID=4674;POINT (-38.500889 -3.499477)'))) / (select extract(epoch from '2026-07-18 15:56:44'::timestamp) - extract(epoch from '2026-07-18 15:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500874 -3.499382)'), GeomFromEWKT('SRID=4674;POINT (-38.500889 -3.499477)'))) / (select extract(epoch from '2026-07-18 15:56:44'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.500895 -3.499492)', '2026-07-18 15:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500889 -3.499477)'), GeomFromEWKT('SRID=4674;POINT (-38.500895 -3.499492)'))) / (select extract(epoch from '2026-07-18 15:56:45'::timestamp) - extract(epoch from '2026-07-18 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500889 -3.499477)'), GeomFromEWKT('SRID=4674;POINT (-38.500895 -3.499492)'))) / (select extract(epoch from '2026-07-18 15:56:45'::timestamp) - extract(epoch from '2026-07-18 15:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500917 -3.49954)', '2026-07-18 15:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500895 -3.499492)'), GeomFromEWKT('SRID=4674;POINT (-38.500917 -3.49954)'))) / (select extract(epoch from '2026-07-18 15:56:49'::timestamp) - extract(epoch from '2026-07-18 15:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500895 -3.499492)'), GeomFromEWKT('SRID=4674;POINT (-38.500917 -3.49954)'))) / (select extract(epoch from '2026-07-18 15:56:49'::timestamp) - extract(epoch from '2026-07-18 15:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500948 -3.499626)', '2026-07-18 15:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500917 -3.49954)'), GeomFromEWKT('SRID=4674;POINT (-38.500948 -3.499626)'))) / (select extract(epoch from '2026-07-18 15:56:55'::timestamp) - extract(epoch from '2026-07-18 15:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500917 -3.49954)'), GeomFromEWKT('SRID=4674;POINT (-38.500948 -3.499626)'))) / (select extract(epoch from '2026-07-18 15:56:55'::timestamp) - extract(epoch from '2026-07-18 15:56: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'), 47391, 'SRID=4674;POINT (-38.500987 -3.499732)', '2026-07-18 15:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500948 -3.499626)'), GeomFromEWKT('SRID=4674;POINT (-38.500987 -3.499732)'))) / (select extract(epoch from '2026-07-18 15:57:01'::timestamp) - extract(epoch from '2026-07-18 15:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500948 -3.499626)'), GeomFromEWKT('SRID=4674;POINT (-38.500987 -3.499732)'))) / (select extract(epoch from '2026-07-18 15:57:01'::timestamp) - extract(epoch from '2026-07-18 15:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.500997 -3.499759)', '2026-07-18 15:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500987 -3.499732)'), GeomFromEWKT('SRID=4674;POINT (-38.500997 -3.499759)'))) / (select extract(epoch from '2026-07-18 15:57:02'::timestamp) - extract(epoch from '2026-07-18 15:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500987 -3.499732)'), GeomFromEWKT('SRID=4674;POINT (-38.500997 -3.499759)'))) / (select extract(epoch from '2026-07-18 15:57:02'::timestamp) - extract(epoch from '2026-07-18 15:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501011 -3.49982)', '2026-07-18 15:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500997 -3.499759)'), GeomFromEWKT('SRID=4674;POINT (-38.501011 -3.49982)'))) / (select extract(epoch from '2026-07-18 15:57:05'::timestamp) - extract(epoch from '2026-07-18 15:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.500997 -3.499759)'), GeomFromEWKT('SRID=4674;POINT (-38.501011 -3.49982)'))) / (select extract(epoch from '2026-07-18 15:57:05'::timestamp) - extract(epoch from '2026-07-18 15:57: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'), 47391, 'SRID=4674;POINT (-38.501047 -3.499947)', '2026-07-18 15:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501011 -3.49982)'), GeomFromEWKT('SRID=4674;POINT (-38.501047 -3.499947)'))) / (select extract(epoch from '2026-07-18 15:57:12'::timestamp) - extract(epoch from '2026-07-18 15:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501011 -3.49982)'), GeomFromEWKT('SRID=4674;POINT (-38.501047 -3.499947)'))) / (select extract(epoch from '2026-07-18 15:57:12'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.501099 -3.500043)', '2026-07-18 15:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501047 -3.499947)'), GeomFromEWKT('SRID=4674;POINT (-38.501099 -3.500043)'))) / (select extract(epoch from '2026-07-18 15:57:20'::timestamp) - extract(epoch from '2026-07-18 15:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501047 -3.499947)'), GeomFromEWKT('SRID=4674;POINT (-38.501099 -3.500043)'))) / (select extract(epoch from '2026-07-18 15:57:20'::timestamp) - extract(epoch from '2026-07-18 15:57: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'), 47391, 'SRID=4674;POINT (-38.501149 -3.500147)', '2026-07-18 15:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501099 -3.500043)'), GeomFromEWKT('SRID=4674;POINT (-38.501149 -3.500147)'))) / (select extract(epoch from '2026-07-18 15:57:27'::timestamp) - extract(epoch from '2026-07-18 15:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501099 -3.500043)'), GeomFromEWKT('SRID=4674;POINT (-38.501149 -3.500147)'))) / (select extract(epoch from '2026-07-18 15:57:27'::timestamp) - extract(epoch from '2026-07-18 15:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501186 -3.500227)', '2026-07-18 15:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501149 -3.500147)'), GeomFromEWKT('SRID=4674;POINT (-38.501186 -3.500227)'))) / (select extract(epoch from '2026-07-18 15:57:32'::timestamp) - extract(epoch from '2026-07-18 15:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501149 -3.500147)'), GeomFromEWKT('SRID=4674;POINT (-38.501186 -3.500227)'))) / (select extract(epoch from '2026-07-18 15:57:32'::timestamp) - extract(epoch from '2026-07-18 15:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501224 -3.500327)', '2026-07-18 15:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501186 -3.500227)'), GeomFromEWKT('SRID=4674;POINT (-38.501224 -3.500327)'))) / (select extract(epoch from '2026-07-18 15:57:38'::timestamp) - extract(epoch from '2026-07-18 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501186 -3.500227)'), GeomFromEWKT('SRID=4674;POINT (-38.501224 -3.500327)'))) / (select extract(epoch from '2026-07-18 15:57:38'::timestamp) - extract(epoch from '2026-07-18 15:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501257 -3.500416)', '2026-07-18 15:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501224 -3.500327)'), GeomFromEWKT('SRID=4674;POINT (-38.501257 -3.500416)'))) / (select extract(epoch from '2026-07-18 15:57:43'::timestamp) - extract(epoch from '2026-07-18 15:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501224 -3.500327)'), GeomFromEWKT('SRID=4674;POINT (-38.501257 -3.500416)'))) / (select extract(epoch from '2026-07-18 15:57:43'::timestamp) - extract(epoch from '2026-07-18 15:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501288 -3.500499)', '2026-07-18 15:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501257 -3.500416)'), GeomFromEWKT('SRID=4674;POINT (-38.501288 -3.500499)'))) / (select extract(epoch from '2026-07-18 15:57:48'::timestamp) - extract(epoch from '2026-07-18 15:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501257 -3.500416)'), GeomFromEWKT('SRID=4674;POINT (-38.501288 -3.500499)'))) / (select extract(epoch from '2026-07-18 15:57:48'::timestamp) - extract(epoch from '2026-07-18 15:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501296 -3.500532)', '2026-07-18 15:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501288 -3.500499)'), GeomFromEWKT('SRID=4674;POINT (-38.501296 -3.500532)'))) / (select extract(epoch from '2026-07-18 15:57:50'::timestamp) - extract(epoch from '2026-07-18 15:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501288 -3.500499)'), GeomFromEWKT('SRID=4674;POINT (-38.501296 -3.500532)'))) / (select extract(epoch from '2026-07-18 15:57:50'::timestamp) - extract(epoch from '2026-07-18 15:57: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'), 47391, 'SRID=4674;POINT (-38.501327 -3.500601)', '2026-07-18 15:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501296 -3.500532)'), GeomFromEWKT('SRID=4674;POINT (-38.501327 -3.500601)'))) / (select extract(epoch from '2026-07-18 15:57:54'::timestamp) - extract(epoch from '2026-07-18 15:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501296 -3.500532)'), GeomFromEWKT('SRID=4674;POINT (-38.501327 -3.500601)'))) / (select extract(epoch from '2026-07-18 15:57:54'::timestamp) - extract(epoch from '2026-07-18 15:57: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'), 47391, 'SRID=4674;POINT (-38.501361 -3.500701)', '2026-07-18 15:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501327 -3.500601)'), GeomFromEWKT('SRID=4674;POINT (-38.501361 -3.500701)'))) / (select extract(epoch from '2026-07-18 15:57:59'::timestamp) - extract(epoch from '2026-07-18 15:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501327 -3.500601)'), GeomFromEWKT('SRID=4674;POINT (-38.501361 -3.500701)'))) / (select extract(epoch from '2026-07-18 15:57:59'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.501371 -3.50078)', '2026-07-18 15:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501361 -3.500701)'), GeomFromEWKT('SRID=4674;POINT (-38.501371 -3.50078)'))) / (select extract(epoch from '2026-07-18 15:58:03'::timestamp) - extract(epoch from '2026-07-18 15:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501361 -3.500701)'), GeomFromEWKT('SRID=4674;POINT (-38.501371 -3.50078)'))) / (select extract(epoch from '2026-07-18 15:58:03'::timestamp) - extract(epoch from '2026-07-18 15:57: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'), 47391, 'SRID=4674;POINT (-38.501378 -3.500798)', '2026-07-18 15:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501371 -3.50078)'), GeomFromEWKT('SRID=4674;POINT (-38.501378 -3.500798)'))) / (select extract(epoch from '2026-07-18 15:58:04'::timestamp) - extract(epoch from '2026-07-18 15:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501371 -3.50078)'), GeomFromEWKT('SRID=4674;POINT (-38.501378 -3.500798)'))) / (select extract(epoch from '2026-07-18 15:58:04'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.501397 -3.500848)', '2026-07-18 15:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501378 -3.500798)'), GeomFromEWKT('SRID=4674;POINT (-38.501397 -3.500848)'))) / (select extract(epoch from '2026-07-18 15:58:07'::timestamp) - extract(epoch from '2026-07-18 15:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501378 -3.500798)'), GeomFromEWKT('SRID=4674;POINT (-38.501397 -3.500848)'))) / (select extract(epoch from '2026-07-18 15:58:07'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501401 -3.500879)', '2026-07-18 15:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501397 -3.500848)'), GeomFromEWKT('SRID=4674;POINT (-38.501401 -3.500879)'))) / (select extract(epoch from '2026-07-18 15:58:09'::timestamp) - extract(epoch from '2026-07-18 15:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501397 -3.500848)'), GeomFromEWKT('SRID=4674;POINT (-38.501401 -3.500879)'))) / (select extract(epoch from '2026-07-18 15:58:09'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501425 -3.500959)', '2026-07-18 15:58:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501401 -3.500879)'), GeomFromEWKT('SRID=4674;POINT (-38.501425 -3.500959)'))) / (select extract(epoch from '2026-07-18 15:58:14'::timestamp) - extract(epoch from '2026-07-18 15:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501401 -3.500879)'), GeomFromEWKT('SRID=4674;POINT (-38.501425 -3.500959)'))) / (select extract(epoch from '2026-07-18 15:58:14'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501469 -3.501058)', '2026-07-18 15:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501425 -3.500959)'), GeomFromEWKT('SRID=4674;POINT (-38.501469 -3.501058)'))) / (select extract(epoch from '2026-07-18 15:58:20'::timestamp) - extract(epoch from '2026-07-18 15:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501425 -3.500959)'), GeomFromEWKT('SRID=4674;POINT (-38.501469 -3.501058)'))) / (select extract(epoch from '2026-07-18 15:58:20'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501505 -3.501161)', '2026-07-18 15:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501469 -3.501058)'), GeomFromEWKT('SRID=4674;POINT (-38.501505 -3.501161)'))) / (select extract(epoch from '2026-07-18 15:58:26'::timestamp) - extract(epoch from '2026-07-18 15:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501469 -3.501058)'), GeomFromEWKT('SRID=4674;POINT (-38.501505 -3.501161)'))) / (select extract(epoch from '2026-07-18 15:58:26'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501542 -3.501273)', '2026-07-18 15:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501505 -3.501161)'), GeomFromEWKT('SRID=4674;POINT (-38.501542 -3.501273)'))) / (select extract(epoch from '2026-07-18 15:58:33'::timestamp) - extract(epoch from '2026-07-18 15:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501505 -3.501161)'), GeomFromEWKT('SRID=4674;POINT (-38.501542 -3.501273)'))) / (select extract(epoch from '2026-07-18 15:58:33'::timestamp) - extract(epoch from '2026-07-18 15:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501578 -3.501348)', '2026-07-18 15:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501542 -3.501273)'), GeomFromEWKT('SRID=4674;POINT (-38.501578 -3.501348)'))) / (select extract(epoch from '2026-07-18 15:58:39'::timestamp) - extract(epoch from '2026-07-18 15:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501542 -3.501273)'), GeomFromEWKT('SRID=4674;POINT (-38.501578 -3.501348)'))) / (select extract(epoch from '2026-07-18 15:58:39'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501625 -3.501431)', '2026-07-18 15:58:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501578 -3.501348)'), GeomFromEWKT('SRID=4674;POINT (-38.501625 -3.501431)'))) / (select extract(epoch from '2026-07-18 15:58:45'::timestamp) - extract(epoch from '2026-07-18 15:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501578 -3.501348)'), GeomFromEWKT('SRID=4674;POINT (-38.501625 -3.501431)'))) / (select extract(epoch from '2026-07-18 15:58:45'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.50164 -3.50146)', '2026-07-18 15:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501625 -3.501431)'), GeomFromEWKT('SRID=4674;POINT (-38.50164 -3.50146)'))) / (select extract(epoch from '2026-07-18 15:58:47'::timestamp) - extract(epoch from '2026-07-18 15:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501625 -3.501431)'), GeomFromEWKT('SRID=4674;POINT (-38.50164 -3.50146)'))) / (select extract(epoch from '2026-07-18 15:58:47'::timestamp) - extract(epoch from '2026-07-18 15:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501657 -3.5015)', '2026-07-18 15:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50164 -3.50146)'), GeomFromEWKT('SRID=4674;POINT (-38.501657 -3.5015)'))) / (select extract(epoch from '2026-07-18 15:58:50'::timestamp) - extract(epoch from '2026-07-18 15:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50164 -3.50146)'), GeomFromEWKT('SRID=4674;POINT (-38.501657 -3.5015)'))) / (select extract(epoch from '2026-07-18 15:58:50'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501664 -3.501518)', '2026-07-18 15:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501657 -3.5015)'), GeomFromEWKT('SRID=4674;POINT (-38.501664 -3.501518)'))) / (select extract(epoch from '2026-07-18 15:58:51'::timestamp) - extract(epoch from '2026-07-18 15:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501657 -3.5015)'), GeomFromEWKT('SRID=4674;POINT (-38.501664 -3.501518)'))) / (select extract(epoch from '2026-07-18 15:58:51'::timestamp) - extract(epoch from '2026-07-18 15:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501695 -3.501555)', '2026-07-18 15:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501664 -3.501518)'), GeomFromEWKT('SRID=4674;POINT (-38.501695 -3.501555)'))) / (select extract(epoch from '2026-07-18 15:58:54'::timestamp) - extract(epoch from '2026-07-18 15:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501664 -3.501518)'), GeomFromEWKT('SRID=4674;POINT (-38.501695 -3.501555)'))) / (select extract(epoch from '2026-07-18 15:58:54'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501743 -3.501654)', '2026-07-18 15:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501695 -3.501555)'), GeomFromEWKT('SRID=4674;POINT (-38.501743 -3.501654)'))) / (select extract(epoch from '2026-07-18 15:59:01'::timestamp) - extract(epoch from '2026-07-18 15:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501695 -3.501555)'), GeomFromEWKT('SRID=4674;POINT (-38.501743 -3.501654)'))) / (select extract(epoch from '2026-07-18 15:59:01'::timestamp) - extract(epoch from '2026-07-18 15:58: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'), 47391, 'SRID=4674;POINT (-38.501786 -3.501764)', '2026-07-18 15:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501743 -3.501654)'), GeomFromEWKT('SRID=4674;POINT (-38.501786 -3.501764)'))) / (select extract(epoch from '2026-07-18 15:59:07'::timestamp) - extract(epoch from '2026-07-18 15:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501743 -3.501654)'), GeomFromEWKT('SRID=4674;POINT (-38.501786 -3.501764)'))) / (select extract(epoch from '2026-07-18 15:59:07'::timestamp) - extract(epoch from '2026-07-18 15:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501812 -3.501863)', '2026-07-18 15:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501786 -3.501764)'), GeomFromEWKT('SRID=4674;POINT (-38.501812 -3.501863)'))) / (select extract(epoch from '2026-07-18 15:59:13'::timestamp) - extract(epoch from '2026-07-18 15:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501786 -3.501764)'), GeomFromEWKT('SRID=4674;POINT (-38.501812 -3.501863)'))) / (select extract(epoch from '2026-07-18 15:59:13'::timestamp) - extract(epoch from '2026-07-18 15:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501839 -3.501964)', '2026-07-18 15:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501812 -3.501863)'), GeomFromEWKT('SRID=4674;POINT (-38.501839 -3.501964)'))) / (select extract(epoch from '2026-07-18 15:59:19'::timestamp) - extract(epoch from '2026-07-18 15:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501812 -3.501863)'), GeomFromEWKT('SRID=4674;POINT (-38.501839 -3.501964)'))) / (select extract(epoch from '2026-07-18 15:59:19'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.50187 -3.502056)', '2026-07-18 15:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501839 -3.501964)'), GeomFromEWKT('SRID=4674;POINT (-38.50187 -3.502056)'))) / (select extract(epoch from '2026-07-18 15:59:24'::timestamp) - extract(epoch from '2026-07-18 15:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501839 -3.501964)'), GeomFromEWKT('SRID=4674;POINT (-38.50187 -3.502056)'))) / (select extract(epoch from '2026-07-18 15:59:24'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.501895 -3.502146)', '2026-07-18 15:59:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50187 -3.502056)'), GeomFromEWKT('SRID=4674;POINT (-38.501895 -3.502146)'))) / (select extract(epoch from '2026-07-18 15:59:29'::timestamp) - extract(epoch from '2026-07-18 15:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50187 -3.502056)'), GeomFromEWKT('SRID=4674;POINT (-38.501895 -3.502146)'))) / (select extract(epoch from '2026-07-18 15:59:29'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.501922 -3.502232)', '2026-07-18 15:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501895 -3.502146)'), GeomFromEWKT('SRID=4674;POINT (-38.501922 -3.502232)'))) / (select extract(epoch from '2026-07-18 15:59:34'::timestamp) - extract(epoch from '2026-07-18 15:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501895 -3.502146)'), GeomFromEWKT('SRID=4674;POINT (-38.501922 -3.502232)'))) / (select extract(epoch from '2026-07-18 15:59:34'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.501945 -3.502295)', '2026-07-18 15:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501922 -3.502232)'), GeomFromEWKT('SRID=4674;POINT (-38.501945 -3.502295)'))) / (select extract(epoch from '2026-07-18 15:59:38'::timestamp) - extract(epoch from '2026-07-18 15:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501922 -3.502232)'), GeomFromEWKT('SRID=4674;POINT (-38.501945 -3.502295)'))) / (select extract(epoch from '2026-07-18 15:59:38'::timestamp) - extract(epoch from '2026-07-18 15:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.501953 -3.502311)', '2026-07-18 15:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501945 -3.502295)'), GeomFromEWKT('SRID=4674;POINT (-38.501953 -3.502311)'))) / (select extract(epoch from '2026-07-18 15:59:39'::timestamp) - extract(epoch from '2026-07-18 15:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501945 -3.502295)'), GeomFromEWKT('SRID=4674;POINT (-38.501953 -3.502311)'))) / (select extract(epoch from '2026-07-18 15:59:39'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.501962 -3.502365)', '2026-07-18 15:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501953 -3.502311)'), GeomFromEWKT('SRID=4674;POINT (-38.501962 -3.502365)'))) / (select extract(epoch from '2026-07-18 15:59:42'::timestamp) - extract(epoch from '2026-07-18 15:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501953 -3.502311)'), GeomFromEWKT('SRID=4674;POINT (-38.501962 -3.502365)'))) / (select extract(epoch from '2026-07-18 15:59:42'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.501984 -3.502396)', '2026-07-18 15:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501962 -3.502365)'), GeomFromEWKT('SRID=4674;POINT (-38.501984 -3.502396)'))) / (select extract(epoch from '2026-07-18 15:59:44'::timestamp) - extract(epoch from '2026-07-18 15:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501962 -3.502365)'), GeomFromEWKT('SRID=4674;POINT (-38.501984 -3.502396)'))) / (select extract(epoch from '2026-07-18 15:59:44'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.502009 -3.50247)', '2026-07-18 15:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501984 -3.502396)'), GeomFromEWKT('SRID=4674;POINT (-38.502009 -3.50247)'))) / (select extract(epoch from '2026-07-18 15:59:49'::timestamp) - extract(epoch from '2026-07-18 15:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.501984 -3.502396)'), GeomFromEWKT('SRID=4674;POINT (-38.502009 -3.50247)'))) / (select extract(epoch from '2026-07-18 15:59:49'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.502041 -3.502541)', '2026-07-18 15:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502009 -3.50247)'), GeomFromEWKT('SRID=4674;POINT (-38.502041 -3.502541)'))) / (select extract(epoch from '2026-07-18 15:59:54'::timestamp) - extract(epoch from '2026-07-18 15:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502009 -3.50247)'), GeomFromEWKT('SRID=4674;POINT (-38.502041 -3.502541)'))) / (select extract(epoch from '2026-07-18 15:59:54'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.502055 -3.502558)', '2026-07-18 15:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502041 -3.502541)'), GeomFromEWKT('SRID=4674;POINT (-38.502055 -3.502558)'))) / (select extract(epoch from '2026-07-18 15:59:55'::timestamp) - extract(epoch from '2026-07-18 15:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502041 -3.502541)'), GeomFromEWKT('SRID=4674;POINT (-38.502055 -3.502558)'))) / (select extract(epoch from '2026-07-18 15:59:55'::timestamp) - extract(epoch from '2026-07-18 15:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502076 -3.502591)', '2026-07-18 15:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502055 -3.502558)'), GeomFromEWKT('SRID=4674;POINT (-38.502076 -3.502591)'))) / (select extract(epoch from '2026-07-18 15:59:57'::timestamp) - extract(epoch from '2026-07-18 15:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502055 -3.502558)'), GeomFromEWKT('SRID=4674;POINT (-38.502076 -3.502591)'))) / (select extract(epoch from '2026-07-18 15:59:57'::timestamp) - extract(epoch from '2026-07-18 15:59: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'), 47391, 'SRID=4674;POINT (-38.502083 -3.502626)', '2026-07-18 15:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502076 -3.502591)'), GeomFromEWKT('SRID=4674;POINT (-38.502083 -3.502626)'))) / (select extract(epoch from '2026-07-18 15:59:59'::timestamp) - extract(epoch from '2026-07-18 15:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502076 -3.502591)'), GeomFromEWKT('SRID=4674;POINT (-38.502083 -3.502626)'))) / (select extract(epoch from '2026-07-18 15:59:59'::timestamp) - extract(epoch from '2026-07-18 15:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502119 -3.502695)', '2026-07-18 16:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502083 -3.502626)'), GeomFromEWKT('SRID=4674;POINT (-38.502119 -3.502695)'))) / (select extract(epoch from '2026-07-18 16:00:03'::timestamp) - extract(epoch from '2026-07-18 15:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502083 -3.502626)'), GeomFromEWKT('SRID=4674;POINT (-38.502119 -3.502695)'))) / (select extract(epoch from '2026-07-18 16:00:03'::timestamp) - extract(epoch from '2026-07-18 15:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50212 -3.502714)', '2026-07-18 16:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502119 -3.502695)'), GeomFromEWKT('SRID=4674;POINT (-38.50212 -3.502714)'))) / (select extract(epoch from '2026-07-18 16:00:04'::timestamp) - extract(epoch from '2026-07-18 16:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502119 -3.502695)'), GeomFromEWKT('SRID=4674;POINT (-38.50212 -3.502714)'))) / (select extract(epoch from '2026-07-18 16:00:04'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502127 -3.502732)', '2026-07-18 16:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50212 -3.502714)'), GeomFromEWKT('SRID=4674;POINT (-38.502127 -3.502732)'))) / (select extract(epoch from '2026-07-18 16:00:05'::timestamp) - extract(epoch from '2026-07-18 16:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50212 -3.502714)'), GeomFromEWKT('SRID=4674;POINT (-38.502127 -3.502732)'))) / (select extract(epoch from '2026-07-18 16:00:05'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502161 -3.502785)', '2026-07-18 16:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502127 -3.502732)'), GeomFromEWKT('SRID=4674;POINT (-38.502161 -3.502785)'))) / (select extract(epoch from '2026-07-18 16:00:08'::timestamp) - extract(epoch from '2026-07-18 16:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502127 -3.502732)'), GeomFromEWKT('SRID=4674;POINT (-38.502161 -3.502785)'))) / (select extract(epoch from '2026-07-18 16:00:08'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502165 -3.502819)', '2026-07-18 16:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502161 -3.502785)'), GeomFromEWKT('SRID=4674;POINT (-38.502165 -3.502819)'))) / (select extract(epoch from '2026-07-18 16:00:10'::timestamp) - extract(epoch from '2026-07-18 16:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502161 -3.502785)'), GeomFromEWKT('SRID=4674;POINT (-38.502165 -3.502819)'))) / (select extract(epoch from '2026-07-18 16:00:10'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502191 -3.50285)', '2026-07-18 16:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502165 -3.502819)'), GeomFromEWKT('SRID=4674;POINT (-38.502191 -3.50285)'))) / (select extract(epoch from '2026-07-18 16:00:12'::timestamp) - extract(epoch from '2026-07-18 16:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502165 -3.502819)'), GeomFromEWKT('SRID=4674;POINT (-38.502191 -3.50285)'))) / (select extract(epoch from '2026-07-18 16:00:12'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502215 -3.502913)', '2026-07-18 16:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502191 -3.50285)'), GeomFromEWKT('SRID=4674;POINT (-38.502215 -3.502913)'))) / (select extract(epoch from '2026-07-18 16:00:17'::timestamp) - extract(epoch from '2026-07-18 16:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502191 -3.50285)'), GeomFromEWKT('SRID=4674;POINT (-38.502215 -3.502913)'))) / (select extract(epoch from '2026-07-18 16:00:17'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502266 -3.503002)', '2026-07-18 16:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502215 -3.502913)'), GeomFromEWKT('SRID=4674;POINT (-38.502266 -3.503002)'))) / (select extract(epoch from '2026-07-18 16:00:23'::timestamp) - extract(epoch from '2026-07-18 16:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502215 -3.502913)'), GeomFromEWKT('SRID=4674;POINT (-38.502266 -3.503002)'))) / (select extract(epoch from '2026-07-18 16:00:23'::timestamp) - extract(epoch from '2026-07-18 16:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50231 -3.50308)', '2026-07-18 16:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502266 -3.503002)'), GeomFromEWKT('SRID=4674;POINT (-38.50231 -3.50308)'))) / (select extract(epoch from '2026-07-18 16:00:29'::timestamp) - extract(epoch from '2026-07-18 16:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502266 -3.503002)'), GeomFromEWKT('SRID=4674;POINT (-38.50231 -3.50308)'))) / (select extract(epoch from '2026-07-18 16:00:29'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502353 -3.503156)', '2026-07-18 16:00:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50231 -3.50308)'), GeomFromEWKT('SRID=4674;POINT (-38.502353 -3.503156)'))) / (select extract(epoch from '2026-07-18 16:00:34'::timestamp) - extract(epoch from '2026-07-18 16:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50231 -3.50308)'), GeomFromEWKT('SRID=4674;POINT (-38.502353 -3.503156)'))) / (select extract(epoch from '2026-07-18 16:00:34'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502396 -3.50326)', '2026-07-18 16:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502353 -3.503156)'), GeomFromEWKT('SRID=4674;POINT (-38.502396 -3.50326)'))) / (select extract(epoch from '2026-07-18 16:00:40'::timestamp) - extract(epoch from '2026-07-18 16:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502353 -3.503156)'), GeomFromEWKT('SRID=4674;POINT (-38.502396 -3.50326)'))) / (select extract(epoch from '2026-07-18 16:00:40'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502402 -3.503274)', '2026-07-18 16:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502396 -3.50326)'), GeomFromEWKT('SRID=4674;POINT (-38.502402 -3.503274)'))) / (select extract(epoch from '2026-07-18 16:00:41'::timestamp) - extract(epoch from '2026-07-18 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502396 -3.50326)'), GeomFromEWKT('SRID=4674;POINT (-38.502402 -3.503274)'))) / (select extract(epoch from '2026-07-18 16:00:41'::timestamp) - extract(epoch from '2026-07-18 16:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502435 -3.50333)', '2026-07-18 16:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502402 -3.503274)'), GeomFromEWKT('SRID=4674;POINT (-38.502435 -3.50333)'))) / (select extract(epoch from '2026-07-18 16:00:45'::timestamp) - extract(epoch from '2026-07-18 16:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502402 -3.503274)'), GeomFromEWKT('SRID=4674;POINT (-38.502435 -3.50333)'))) / (select extract(epoch from '2026-07-18 16:00:45'::timestamp) - extract(epoch from '2026-07-18 16:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502484 -3.50342)', '2026-07-18 16:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502435 -3.50333)'), GeomFromEWKT('SRID=4674;POINT (-38.502484 -3.50342)'))) / (select extract(epoch from '2026-07-18 16:00:53'::timestamp) - extract(epoch from '2026-07-18 16:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502435 -3.50333)'), GeomFromEWKT('SRID=4674;POINT (-38.502484 -3.50342)'))) / (select extract(epoch from '2026-07-18 16:00:53'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.50252 -3.503487)', '2026-07-18 16:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502484 -3.50342)'), GeomFromEWKT('SRID=4674;POINT (-38.50252 -3.503487)'))) / (select extract(epoch from '2026-07-18 16:00:58'::timestamp) - extract(epoch from '2026-07-18 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502484 -3.50342)'), GeomFromEWKT('SRID=4674;POINT (-38.50252 -3.503487)'))) / (select extract(epoch from '2026-07-18 16:00:58'::timestamp) - extract(epoch from '2026-07-18 16:00: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'), 47391, 'SRID=4674;POINT (-38.502551 -3.503528)', '2026-07-18 16:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50252 -3.503487)'), GeomFromEWKT('SRID=4674;POINT (-38.502551 -3.503528)'))) / (select extract(epoch from '2026-07-18 16:01:01'::timestamp) - extract(epoch from '2026-07-18 16:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50252 -3.503487)'), GeomFromEWKT('SRID=4674;POINT (-38.502551 -3.503528)'))) / (select extract(epoch from '2026-07-18 16:01:01'::timestamp) - extract(epoch from '2026-07-18 16:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502559 -3.503565)', '2026-07-18 16:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502551 -3.503528)'), GeomFromEWKT('SRID=4674;POINT (-38.502559 -3.503565)'))) / (select extract(epoch from '2026-07-18 16:01:03'::timestamp) - extract(epoch from '2026-07-18 16:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502551 -3.503528)'), GeomFromEWKT('SRID=4674;POINT (-38.502559 -3.503565)'))) / (select extract(epoch from '2026-07-18 16:01:03'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502598 -3.503649)', '2026-07-18 16:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502559 -3.503565)'), GeomFromEWKT('SRID=4674;POINT (-38.502598 -3.503649)'))) / (select extract(epoch from '2026-07-18 16:01:08'::timestamp) - extract(epoch from '2026-07-18 16:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502559 -3.503565)'), GeomFromEWKT('SRID=4674;POINT (-38.502598 -3.503649)'))) / (select extract(epoch from '2026-07-18 16:01:08'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502602 -3.503663)', '2026-07-18 16:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502598 -3.503649)'), GeomFromEWKT('SRID=4674;POINT (-38.502602 -3.503663)'))) / (select extract(epoch from '2026-07-18 16:01:09'::timestamp) - extract(epoch from '2026-07-18 16:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502598 -3.503649)'), GeomFromEWKT('SRID=4674;POINT (-38.502602 -3.503663)'))) / (select extract(epoch from '2026-07-18 16:01:09'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502631 -3.503709)', '2026-07-18 16:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502602 -3.503663)'), GeomFromEWKT('SRID=4674;POINT (-38.502631 -3.503709)'))) / (select extract(epoch from '2026-07-18 16:01:12'::timestamp) - extract(epoch from '2026-07-18 16:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502602 -3.503663)'), GeomFromEWKT('SRID=4674;POINT (-38.502631 -3.503709)'))) / (select extract(epoch from '2026-07-18 16:01:12'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502658 -3.503788)', '2026-07-18 16:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502631 -3.503709)'), GeomFromEWKT('SRID=4674;POINT (-38.502658 -3.503788)'))) / (select extract(epoch from '2026-07-18 16:01:18'::timestamp) - extract(epoch from '2026-07-18 16:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502631 -3.503709)'), GeomFromEWKT('SRID=4674;POINT (-38.502658 -3.503788)'))) / (select extract(epoch from '2026-07-18 16:01:18'::timestamp) - extract(epoch from '2026-07-18 16:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.502708 -3.503874)', '2026-07-18 16:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502658 -3.503788)'), GeomFromEWKT('SRID=4674;POINT (-38.502708 -3.503874)'))) / (select extract(epoch from '2026-07-18 16:01:24'::timestamp) - extract(epoch from '2026-07-18 16:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502658 -3.503788)'), GeomFromEWKT('SRID=4674;POINT (-38.502708 -3.503874)'))) / (select extract(epoch from '2026-07-18 16:01:24'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502749 -3.503978)', '2026-07-18 16:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502708 -3.503874)'), GeomFromEWKT('SRID=4674;POINT (-38.502749 -3.503978)'))) / (select extract(epoch from '2026-07-18 16:01:30'::timestamp) - extract(epoch from '2026-07-18 16:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502708 -3.503874)'), GeomFromEWKT('SRID=4674;POINT (-38.502749 -3.503978)'))) / (select extract(epoch from '2026-07-18 16:01:30'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502775 -3.504042)', '2026-07-18 16:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502749 -3.503978)'), GeomFromEWKT('SRID=4674;POINT (-38.502775 -3.504042)'))) / (select extract(epoch from '2026-07-18 16:01:34'::timestamp) - extract(epoch from '2026-07-18 16:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502749 -3.503978)'), GeomFromEWKT('SRID=4674;POINT (-38.502775 -3.504042)'))) / (select extract(epoch from '2026-07-18 16:01:34'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502806 -3.504113)', '2026-07-18 16:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502775 -3.504042)'), GeomFromEWKT('SRID=4674;POINT (-38.502806 -3.504113)'))) / (select extract(epoch from '2026-07-18 16:01:38'::timestamp) - extract(epoch from '2026-07-18 16:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502775 -3.504042)'), GeomFromEWKT('SRID=4674;POINT (-38.502806 -3.504113)'))) / (select extract(epoch from '2026-07-18 16:01:38'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.50282 -3.504142)', '2026-07-18 16:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502806 -3.504113)'), GeomFromEWKT('SRID=4674;POINT (-38.50282 -3.504142)'))) / (select extract(epoch from '2026-07-18 16:01:40'::timestamp) - extract(epoch from '2026-07-18 16:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502806 -3.504113)'), GeomFromEWKT('SRID=4674;POINT (-38.50282 -3.504142)'))) / (select extract(epoch from '2026-07-18 16:01:40'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502822 -3.504157)', '2026-07-18 16:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50282 -3.504142)'), GeomFromEWKT('SRID=4674;POINT (-38.502822 -3.504157)'))) / (select extract(epoch from '2026-07-18 16:01:41'::timestamp) - extract(epoch from '2026-07-18 16:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50282 -3.504142)'), GeomFromEWKT('SRID=4674;POINT (-38.502822 -3.504157)'))) / (select extract(epoch from '2026-07-18 16:01:41'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502862 -3.504261)', '2026-07-18 16:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502822 -3.504157)'), GeomFromEWKT('SRID=4674;POINT (-38.502862 -3.504261)'))) / (select extract(epoch from '2026-07-18 16:01:48'::timestamp) - extract(epoch from '2026-07-18 16:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502822 -3.504157)'), GeomFromEWKT('SRID=4674;POINT (-38.502862 -3.504261)'))) / (select extract(epoch from '2026-07-18 16:01:48'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.502919 -3.504338)', '2026-07-18 16:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502862 -3.504261)'), GeomFromEWKT('SRID=4674;POINT (-38.502919 -3.504338)'))) / (select extract(epoch from '2026-07-18 16:01:53'::timestamp) - extract(epoch from '2026-07-18 16:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502862 -3.504261)'), GeomFromEWKT('SRID=4674;POINT (-38.502919 -3.504338)'))) / (select extract(epoch from '2026-07-18 16:01:53'::timestamp) - extract(epoch from '2026-07-18 16:01: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'), 47391, 'SRID=4674;POINT (-38.50297 -3.504445)', '2026-07-18 16:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502919 -3.504338)'), GeomFromEWKT('SRID=4674;POINT (-38.50297 -3.504445)'))) / (select extract(epoch from '2026-07-18 16:01:59'::timestamp) - extract(epoch from '2026-07-18 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502919 -3.504338)'), GeomFromEWKT('SRID=4674;POINT (-38.50297 -3.504445)'))) / (select extract(epoch from '2026-07-18 16:01:59'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502982 -3.504489)', '2026-07-18 16:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50297 -3.504445)'), GeomFromEWKT('SRID=4674;POINT (-38.502982 -3.504489)'))) / (select extract(epoch from '2026-07-18 16:02:02'::timestamp) - extract(epoch from '2026-07-18 16:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50297 -3.504445)'), GeomFromEWKT('SRID=4674;POINT (-38.502982 -3.504489)'))) / (select extract(epoch from '2026-07-18 16:02:02'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.502989 -3.50452)', '2026-07-18 16:02:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502982 -3.504489)'), GeomFromEWKT('SRID=4674;POINT (-38.502989 -3.50452)'))) / (select extract(epoch from '2026-07-18 16:02:04'::timestamp) - extract(epoch from '2026-07-18 16:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502982 -3.504489)'), GeomFromEWKT('SRID=4674;POINT (-38.502989 -3.50452)'))) / (select extract(epoch from '2026-07-18 16:02:04'::timestamp) - extract(epoch from '2026-07-18 16:02: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'), 47391, 'SRID=4674;POINT (-38.503022 -3.5046)', '2026-07-18 16:02:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502989 -3.50452)'), GeomFromEWKT('SRID=4674;POINT (-38.503022 -3.5046)'))) / (select extract(epoch from '2026-07-18 16:02:09'::timestamp) - extract(epoch from '2026-07-18 16:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.502989 -3.50452)'), GeomFromEWKT('SRID=4674;POINT (-38.503022 -3.5046)'))) / (select extract(epoch from '2026-07-18 16:02:09'::timestamp) - extract(epoch from '2026-07-18 16:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503069 -3.504711)', '2026-07-18 16:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503022 -3.5046)'), GeomFromEWKT('SRID=4674;POINT (-38.503069 -3.504711)'))) / (select extract(epoch from '2026-07-18 16:02:15'::timestamp) - extract(epoch from '2026-07-18 16:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503022 -3.5046)'), GeomFromEWKT('SRID=4674;POINT (-38.503069 -3.504711)'))) / (select extract(epoch from '2026-07-18 16:02:15'::timestamp) - extract(epoch from '2026-07-18 16:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503094 -3.50481)', '2026-07-18 16:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503069 -3.504711)'), GeomFromEWKT('SRID=4674;POINT (-38.503094 -3.50481)'))) / (select extract(epoch from '2026-07-18 16:02:20'::timestamp) - extract(epoch from '2026-07-18 16:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503069 -3.504711)'), GeomFromEWKT('SRID=4674;POINT (-38.503094 -3.50481)'))) / (select extract(epoch from '2026-07-18 16:02:20'::timestamp) - extract(epoch from '2026-07-18 16:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503115 -3.504913)', '2026-07-18 16:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503094 -3.50481)'), GeomFromEWKT('SRID=4674;POINT (-38.503115 -3.504913)'))) / (select extract(epoch from '2026-07-18 16:02:26'::timestamp) - extract(epoch from '2026-07-18 16:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503094 -3.50481)'), GeomFromEWKT('SRID=4674;POINT (-38.503115 -3.504913)'))) / (select extract(epoch from '2026-07-18 16:02:26'::timestamp) - extract(epoch from '2026-07-18 16:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503136 -3.505002)', '2026-07-18 16:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503115 -3.504913)'), GeomFromEWKT('SRID=4674;POINT (-38.503136 -3.505002)'))) / (select extract(epoch from '2026-07-18 16:02:31'::timestamp) - extract(epoch from '2026-07-18 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503115 -3.504913)'), GeomFromEWKT('SRID=4674;POINT (-38.503136 -3.505002)'))) / (select extract(epoch from '2026-07-18 16:02:31'::timestamp) - extract(epoch from '2026-07-18 16:02: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'), 47391, 'SRID=4674;POINT (-38.503178 -3.505133)', '2026-07-18 16:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503136 -3.505002)'), GeomFromEWKT('SRID=4674;POINT (-38.503178 -3.505133)'))) / (select extract(epoch from '2026-07-18 16:02:39'::timestamp) - extract(epoch from '2026-07-18 16:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503136 -3.505002)'), GeomFromEWKT('SRID=4674;POINT (-38.503178 -3.505133)'))) / (select extract(epoch from '2026-07-18 16:02:39'::timestamp) - extract(epoch from '2026-07-18 16:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503202 -3.505214)', '2026-07-18 16:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503178 -3.505133)'), GeomFromEWKT('SRID=4674;POINT (-38.503202 -3.505214)'))) / (select extract(epoch from '2026-07-18 16:02:44'::timestamp) - extract(epoch from '2026-07-18 16:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503178 -3.505133)'), GeomFromEWKT('SRID=4674;POINT (-38.503202 -3.505214)'))) / (select extract(epoch from '2026-07-18 16:02:44'::timestamp) - extract(epoch from '2026-07-18 16:02: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'), 47391, 'SRID=4674;POINT (-38.503208 -3.505224)', '2026-07-18 16:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503202 -3.505214)'), GeomFromEWKT('SRID=4674;POINT (-38.503208 -3.505224)'))) / (select extract(epoch from '2026-07-18 16:02:45'::timestamp) - extract(epoch from '2026-07-18 16:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503202 -3.505214)'), GeomFromEWKT('SRID=4674;POINT (-38.503208 -3.505224)'))) / (select extract(epoch from '2026-07-18 16:02:45'::timestamp) - extract(epoch from '2026-07-18 16:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503237 -3.50528)', '2026-07-18 16:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503208 -3.505224)'), GeomFromEWKT('SRID=4674;POINT (-38.503237 -3.50528)'))) / (select extract(epoch from '2026-07-18 16:02:49'::timestamp) - extract(epoch from '2026-07-18 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503208 -3.505224)'), GeomFromEWKT('SRID=4674;POINT (-38.503237 -3.50528)'))) / (select extract(epoch from '2026-07-18 16:02:49'::timestamp) - extract(epoch from '2026-07-18 16:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503253 -3.50531)', '2026-07-18 16:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503237 -3.50528)'), GeomFromEWKT('SRID=4674;POINT (-38.503253 -3.50531)'))) / (select extract(epoch from '2026-07-18 16:02:51'::timestamp) - extract(epoch from '2026-07-18 16:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503237 -3.50528)'), GeomFromEWKT('SRID=4674;POINT (-38.503253 -3.50531)'))) / (select extract(epoch from '2026-07-18 16:02:51'::timestamp) - extract(epoch from '2026-07-18 16:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503252 -3.505324)', '2026-07-18 16:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503253 -3.50531)'), GeomFromEWKT('SRID=4674;POINT (-38.503252 -3.505324)'))) / (select extract(epoch from '2026-07-18 16:02:52'::timestamp) - extract(epoch from '2026-07-18 16:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503253 -3.50531)'), GeomFromEWKT('SRID=4674;POINT (-38.503252 -3.505324)'))) / (select extract(epoch from '2026-07-18 16:02:52'::timestamp) - extract(epoch from '2026-07-18 16:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503256 -3.505339)', '2026-07-18 16:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503252 -3.505324)'), GeomFromEWKT('SRID=4674;POINT (-38.503256 -3.505339)'))) / (select extract(epoch from '2026-07-18 16:02:53'::timestamp) - extract(epoch from '2026-07-18 16:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503252 -3.505324)'), GeomFromEWKT('SRID=4674;POINT (-38.503256 -3.505339)'))) / (select extract(epoch from '2026-07-18 16:02:53'::timestamp) - extract(epoch from '2026-07-18 16:02: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'), 47391, 'SRID=4674;POINT (-38.503272 -3.505368)', '2026-07-18 16:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503256 -3.505339)'), GeomFromEWKT('SRID=4674;POINT (-38.503272 -3.505368)'))) / (select extract(epoch from '2026-07-18 16:02:55'::timestamp) - extract(epoch from '2026-07-18 16:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503256 -3.505339)'), GeomFromEWKT('SRID=4674;POINT (-38.503272 -3.505368)'))) / (select extract(epoch from '2026-07-18 16:02:55'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.503329 -3.50548)', '2026-07-18 16:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503272 -3.505368)'), GeomFromEWKT('SRID=4674;POINT (-38.503329 -3.50548)'))) / (select extract(epoch from '2026-07-18 16:03:01'::timestamp) - extract(epoch from '2026-07-18 16:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503272 -3.505368)'), GeomFromEWKT('SRID=4674;POINT (-38.503329 -3.50548)'))) / (select extract(epoch from '2026-07-18 16:03:01'::timestamp) - extract(epoch from '2026-07-18 16:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503361 -3.505584)', '2026-07-18 16:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503329 -3.50548)'), GeomFromEWKT('SRID=4674;POINT (-38.503361 -3.505584)'))) / (select extract(epoch from '2026-07-18 16:03:07'::timestamp) - extract(epoch from '2026-07-18 16:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503329 -3.50548)'), GeomFromEWKT('SRID=4674;POINT (-38.503361 -3.505584)'))) / (select extract(epoch from '2026-07-18 16:03:07'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503396 -3.505691)', '2026-07-18 16:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503361 -3.505584)'), GeomFromEWKT('SRID=4674;POINT (-38.503396 -3.505691)'))) / (select extract(epoch from '2026-07-18 16:03:13'::timestamp) - extract(epoch from '2026-07-18 16:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503361 -3.505584)'), GeomFromEWKT('SRID=4674;POINT (-38.503396 -3.505691)'))) / (select extract(epoch from '2026-07-18 16:03:13'::timestamp) - extract(epoch from '2026-07-18 16:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503428 -3.50578)', '2026-07-18 16:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503396 -3.505691)'), GeomFromEWKT('SRID=4674;POINT (-38.503428 -3.50578)'))) / (select extract(epoch from '2026-07-18 16:03:18'::timestamp) - extract(epoch from '2026-07-18 16:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503396 -3.505691)'), GeomFromEWKT('SRID=4674;POINT (-38.503428 -3.50578)'))) / (select extract(epoch from '2026-07-18 16:03:18'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503475 -3.5059)', '2026-07-18 16:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503428 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.503475 -3.5059)'))) / (select extract(epoch from '2026-07-18 16:03:24'::timestamp) - extract(epoch from '2026-07-18 16:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503428 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.503475 -3.5059)'))) / (select extract(epoch from '2026-07-18 16:03:24'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.503522 -3.506008)', '2026-07-18 16:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503475 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.503522 -3.506008)'))) / (select extract(epoch from '2026-07-18 16:03:30'::timestamp) - extract(epoch from '2026-07-18 16:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503475 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.503522 -3.506008)'))) / (select extract(epoch from '2026-07-18 16:03:30'::timestamp) - extract(epoch from '2026-07-18 16:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503532 -3.506039)', '2026-07-18 16:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503522 -3.506008)'), GeomFromEWKT('SRID=4674;POINT (-38.503532 -3.506039)'))) / (select extract(epoch from '2026-07-18 16:03:32'::timestamp) - extract(epoch from '2026-07-18 16:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503522 -3.506008)'), GeomFromEWKT('SRID=4674;POINT (-38.503532 -3.506039)'))) / (select extract(epoch from '2026-07-18 16:03:32'::timestamp) - extract(epoch from '2026-07-18 16:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503556 -3.506077)', '2026-07-18 16:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503532 -3.506039)'), GeomFromEWKT('SRID=4674;POINT (-38.503556 -3.506077)'))) / (select extract(epoch from '2026-07-18 16:03:34'::timestamp) - extract(epoch from '2026-07-18 16:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503532 -3.506039)'), GeomFromEWKT('SRID=4674;POINT (-38.503556 -3.506077)'))) / (select extract(epoch from '2026-07-18 16:03:34'::timestamp) - extract(epoch from '2026-07-18 16:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503585 -3.506154)', '2026-07-18 16:03:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503556 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.503585 -3.506154)'))) / (select extract(epoch from '2026-07-18 16:03:39'::timestamp) - extract(epoch from '2026-07-18 16:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503556 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.503585 -3.506154)'))) / (select extract(epoch from '2026-07-18 16:03:39'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503619 -3.506237)', '2026-07-18 16:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503585 -3.506154)'), GeomFromEWKT('SRID=4674;POINT (-38.503619 -3.506237)'))) / (select extract(epoch from '2026-07-18 16:03:45'::timestamp) - extract(epoch from '2026-07-18 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503585 -3.506154)'), GeomFromEWKT('SRID=4674;POINT (-38.503619 -3.506237)'))) / (select extract(epoch from '2026-07-18 16:03:45'::timestamp) - extract(epoch from '2026-07-18 16:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503644 -3.506271)', '2026-07-18 16:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503619 -3.506237)'), GeomFromEWKT('SRID=4674;POINT (-38.503644 -3.506271)'))) / (select extract(epoch from '2026-07-18 16:03:48'::timestamp) - extract(epoch from '2026-07-18 16:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503619 -3.506237)'), GeomFromEWKT('SRID=4674;POINT (-38.503644 -3.506271)'))) / (select extract(epoch from '2026-07-18 16:03:48'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503661 -3.506298)', '2026-07-18 16:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503644 -3.506271)'), GeomFromEWKT('SRID=4674;POINT (-38.503661 -3.506298)'))) / (select extract(epoch from '2026-07-18 16:03:50'::timestamp) - extract(epoch from '2026-07-18 16:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503644 -3.506271)'), GeomFromEWKT('SRID=4674;POINT (-38.503661 -3.506298)'))) / (select extract(epoch from '2026-07-18 16:03:50'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503695 -3.506376)', '2026-07-18 16:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503661 -3.506298)'), GeomFromEWKT('SRID=4674;POINT (-38.503695 -3.506376)'))) / (select extract(epoch from '2026-07-18 16:03:55'::timestamp) - extract(epoch from '2026-07-18 16:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503661 -3.506298)'), GeomFromEWKT('SRID=4674;POINT (-38.503695 -3.506376)'))) / (select extract(epoch from '2026-07-18 16:03:55'::timestamp) - extract(epoch from '2026-07-18 16:03: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'), 47391, 'SRID=4674;POINT (-38.503733 -3.506486)', '2026-07-18 16:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503695 -3.506376)'), GeomFromEWKT('SRID=4674;POINT (-38.503733 -3.506486)'))) / (select extract(epoch from '2026-07-18 16:04:02'::timestamp) - extract(epoch from '2026-07-18 16:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503695 -3.506376)'), GeomFromEWKT('SRID=4674;POINT (-38.503733 -3.506486)'))) / (select extract(epoch from '2026-07-18 16:04:02'::timestamp) - extract(epoch from '2026-07-18 16:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503778 -3.50661)', '2026-07-18 16:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503733 -3.506486)'), GeomFromEWKT('SRID=4674;POINT (-38.503778 -3.50661)'))) / (select extract(epoch from '2026-07-18 16:04:10'::timestamp) - extract(epoch from '2026-07-18 16:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503733 -3.506486)'), GeomFromEWKT('SRID=4674;POINT (-38.503778 -3.50661)'))) / (select extract(epoch from '2026-07-18 16:04:10'::timestamp) - extract(epoch from '2026-07-18 16:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503791 -3.506666)', '2026-07-18 16:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503778 -3.50661)'), GeomFromEWKT('SRID=4674;POINT (-38.503791 -3.506666)'))) / (select extract(epoch from '2026-07-18 16:04:13'::timestamp) - extract(epoch from '2026-07-18 16:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503778 -3.50661)'), GeomFromEWKT('SRID=4674;POINT (-38.503791 -3.506666)'))) / (select extract(epoch from '2026-07-18 16:04:13'::timestamp) - extract(epoch from '2026-07-18 16:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503809 -3.506723)', '2026-07-18 16:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503791 -3.506666)'), GeomFromEWKT('SRID=4674;POINT (-38.503809 -3.506723)'))) / (select extract(epoch from '2026-07-18 16:04:16'::timestamp) - extract(epoch from '2026-07-18 16:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503791 -3.506666)'), GeomFromEWKT('SRID=4674;POINT (-38.503809 -3.506723)'))) / (select extract(epoch from '2026-07-18 16:04:16'::timestamp) - extract(epoch from '2026-07-18 16:04: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'), 47391, 'SRID=4674;POINT (-38.503816 -3.506763)', '2026-07-18 16:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503809 -3.506723)'), GeomFromEWKT('SRID=4674;POINT (-38.503816 -3.506763)'))) / (select extract(epoch from '2026-07-18 16:04:18'::timestamp) - extract(epoch from '2026-07-18 16:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503809 -3.506723)'), GeomFromEWKT('SRID=4674;POINT (-38.503816 -3.506763)'))) / (select extract(epoch from '2026-07-18 16:04:18'::timestamp) - extract(epoch from '2026-07-18 16:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503853 -3.506821)', '2026-07-18 16:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503816 -3.506763)'), GeomFromEWKT('SRID=4674;POINT (-38.503853 -3.506821)'))) / (select extract(epoch from '2026-07-18 16:04:21'::timestamp) - extract(epoch from '2026-07-18 16:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503816 -3.506763)'), GeomFromEWKT('SRID=4674;POINT (-38.503853 -3.506821)'))) / (select extract(epoch from '2026-07-18 16:04:21'::timestamp) - extract(epoch from '2026-07-18 16:04: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'), 47391, 'SRID=4674;POINT (-38.503883 -3.506922)', '2026-07-18 16:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503853 -3.506821)'), GeomFromEWKT('SRID=4674;POINT (-38.503883 -3.506922)'))) / (select extract(epoch from '2026-07-18 16:04:26'::timestamp) - extract(epoch from '2026-07-18 16:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503853 -3.506821)'), GeomFromEWKT('SRID=4674;POINT (-38.503883 -3.506922)'))) / (select extract(epoch from '2026-07-18 16:04:26'::timestamp) - extract(epoch from '2026-07-18 16:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503896 -3.507004)', '2026-07-18 16:04:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503883 -3.506922)'), GeomFromEWKT('SRID=4674;POINT (-38.503896 -3.507004)'))) / (select extract(epoch from '2026-07-18 16:04:31'::timestamp) - extract(epoch from '2026-07-18 16:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503883 -3.506922)'), GeomFromEWKT('SRID=4674;POINT (-38.503896 -3.507004)'))) / (select extract(epoch from '2026-07-18 16:04:31'::timestamp) - extract(epoch from '2026-07-18 16:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503931 -3.507073)', '2026-07-18 16:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503896 -3.507004)'), GeomFromEWKT('SRID=4674;POINT (-38.503931 -3.507073)'))) / (select extract(epoch from '2026-07-18 16:04:35'::timestamp) - extract(epoch from '2026-07-18 16:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503896 -3.507004)'), GeomFromEWKT('SRID=4674;POINT (-38.503931 -3.507073)'))) / (select extract(epoch from '2026-07-18 16:04:35'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.503945 -3.507125)', '2026-07-18 16:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503931 -3.507073)'), GeomFromEWKT('SRID=4674;POINT (-38.503945 -3.507125)'))) / (select extract(epoch from '2026-07-18 16:04:38'::timestamp) - extract(epoch from '2026-07-18 16:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503931 -3.507073)'), GeomFromEWKT('SRID=4674;POINT (-38.503945 -3.507125)'))) / (select extract(epoch from '2026-07-18 16:04:38'::timestamp) - extract(epoch from '2026-07-18 16:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.503955 -3.507164)', '2026-07-18 16:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503945 -3.507125)'), GeomFromEWKT('SRID=4674;POINT (-38.503955 -3.507164)'))) / (select extract(epoch from '2026-07-18 16:04:40'::timestamp) - extract(epoch from '2026-07-18 16:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503945 -3.507125)'), GeomFromEWKT('SRID=4674;POINT (-38.503955 -3.507164)'))) / (select extract(epoch from '2026-07-18 16:04:40'::timestamp) - extract(epoch from '2026-07-18 16:04: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'), 47391, 'SRID=4674;POINT (-38.503984 -3.507269)', '2026-07-18 16:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503955 -3.507164)'), GeomFromEWKT('SRID=4674;POINT (-38.503984 -3.507269)'))) / (select extract(epoch from '2026-07-18 16:04:46'::timestamp) - extract(epoch from '2026-07-18 16:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503955 -3.507164)'), GeomFromEWKT('SRID=4674;POINT (-38.503984 -3.507269)'))) / (select extract(epoch from '2026-07-18 16:04:46'::timestamp) - extract(epoch from '2026-07-18 16:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504014 -3.507389)', '2026-07-18 16:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503984 -3.507269)'), GeomFromEWKT('SRID=4674;POINT (-38.504014 -3.507389)'))) / (select extract(epoch from '2026-07-18 16:04:52'::timestamp) - extract(epoch from '2026-07-18 16:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.503984 -3.507269)'), GeomFromEWKT('SRID=4674;POINT (-38.504014 -3.507389)'))) / (select extract(epoch from '2026-07-18 16:04:52'::timestamp) - extract(epoch from '2026-07-18 16:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504037 -3.50744)', '2026-07-18 16:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504014 -3.507389)'), GeomFromEWKT('SRID=4674;POINT (-38.504037 -3.50744)'))) / (select extract(epoch from '2026-07-18 16:04:55'::timestamp) - extract(epoch from '2026-07-18 16:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504014 -3.507389)'), GeomFromEWKT('SRID=4674;POINT (-38.504037 -3.50744)'))) / (select extract(epoch from '2026-07-18 16:04:55'::timestamp) - extract(epoch from '2026-07-18 16:04: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'), 47391, 'SRID=4674;POINT (-38.50404 -3.50748)', '2026-07-18 16:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504037 -3.50744)'), GeomFromEWKT('SRID=4674;POINT (-38.50404 -3.50748)'))) / (select extract(epoch from '2026-07-18 16:04:57'::timestamp) - extract(epoch from '2026-07-18 16:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504037 -3.50744)'), GeomFromEWKT('SRID=4674;POINT (-38.50404 -3.50748)'))) / (select extract(epoch from '2026-07-18 16:04:57'::timestamp) - extract(epoch from '2026-07-18 16:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50408 -3.507572)', '2026-07-18 16:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50404 -3.50748)'), GeomFromEWKT('SRID=4674;POINT (-38.50408 -3.507572)'))) / (select extract(epoch from '2026-07-18 16:05:02'::timestamp) - extract(epoch from '2026-07-18 16:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50404 -3.50748)'), GeomFromEWKT('SRID=4674;POINT (-38.50408 -3.507572)'))) / (select extract(epoch from '2026-07-18 16:05:02'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.504112 -3.507664)', '2026-07-18 16:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50408 -3.507572)'), GeomFromEWKT('SRID=4674;POINT (-38.504112 -3.507664)'))) / (select extract(epoch from '2026-07-18 16:05:08'::timestamp) - extract(epoch from '2026-07-18 16:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50408 -3.507572)'), GeomFromEWKT('SRID=4674;POINT (-38.504112 -3.507664)'))) / (select extract(epoch from '2026-07-18 16:05:08'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504114 -3.507677)', '2026-07-18 16:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504112 -3.507664)'), GeomFromEWKT('SRID=4674;POINT (-38.504114 -3.507677)'))) / (select extract(epoch from '2026-07-18 16:05:09'::timestamp) - extract(epoch from '2026-07-18 16:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504112 -3.507664)'), GeomFromEWKT('SRID=4674;POINT (-38.504114 -3.507677)'))) / (select extract(epoch from '2026-07-18 16:05:09'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504142 -3.507735)', '2026-07-18 16:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504114 -3.507677)'), GeomFromEWKT('SRID=4674;POINT (-38.504142 -3.507735)'))) / (select extract(epoch from '2026-07-18 16:05:13'::timestamp) - extract(epoch from '2026-07-18 16:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504114 -3.507677)'), GeomFromEWKT('SRID=4674;POINT (-38.504142 -3.507735)'))) / (select extract(epoch from '2026-07-18 16:05:13'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504144 -3.507752)', '2026-07-18 16:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504142 -3.507735)'), GeomFromEWKT('SRID=4674;POINT (-38.504144 -3.507752)'))) / (select extract(epoch from '2026-07-18 16:05:14'::timestamp) - extract(epoch from '2026-07-18 16:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504142 -3.507735)'), GeomFromEWKT('SRID=4674;POINT (-38.504144 -3.507752)'))) / (select extract(epoch from '2026-07-18 16:05:14'::timestamp) - extract(epoch from '2026-07-18 16:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504175 -3.507805)', '2026-07-18 16:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504144 -3.507752)'), GeomFromEWKT('SRID=4674;POINT (-38.504175 -3.507805)'))) / (select extract(epoch from '2026-07-18 16:05:17'::timestamp) - extract(epoch from '2026-07-18 16:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504144 -3.507752)'), GeomFromEWKT('SRID=4674;POINT (-38.504175 -3.507805)'))) / (select extract(epoch from '2026-07-18 16:05:17'::timestamp) - extract(epoch from '2026-07-18 16:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504205 -3.507906)', '2026-07-18 16:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504175 -3.507805)'), GeomFromEWKT('SRID=4674;POINT (-38.504205 -3.507906)'))) / (select extract(epoch from '2026-07-18 16:05:22'::timestamp) - extract(epoch from '2026-07-18 16:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504175 -3.507805)'), GeomFromEWKT('SRID=4674;POINT (-38.504205 -3.507906)'))) / (select extract(epoch from '2026-07-18 16:05:22'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504227 -3.508019)', '2026-07-18 16:05:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504205 -3.507906)'), GeomFromEWKT('SRID=4674;POINT (-38.504227 -3.508019)'))) / (select extract(epoch from '2026-07-18 16:05:28'::timestamp) - extract(epoch from '2026-07-18 16:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504205 -3.507906)'), GeomFromEWKT('SRID=4674;POINT (-38.504227 -3.508019)'))) / (select extract(epoch from '2026-07-18 16:05:28'::timestamp) - extract(epoch from '2026-07-18 16:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504236 -3.508086)', '2026-07-18 16:05:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504227 -3.508019)'), GeomFromEWKT('SRID=4674;POINT (-38.504236 -3.508086)'))) / (select extract(epoch from '2026-07-18 16:05:32'::timestamp) - extract(epoch from '2026-07-18 16:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504227 -3.508019)'), GeomFromEWKT('SRID=4674;POINT (-38.504236 -3.508086)'))) / (select extract(epoch from '2026-07-18 16:05:32'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504248 -3.508119)', '2026-07-18 16:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504236 -3.508086)'), GeomFromEWKT('SRID=4674;POINT (-38.504248 -3.508119)'))) / (select extract(epoch from '2026-07-18 16:05:34'::timestamp) - extract(epoch from '2026-07-18 16:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504236 -3.508086)'), GeomFromEWKT('SRID=4674;POINT (-38.504248 -3.508119)'))) / (select extract(epoch from '2026-07-18 16:05:34'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504272 -3.508219)', '2026-07-18 16:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504248 -3.508119)'), GeomFromEWKT('SRID=4674;POINT (-38.504272 -3.508219)'))) / (select extract(epoch from '2026-07-18 16:05:40'::timestamp) - extract(epoch from '2026-07-18 16:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504248 -3.508119)'), GeomFromEWKT('SRID=4674;POINT (-38.504272 -3.508219)'))) / (select extract(epoch from '2026-07-18 16:05:40'::timestamp) - extract(epoch from '2026-07-18 16:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504307 -3.508328)', '2026-07-18 16:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504272 -3.508219)'), GeomFromEWKT('SRID=4674;POINT (-38.504307 -3.508328)'))) / (select extract(epoch from '2026-07-18 16:05:46'::timestamp) - extract(epoch from '2026-07-18 16:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504272 -3.508219)'), GeomFromEWKT('SRID=4674;POINT (-38.504307 -3.508328)'))) / (select extract(epoch from '2026-07-18 16:05:46'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504339 -3.508431)', '2026-07-18 16:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504307 -3.508328)'), GeomFromEWKT('SRID=4674;POINT (-38.504339 -3.508431)'))) / (select extract(epoch from '2026-07-18 16:05:52'::timestamp) - extract(epoch from '2026-07-18 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504307 -3.508328)'), GeomFromEWKT('SRID=4674;POINT (-38.504339 -3.508431)'))) / (select extract(epoch from '2026-07-18 16:05:52'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.504354 -3.508517)', '2026-07-18 16:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504339 -3.508431)'), GeomFromEWKT('SRID=4674;POINT (-38.504354 -3.508517)'))) / (select extract(epoch from '2026-07-18 16:05:57'::timestamp) - extract(epoch from '2026-07-18 16:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504339 -3.508431)'), GeomFromEWKT('SRID=4674;POINT (-38.504354 -3.508517)'))) / (select extract(epoch from '2026-07-18 16:05:57'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.50437 -3.508561)', '2026-07-18 16:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504354 -3.508517)'), GeomFromEWKT('SRID=4674;POINT (-38.50437 -3.508561)'))) / (select extract(epoch from '2026-07-18 16:05:59'::timestamp) - extract(epoch from '2026-07-18 16:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504354 -3.508517)'), GeomFromEWKT('SRID=4674;POINT (-38.50437 -3.508561)'))) / (select extract(epoch from '2026-07-18 16:05:59'::timestamp) - extract(epoch from '2026-07-18 16:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504398 -3.508692)', '2026-07-18 16:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50437 -3.508561)'), GeomFromEWKT('SRID=4674;POINT (-38.504398 -3.508692)'))) / (select extract(epoch from '2026-07-18 16:06:06'::timestamp) - extract(epoch from '2026-07-18 16:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50437 -3.508561)'), GeomFromEWKT('SRID=4674;POINT (-38.504398 -3.508692)'))) / (select extract(epoch from '2026-07-18 16:06:06'::timestamp) - extract(epoch from '2026-07-18 16:05: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'), 47391, 'SRID=4674;POINT (-38.50444 -3.508767)', '2026-07-18 16:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504398 -3.508692)'), GeomFromEWKT('SRID=4674;POINT (-38.50444 -3.508767)'))) / (select extract(epoch from '2026-07-18 16:06:12'::timestamp) - extract(epoch from '2026-07-18 16:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504398 -3.508692)'), GeomFromEWKT('SRID=4674;POINT (-38.50444 -3.508767)'))) / (select extract(epoch from '2026-07-18 16:06:12'::timestamp) - extract(epoch from '2026-07-18 16:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504474 -3.50883)', '2026-07-18 16:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50444 -3.508767)'), GeomFromEWKT('SRID=4674;POINT (-38.504474 -3.50883)'))) / (select extract(epoch from '2026-07-18 16:06:17'::timestamp) - extract(epoch from '2026-07-18 16:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50444 -3.508767)'), GeomFromEWKT('SRID=4674;POINT (-38.504474 -3.50883)'))) / (select extract(epoch from '2026-07-18 16:06:17'::timestamp) - extract(epoch from '2026-07-18 16:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504516 -3.508895)', '2026-07-18 16:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504474 -3.50883)'), GeomFromEWKT('SRID=4674;POINT (-38.504516 -3.508895)'))) / (select extract(epoch from '2026-07-18 16:06:22'::timestamp) - extract(epoch from '2026-07-18 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504474 -3.50883)'), GeomFromEWKT('SRID=4674;POINT (-38.504516 -3.508895)'))) / (select extract(epoch from '2026-07-18 16:06:22'::timestamp) - extract(epoch from '2026-07-18 16:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504559 -3.508969)', '2026-07-18 16:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504516 -3.508895)'), GeomFromEWKT('SRID=4674;POINT (-38.504559 -3.508969)'))) / (select extract(epoch from '2026-07-18 16:06:27'::timestamp) - extract(epoch from '2026-07-18 16:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504516 -3.508895)'), GeomFromEWKT('SRID=4674;POINT (-38.504559 -3.508969)'))) / (select extract(epoch from '2026-07-18 16:06:27'::timestamp) - extract(epoch from '2026-07-18 16:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.50458 -3.508997)', '2026-07-18 16:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504559 -3.508969)'), GeomFromEWKT('SRID=4674;POINT (-38.50458 -3.508997)'))) / (select extract(epoch from '2026-07-18 16:06:29'::timestamp) - extract(epoch from '2026-07-18 16:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504559 -3.508969)'), GeomFromEWKT('SRID=4674;POINT (-38.50458 -3.508997)'))) / (select extract(epoch from '2026-07-18 16:06:29'::timestamp) - extract(epoch from '2026-07-18 16:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504585 -3.509031)', '2026-07-18 16:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50458 -3.508997)'), GeomFromEWKT('SRID=4674;POINT (-38.504585 -3.509031)'))) / (select extract(epoch from '2026-07-18 16:06:31'::timestamp) - extract(epoch from '2026-07-18 16:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50458 -3.508997)'), GeomFromEWKT('SRID=4674;POINT (-38.504585 -3.509031)'))) / (select extract(epoch from '2026-07-18 16:06:31'::timestamp) - extract(epoch from '2026-07-18 16:06: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'), 47391, 'SRID=4674;POINT (-38.504625 -3.509129)', '2026-07-18 16:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504585 -3.509031)'), GeomFromEWKT('SRID=4674;POINT (-38.504625 -3.509129)'))) / (select extract(epoch from '2026-07-18 16:06:37'::timestamp) - extract(epoch from '2026-07-18 16:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504585 -3.509031)'), GeomFromEWKT('SRID=4674;POINT (-38.504625 -3.509129)'))) / (select extract(epoch from '2026-07-18 16:06:37'::timestamp) - extract(epoch from '2026-07-18 16:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504662 -3.509224)', '2026-07-18 16:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504625 -3.509129)'), GeomFromEWKT('SRID=4674;POINT (-38.504662 -3.509224)'))) / (select extract(epoch from '2026-07-18 16:06:43'::timestamp) - extract(epoch from '2026-07-18 16:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504625 -3.509129)'), GeomFromEWKT('SRID=4674;POINT (-38.504662 -3.509224)'))) / (select extract(epoch from '2026-07-18 16:06:43'::timestamp) - extract(epoch from '2026-07-18 16:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504666 -3.509254)', '2026-07-18 16:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504662 -3.509224)'), GeomFromEWKT('SRID=4674;POINT (-38.504666 -3.509254)'))) / (select extract(epoch from '2026-07-18 16:06:45'::timestamp) - extract(epoch from '2026-07-18 16:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504662 -3.509224)'), GeomFromEWKT('SRID=4674;POINT (-38.504666 -3.509254)'))) / (select extract(epoch from '2026-07-18 16:06:45'::timestamp) - extract(epoch from '2026-07-18 16:06: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'), 47391, 'SRID=4674;POINT (-38.504692 -3.509291)', '2026-07-18 16:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504666 -3.509254)'), GeomFromEWKT('SRID=4674;POINT (-38.504692 -3.509291)'))) / (select extract(epoch from '2026-07-18 16:06:47'::timestamp) - extract(epoch from '2026-07-18 16:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504666 -3.509254)'), GeomFromEWKT('SRID=4674;POINT (-38.504692 -3.509291)'))) / (select extract(epoch from '2026-07-18 16:06:47'::timestamp) - extract(epoch from '2026-07-18 16:06: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'), 47391, 'SRID=4674;POINT (-38.50471 -3.509383)', '2026-07-18 16:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504692 -3.509291)'), GeomFromEWKT('SRID=4674;POINT (-38.50471 -3.509383)'))) / (select extract(epoch from '2026-07-18 16:06:52'::timestamp) - extract(epoch from '2026-07-18 16:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504692 -3.509291)'), GeomFromEWKT('SRID=4674;POINT (-38.50471 -3.509383)'))) / (select extract(epoch from '2026-07-18 16:06:52'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.504754 -3.509457)', '2026-07-18 16:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50471 -3.509383)'), GeomFromEWKT('SRID=4674;POINT (-38.504754 -3.509457)'))) / (select extract(epoch from '2026-07-18 16:06:56'::timestamp) - extract(epoch from '2026-07-18 16:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50471 -3.509383)'), GeomFromEWKT('SRID=4674;POINT (-38.504754 -3.509457)'))) / (select extract(epoch from '2026-07-18 16:06:56'::timestamp) - extract(epoch from '2026-07-18 16:06: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'), 47391, 'SRID=4674;POINT (-38.504755 -3.509478)', '2026-07-18 16:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504754 -3.509457)'), GeomFromEWKT('SRID=4674;POINT (-38.504755 -3.509478)'))) / (select extract(epoch from '2026-07-18 16:06:57'::timestamp) - extract(epoch from '2026-07-18 16:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504754 -3.509457)'), GeomFromEWKT('SRID=4674;POINT (-38.504755 -3.509478)'))) / (select extract(epoch from '2026-07-18 16:06:57'::timestamp) - extract(epoch from '2026-07-18 16:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504762 -3.509514)', '2026-07-18 16:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504755 -3.509478)'), GeomFromEWKT('SRID=4674;POINT (-38.504762 -3.509514)'))) / (select extract(epoch from '2026-07-18 16:06:59'::timestamp) - extract(epoch from '2026-07-18 16:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504755 -3.509478)'), GeomFromEWKT('SRID=4674;POINT (-38.504762 -3.509514)'))) / (select extract(epoch from '2026-07-18 16:06:59'::timestamp) - extract(epoch from '2026-07-18 16:06: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'), 47391, 'SRID=4674;POINT (-38.504784 -3.509555)', '2026-07-18 16:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504762 -3.509514)'), GeomFromEWKT('SRID=4674;POINT (-38.504784 -3.509555)'))) / (select extract(epoch from '2026-07-18 16:07:01'::timestamp) - extract(epoch from '2026-07-18 16:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504762 -3.509514)'), GeomFromEWKT('SRID=4674;POINT (-38.504784 -3.509555)'))) / (select extract(epoch from '2026-07-18 16:07:01'::timestamp) - extract(epoch from '2026-07-18 16:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504806 -3.509653)', '2026-07-18 16:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504784 -3.509555)'), GeomFromEWKT('SRID=4674;POINT (-38.504806 -3.509653)'))) / (select extract(epoch from '2026-07-18 16:07:07'::timestamp) - extract(epoch from '2026-07-18 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504784 -3.509555)'), GeomFromEWKT('SRID=4674;POINT (-38.504806 -3.509653)'))) / (select extract(epoch from '2026-07-18 16:07:07'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504819 -3.509734)', '2026-07-18 16:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504806 -3.509653)'), GeomFromEWKT('SRID=4674;POINT (-38.504819 -3.509734)'))) / (select extract(epoch from '2026-07-18 16:07:12'::timestamp) - extract(epoch from '2026-07-18 16:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504806 -3.509653)'), GeomFromEWKT('SRID=4674;POINT (-38.504819 -3.509734)'))) / (select extract(epoch from '2026-07-18 16:07:12'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504829 -3.509753)', '2026-07-18 16:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504819 -3.509734)'), GeomFromEWKT('SRID=4674;POINT (-38.504829 -3.509753)'))) / (select extract(epoch from '2026-07-18 16:07:13'::timestamp) - extract(epoch from '2026-07-18 16:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504819 -3.509734)'), GeomFromEWKT('SRID=4674;POINT (-38.504829 -3.509753)'))) / (select extract(epoch from '2026-07-18 16:07:13'::timestamp) - extract(epoch from '2026-07-18 16:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504847 -3.509808)', '2026-07-18 16:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504829 -3.509753)'), GeomFromEWKT('SRID=4674;POINT (-38.504847 -3.509808)'))) / (select extract(epoch from '2026-07-18 16:07:16'::timestamp) - extract(epoch from '2026-07-18 16:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504829 -3.509753)'), GeomFromEWKT('SRID=4674;POINT (-38.504847 -3.509808)'))) / (select extract(epoch from '2026-07-18 16:07:16'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504874 -3.509927)', '2026-07-18 16:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504847 -3.509808)'), GeomFromEWKT('SRID=4674;POINT (-38.504874 -3.509927)'))) / (select extract(epoch from '2026-07-18 16:07:23'::timestamp) - extract(epoch from '2026-07-18 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504847 -3.509808)'), GeomFromEWKT('SRID=4674;POINT (-38.504874 -3.509927)'))) / (select extract(epoch from '2026-07-18 16:07:23'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504882 -3.509972)', '2026-07-18 16:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504874 -3.509927)'), GeomFromEWKT('SRID=4674;POINT (-38.504882 -3.509972)'))) / (select extract(epoch from '2026-07-18 16:07:26'::timestamp) - extract(epoch from '2026-07-18 16:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504874 -3.509927)'), GeomFromEWKT('SRID=4674;POINT (-38.504882 -3.509972)'))) / (select extract(epoch from '2026-07-18 16:07:26'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504885 -3.510007)', '2026-07-18 16:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504882 -3.509972)'), GeomFromEWKT('SRID=4674;POINT (-38.504885 -3.510007)'))) / (select extract(epoch from '2026-07-18 16:07:28'::timestamp) - extract(epoch from '2026-07-18 16:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504882 -3.509972)'), GeomFromEWKT('SRID=4674;POINT (-38.504885 -3.510007)'))) / (select extract(epoch from '2026-07-18 16:07:28'::timestamp) - extract(epoch from '2026-07-18 16:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504917 -3.51009)', '2026-07-18 16:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504885 -3.510007)'), GeomFromEWKT('SRID=4674;POINT (-38.504917 -3.51009)'))) / (select extract(epoch from '2026-07-18 16:07:33'::timestamp) - extract(epoch from '2026-07-18 16:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504885 -3.510007)'), GeomFromEWKT('SRID=4674;POINT (-38.504917 -3.51009)'))) / (select extract(epoch from '2026-07-18 16:07:33'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504926 -3.510118)', '2026-07-18 16:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504917 -3.51009)'), GeomFromEWKT('SRID=4674;POINT (-38.504926 -3.510118)'))) / (select extract(epoch from '2026-07-18 16:07:35'::timestamp) - extract(epoch from '2026-07-18 16:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504917 -3.51009)'), GeomFromEWKT('SRID=4674;POINT (-38.504926 -3.510118)'))) / (select extract(epoch from '2026-07-18 16:07:35'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504951 -3.510153)', '2026-07-18 16:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504926 -3.510118)'), GeomFromEWKT('SRID=4674;POINT (-38.504951 -3.510153)'))) / (select extract(epoch from '2026-07-18 16:07:37'::timestamp) - extract(epoch from '2026-07-18 16:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504926 -3.510118)'), GeomFromEWKT('SRID=4674;POINT (-38.504951 -3.510153)'))) / (select extract(epoch from '2026-07-18 16:07:37'::timestamp) - extract(epoch from '2026-07-18 16:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.504976 -3.51026)', '2026-07-18 16:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504951 -3.510153)'), GeomFromEWKT('SRID=4674;POINT (-38.504976 -3.51026)'))) / (select extract(epoch from '2026-07-18 16:07:43'::timestamp) - extract(epoch from '2026-07-18 16:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504951 -3.510153)'), GeomFromEWKT('SRID=4674;POINT (-38.504976 -3.51026)'))) / (select extract(epoch from '2026-07-18 16:07:43'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.504999 -3.510364)', '2026-07-18 16:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504976 -3.51026)'), GeomFromEWKT('SRID=4674;POINT (-38.504999 -3.510364)'))) / (select extract(epoch from '2026-07-18 16:07:48'::timestamp) - extract(epoch from '2026-07-18 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504976 -3.51026)'), GeomFromEWKT('SRID=4674;POINT (-38.504999 -3.510364)'))) / (select extract(epoch from '2026-07-18 16:07:48'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.50503 -3.510467)', '2026-07-18 16:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504999 -3.510364)'), GeomFromEWKT('SRID=4674;POINT (-38.50503 -3.510467)'))) / (select extract(epoch from '2026-07-18 16:07:53'::timestamp) - extract(epoch from '2026-07-18 16:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.504999 -3.510364)'), GeomFromEWKT('SRID=4674;POINT (-38.50503 -3.510467)'))) / (select extract(epoch from '2026-07-18 16:07:53'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.505064 -3.510557)', '2026-07-18 16:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50503 -3.510467)'), GeomFromEWKT('SRID=4674;POINT (-38.505064 -3.510557)'))) / (select extract(epoch from '2026-07-18 16:07:59'::timestamp) - extract(epoch from '2026-07-18 16:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50503 -3.510467)'), GeomFromEWKT('SRID=4674;POINT (-38.505064 -3.510557)'))) / (select extract(epoch from '2026-07-18 16:07:59'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.505098 -3.510662)', '2026-07-18 16:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505064 -3.510557)'), GeomFromEWKT('SRID=4674;POINT (-38.505098 -3.510662)'))) / (select extract(epoch from '2026-07-18 16:08:06'::timestamp) - extract(epoch from '2026-07-18 16:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505064 -3.510557)'), GeomFromEWKT('SRID=4674;POINT (-38.505098 -3.510662)'))) / (select extract(epoch from '2026-07-18 16:08:06'::timestamp) - extract(epoch from '2026-07-18 16:07: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'), 47391, 'SRID=4674;POINT (-38.505118 -3.510728)', '2026-07-18 16:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505098 -3.510662)'), GeomFromEWKT('SRID=4674;POINT (-38.505118 -3.510728)'))) / (select extract(epoch from '2026-07-18 16:08:10'::timestamp) - extract(epoch from '2026-07-18 16:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505098 -3.510662)'), GeomFromEWKT('SRID=4674;POINT (-38.505118 -3.510728)'))) / (select extract(epoch from '2026-07-18 16:08:10'::timestamp) - extract(epoch from '2026-07-18 16:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505124 -3.510762)', '2026-07-18 16:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505118 -3.510728)'), GeomFromEWKT('SRID=4674;POINT (-38.505124 -3.510762)'))) / (select extract(epoch from '2026-07-18 16:08:12'::timestamp) - extract(epoch from '2026-07-18 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505118 -3.510728)'), GeomFromEWKT('SRID=4674;POINT (-38.505124 -3.510762)'))) / (select extract(epoch from '2026-07-18 16:08:12'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.50515 -3.510858)', '2026-07-18 16:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505124 -3.510762)'), GeomFromEWKT('SRID=4674;POINT (-38.50515 -3.510858)'))) / (select extract(epoch from '2026-07-18 16:08:18'::timestamp) - extract(epoch from '2026-07-18 16:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505124 -3.510762)'), GeomFromEWKT('SRID=4674;POINT (-38.50515 -3.510858)'))) / (select extract(epoch from '2026-07-18 16:08:18'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505182 -3.510957)', '2026-07-18 16:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50515 -3.510858)'), GeomFromEWKT('SRID=4674;POINT (-38.505182 -3.510957)'))) / (select extract(epoch from '2026-07-18 16:08:24'::timestamp) - extract(epoch from '2026-07-18 16:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50515 -3.510858)'), GeomFromEWKT('SRID=4674;POINT (-38.505182 -3.510957)'))) / (select extract(epoch from '2026-07-18 16:08:24'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.505195 -3.510997)', '2026-07-18 16:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505182 -3.510957)'), GeomFromEWKT('SRID=4674;POINT (-38.505195 -3.510997)'))) / (select extract(epoch from '2026-07-18 16:08:26'::timestamp) - extract(epoch from '2026-07-18 16:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505182 -3.510957)'), GeomFromEWKT('SRID=4674;POINT (-38.505195 -3.510997)'))) / (select extract(epoch from '2026-07-18 16:08:26'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505203 -3.511036)', '2026-07-18 16:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505195 -3.510997)'), GeomFromEWKT('SRID=4674;POINT (-38.505203 -3.511036)'))) / (select extract(epoch from '2026-07-18 16:08:28'::timestamp) - extract(epoch from '2026-07-18 16:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505195 -3.510997)'), GeomFromEWKT('SRID=4674;POINT (-38.505203 -3.511036)'))) / (select extract(epoch from '2026-07-18 16:08:28'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.505232 -3.511146)', '2026-07-18 16:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505203 -3.511036)'), GeomFromEWKT('SRID=4674;POINT (-38.505232 -3.511146)'))) / (select extract(epoch from '2026-07-18 16:08:34'::timestamp) - extract(epoch from '2026-07-18 16:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505203 -3.511036)'), GeomFromEWKT('SRID=4674;POINT (-38.505232 -3.511146)'))) / (select extract(epoch from '2026-07-18 16:08:34'::timestamp) - extract(epoch from '2026-07-18 16:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505251 -3.511238)', '2026-07-18 16:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505232 -3.511146)'), GeomFromEWKT('SRID=4674;POINT (-38.505251 -3.511238)'))) / (select extract(epoch from '2026-07-18 16:08:39'::timestamp) - extract(epoch from '2026-07-18 16:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505232 -3.511146)'), GeomFromEWKT('SRID=4674;POINT (-38.505251 -3.511238)'))) / (select extract(epoch from '2026-07-18 16:08:39'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505262 -3.511293)', '2026-07-18 16:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505251 -3.511238)'), GeomFromEWKT('SRID=4674;POINT (-38.505262 -3.511293)'))) / (select extract(epoch from '2026-07-18 16:08:42'::timestamp) - extract(epoch from '2026-07-18 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505251 -3.511238)'), GeomFromEWKT('SRID=4674;POINT (-38.505262 -3.511293)'))) / (select extract(epoch from '2026-07-18 16:08:42'::timestamp) - extract(epoch from '2026-07-18 16:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505278 -3.511332)', '2026-07-18 16:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505262 -3.511293)'), GeomFromEWKT('SRID=4674;POINT (-38.505278 -3.511332)'))) / (select extract(epoch from '2026-07-18 16:08:44'::timestamp) - extract(epoch from '2026-07-18 16:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505262 -3.511293)'), GeomFromEWKT('SRID=4674;POINT (-38.505278 -3.511332)'))) / (select extract(epoch from '2026-07-18 16:08:44'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.505285 -3.511369)', '2026-07-18 16:08:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505278 -3.511332)'), GeomFromEWKT('SRID=4674;POINT (-38.505285 -3.511369)'))) / (select extract(epoch from '2026-07-18 16:08:46'::timestamp) - extract(epoch from '2026-07-18 16:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505278 -3.511332)'), GeomFromEWKT('SRID=4674;POINT (-38.505285 -3.511369)'))) / (select extract(epoch from '2026-07-18 16:08:46'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505288 -3.511398)', '2026-07-18 16:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505285 -3.511369)'), GeomFromEWKT('SRID=4674;POINT (-38.505288 -3.511398)'))) / (select extract(epoch from '2026-07-18 16:08:48'::timestamp) - extract(epoch from '2026-07-18 16:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505285 -3.511369)'), GeomFromEWKT('SRID=4674;POINT (-38.505288 -3.511398)'))) / (select extract(epoch from '2026-07-18 16:08:48'::timestamp) - extract(epoch from '2026-07-18 16:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505299 -3.51141)', '2026-07-18 16:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505288 -3.511398)'), GeomFromEWKT('SRID=4674;POINT (-38.505299 -3.51141)'))) / (select extract(epoch from '2026-07-18 16:08:49'::timestamp) - extract(epoch from '2026-07-18 16:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505288 -3.511398)'), GeomFromEWKT('SRID=4674;POINT (-38.505299 -3.51141)'))) / (select extract(epoch from '2026-07-18 16:08:49'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505326 -3.511504)', '2026-07-18 16:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505299 -3.51141)'), GeomFromEWKT('SRID=4674;POINT (-38.505326 -3.511504)'))) / (select extract(epoch from '2026-07-18 16:08:54'::timestamp) - extract(epoch from '2026-07-18 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505299 -3.51141)'), GeomFromEWKT('SRID=4674;POINT (-38.505326 -3.511504)'))) / (select extract(epoch from '2026-07-18 16:08:54'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505369 -3.511601)', '2026-07-18 16:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505326 -3.511504)'), GeomFromEWKT('SRID=4674;POINT (-38.505369 -3.511601)'))) / (select extract(epoch from '2026-07-18 16:09:00'::timestamp) - extract(epoch from '2026-07-18 16:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505326 -3.511504)'), GeomFromEWKT('SRID=4674;POINT (-38.505369 -3.511601)'))) / (select extract(epoch from '2026-07-18 16:09:00'::timestamp) - extract(epoch from '2026-07-18 16:08: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'), 47391, 'SRID=4674;POINT (-38.505401 -3.511705)', '2026-07-18 16:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505369 -3.511601)'), GeomFromEWKT('SRID=4674;POINT (-38.505401 -3.511705)'))) / (select extract(epoch from '2026-07-18 16:09:06'::timestamp) - extract(epoch from '2026-07-18 16:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505369 -3.511601)'), GeomFromEWKT('SRID=4674;POINT (-38.505401 -3.511705)'))) / (select extract(epoch from '2026-07-18 16:09:06'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505448 -3.511806)', '2026-07-18 16:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505401 -3.511705)'), GeomFromEWKT('SRID=4674;POINT (-38.505448 -3.511806)'))) / (select extract(epoch from '2026-07-18 16:09:12'::timestamp) - extract(epoch from '2026-07-18 16:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505401 -3.511705)'), GeomFromEWKT('SRID=4674;POINT (-38.505448 -3.511806)'))) / (select extract(epoch from '2026-07-18 16:09:12'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505477 -3.511905)', '2026-07-18 16:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505448 -3.511806)'), GeomFromEWKT('SRID=4674;POINT (-38.505477 -3.511905)'))) / (select extract(epoch from '2026-07-18 16:09:18'::timestamp) - extract(epoch from '2026-07-18 16:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505448 -3.511806)'), GeomFromEWKT('SRID=4674;POINT (-38.505477 -3.511905)'))) / (select extract(epoch from '2026-07-18 16:09:18'::timestamp) - extract(epoch from '2026-07-18 16:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505503 -3.511991)', '2026-07-18 16:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505477 -3.511905)'), GeomFromEWKT('SRID=4674;POINT (-38.505503 -3.511991)'))) / (select extract(epoch from '2026-07-18 16:09:23'::timestamp) - extract(epoch from '2026-07-18 16:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505477 -3.511905)'), GeomFromEWKT('SRID=4674;POINT (-38.505503 -3.511991)'))) / (select extract(epoch from '2026-07-18 16:09:23'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505515 -3.512034)', '2026-07-18 16:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505503 -3.511991)'), GeomFromEWKT('SRID=4674;POINT (-38.505515 -3.512034)'))) / (select extract(epoch from '2026-07-18 16:09:26'::timestamp) - extract(epoch from '2026-07-18 16:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505503 -3.511991)'), GeomFromEWKT('SRID=4674;POINT (-38.505515 -3.512034)'))) / (select extract(epoch from '2026-07-18 16:09:26'::timestamp) - extract(epoch from '2026-07-18 16:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505535 -3.512059)', '2026-07-18 16:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505515 -3.512034)'), GeomFromEWKT('SRID=4674;POINT (-38.505535 -3.512059)'))) / (select extract(epoch from '2026-07-18 16:09:28'::timestamp) - extract(epoch from '2026-07-18 16:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505515 -3.512034)'), GeomFromEWKT('SRID=4674;POINT (-38.505535 -3.512059)'))) / (select extract(epoch from '2026-07-18 16:09:28'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.50554 -3.512071)', '2026-07-18 16:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505535 -3.512059)'), GeomFromEWKT('SRID=4674;POINT (-38.50554 -3.512071)'))) / (select extract(epoch from '2026-07-18 16:09:29'::timestamp) - extract(epoch from '2026-07-18 16:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505535 -3.512059)'), GeomFromEWKT('SRID=4674;POINT (-38.50554 -3.512071)'))) / (select extract(epoch from '2026-07-18 16:09:29'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505544 -3.5121)', '2026-07-18 16:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50554 -3.512071)'), GeomFromEWKT('SRID=4674;POINT (-38.505544 -3.5121)'))) / (select extract(epoch from '2026-07-18 16:09:31'::timestamp) - extract(epoch from '2026-07-18 16:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50554 -3.512071)'), GeomFromEWKT('SRID=4674;POINT (-38.505544 -3.5121)'))) / (select extract(epoch from '2026-07-18 16:09:31'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.50557 -3.512152)', '2026-07-18 16:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505544 -3.5121)'), GeomFromEWKT('SRID=4674;POINT (-38.50557 -3.512152)'))) / (select extract(epoch from '2026-07-18 16:09:34'::timestamp) - extract(epoch from '2026-07-18 16:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505544 -3.5121)'), GeomFromEWKT('SRID=4674;POINT (-38.50557 -3.512152)'))) / (select extract(epoch from '2026-07-18 16:09:34'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505581 -3.5122)', '2026-07-18 16:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50557 -3.512152)'), GeomFromEWKT('SRID=4674;POINT (-38.505581 -3.5122)'))) / (select extract(epoch from '2026-07-18 16:09:37'::timestamp) - extract(epoch from '2026-07-18 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50557 -3.512152)'), GeomFromEWKT('SRID=4674;POINT (-38.505581 -3.5122)'))) / (select extract(epoch from '2026-07-18 16:09:37'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.5056 -3.51223)', '2026-07-18 16:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505581 -3.5122)'), GeomFromEWKT('SRID=4674;POINT (-38.5056 -3.51223)'))) / (select extract(epoch from '2026-07-18 16:09:39'::timestamp) - extract(epoch from '2026-07-18 16:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505581 -3.5122)'), GeomFromEWKT('SRID=4674;POINT (-38.5056 -3.51223)'))) / (select extract(epoch from '2026-07-18 16:09:39'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505635 -3.512335)', '2026-07-18 16:09:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5056 -3.51223)'), GeomFromEWKT('SRID=4674;POINT (-38.505635 -3.512335)'))) / (select extract(epoch from '2026-07-18 16:09:45'::timestamp) - extract(epoch from '2026-07-18 16:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5056 -3.51223)'), GeomFromEWKT('SRID=4674;POINT (-38.505635 -3.512335)'))) / (select extract(epoch from '2026-07-18 16:09:45'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505648 -3.512355)', '2026-07-18 16:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505635 -3.512335)'), GeomFromEWKT('SRID=4674;POINT (-38.505648 -3.512355)'))) / (select extract(epoch from '2026-07-18 16:09:46'::timestamp) - extract(epoch from '2026-07-18 16:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505635 -3.512335)'), GeomFromEWKT('SRID=4674;POINT (-38.505648 -3.512355)'))) / (select extract(epoch from '2026-07-18 16:09:46'::timestamp) - extract(epoch from '2026-07-18 16:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505674 -3.512395)', '2026-07-18 16:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505648 -3.512355)'), GeomFromEWKT('SRID=4674;POINT (-38.505674 -3.512395)'))) / (select extract(epoch from '2026-07-18 16:09:48'::timestamp) - extract(epoch from '2026-07-18 16:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505648 -3.512355)'), GeomFromEWKT('SRID=4674;POINT (-38.505674 -3.512395)'))) / (select extract(epoch from '2026-07-18 16:09:48'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505675 -3.512432)', '2026-07-18 16:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505674 -3.512395)'), GeomFromEWKT('SRID=4674;POINT (-38.505675 -3.512432)'))) / (select extract(epoch from '2026-07-18 16:09:50'::timestamp) - extract(epoch from '2026-07-18 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505674 -3.512395)'), GeomFromEWKT('SRID=4674;POINT (-38.505675 -3.512432)'))) / (select extract(epoch from '2026-07-18 16:09:50'::timestamp) - extract(epoch from '2026-07-18 16:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505682 -3.512447)', '2026-07-18 16:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505675 -3.512432)'), GeomFromEWKT('SRID=4674;POINT (-38.505682 -3.512447)'))) / (select extract(epoch from '2026-07-18 16:09:51'::timestamp) - extract(epoch from '2026-07-18 16:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505675 -3.512432)'), GeomFromEWKT('SRID=4674;POINT (-38.505682 -3.512447)'))) / (select extract(epoch from '2026-07-18 16:09:51'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505705 -3.512503)', '2026-07-18 16:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505682 -3.512447)'), GeomFromEWKT('SRID=4674;POINT (-38.505705 -3.512503)'))) / (select extract(epoch from '2026-07-18 16:09:54'::timestamp) - extract(epoch from '2026-07-18 16:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505682 -3.512447)'), GeomFromEWKT('SRID=4674;POINT (-38.505705 -3.512503)'))) / (select extract(epoch from '2026-07-18 16:09:54'::timestamp) - extract(epoch from '2026-07-18 16:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505726 -3.51258)', '2026-07-18 16:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505705 -3.512503)'), GeomFromEWKT('SRID=4674;POINT (-38.505726 -3.51258)'))) / (select extract(epoch from '2026-07-18 16:09:59'::timestamp) - extract(epoch from '2026-07-18 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505705 -3.512503)'), GeomFromEWKT('SRID=4674;POINT (-38.505726 -3.51258)'))) / (select extract(epoch from '2026-07-18 16:09:59'::timestamp) - extract(epoch from '2026-07-18 16:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505766 -3.512684)', '2026-07-18 16:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505726 -3.51258)'), GeomFromEWKT('SRID=4674;POINT (-38.505766 -3.512684)'))) / (select extract(epoch from '2026-07-18 16:10:05'::timestamp) - extract(epoch from '2026-07-18 16:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505726 -3.51258)'), GeomFromEWKT('SRID=4674;POINT (-38.505766 -3.512684)'))) / (select extract(epoch from '2026-07-18 16:10:05'::timestamp) - extract(epoch from '2026-07-18 16:09: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'), 47391, 'SRID=4674;POINT (-38.505794 -3.512788)', '2026-07-18 16:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505766 -3.512684)'), GeomFromEWKT('SRID=4674;POINT (-38.505794 -3.512788)'))) / (select extract(epoch from '2026-07-18 16:10:11'::timestamp) - extract(epoch from '2026-07-18 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505766 -3.512684)'), GeomFromEWKT('SRID=4674;POINT (-38.505794 -3.512788)'))) / (select extract(epoch from '2026-07-18 16:10:11'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.505823 -3.512871)', '2026-07-18 16:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505794 -3.512788)'), GeomFromEWKT('SRID=4674;POINT (-38.505823 -3.512871)'))) / (select extract(epoch from '2026-07-18 16:10:17'::timestamp) - extract(epoch from '2026-07-18 16:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505794 -3.512788)'), GeomFromEWKT('SRID=4674;POINT (-38.505823 -3.512871)'))) / (select extract(epoch from '2026-07-18 16:10:17'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.50586 -3.512986)', '2026-07-18 16:10:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505823 -3.512871)'), GeomFromEWKT('SRID=4674;POINT (-38.50586 -3.512986)'))) / (select extract(epoch from '2026-07-18 16:10:24'::timestamp) - extract(epoch from '2026-07-18 16:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505823 -3.512871)'), GeomFromEWKT('SRID=4674;POINT (-38.50586 -3.512986)'))) / (select extract(epoch from '2026-07-18 16:10:24'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.505878 -3.513072)', '2026-07-18 16:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50586 -3.512986)'), GeomFromEWKT('SRID=4674;POINT (-38.505878 -3.513072)'))) / (select extract(epoch from '2026-07-18 16:10:29'::timestamp) - extract(epoch from '2026-07-18 16:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50586 -3.512986)'), GeomFromEWKT('SRID=4674;POINT (-38.505878 -3.513072)'))) / (select extract(epoch from '2026-07-18 16:10:29'::timestamp) - extract(epoch from '2026-07-18 16:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.505904 -3.513155)', '2026-07-18 16:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505878 -3.513072)'), GeomFromEWKT('SRID=4674;POINT (-38.505904 -3.513155)'))) / (select extract(epoch from '2026-07-18 16:10:34'::timestamp) - extract(epoch from '2026-07-18 16:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505878 -3.513072)'), GeomFromEWKT('SRID=4674;POINT (-38.505904 -3.513155)'))) / (select extract(epoch from '2026-07-18 16:10:34'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.505949 -3.513242)', '2026-07-18 16:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505904 -3.513155)'), GeomFromEWKT('SRID=4674;POINT (-38.505949 -3.513242)'))) / (select extract(epoch from '2026-07-18 16:10:40'::timestamp) - extract(epoch from '2026-07-18 16:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505904 -3.513155)'), GeomFromEWKT('SRID=4674;POINT (-38.505949 -3.513242)'))) / (select extract(epoch from '2026-07-18 16:10:40'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.505985 -3.513312)', '2026-07-18 16:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505949 -3.513242)'), GeomFromEWKT('SRID=4674;POINT (-38.505985 -3.513312)'))) / (select extract(epoch from '2026-07-18 16:10:44'::timestamp) - extract(epoch from '2026-07-18 16:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505949 -3.513242)'), GeomFromEWKT('SRID=4674;POINT (-38.505985 -3.513312)'))) / (select extract(epoch from '2026-07-18 16:10:44'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.506017 -3.513424)', '2026-07-18 16:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505985 -3.513312)'), GeomFromEWKT('SRID=4674;POINT (-38.506017 -3.513424)'))) / (select extract(epoch from '2026-07-18 16:10:50'::timestamp) - extract(epoch from '2026-07-18 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.505985 -3.513312)'), GeomFromEWKT('SRID=4674;POINT (-38.506017 -3.513424)'))) / (select extract(epoch from '2026-07-18 16:10:50'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.506036 -3.513491)', '2026-07-18 16:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506017 -3.513424)'), GeomFromEWKT('SRID=4674;POINT (-38.506036 -3.513491)'))) / (select extract(epoch from '2026-07-18 16:10:54'::timestamp) - extract(epoch from '2026-07-18 16:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506017 -3.513424)'), GeomFromEWKT('SRID=4674;POINT (-38.506036 -3.513491)'))) / (select extract(epoch from '2026-07-18 16:10:54'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.506043 -3.513508)', '2026-07-18 16:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506036 -3.513491)'), GeomFromEWKT('SRID=4674;POINT (-38.506043 -3.513508)'))) / (select extract(epoch from '2026-07-18 16:10:55'::timestamp) - extract(epoch from '2026-07-18 16:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506036 -3.513491)'), GeomFromEWKT('SRID=4674;POINT (-38.506043 -3.513508)'))) / (select extract(epoch from '2026-07-18 16:10:55'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.506069 -3.513604)', '2026-07-18 16:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506043 -3.513508)'), GeomFromEWKT('SRID=4674;POINT (-38.506069 -3.513604)'))) / (select extract(epoch from '2026-07-18 16:11:01'::timestamp) - extract(epoch from '2026-07-18 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506043 -3.513508)'), GeomFromEWKT('SRID=4674;POINT (-38.506069 -3.513604)'))) / (select extract(epoch from '2026-07-18 16:11:01'::timestamp) - extract(epoch from '2026-07-18 16:10: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'), 47391, 'SRID=4674;POINT (-38.506103 -3.513704)', '2026-07-18 16:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506069 -3.513604)'), GeomFromEWKT('SRID=4674;POINT (-38.506103 -3.513704)'))) / (select extract(epoch from '2026-07-18 16:11:07'::timestamp) - extract(epoch from '2026-07-18 16:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506069 -3.513604)'), GeomFromEWKT('SRID=4674;POINT (-38.506103 -3.513704)'))) / (select extract(epoch from '2026-07-18 16:11:07'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506115 -3.513739)', '2026-07-18 16:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506103 -3.513704)'), GeomFromEWKT('SRID=4674;POINT (-38.506115 -3.513739)'))) / (select extract(epoch from '2026-07-18 16:11:09'::timestamp) - extract(epoch from '2026-07-18 16:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506103 -3.513704)'), GeomFromEWKT('SRID=4674;POINT (-38.506115 -3.513739)'))) / (select extract(epoch from '2026-07-18 16:11:09'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506126 -3.513794)', '2026-07-18 16:11:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506115 -3.513739)'), GeomFromEWKT('SRID=4674;POINT (-38.506126 -3.513794)'))) / (select extract(epoch from '2026-07-18 16:11:12'::timestamp) - extract(epoch from '2026-07-18 16:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506115 -3.513739)'), GeomFromEWKT('SRID=4674;POINT (-38.506126 -3.513794)'))) / (select extract(epoch from '2026-07-18 16:11:12'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.506133 -3.513815)', '2026-07-18 16:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506126 -3.513794)'), GeomFromEWKT('SRID=4674;POINT (-38.506133 -3.513815)'))) / (select extract(epoch from '2026-07-18 16:11:13'::timestamp) - extract(epoch from '2026-07-18 16:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506126 -3.513794)'), GeomFromEWKT('SRID=4674;POINT (-38.506133 -3.513815)'))) / (select extract(epoch from '2026-07-18 16:11:13'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506154 -3.513916)', '2026-07-18 16:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506133 -3.513815)'), GeomFromEWKT('SRID=4674;POINT (-38.506154 -3.513916)'))) / (select extract(epoch from '2026-07-18 16:11:19'::timestamp) - extract(epoch from '2026-07-18 16:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506133 -3.513815)'), GeomFromEWKT('SRID=4674;POINT (-38.506154 -3.513916)'))) / (select extract(epoch from '2026-07-18 16:11:19'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.50618 -3.514)', '2026-07-18 16:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506154 -3.513916)'), GeomFromEWKT('SRID=4674;POINT (-38.50618 -3.514)'))) / (select extract(epoch from '2026-07-18 16:11:24'::timestamp) - extract(epoch from '2026-07-18 16:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506154 -3.513916)'), GeomFromEWKT('SRID=4674;POINT (-38.50618 -3.514)'))) / (select extract(epoch from '2026-07-18 16:11:24'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506217 -3.514082)', '2026-07-18 16:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50618 -3.514)'), GeomFromEWKT('SRID=4674;POINT (-38.506217 -3.514082)'))) / (select extract(epoch from '2026-07-18 16:11:29'::timestamp) - extract(epoch from '2026-07-18 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50618 -3.514)'), GeomFromEWKT('SRID=4674;POINT (-38.506217 -3.514082)'))) / (select extract(epoch from '2026-07-18 16:11:29'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506223 -3.514096)', '2026-07-18 16:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506217 -3.514082)'), GeomFromEWKT('SRID=4674;POINT (-38.506223 -3.514096)'))) / (select extract(epoch from '2026-07-18 16:11:30'::timestamp) - extract(epoch from '2026-07-18 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506217 -3.514082)'), GeomFromEWKT('SRID=4674;POINT (-38.506223 -3.514096)'))) / (select extract(epoch from '2026-07-18 16:11:30'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.506236 -3.514147)', '2026-07-18 16:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506223 -3.514096)'), GeomFromEWKT('SRID=4674;POINT (-38.506236 -3.514147)'))) / (select extract(epoch from '2026-07-18 16:11:33'::timestamp) - extract(epoch from '2026-07-18 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506223 -3.514096)'), GeomFromEWKT('SRID=4674;POINT (-38.506236 -3.514147)'))) / (select extract(epoch from '2026-07-18 16:11:33'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506281 -3.514228)', '2026-07-18 16:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506236 -3.514147)'), GeomFromEWKT('SRID=4674;POINT (-38.506281 -3.514228)'))) / (select extract(epoch from '2026-07-18 16:11:38'::timestamp) - extract(epoch from '2026-07-18 16:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506236 -3.514147)'), GeomFromEWKT('SRID=4674;POINT (-38.506281 -3.514228)'))) / (select extract(epoch from '2026-07-18 16:11:38'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506306 -3.514253)', '2026-07-18 16:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506281 -3.514228)'), GeomFromEWKT('SRID=4674;POINT (-38.506306 -3.514253)'))) / (select extract(epoch from '2026-07-18 16:11:40'::timestamp) - extract(epoch from '2026-07-18 16:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506281 -3.514228)'), GeomFromEWKT('SRID=4674;POINT (-38.506306 -3.514253)'))) / (select extract(epoch from '2026-07-18 16:11:40'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506327 -3.514304)', '2026-07-18 16:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506306 -3.514253)'), GeomFromEWKT('SRID=4674;POINT (-38.506327 -3.514304)'))) / (select extract(epoch from '2026-07-18 16:11:43'::timestamp) - extract(epoch from '2026-07-18 16:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506306 -3.514253)'), GeomFromEWKT('SRID=4674;POINT (-38.506327 -3.514304)'))) / (select extract(epoch from '2026-07-18 16:11:43'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506373 -3.514382)', '2026-07-18 16:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506327 -3.514304)'), GeomFromEWKT('SRID=4674;POINT (-38.506373 -3.514382)'))) / (select extract(epoch from '2026-07-18 16:11:48'::timestamp) - extract(epoch from '2026-07-18 16:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506327 -3.514304)'), GeomFromEWKT('SRID=4674;POINT (-38.506373 -3.514382)'))) / (select extract(epoch from '2026-07-18 16:11:48'::timestamp) - extract(epoch from '2026-07-18 16:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506377 -3.5144)', '2026-07-18 16:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506373 -3.514382)'), GeomFromEWKT('SRID=4674;POINT (-38.506377 -3.5144)'))) / (select extract(epoch from '2026-07-18 16:11:49'::timestamp) - extract(epoch from '2026-07-18 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506373 -3.514382)'), GeomFromEWKT('SRID=4674;POINT (-38.506377 -3.5144)'))) / (select extract(epoch from '2026-07-18 16:11:49'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506413 -3.514494)', '2026-07-18 16:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506377 -3.5144)'), GeomFromEWKT('SRID=4674;POINT (-38.506413 -3.514494)'))) / (select extract(epoch from '2026-07-18 16:11:54'::timestamp) - extract(epoch from '2026-07-18 16:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506377 -3.5144)'), GeomFromEWKT('SRID=4674;POINT (-38.506413 -3.514494)'))) / (select extract(epoch from '2026-07-18 16:11:54'::timestamp) - extract(epoch from '2026-07-18 16:11: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'), 47391, 'SRID=4674;POINT (-38.506456 -3.51464)', '2026-07-18 16:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506413 -3.514494)'), GeomFromEWKT('SRID=4674;POINT (-38.506456 -3.51464)'))) / (select extract(epoch from '2026-07-18 16:12:01'::timestamp) - extract(epoch from '2026-07-18 16:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506413 -3.514494)'), GeomFromEWKT('SRID=4674;POINT (-38.506456 -3.51464)'))) / (select extract(epoch from '2026-07-18 16:12:01'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.506479 -3.514722)', '2026-07-18 16:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506456 -3.51464)'), GeomFromEWKT('SRID=4674;POINT (-38.506479 -3.514722)'))) / (select extract(epoch from '2026-07-18 16:12:06'::timestamp) - extract(epoch from '2026-07-18 16:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506456 -3.51464)'), GeomFromEWKT('SRID=4674;POINT (-38.506479 -3.514722)'))) / (select extract(epoch from '2026-07-18 16:12:06'::timestamp) - extract(epoch from '2026-07-18 16:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506483 -3.514754)', '2026-07-18 16:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506479 -3.514722)'), GeomFromEWKT('SRID=4674;POINT (-38.506483 -3.514754)'))) / (select extract(epoch from '2026-07-18 16:12:08'::timestamp) - extract(epoch from '2026-07-18 16:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506479 -3.514722)'), GeomFromEWKT('SRID=4674;POINT (-38.506483 -3.514754)'))) / (select extract(epoch from '2026-07-18 16:12:08'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.506506 -3.514784)', '2026-07-18 16:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506483 -3.514754)'), GeomFromEWKT('SRID=4674;POINT (-38.506506 -3.514784)'))) / (select extract(epoch from '2026-07-18 16:12:10'::timestamp) - extract(epoch from '2026-07-18 16:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506483 -3.514754)'), GeomFromEWKT('SRID=4674;POINT (-38.506506 -3.514784)'))) / (select extract(epoch from '2026-07-18 16:12:10'::timestamp) - extract(epoch from '2026-07-18 16:12: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'), 47391, 'SRID=4674;POINT (-38.506555 -3.514909)', '2026-07-18 16:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506506 -3.514784)'), GeomFromEWKT('SRID=4674;POINT (-38.506555 -3.514909)'))) / (select extract(epoch from '2026-07-18 16:12:17'::timestamp) - extract(epoch from '2026-07-18 16:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506506 -3.514784)'), GeomFromEWKT('SRID=4674;POINT (-38.506555 -3.514909)'))) / (select extract(epoch from '2026-07-18 16:12:17'::timestamp) - extract(epoch from '2026-07-18 16:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506589 -3.515005)', '2026-07-18 16:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506555 -3.514909)'), GeomFromEWKT('SRID=4674;POINT (-38.506589 -3.515005)'))) / (select extract(epoch from '2026-07-18 16:12:23'::timestamp) - extract(epoch from '2026-07-18 16:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506555 -3.514909)'), GeomFromEWKT('SRID=4674;POINT (-38.506589 -3.515005)'))) / (select extract(epoch from '2026-07-18 16:12:23'::timestamp) - extract(epoch from '2026-07-18 16:12: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'), 47391, 'SRID=4674;POINT (-38.506639 -3.515137)', '2026-07-18 16:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506589 -3.515005)'), GeomFromEWKT('SRID=4674;POINT (-38.506639 -3.515137)'))) / (select extract(epoch from '2026-07-18 16:12:30'::timestamp) - extract(epoch from '2026-07-18 16:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506589 -3.515005)'), GeomFromEWKT('SRID=4674;POINT (-38.506639 -3.515137)'))) / (select extract(epoch from '2026-07-18 16:12:30'::timestamp) - extract(epoch from '2026-07-18 16:12: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'), 47391, 'SRID=4674;POINT (-38.506676 -3.515281)', '2026-07-18 16:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506639 -3.515137)'), GeomFromEWKT('SRID=4674;POINT (-38.506676 -3.515281)'))) / (select extract(epoch from '2026-07-18 16:12:37'::timestamp) - extract(epoch from '2026-07-18 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506639 -3.515137)'), GeomFromEWKT('SRID=4674;POINT (-38.506676 -3.515281)'))) / (select extract(epoch from '2026-07-18 16:12:37'::timestamp) - extract(epoch from '2026-07-18 16:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506721 -3.515419)', '2026-07-18 16:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506676 -3.515281)'), GeomFromEWKT('SRID=4674;POINT (-38.506721 -3.515419)'))) / (select extract(epoch from '2026-07-18 16:12:45'::timestamp) - extract(epoch from '2026-07-18 16:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506676 -3.515281)'), GeomFromEWKT('SRID=4674;POINT (-38.506721 -3.515419)'))) / (select extract(epoch from '2026-07-18 16:12:45'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.506767 -3.515533)', '2026-07-18 16:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506721 -3.515419)'), GeomFromEWKT('SRID=4674;POINT (-38.506767 -3.515533)'))) / (select extract(epoch from '2026-07-18 16:12:51'::timestamp) - extract(epoch from '2026-07-18 16:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506721 -3.515419)'), GeomFromEWKT('SRID=4674;POINT (-38.506767 -3.515533)'))) / (select extract(epoch from '2026-07-18 16:12:51'::timestamp) - extract(epoch from '2026-07-18 16:12: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'), 47391, 'SRID=4674;POINT (-38.506796 -3.515611)', '2026-07-18 16:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506767 -3.515533)'), GeomFromEWKT('SRID=4674;POINT (-38.506796 -3.515611)'))) / (select extract(epoch from '2026-07-18 16:12:56'::timestamp) - extract(epoch from '2026-07-18 16:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506767 -3.515533)'), GeomFromEWKT('SRID=4674;POINT (-38.506796 -3.515611)'))) / (select extract(epoch from '2026-07-18 16:12:56'::timestamp) - extract(epoch from '2026-07-18 16:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506824 -3.515712)', '2026-07-18 16:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506796 -3.515611)'), GeomFromEWKT('SRID=4674;POINT (-38.506824 -3.515712)'))) / (select extract(epoch from '2026-07-18 16:13:01'::timestamp) - extract(epoch from '2026-07-18 16:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506796 -3.515611)'), GeomFromEWKT('SRID=4674;POINT (-38.506824 -3.515712)'))) / (select extract(epoch from '2026-07-18 16:13:01'::timestamp) - extract(epoch from '2026-07-18 16:12: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'), 47391, 'SRID=4674;POINT (-38.506865 -3.515811)', '2026-07-18 16:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506824 -3.515712)'), GeomFromEWKT('SRID=4674;POINT (-38.506865 -3.515811)'))) / (select extract(epoch from '2026-07-18 16:13:06'::timestamp) - extract(epoch from '2026-07-18 16:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506824 -3.515712)'), GeomFromEWKT('SRID=4674;POINT (-38.506865 -3.515811)'))) / (select extract(epoch from '2026-07-18 16:13:06'::timestamp) - extract(epoch from '2026-07-18 16:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.506906 -3.515884)', '2026-07-18 16:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506865 -3.515811)'), GeomFromEWKT('SRID=4674;POINT (-38.506906 -3.515884)'))) / (select extract(epoch from '2026-07-18 16:13:11'::timestamp) - extract(epoch from '2026-07-18 16:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506865 -3.515811)'), GeomFromEWKT('SRID=4674;POINT (-38.506906 -3.515884)'))) / (select extract(epoch from '2026-07-18 16:13:11'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.506957 -3.516017)', '2026-07-18 16:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506906 -3.515884)'), GeomFromEWKT('SRID=4674;POINT (-38.506957 -3.516017)'))) / (select extract(epoch from '2026-07-18 16:13:19'::timestamp) - extract(epoch from '2026-07-18 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506906 -3.515884)'), GeomFromEWKT('SRID=4674;POINT (-38.506957 -3.516017)'))) / (select extract(epoch from '2026-07-18 16:13:19'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.506985 -3.516104)', '2026-07-18 16:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506957 -3.516017)'), GeomFromEWKT('SRID=4674;POINT (-38.506985 -3.516104)'))) / (select extract(epoch from '2026-07-18 16:13:25'::timestamp) - extract(epoch from '2026-07-18 16:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506957 -3.516017)'), GeomFromEWKT('SRID=4674;POINT (-38.506985 -3.516104)'))) / (select extract(epoch from '2026-07-18 16:13:25'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.506995 -3.516148)', '2026-07-18 16:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506985 -3.516104)'), GeomFromEWKT('SRID=4674;POINT (-38.506995 -3.516148)'))) / (select extract(epoch from '2026-07-18 16:13:28'::timestamp) - extract(epoch from '2026-07-18 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506985 -3.516104)'), GeomFromEWKT('SRID=4674;POINT (-38.506995 -3.516148)'))) / (select extract(epoch from '2026-07-18 16:13:28'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507019 -3.516177)', '2026-07-18 16:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506995 -3.516148)'), GeomFromEWKT('SRID=4674;POINT (-38.507019 -3.516177)'))) / (select extract(epoch from '2026-07-18 16:13:30'::timestamp) - extract(epoch from '2026-07-18 16:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506995 -3.516148)'), GeomFromEWKT('SRID=4674;POINT (-38.507019 -3.516177)'))) / (select extract(epoch from '2026-07-18 16:13:30'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.507035 -3.516255)', '2026-07-18 16:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507019 -3.516177)'), GeomFromEWKT('SRID=4674;POINT (-38.507035 -3.516255)'))) / (select extract(epoch from '2026-07-18 16:13:35'::timestamp) - extract(epoch from '2026-07-18 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507019 -3.516177)'), GeomFromEWKT('SRID=4674;POINT (-38.507035 -3.516255)'))) / (select extract(epoch from '2026-07-18 16:13:35'::timestamp) - extract(epoch from '2026-07-18 16:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507069 -3.516341)', '2026-07-18 16:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507035 -3.516255)'), GeomFromEWKT('SRID=4674;POINT (-38.507069 -3.516341)'))) / (select extract(epoch from '2026-07-18 16:13:40'::timestamp) - extract(epoch from '2026-07-18 16:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507035 -3.516255)'), GeomFromEWKT('SRID=4674;POINT (-38.507069 -3.516341)'))) / (select extract(epoch from '2026-07-18 16:13:40'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507071 -3.516358)', '2026-07-18 16:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507069 -3.516341)'), GeomFromEWKT('SRID=4674;POINT (-38.507071 -3.516358)'))) / (select extract(epoch from '2026-07-18 16:13:41'::timestamp) - extract(epoch from '2026-07-18 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507069 -3.516341)'), GeomFromEWKT('SRID=4674;POINT (-38.507071 -3.516358)'))) / (select extract(epoch from '2026-07-18 16:13:41'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507103 -3.516485)', '2026-07-18 16:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507071 -3.516358)'), GeomFromEWKT('SRID=4674;POINT (-38.507103 -3.516485)'))) / (select extract(epoch from '2026-07-18 16:13:48'::timestamp) - extract(epoch from '2026-07-18 16:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507071 -3.516358)'), GeomFromEWKT('SRID=4674;POINT (-38.507103 -3.516485)'))) / (select extract(epoch from '2026-07-18 16:13:48'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507144 -3.516593)', '2026-07-18 16:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507103 -3.516485)'), GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516593)'))) / (select extract(epoch from '2026-07-18 16:13:54'::timestamp) - extract(epoch from '2026-07-18 16:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507103 -3.516485)'), GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516593)'))) / (select extract(epoch from '2026-07-18 16:13:54'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507144 -3.516609)', '2026-07-18 16:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516593)'), GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516609)'))) / (select extract(epoch from '2026-07-18 16:13:55'::timestamp) - extract(epoch from '2026-07-18 16:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516593)'), GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516609)'))) / (select extract(epoch from '2026-07-18 16:13:55'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507167 -3.516702)', '2026-07-18 16:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516609)'), GeomFromEWKT('SRID=4674;POINT (-38.507167 -3.516702)'))) / (select extract(epoch from '2026-07-18 16:14:00'::timestamp) - extract(epoch from '2026-07-18 16:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507144 -3.516609)'), GeomFromEWKT('SRID=4674;POINT (-38.507167 -3.516702)'))) / (select extract(epoch from '2026-07-18 16:14:00'::timestamp) - extract(epoch from '2026-07-18 16:13: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'), 47391, 'SRID=4674;POINT (-38.507193 -3.516795)', '2026-07-18 16:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507167 -3.516702)'), GeomFromEWKT('SRID=4674;POINT (-38.507193 -3.516795)'))) / (select extract(epoch from '2026-07-18 16:14:06'::timestamp) - extract(epoch from '2026-07-18 16:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507167 -3.516702)'), GeomFromEWKT('SRID=4674;POINT (-38.507193 -3.516795)'))) / (select extract(epoch from '2026-07-18 16:14:06'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507232 -3.516905)', '2026-07-18 16:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507193 -3.516795)'), GeomFromEWKT('SRID=4674;POINT (-38.507232 -3.516905)'))) / (select extract(epoch from '2026-07-18 16:14:12'::timestamp) - extract(epoch from '2026-07-18 16:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507193 -3.516795)'), GeomFromEWKT('SRID=4674;POINT (-38.507232 -3.516905)'))) / (select extract(epoch from '2026-07-18 16:14:12'::timestamp) - extract(epoch from '2026-07-18 16:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507275 -3.517013)', '2026-07-18 16:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507232 -3.516905)'), GeomFromEWKT('SRID=4674;POINT (-38.507275 -3.517013)'))) / (select extract(epoch from '2026-07-18 16:14:18'::timestamp) - extract(epoch from '2026-07-18 16:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507232 -3.516905)'), GeomFromEWKT('SRID=4674;POINT (-38.507275 -3.517013)'))) / (select extract(epoch from '2026-07-18 16:14:18'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507292 -3.517062)', '2026-07-18 16:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507275 -3.517013)'), GeomFromEWKT('SRID=4674;POINT (-38.507292 -3.517062)'))) / (select extract(epoch from '2026-07-18 16:14:21'::timestamp) - extract(epoch from '2026-07-18 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507275 -3.517013)'), GeomFromEWKT('SRID=4674;POINT (-38.507292 -3.517062)'))) / (select extract(epoch from '2026-07-18 16:14:21'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.507305 -3.517096)', '2026-07-18 16:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507292 -3.517062)'), GeomFromEWKT('SRID=4674;POINT (-38.507305 -3.517096)'))) / (select extract(epoch from '2026-07-18 16:14:23'::timestamp) - extract(epoch from '2026-07-18 16:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507292 -3.517062)'), GeomFromEWKT('SRID=4674;POINT (-38.507305 -3.517096)'))) / (select extract(epoch from '2026-07-18 16:14:23'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507341 -3.517219)', '2026-07-18 16:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507305 -3.517096)'), GeomFromEWKT('SRID=4674;POINT (-38.507341 -3.517219)'))) / (select extract(epoch from '2026-07-18 16:14:30'::timestamp) - extract(epoch from '2026-07-18 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507305 -3.517096)'), GeomFromEWKT('SRID=4674;POINT (-38.507341 -3.517219)'))) / (select extract(epoch from '2026-07-18 16:14:30'::timestamp) - extract(epoch from '2026-07-18 16:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507366 -3.517294)', '2026-07-18 16:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507341 -3.517219)'), GeomFromEWKT('SRID=4674;POINT (-38.507366 -3.517294)'))) / (select extract(epoch from '2026-07-18 16:14:35'::timestamp) - extract(epoch from '2026-07-18 16:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507341 -3.517219)'), GeomFromEWKT('SRID=4674;POINT (-38.507366 -3.517294)'))) / (select extract(epoch from '2026-07-18 16:14:35'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507405 -3.517406)', '2026-07-18 16:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507366 -3.517294)'), GeomFromEWKT('SRID=4674;POINT (-38.507405 -3.517406)'))) / (select extract(epoch from '2026-07-18 16:14:41'::timestamp) - extract(epoch from '2026-07-18 16:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507366 -3.517294)'), GeomFromEWKT('SRID=4674;POINT (-38.507405 -3.517406)'))) / (select extract(epoch from '2026-07-18 16:14:41'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507442 -3.517509)', '2026-07-18 16:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507405 -3.517406)'), GeomFromEWKT('SRID=4674;POINT (-38.507442 -3.517509)'))) / (select extract(epoch from '2026-07-18 16:14:46'::timestamp) - extract(epoch from '2026-07-18 16:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507405 -3.517406)'), GeomFromEWKT('SRID=4674;POINT (-38.507442 -3.517509)'))) / (select extract(epoch from '2026-07-18 16:14:46'::timestamp) - extract(epoch from '2026-07-18 16: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'), 47391, 'SRID=4674;POINT (-38.507456 -3.517611)', '2026-07-18 16:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507442 -3.517509)'), GeomFromEWKT('SRID=4674;POINT (-38.507456 -3.517611)'))) / (select extract(epoch from '2026-07-18 16:14:51'::timestamp) - extract(epoch from '2026-07-18 16:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507442 -3.517509)'), GeomFromEWKT('SRID=4674;POINT (-38.507456 -3.517611)'))) / (select extract(epoch from '2026-07-18 16:14:51'::timestamp) - extract(epoch from '2026-07-18 16:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507477 -3.517734)', '2026-07-18 16:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507456 -3.517611)'), GeomFromEWKT('SRID=4674;POINT (-38.507477 -3.517734)'))) / (select extract(epoch from '2026-07-18 16:14:58'::timestamp) - extract(epoch from '2026-07-18 16:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507456 -3.517611)'), GeomFromEWKT('SRID=4674;POINT (-38.507477 -3.517734)'))) / (select extract(epoch from '2026-07-18 16:14:58'::timestamp) - extract(epoch from '2026-07-18 16:14: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'), 47391, 'SRID=4674;POINT (-38.507509 -3.517835)', '2026-07-18 16:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507477 -3.517734)'), GeomFromEWKT('SRID=4674;POINT (-38.507509 -3.517835)'))) / (select extract(epoch from '2026-07-18 16:15:04'::timestamp) - extract(epoch from '2026-07-18 16:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507477 -3.517734)'), GeomFromEWKT('SRID=4674;POINT (-38.507509 -3.517835)'))) / (select extract(epoch from '2026-07-18 16:15:04'::timestamp) - extract(epoch from '2026-07-18 16:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.507546 -3.517931)', '2026-07-18 16:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507509 -3.517835)'), GeomFromEWKT('SRID=4674;POINT (-38.507546 -3.517931)'))) / (select extract(epoch from '2026-07-18 16:15:10'::timestamp) - extract(epoch from '2026-07-18 16:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507509 -3.517835)'), GeomFromEWKT('SRID=4674;POINT (-38.507546 -3.517931)'))) / (select extract(epoch from '2026-07-18 16:15:10'::timestamp) - extract(epoch from '2026-07-18 16:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
