 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024822 -3.357456)', '2026-07-23 19:37:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.357444)'), GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.357456)'))) / (select extract(epoch from '2026-07-23 19:37:01'::timestamp) - extract(epoch from '2026-07-23 19:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.357444)'), GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.357456)'))) / (select extract(epoch from '2026-07-23 19:37:01'::timestamp) - extract(epoch from '2026-07-23 19:36: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'), 47446, 'SRID=4674;POINT (-39.024796 -3.357431)', '2026-07-23 19:37:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.357456)'), GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.357431)'))) / (select extract(epoch from '2026-07-23 19:37:10'::timestamp) - extract(epoch from '2026-07-23 19:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.357456)'), GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.357431)'))) / (select extract(epoch from '2026-07-23 19:37:10'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024787 -3.357411)', '2026-07-23 19:37:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.357431)'), GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.357411)'))) / (select extract(epoch from '2026-07-23 19:37:16'::timestamp) - extract(epoch from '2026-07-23 19:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.357431)'), GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.357411)'))) / (select extract(epoch from '2026-07-23 19:37:16'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024772 -3.357424)', '2026-07-23 19:37:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.357411)'), GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357424)'))) / (select extract(epoch from '2026-07-23 19:37:24'::timestamp) - extract(epoch from '2026-07-23 19:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.357411)'), GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357424)'))) / (select extract(epoch from '2026-07-23 19:37:24'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024758 -3.357468)', '2026-07-23 19:37:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357424)'), GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.357468)'))) / (select extract(epoch from '2026-07-23 19:37:31'::timestamp) - extract(epoch from '2026-07-23 19:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357424)'), GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.357468)'))) / (select extract(epoch from '2026-07-23 19:37:31'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024757 -3.357476)', '2026-07-23 19:37:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.357468)'), GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.357476)'))) / (select extract(epoch from '2026-07-23 19:37:32'::timestamp) - extract(epoch from '2026-07-23 19:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024758 -3.357468)'), GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.357476)'))) / (select extract(epoch from '2026-07-23 19:37:32'::timestamp) - extract(epoch from '2026-07-23 19:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02475 -3.357497)', '2026-07-23 19:37:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.357476)'), GeomFromEWKT('SRID=4674;POINT (-39.02475 -3.357497)'))) / (select extract(epoch from '2026-07-23 19:37:35'::timestamp) - extract(epoch from '2026-07-23 19:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.357476)'), GeomFromEWKT('SRID=4674;POINT (-39.02475 -3.357497)'))) / (select extract(epoch from '2026-07-23 19:37:35'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.02474 -3.357545)', '2026-07-23 19:37:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02475 -3.357497)'), GeomFromEWKT('SRID=4674;POINT (-39.02474 -3.357545)'))) / (select extract(epoch from '2026-07-23 19:37:43'::timestamp) - extract(epoch from '2026-07-23 19:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02475 -3.357497)'), GeomFromEWKT('SRID=4674;POINT (-39.02474 -3.357545)'))) / (select extract(epoch from '2026-07-23 19:37:43'::timestamp) - extract(epoch from '2026-07-23 19:37:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024729 -3.35757)', '2026-07-23 19:37:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02474 -3.357545)'), GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.35757)'))) / (select extract(epoch from '2026-07-23 19:37:50'::timestamp) - extract(epoch from '2026-07-23 19:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02474 -3.357545)'), GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.35757)'))) / (select extract(epoch from '2026-07-23 19:37:50'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024711 -3.357572)', '2026-07-23 19:37:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.35757)'), GeomFromEWKT('SRID=4674;POINT (-39.024711 -3.357572)'))) / (select extract(epoch from '2026-07-23 19:37:57'::timestamp) - extract(epoch from '2026-07-23 19:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.35757)'), GeomFromEWKT('SRID=4674;POINT (-39.024711 -3.357572)'))) / (select extract(epoch from '2026-07-23 19:37:57'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024721 -3.357553)', '2026-07-23 19:38:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024711 -3.357572)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357553)'))) / (select extract(epoch from '2026-07-23 19:38:04'::timestamp) - extract(epoch from '2026-07-23 19:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024711 -3.357572)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357553)'))) / (select extract(epoch from '2026-07-23 19:38:04'::timestamp) - extract(epoch from '2026-07-23 19:37: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'), 47446, 'SRID=4674;POINT (-39.024727 -3.35753)', '2026-07-23 19:38:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357553)'), GeomFromEWKT('SRID=4674;POINT (-39.024727 -3.35753)'))) / (select extract(epoch from '2026-07-23 19:38:09'::timestamp) - extract(epoch from '2026-07-23 19:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357553)'), GeomFromEWKT('SRID=4674;POINT (-39.024727 -3.35753)'))) / (select extract(epoch from '2026-07-23 19:38:09'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024721 -3.357517)', '2026-07-23 19:38:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024727 -3.35753)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357517)'))) / (select extract(epoch from '2026-07-23 19:38:14'::timestamp) - extract(epoch from '2026-07-23 19:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024727 -3.35753)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357517)'))) / (select extract(epoch from '2026-07-23 19:38:14'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024715 -3.357525)', '2026-07-23 19:38:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357517)'), GeomFromEWKT('SRID=4674;POINT (-39.024715 -3.357525)'))) / (select extract(epoch from '2026-07-23 19:38:19'::timestamp) - extract(epoch from '2026-07-23 19:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357517)'), GeomFromEWKT('SRID=4674;POINT (-39.024715 -3.357525)'))) / (select extract(epoch from '2026-07-23 19:38:19'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024721 -3.357574)', '2026-07-23 19:38:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024715 -3.357525)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357574)'))) / (select extract(epoch from '2026-07-23 19:38:29'::timestamp) - extract(epoch from '2026-07-23 19:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024715 -3.357525)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357574)'))) / (select extract(epoch from '2026-07-23 19:38:29'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024734 -3.357609)', '2026-07-23 19:38:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357574)'), GeomFromEWKT('SRID=4674;POINT (-39.024734 -3.357609)'))) / (select extract(epoch from '2026-07-23 19:38:35'::timestamp) - extract(epoch from '2026-07-23 19:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.357574)'), GeomFromEWKT('SRID=4674;POINT (-39.024734 -3.357609)'))) / (select extract(epoch from '2026-07-23 19:38:35'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024737 -3.357614)', '2026-07-23 19:38:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024734 -3.357609)'), GeomFromEWKT('SRID=4674;POINT (-39.024737 -3.357614)'))) / (select extract(epoch from '2026-07-23 19:38:36'::timestamp) - extract(epoch from '2026-07-23 19:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024734 -3.357609)'), GeomFromEWKT('SRID=4674;POINT (-39.024737 -3.357614)'))) / (select extract(epoch from '2026-07-23 19:38:36'::timestamp) - extract(epoch from '2026-07-23 19:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024751 -3.357644)', '2026-07-23 19:38:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024737 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-39.024751 -3.357644)'))) / (select extract(epoch from '2026-07-23 19:38:40'::timestamp) - extract(epoch from '2026-07-23 19:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024737 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-39.024751 -3.357644)'))) / (select extract(epoch from '2026-07-23 19:38:40'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024762 -3.357676)', '2026-07-23 19:38:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024751 -3.357644)'), GeomFromEWKT('SRID=4674;POINT (-39.024762 -3.357676)'))) / (select extract(epoch from '2026-07-23 19:38:44'::timestamp) - extract(epoch from '2026-07-23 19:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024751 -3.357644)'), GeomFromEWKT('SRID=4674;POINT (-39.024762 -3.357676)'))) / (select extract(epoch from '2026-07-23 19:38:44'::timestamp) - extract(epoch from '2026-07-23 19:38:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024772 -3.357702)', '2026-07-23 19:38:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024762 -3.357676)'), GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357702)'))) / (select extract(epoch from '2026-07-23 19:38:47'::timestamp) - extract(epoch from '2026-07-23 19:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024762 -3.357676)'), GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357702)'))) / (select extract(epoch from '2026-07-23 19:38:47'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024775 -3.35771)', '2026-07-23 19:38:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357702)'), GeomFromEWKT('SRID=4674;POINT (-39.024775 -3.35771)'))) / (select extract(epoch from '2026-07-23 19:38:48'::timestamp) - extract(epoch from '2026-07-23 19:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024772 -3.357702)'), GeomFromEWKT('SRID=4674;POINT (-39.024775 -3.35771)'))) / (select extract(epoch from '2026-07-23 19:38:48'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024792 -3.357746)', '2026-07-23 19:38:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024775 -3.35771)'), GeomFromEWKT('SRID=4674;POINT (-39.024792 -3.357746)'))) / (select extract(epoch from '2026-07-23 19:38:52'::timestamp) - extract(epoch from '2026-07-23 19:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024775 -3.35771)'), GeomFromEWKT('SRID=4674;POINT (-39.024792 -3.357746)'))) / (select extract(epoch from '2026-07-23 19:38:52'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024795 -3.357755)', '2026-07-23 19:38:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024792 -3.357746)'), GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.357755)'))) / (select extract(epoch from '2026-07-23 19:38:53'::timestamp) - extract(epoch from '2026-07-23 19:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024792 -3.357746)'), GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.357755)'))) / (select extract(epoch from '2026-07-23 19:38:53'::timestamp) - extract(epoch from '2026-07-23 19:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0248 -3.357765)', '2026-07-23 19:38:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.357755)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.357765)'))) / (select extract(epoch from '2026-07-23 19:38:54'::timestamp) - extract(epoch from '2026-07-23 19:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.357755)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.357765)'))) / (select extract(epoch from '2026-07-23 19:38:54'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024809 -3.357801)', '2026-07-23 19:38:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.357765)'), GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357801)'))) / (select extract(epoch from '2026-07-23 19:38:57'::timestamp) - extract(epoch from '2026-07-23 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.357765)'), GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357801)'))) / (select extract(epoch from '2026-07-23 19:38:57'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024809 -3.357813)', '2026-07-23 19:38:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357801)'), GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357813)'))) / (select extract(epoch from '2026-07-23 19:38:58'::timestamp) - extract(epoch from '2026-07-23 19:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357801)'), GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357813)'))) / (select extract(epoch from '2026-07-23 19:38:58'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024811 -3.357869)', '2026-07-23 19:39:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357813)'), GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357869)'))) / (select extract(epoch from '2026-07-23 19:39:02'::timestamp) - extract(epoch from '2026-07-23 19:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024809 -3.357813)'), GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357869)'))) / (select extract(epoch from '2026-07-23 19:39:02'::timestamp) - extract(epoch from '2026-07-23 19:38: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'), 47446, 'SRID=4674;POINT (-39.024811 -3.357891)', '2026-07-23 19:39:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357869)'), GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357891)'))) / (select extract(epoch from '2026-07-23 19:39:04'::timestamp) - extract(epoch from '2026-07-23 19:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357869)'), GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357891)'))) / (select extract(epoch from '2026-07-23 19:39:04'::timestamp) - extract(epoch from '2026-07-23 19:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024817 -3.357905)', '2026-07-23 19:39:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357891)'), GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.357905)'))) / (select extract(epoch from '2026-07-23 19:39:05'::timestamp) - extract(epoch from '2026-07-23 19:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024811 -3.357891)'), GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.357905)'))) / (select extract(epoch from '2026-07-23 19:39:05'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024815 -3.357978)', '2026-07-23 19:39:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.357905)'), GeomFromEWKT('SRID=4674;POINT (-39.024815 -3.357978)'))) / (select extract(epoch from '2026-07-23 19:39:10'::timestamp) - extract(epoch from '2026-07-23 19:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.357905)'), GeomFromEWKT('SRID=4674;POINT (-39.024815 -3.357978)'))) / (select extract(epoch from '2026-07-23 19:39:10'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024822 -3.358029)', '2026-07-23 19:39:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024815 -3.357978)'), GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.358029)'))) / (select extract(epoch from '2026-07-23 19:39:13'::timestamp) - extract(epoch from '2026-07-23 19:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024815 -3.357978)'), GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.358029)'))) / (select extract(epoch from '2026-07-23 19:39:13'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024821 -3.35806)', '2026-07-23 19:39:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.358029)'), GeomFromEWKT('SRID=4674;POINT (-39.024821 -3.35806)'))) / (select extract(epoch from '2026-07-23 19:39:15'::timestamp) - extract(epoch from '2026-07-23 19:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024822 -3.358029)'), GeomFromEWKT('SRID=4674;POINT (-39.024821 -3.35806)'))) / (select extract(epoch from '2026-07-23 19:39:15'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024812 -3.358167)', '2026-07-23 19:39:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024821 -3.35806)'), GeomFromEWKT('SRID=4674;POINT (-39.024812 -3.358167)'))) / (select extract(epoch from '2026-07-23 19:39:21'::timestamp) - extract(epoch from '2026-07-23 19:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024821 -3.35806)'), GeomFromEWKT('SRID=4674;POINT (-39.024812 -3.358167)'))) / (select extract(epoch from '2026-07-23 19:39:21'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024803 -3.35828)', '2026-07-23 19:39:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024812 -3.358167)'), GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.35828)'))) / (select extract(epoch from '2026-07-23 19:39:27'::timestamp) - extract(epoch from '2026-07-23 19:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024812 -3.358167)'), GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.35828)'))) / (select extract(epoch from '2026-07-23 19:39:27'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.02479 -3.358378)', '2026-07-23 19:39:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.35828)'), GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.358378)'))) / (select extract(epoch from '2026-07-23 19:39:32'::timestamp) - extract(epoch from '2026-07-23 19:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.35828)'), GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.358378)'))) / (select extract(epoch from '2026-07-23 19:39:32'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024784 -3.358468)', '2026-07-23 19:39:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.358378)'), GeomFromEWKT('SRID=4674;POINT (-39.024784 -3.358468)'))) / (select extract(epoch from '2026-07-23 19:39:37'::timestamp) - extract(epoch from '2026-07-23 19:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.358378)'), GeomFromEWKT('SRID=4674;POINT (-39.024784 -3.358468)'))) / (select extract(epoch from '2026-07-23 19:39:37'::timestamp) - extract(epoch from '2026-07-23 19:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024789 -3.358549)', '2026-07-23 19:39:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024784 -3.358468)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.358549)'))) / (select extract(epoch from '2026-07-23 19:39:41'::timestamp) - extract(epoch from '2026-07-23 19:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024784 -3.358468)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.358549)'))) / (select extract(epoch from '2026-07-23 19:39:41'::timestamp) - extract(epoch from '2026-07-23 19:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024786 -3.358642)', '2026-07-23 19:39:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.358549)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.358642)'))) / (select extract(epoch from '2026-07-23 19:39:46'::timestamp) - extract(epoch from '2026-07-23 19:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.358549)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.358642)'))) / (select extract(epoch from '2026-07-23 19:39:46'::timestamp) - extract(epoch from '2026-07-23 19:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024787 -3.358659)', '2026-07-23 19:39:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.358642)'), GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.358659)'))) / (select extract(epoch from '2026-07-23 19:39:47'::timestamp) - extract(epoch from '2026-07-23 19:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.358642)'), GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.358659)'))) / (select extract(epoch from '2026-07-23 19:39:47'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024788 -3.358733)', '2026-07-23 19:39:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.358659)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358733)'))) / (select extract(epoch from '2026-07-23 19:39:51'::timestamp) - extract(epoch from '2026-07-23 19:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024787 -3.358659)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358733)'))) / (select extract(epoch from '2026-07-23 19:39:51'::timestamp) - extract(epoch from '2026-07-23 19:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024788 -3.358825)', '2026-07-23 19:39:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358733)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358825)'))) / (select extract(epoch from '2026-07-23 19:39:56'::timestamp) - extract(epoch from '2026-07-23 19:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358733)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358825)'))) / (select extract(epoch from '2026-07-23 19:39:56'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024785 -3.35894)', '2026-07-23 19:40:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358825)'), GeomFromEWKT('SRID=4674;POINT (-39.024785 -3.35894)'))) / (select extract(epoch from '2026-07-23 19:40:02'::timestamp) - extract(epoch from '2026-07-23 19:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.358825)'), GeomFromEWKT('SRID=4674;POINT (-39.024785 -3.35894)'))) / (select extract(epoch from '2026-07-23 19:40:02'::timestamp) - extract(epoch from '2026-07-23 19:39: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'), 47446, 'SRID=4674;POINT (-39.024791 -3.359061)', '2026-07-23 19:40:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024785 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359061)'))) / (select extract(epoch from '2026-07-23 19:40:08'::timestamp) - extract(epoch from '2026-07-23 19:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024785 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359061)'))) / (select extract(epoch from '2026-07-23 19:40:08'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.02479 -3.359162)', '2026-07-23 19:40:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359061)'), GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.359162)'))) / (select extract(epoch from '2026-07-23 19:40:13'::timestamp) - extract(epoch from '2026-07-23 19:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359061)'), GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.359162)'))) / (select extract(epoch from '2026-07-23 19:40:13'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024791 -3.359264)', '2026-07-23 19:40:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.359162)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359264)'))) / (select extract(epoch from '2026-07-23 19:40:18'::timestamp) - extract(epoch from '2026-07-23 19:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02479 -3.359162)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359264)'))) / (select extract(epoch from '2026-07-23 19:40:18'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024789 -3.359356)', '2026-07-23 19:40:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359264)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.359356)'))) / (select extract(epoch from '2026-07-23 19:40:23'::timestamp) - extract(epoch from '2026-07-23 19:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359264)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.359356)'))) / (select extract(epoch from '2026-07-23 19:40:23'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024796 -3.359396)', '2026-07-23 19:40:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.359356)'), GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.359396)'))) / (select extract(epoch from '2026-07-23 19:40:25'::timestamp) - extract(epoch from '2026-07-23 19:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.359356)'), GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.359396)'))) / (select extract(epoch from '2026-07-23 19:40:25'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024806 -3.359437)', '2026-07-23 19:40:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.359396)'), GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359437)'))) / (select extract(epoch from '2026-07-23 19:40:27'::timestamp) - extract(epoch from '2026-07-23 19:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024796 -3.359396)'), GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359437)'))) / (select extract(epoch from '2026-07-23 19:40:27'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024806 -3.359479)', '2026-07-23 19:40:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359437)'), GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359479)'))) / (select extract(epoch from '2026-07-23 19:40:29'::timestamp) - extract(epoch from '2026-07-23 19:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359437)'), GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359479)'))) / (select extract(epoch from '2026-07-23 19:40:29'::timestamp) - extract(epoch from '2026-07-23 19:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024791 -3.359568)', '2026-07-23 19:40:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359479)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359568)'))) / (select extract(epoch from '2026-07-23 19:40:34'::timestamp) - extract(epoch from '2026-07-23 19:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024806 -3.359479)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359568)'))) / (select extract(epoch from '2026-07-23 19:40:34'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024788 -3.359699)', '2026-07-23 19:40:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359568)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.359699)'))) / (select extract(epoch from '2026-07-23 19:40:41'::timestamp) - extract(epoch from '2026-07-23 19:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.359568)'), GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.359699)'))) / (select extract(epoch from '2026-07-23 19:40:41'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024805 -3.359797)', '2026-07-23 19:40:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.359699)'), GeomFromEWKT('SRID=4674;POINT (-39.024805 -3.359797)'))) / (select extract(epoch from '2026-07-23 19:40:46'::timestamp) - extract(epoch from '2026-07-23 19:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024788 -3.359699)'), GeomFromEWKT('SRID=4674;POINT (-39.024805 -3.359797)'))) / (select extract(epoch from '2026-07-23 19:40:46'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.02482 -3.359939)', '2026-07-23 19:40:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024805 -3.359797)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.359939)'))) / (select extract(epoch from '2026-07-23 19:40:54'::timestamp) - extract(epoch from '2026-07-23 19:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024805 -3.359797)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.359939)'))) / (select extract(epoch from '2026-07-23 19:40:54'::timestamp) - extract(epoch from '2026-07-23 19:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024817 -3.360054)', '2026-07-23 19:41:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.359939)'), GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.360054)'))) / (select extract(epoch from '2026-07-23 19:41:00'::timestamp) - extract(epoch from '2026-07-23 19:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.359939)'), GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.360054)'))) / (select extract(epoch from '2026-07-23 19:41:00'::timestamp) - extract(epoch from '2026-07-23 19:40: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'), 47446, 'SRID=4674;POINT (-39.024827 -3.360167)', '2026-07-23 19:41:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.360054)'), GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.360167)'))) / (select extract(epoch from '2026-07-23 19:41:06'::timestamp) - extract(epoch from '2026-07-23 19:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024817 -3.360054)'), GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.360167)'))) / (select extract(epoch from '2026-07-23 19:41:06'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024823 -3.360266)', '2026-07-23 19:41:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.360167)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.360266)'))) / (select extract(epoch from '2026-07-23 19:41:11'::timestamp) - extract(epoch from '2026-07-23 19:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.360167)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.360266)'))) / (select extract(epoch from '2026-07-23 19:41:11'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024797 -3.360384)', '2026-07-23 19:41:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.360266)'), GeomFromEWKT('SRID=4674;POINT (-39.024797 -3.360384)'))) / (select extract(epoch from '2026-07-23 19:41:17'::timestamp) - extract(epoch from '2026-07-23 19:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.360266)'), GeomFromEWKT('SRID=4674;POINT (-39.024797 -3.360384)'))) / (select extract(epoch from '2026-07-23 19:41:17'::timestamp) - extract(epoch from '2026-07-23 19:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024776 -3.360483)', '2026-07-23 19:41:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024797 -3.360384)'), GeomFromEWKT('SRID=4674;POINT (-39.024776 -3.360483)'))) / (select extract(epoch from '2026-07-23 19:41:23'::timestamp) - extract(epoch from '2026-07-23 19:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024797 -3.360384)'), GeomFromEWKT('SRID=4674;POINT (-39.024776 -3.360483)'))) / (select extract(epoch from '2026-07-23 19:41:23'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024766 -3.360594)', '2026-07-23 19:41:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024776 -3.360483)'), GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360594)'))) / (select extract(epoch from '2026-07-23 19:41:29'::timestamp) - extract(epoch from '2026-07-23 19:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024776 -3.360483)'), GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360594)'))) / (select extract(epoch from '2026-07-23 19:41:29'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024766 -3.360687)', '2026-07-23 19:41:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360594)'), GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360687)'))) / (select extract(epoch from '2026-07-23 19:41:34'::timestamp) - extract(epoch from '2026-07-23 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360594)'), GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360687)'))) / (select extract(epoch from '2026-07-23 19:41:34'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024771 -3.360823)', '2026-07-23 19:41:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360687)'), GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.360823)'))) / (select extract(epoch from '2026-07-23 19:41:41'::timestamp) - extract(epoch from '2026-07-23 19:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024766 -3.360687)'), GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.360823)'))) / (select extract(epoch from '2026-07-23 19:41:41'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.02478 -3.360942)', '2026-07-23 19:41:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.360823)'), GeomFromEWKT('SRID=4674;POINT (-39.02478 -3.360942)'))) / (select extract(epoch from '2026-07-23 19:41:47'::timestamp) - extract(epoch from '2026-07-23 19:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.360823)'), GeomFromEWKT('SRID=4674;POINT (-39.02478 -3.360942)'))) / (select extract(epoch from '2026-07-23 19:41:47'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024782 -3.361042)', '2026-07-23 19:41:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02478 -3.360942)'), GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.361042)'))) / (select extract(epoch from '2026-07-23 19:41:52'::timestamp) - extract(epoch from '2026-07-23 19:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02478 -3.360942)'), GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.361042)'))) / (select extract(epoch from '2026-07-23 19:41:52'::timestamp) - extract(epoch from '2026-07-23 19:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024786 -3.36108)', '2026-07-23 19:41:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.361042)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.36108)'))) / (select extract(epoch from '2026-07-23 19:41:54'::timestamp) - extract(epoch from '2026-07-23 19:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.361042)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.36108)'))) / (select extract(epoch from '2026-07-23 19:41:54'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024791 -3.361123)', '2026-07-23 19:41:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.36108)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.361123)'))) / (select extract(epoch from '2026-07-23 19:41:56'::timestamp) - extract(epoch from '2026-07-23 19:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.36108)'), GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.361123)'))) / (select extract(epoch from '2026-07-23 19:41:56'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.0248 -3.361256)', '2026-07-23 19:42:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.361123)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.361256)'))) / (select extract(epoch from '2026-07-23 19:42:03'::timestamp) - extract(epoch from '2026-07-23 19:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024791 -3.361123)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.361256)'))) / (select extract(epoch from '2026-07-23 19:42:03'::timestamp) - extract(epoch from '2026-07-23 19:41: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'), 47446, 'SRID=4674;POINT (-39.024827 -3.361353)', '2026-07-23 19:42:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.361256)'), GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.361353)'))) / (select extract(epoch from '2026-07-23 19:42:08'::timestamp) - extract(epoch from '2026-07-23 19:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.361256)'), GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.361353)'))) / (select extract(epoch from '2026-07-23 19:42:08'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024836 -3.361469)', '2026-07-23 19:42:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.361353)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.361469)'))) / (select extract(epoch from '2026-07-23 19:42:14'::timestamp) - extract(epoch from '2026-07-23 19:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024827 -3.361353)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.361469)'))) / (select extract(epoch from '2026-07-23 19:42:14'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024844 -3.361568)', '2026-07-23 19:42:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.024844 -3.361568)'))) / (select extract(epoch from '2026-07-23 19:42:19'::timestamp) - extract(epoch from '2026-07-23 19:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.024844 -3.361568)'))) / (select extract(epoch from '2026-07-23 19:42:19'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024845 -3.361679)', '2026-07-23 19:42:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024844 -3.361568)'), GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.361679)'))) / (select extract(epoch from '2026-07-23 19:42:25'::timestamp) - extract(epoch from '2026-07-23 19:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024844 -3.361568)'), GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.361679)'))) / (select extract(epoch from '2026-07-23 19:42:25'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024849 -3.361714)', '2026-07-23 19:42:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.361679)'), GeomFromEWKT('SRID=4674;POINT (-39.024849 -3.361714)'))) / (select extract(epoch from '2026-07-23 19:42:27'::timestamp) - extract(epoch from '2026-07-23 19:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.361679)'), GeomFromEWKT('SRID=4674;POINT (-39.024849 -3.361714)'))) / (select extract(epoch from '2026-07-23 19:42:27'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024862 -3.361776)', '2026-07-23 19:42:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024849 -3.361714)'), GeomFromEWKT('SRID=4674;POINT (-39.024862 -3.361776)'))) / (select extract(epoch from '2026-07-23 19:42:30'::timestamp) - extract(epoch from '2026-07-23 19:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024849 -3.361714)'), GeomFromEWKT('SRID=4674;POINT (-39.024862 -3.361776)'))) / (select extract(epoch from '2026-07-23 19:42:30'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024879 -3.361868)', '2026-07-23 19:42:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024862 -3.361776)'), GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.361868)'))) / (select extract(epoch from '2026-07-23 19:42:35'::timestamp) - extract(epoch from '2026-07-23 19:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024862 -3.361776)'), GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.361868)'))) / (select extract(epoch from '2026-07-23 19:42:35'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024883 -3.361981)', '2026-07-23 19:42:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.361868)'), GeomFromEWKT('SRID=4674;POINT (-39.024883 -3.361981)'))) / (select extract(epoch from '2026-07-23 19:42:41'::timestamp) - extract(epoch from '2026-07-23 19:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.361868)'), GeomFromEWKT('SRID=4674;POINT (-39.024883 -3.361981)'))) / (select extract(epoch from '2026-07-23 19:42:41'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024904 -3.362096)', '2026-07-23 19:42:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024883 -3.361981)'), GeomFromEWKT('SRID=4674;POINT (-39.024904 -3.362096)'))) / (select extract(epoch from '2026-07-23 19:42:47'::timestamp) - extract(epoch from '2026-07-23 19:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024883 -3.361981)'), GeomFromEWKT('SRID=4674;POINT (-39.024904 -3.362096)'))) / (select extract(epoch from '2026-07-23 19:42:47'::timestamp) - extract(epoch from '2026-07-23 19:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024917 -3.362212)', '2026-07-23 19:42:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024904 -3.362096)'), GeomFromEWKT('SRID=4674;POINT (-39.024917 -3.362212)'))) / (select extract(epoch from '2026-07-23 19:42:53'::timestamp) - extract(epoch from '2026-07-23 19:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024904 -3.362096)'), GeomFromEWKT('SRID=4674;POINT (-39.024917 -3.362212)'))) / (select extract(epoch from '2026-07-23 19:42:53'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024929 -3.362316)', '2026-07-23 19:42:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024917 -3.362212)'), GeomFromEWKT('SRID=4674;POINT (-39.024929 -3.362316)'))) / (select extract(epoch from '2026-07-23 19:42:58'::timestamp) - extract(epoch from '2026-07-23 19:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024917 -3.362212)'), GeomFromEWKT('SRID=4674;POINT (-39.024929 -3.362316)'))) / (select extract(epoch from '2026-07-23 19:42:58'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024939 -3.362409)', '2026-07-23 19:43:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024929 -3.362316)'), GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.362409)'))) / (select extract(epoch from '2026-07-23 19:43:03'::timestamp) - extract(epoch from '2026-07-23 19:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024929 -3.362316)'), GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.362409)'))) / (select extract(epoch from '2026-07-23 19:43:03'::timestamp) - extract(epoch from '2026-07-23 19:42: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'), 47446, 'SRID=4674;POINT (-39.024955 -3.362512)', '2026-07-23 19:43:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.362409)'), GeomFromEWKT('SRID=4674;POINT (-39.024955 -3.362512)'))) / (select extract(epoch from '2026-07-23 19:43:08'::timestamp) - extract(epoch from '2026-07-23 19:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.362409)'), GeomFromEWKT('SRID=4674;POINT (-39.024955 -3.362512)'))) / (select extract(epoch from '2026-07-23 19:43:08'::timestamp) - extract(epoch from '2026-07-23 19:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02496 -3.362531)', '2026-07-23 19:43:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024955 -3.362512)'), GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.362531)'))) / (select extract(epoch from '2026-07-23 19:43:09'::timestamp) - extract(epoch from '2026-07-23 19:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024955 -3.362512)'), GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.362531)'))) / (select extract(epoch from '2026-07-23 19:43:09'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.024969 -3.362569)', '2026-07-23 19:43:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.362531)'), GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362569)'))) / (select extract(epoch from '2026-07-23 19:43:11'::timestamp) - extract(epoch from '2026-07-23 19:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.362531)'), GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362569)'))) / (select extract(epoch from '2026-07-23 19:43:11'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.024969 -3.362607)', '2026-07-23 19:43:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362569)'), GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362607)'))) / (select extract(epoch from '2026-07-23 19:43:13'::timestamp) - extract(epoch from '2026-07-23 19:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362569)'), GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362607)'))) / (select extract(epoch from '2026-07-23 19:43:13'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.024973 -3.362721)', '2026-07-23 19:43:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362607)'), GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.362721)'))) / (select extract(epoch from '2026-07-23 19:43:19'::timestamp) - extract(epoch from '2026-07-23 19:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024969 -3.362607)'), GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.362721)'))) / (select extract(epoch from '2026-07-23 19:43:19'::timestamp) - extract(epoch from '2026-07-23 19:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025005 -3.362823)', '2026-07-23 19:43:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.362721)'), GeomFromEWKT('SRID=4674;POINT (-39.025005 -3.362823)'))) / (select extract(epoch from '2026-07-23 19:43:24'::timestamp) - extract(epoch from '2026-07-23 19:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.362721)'), GeomFromEWKT('SRID=4674;POINT (-39.025005 -3.362823)'))) / (select extract(epoch from '2026-07-23 19:43:24'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.025022 -3.362939)', '2026-07-23 19:43:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025005 -3.362823)'), GeomFromEWKT('SRID=4674;POINT (-39.025022 -3.362939)'))) / (select extract(epoch from '2026-07-23 19:43:30'::timestamp) - extract(epoch from '2026-07-23 19:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025005 -3.362823)'), GeomFromEWKT('SRID=4674;POINT (-39.025022 -3.362939)'))) / (select extract(epoch from '2026-07-23 19:43:30'::timestamp) - extract(epoch from '2026-07-23 19:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02502 -3.363055)', '2026-07-23 19:43:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025022 -3.362939)'), GeomFromEWKT('SRID=4674;POINT (-39.02502 -3.363055)'))) / (select extract(epoch from '2026-07-23 19:43:36'::timestamp) - extract(epoch from '2026-07-23 19:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025022 -3.362939)'), GeomFromEWKT('SRID=4674;POINT (-39.02502 -3.363055)'))) / (select extract(epoch from '2026-07-23 19:43:36'::timestamp) - extract(epoch from '2026-07-23 19:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025035 -3.363156)', '2026-07-23 19:43:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02502 -3.363055)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363156)'))) / (select extract(epoch from '2026-07-23 19:43:41'::timestamp) - extract(epoch from '2026-07-23 19:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02502 -3.363055)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363156)'))) / (select extract(epoch from '2026-07-23 19:43:41'::timestamp) - extract(epoch from '2026-07-23 19:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025033 -3.363173)', '2026-07-23 19:43:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363156)'), GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.363173)'))) / (select extract(epoch from '2026-07-23 19:43:42'::timestamp) - extract(epoch from '2026-07-23 19:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363156)'), GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.363173)'))) / (select extract(epoch from '2026-07-23 19:43:42'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.025038 -3.36323)', '2026-07-23 19:43:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.363173)'), GeomFromEWKT('SRID=4674;POINT (-39.025038 -3.36323)'))) / (select extract(epoch from '2026-07-23 19:43:45'::timestamp) - extract(epoch from '2026-07-23 19:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.363173)'), GeomFromEWKT('SRID=4674;POINT (-39.025038 -3.36323)'))) / (select extract(epoch from '2026-07-23 19:43:45'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.025048 -3.363344)', '2026-07-23 19:43:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025038 -3.36323)'), GeomFromEWKT('SRID=4674;POINT (-39.025048 -3.363344)'))) / (select extract(epoch from '2026-07-23 19:43:51'::timestamp) - extract(epoch from '2026-07-23 19:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025038 -3.36323)'), GeomFromEWKT('SRID=4674;POINT (-39.025048 -3.363344)'))) / (select extract(epoch from '2026-07-23 19:43:51'::timestamp) - extract(epoch from '2026-07-23 19:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025081 -3.363486)', '2026-07-23 19:43:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025048 -3.363344)'), GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.363486)'))) / (select extract(epoch from '2026-07-23 19:43:58'::timestamp) - extract(epoch from '2026-07-23 19:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025048 -3.363344)'), GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.363486)'))) / (select extract(epoch from '2026-07-23 19:43:58'::timestamp) - extract(epoch from '2026-07-23 19:43: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'), 47446, 'SRID=4674;POINT (-39.025099 -3.363583)', '2026-07-23 19:44:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.363486)'), GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.363583)'))) / (select extract(epoch from '2026-07-23 19:44:03'::timestamp) - extract(epoch from '2026-07-23 19:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025081 -3.363486)'), GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.363583)'))) / (select extract(epoch from '2026-07-23 19:44:03'::timestamp) - extract(epoch from '2026-07-23 19:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025116 -3.3637)', '2026-07-23 19:44:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.363583)'), GeomFromEWKT('SRID=4674;POINT (-39.025116 -3.3637)'))) / (select extract(epoch from '2026-07-23 19:44:09'::timestamp) - extract(epoch from '2026-07-23 19:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.363583)'), GeomFromEWKT('SRID=4674;POINT (-39.025116 -3.3637)'))) / (select extract(epoch from '2026-07-23 19:44:09'::timestamp) - extract(epoch from '2026-07-23 19:44: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'), 47446, 'SRID=4674;POINT (-39.025133 -3.363822)', '2026-07-23 19:44:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025116 -3.3637)'), GeomFromEWKT('SRID=4674;POINT (-39.025133 -3.363822)'))) / (select extract(epoch from '2026-07-23 19:44:15'::timestamp) - extract(epoch from '2026-07-23 19:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025116 -3.3637)'), GeomFromEWKT('SRID=4674;POINT (-39.025133 -3.363822)'))) / (select extract(epoch from '2026-07-23 19:44:15'::timestamp) - extract(epoch from '2026-07-23 19:44: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'), 47446, 'SRID=4674;POINT (-39.025149 -3.363898)', '2026-07-23 19:44:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025133 -3.363822)'), GeomFromEWKT('SRID=4674;POINT (-39.025149 -3.363898)'))) / (select extract(epoch from '2026-07-23 19:44:19'::timestamp) - extract(epoch from '2026-07-23 19:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025133 -3.363822)'), GeomFromEWKT('SRID=4674;POINT (-39.025149 -3.363898)'))) / (select extract(epoch from '2026-07-23 19:44:19'::timestamp) - extract(epoch from '2026-07-23 19:44: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'), 47446, 'SRID=4674;POINT (-39.025156 -3.363919)', '2026-07-23 19:44:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025149 -3.363898)'), GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363919)'))) / (select extract(epoch from '2026-07-23 19:44:20'::timestamp) - extract(epoch from '2026-07-23 19:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025149 -3.363898)'), GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363919)'))) / (select extract(epoch from '2026-07-23 19:44:20'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025176 -3.364051)', '2026-07-23 19:44:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363919)'), GeomFromEWKT('SRID=4674;POINT (-39.025176 -3.364051)'))) / (select extract(epoch from '2026-07-23 19:44:27'::timestamp) - extract(epoch from '2026-07-23 19:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363919)'), GeomFromEWKT('SRID=4674;POINT (-39.025176 -3.364051)'))) / (select extract(epoch from '2026-07-23 19:44:27'::timestamp) - extract(epoch from '2026-07-23 19:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025202 -3.36419)', '2026-07-23 19:44:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025176 -3.364051)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.36419)'))) / (select extract(epoch from '2026-07-23 19:44:34'::timestamp) - extract(epoch from '2026-07-23 19:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025176 -3.364051)'), GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.36419)'))) / (select extract(epoch from '2026-07-23 19:44:34'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.02523 -3.364277)', '2026-07-23 19:44:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.36419)'), GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.364277)'))) / (select extract(epoch from '2026-07-23 19:44:39'::timestamp) - extract(epoch from '2026-07-23 19:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025202 -3.36419)'), GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.364277)'))) / (select extract(epoch from '2026-07-23 19:44:39'::timestamp) - extract(epoch from '2026-07-23 19:44: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'), 47446, 'SRID=4674;POINT (-39.025266 -3.364388)', '2026-07-23 19:44:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.364277)'), GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.364388)'))) / (select extract(epoch from '2026-07-23 19:44:45'::timestamp) - extract(epoch from '2026-07-23 19:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.364277)'), GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.364388)'))) / (select extract(epoch from '2026-07-23 19:44:45'::timestamp) - extract(epoch from '2026-07-23 19:44: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'), 47446, 'SRID=4674;POINT (-39.025301 -3.364501)', '2026-07-23 19:44:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.364388)'), GeomFromEWKT('SRID=4674;POINT (-39.025301 -3.364501)'))) / (select extract(epoch from '2026-07-23 19:44:50'::timestamp) - extract(epoch from '2026-07-23 19:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.364388)'), GeomFromEWKT('SRID=4674;POINT (-39.025301 -3.364501)'))) / (select extract(epoch from '2026-07-23 19:44:50'::timestamp) - extract(epoch from '2026-07-23 19:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025322 -3.364634)', '2026-07-23 19:44:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025301 -3.364501)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.364634)'))) / (select extract(epoch from '2026-07-23 19:44:56'::timestamp) - extract(epoch from '2026-07-23 19:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025301 -3.364501)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.364634)'))) / (select extract(epoch from '2026-07-23 19:44:56'::timestamp) - extract(epoch from '2026-07-23 19:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025335 -3.364745)', '2026-07-23 19:45:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.364634)'), GeomFromEWKT('SRID=4674;POINT (-39.025335 -3.364745)'))) / (select extract(epoch from '2026-07-23 19:45:01'::timestamp) - extract(epoch from '2026-07-23 19:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.364634)'), GeomFromEWKT('SRID=4674;POINT (-39.025335 -3.364745)'))) / (select extract(epoch from '2026-07-23 19:45:01'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025367 -3.364873)', '2026-07-23 19:45:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025335 -3.364745)'), GeomFromEWKT('SRID=4674;POINT (-39.025367 -3.364873)'))) / (select extract(epoch from '2026-07-23 19:45:07'::timestamp) - extract(epoch from '2026-07-23 19:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025335 -3.364745)'), GeomFromEWKT('SRID=4674;POINT (-39.025367 -3.364873)'))) / (select extract(epoch from '2026-07-23 19:45:07'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025386 -3.365)', '2026-07-23 19:45:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025367 -3.364873)'), GeomFromEWKT('SRID=4674;POINT (-39.025386 -3.365)'))) / (select extract(epoch from '2026-07-23 19:45:13'::timestamp) - extract(epoch from '2026-07-23 19:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025367 -3.364873)'), GeomFromEWKT('SRID=4674;POINT (-39.025386 -3.365)'))) / (select extract(epoch from '2026-07-23 19:45:13'::timestamp) - extract(epoch from '2026-07-23 19:45: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'), 47446, 'SRID=4674;POINT (-39.025395 -3.365107)', '2026-07-23 19:45:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025386 -3.365)'), GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.365107)'))) / (select extract(epoch from '2026-07-23 19:45:18'::timestamp) - extract(epoch from '2026-07-23 19:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025386 -3.365)'), GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.365107)'))) / (select extract(epoch from '2026-07-23 19:45:18'::timestamp) - extract(epoch from '2026-07-23 19:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025414 -3.365229)', '2026-07-23 19:45:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.365107)'), GeomFromEWKT('SRID=4674;POINT (-39.025414 -3.365229)'))) / (select extract(epoch from '2026-07-23 19:45:24'::timestamp) - extract(epoch from '2026-07-23 19:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.365107)'), GeomFromEWKT('SRID=4674;POINT (-39.025414 -3.365229)'))) / (select extract(epoch from '2026-07-23 19:45:24'::timestamp) - extract(epoch from '2026-07-23 19:45: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'), 47446, 'SRID=4674;POINT (-39.025435 -3.365359)', '2026-07-23 19:45:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025414 -3.365229)'), GeomFromEWKT('SRID=4674;POINT (-39.025435 -3.365359)'))) / (select extract(epoch from '2026-07-23 19:45:30'::timestamp) - extract(epoch from '2026-07-23 19:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025414 -3.365229)'), GeomFromEWKT('SRID=4674;POINT (-39.025435 -3.365359)'))) / (select extract(epoch from '2026-07-23 19:45:30'::timestamp) - extract(epoch from '2026-07-23 19:45: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'), 47446, 'SRID=4674;POINT (-39.025458 -3.365493)', '2026-07-23 19:45:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025435 -3.365359)'), GeomFromEWKT('SRID=4674;POINT (-39.025458 -3.365493)'))) / (select extract(epoch from '2026-07-23 19:45:36'::timestamp) - extract(epoch from '2026-07-23 19:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025435 -3.365359)'), GeomFromEWKT('SRID=4674;POINT (-39.025458 -3.365493)'))) / (select extract(epoch from '2026-07-23 19:45:36'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025506 -3.365665)', '2026-07-23 19:45:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025458 -3.365493)'), GeomFromEWKT('SRID=4674;POINT (-39.025506 -3.365665)'))) / (select extract(epoch from '2026-07-23 19:45:44'::timestamp) - extract(epoch from '2026-07-23 19:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025458 -3.365493)'), GeomFromEWKT('SRID=4674;POINT (-39.025506 -3.365665)'))) / (select extract(epoch from '2026-07-23 19:45:44'::timestamp) - extract(epoch from '2026-07-23 19:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025531 -3.3658)', '2026-07-23 19:45:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025506 -3.365665)'), GeomFromEWKT('SRID=4674;POINT (-39.025531 -3.3658)'))) / (select extract(epoch from '2026-07-23 19:45:50'::timestamp) - extract(epoch from '2026-07-23 19:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025506 -3.365665)'), GeomFromEWKT('SRID=4674;POINT (-39.025531 -3.3658)'))) / (select extract(epoch from '2026-07-23 19:45:50'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025572 -3.365951)', '2026-07-23 19:45:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025531 -3.3658)'), GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.365951)'))) / (select extract(epoch from '2026-07-23 19:45:57'::timestamp) - extract(epoch from '2026-07-23 19:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025531 -3.3658)'), GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.365951)'))) / (select extract(epoch from '2026-07-23 19:45:57'::timestamp) - extract(epoch from '2026-07-23 19:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025594 -3.366065)', '2026-07-23 19:46:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.365951)'), GeomFromEWKT('SRID=4674;POINT (-39.025594 -3.366065)'))) / (select extract(epoch from '2026-07-23 19:46:02'::timestamp) - extract(epoch from '2026-07-23 19:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.365951)'), GeomFromEWKT('SRID=4674;POINT (-39.025594 -3.366065)'))) / (select extract(epoch from '2026-07-23 19:46:02'::timestamp) - extract(epoch from '2026-07-23 19:45: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'), 47446, 'SRID=4674;POINT (-39.025622 -3.366181)', '2026-07-23 19:46:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025594 -3.366065)'), GeomFromEWKT('SRID=4674;POINT (-39.025622 -3.366181)'))) / (select extract(epoch from '2026-07-23 19:46:07'::timestamp) - extract(epoch from '2026-07-23 19:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025594 -3.366065)'), GeomFromEWKT('SRID=4674;POINT (-39.025622 -3.366181)'))) / (select extract(epoch from '2026-07-23 19:46:07'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025654 -3.366294)', '2026-07-23 19:46:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025622 -3.366181)'), GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.366294)'))) / (select extract(epoch from '2026-07-23 19:46:12'::timestamp) - extract(epoch from '2026-07-23 19:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025622 -3.366181)'), GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.366294)'))) / (select extract(epoch from '2026-07-23 19:46:12'::timestamp) - extract(epoch from '2026-07-23 19:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025666 -3.366399)', '2026-07-23 19:46:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.366399)'))) / (select extract(epoch from '2026-07-23 19:46:17'::timestamp) - extract(epoch from '2026-07-23 19:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.366399)'))) / (select extract(epoch from '2026-07-23 19:46:17'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025687 -3.366509)', '2026-07-23 19:46:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.366399)'), GeomFromEWKT('SRID=4674;POINT (-39.025687 -3.366509)'))) / (select extract(epoch from '2026-07-23 19:46:22'::timestamp) - extract(epoch from '2026-07-23 19:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.366399)'), GeomFromEWKT('SRID=4674;POINT (-39.025687 -3.366509)'))) / (select extract(epoch from '2026-07-23 19:46:22'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025713 -3.366624)', '2026-07-23 19:46:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025687 -3.366509)'), GeomFromEWKT('SRID=4674;POINT (-39.025713 -3.366624)'))) / (select extract(epoch from '2026-07-23 19:46:27'::timestamp) - extract(epoch from '2026-07-23 19:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025687 -3.366509)'), GeomFromEWKT('SRID=4674;POINT (-39.025713 -3.366624)'))) / (select extract(epoch from '2026-07-23 19:46:27'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025742 -3.366735)', '2026-07-23 19:46:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025713 -3.366624)'), GeomFromEWKT('SRID=4674;POINT (-39.025742 -3.366735)'))) / (select extract(epoch from '2026-07-23 19:46:32'::timestamp) - extract(epoch from '2026-07-23 19:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025713 -3.366624)'), GeomFromEWKT('SRID=4674;POINT (-39.025742 -3.366735)'))) / (select extract(epoch from '2026-07-23 19:46:32'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025759 -3.36684)', '2026-07-23 19:46:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025742 -3.366735)'), GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.36684)'))) / (select extract(epoch from '2026-07-23 19:46:37'::timestamp) - extract(epoch from '2026-07-23 19:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025742 -3.366735)'), GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.36684)'))) / (select extract(epoch from '2026-07-23 19:46:37'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025789 -3.366952)', '2026-07-23 19:46:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.36684)'), GeomFromEWKT('SRID=4674;POINT (-39.025789 -3.366952)'))) / (select extract(epoch from '2026-07-23 19:46:42'::timestamp) - extract(epoch from '2026-07-23 19:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025759 -3.36684)'), GeomFromEWKT('SRID=4674;POINT (-39.025789 -3.366952)'))) / (select extract(epoch from '2026-07-23 19:46:42'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025827 -3.3671)', '2026-07-23 19:46:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025789 -3.366952)'), GeomFromEWKT('SRID=4674;POINT (-39.025827 -3.3671)'))) / (select extract(epoch from '2026-07-23 19:46:49'::timestamp) - extract(epoch from '2026-07-23 19:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025789 -3.366952)'), GeomFromEWKT('SRID=4674;POINT (-39.025827 -3.3671)'))) / (select extract(epoch from '2026-07-23 19:46:49'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025854 -3.367206)', '2026-07-23 19:46:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025827 -3.3671)'), GeomFromEWKT('SRID=4674;POINT (-39.025854 -3.367206)'))) / (select extract(epoch from '2026-07-23 19:46:54'::timestamp) - extract(epoch from '2026-07-23 19:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025827 -3.3671)'), GeomFromEWKT('SRID=4674;POINT (-39.025854 -3.367206)'))) / (select extract(epoch from '2026-07-23 19:46:54'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025877 -3.367339)', '2026-07-23 19:47:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025854 -3.367206)'), GeomFromEWKT('SRID=4674;POINT (-39.025877 -3.367339)'))) / (select extract(epoch from '2026-07-23 19:47:00'::timestamp) - extract(epoch from '2026-07-23 19:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025854 -3.367206)'), GeomFromEWKT('SRID=4674;POINT (-39.025877 -3.367339)'))) / (select extract(epoch from '2026-07-23 19:47:00'::timestamp) - extract(epoch from '2026-07-23 19:46: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'), 47446, 'SRID=4674;POINT (-39.025917 -3.367492)', '2026-07-23 19:47:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025877 -3.367339)'), GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.367492)'))) / (select extract(epoch from '2026-07-23 19:47:07'::timestamp) - extract(epoch from '2026-07-23 19:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025877 -3.367339)'), GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.367492)'))) / (select extract(epoch from '2026-07-23 19:47:07'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025932 -3.367602)', '2026-07-23 19:47:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.367492)'), GeomFromEWKT('SRID=4674;POINT (-39.025932 -3.367602)'))) / (select extract(epoch from '2026-07-23 19:47:12'::timestamp) - extract(epoch from '2026-07-23 19:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.367492)'), GeomFromEWKT('SRID=4674;POINT (-39.025932 -3.367602)'))) / (select extract(epoch from '2026-07-23 19:47:12'::timestamp) - extract(epoch from '2026-07-23 19:47: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'), 47446, 'SRID=4674;POINT (-39.025945 -3.367711)', '2026-07-23 19:47:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025932 -3.367602)'), GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.367711)'))) / (select extract(epoch from '2026-07-23 19:47:17'::timestamp) - extract(epoch from '2026-07-23 19:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025932 -3.367602)'), GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.367711)'))) / (select extract(epoch from '2026-07-23 19:47:17'::timestamp) - extract(epoch from '2026-07-23 19:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025967 -3.367841)', '2026-07-23 19:47:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.367711)'), GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.367841)'))) / (select extract(epoch from '2026-07-23 19:47:23'::timestamp) - extract(epoch from '2026-07-23 19:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.367711)'), GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.367841)'))) / (select extract(epoch from '2026-07-23 19:47:23'::timestamp) - extract(epoch from '2026-07-23 19:47: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'), 47446, 'SRID=4674;POINT (-39.025981 -3.36795)', '2026-07-23 19:47:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.367841)'), GeomFromEWKT('SRID=4674;POINT (-39.025981 -3.36795)'))) / (select extract(epoch from '2026-07-23 19:47:28'::timestamp) - extract(epoch from '2026-07-23 19:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.367841)'), GeomFromEWKT('SRID=4674;POINT (-39.025981 -3.36795)'))) / (select extract(epoch from '2026-07-23 19:47:28'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.025995 -3.368069)', '2026-07-23 19:47:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025981 -3.36795)'), GeomFromEWKT('SRID=4674;POINT (-39.025995 -3.368069)'))) / (select extract(epoch from '2026-07-23 19:47:33'::timestamp) - extract(epoch from '2026-07-23 19:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025981 -3.36795)'), GeomFromEWKT('SRID=4674;POINT (-39.025995 -3.368069)'))) / (select extract(epoch from '2026-07-23 19:47:33'::timestamp) - extract(epoch from '2026-07-23 19:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026007 -3.368197)', '2026-07-23 19:47:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025995 -3.368069)'), GeomFromEWKT('SRID=4674;POINT (-39.026007 -3.368197)'))) / (select extract(epoch from '2026-07-23 19:47:39'::timestamp) - extract(epoch from '2026-07-23 19:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025995 -3.368069)'), GeomFromEWKT('SRID=4674;POINT (-39.026007 -3.368197)'))) / (select extract(epoch from '2026-07-23 19:47:39'::timestamp) - extract(epoch from '2026-07-23 19:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026016 -3.368329)', '2026-07-23 19:47:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026007 -3.368197)'), GeomFromEWKT('SRID=4674;POINT (-39.026016 -3.368329)'))) / (select extract(epoch from '2026-07-23 19:47:45'::timestamp) - extract(epoch from '2026-07-23 19:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026007 -3.368197)'), GeomFromEWKT('SRID=4674;POINT (-39.026016 -3.368329)'))) / (select extract(epoch from '2026-07-23 19:47:45'::timestamp) - extract(epoch from '2026-07-23 19:47: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'), 47446, 'SRID=4674;POINT (-39.026042 -3.368485)', '2026-07-23 19:47:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026016 -3.368329)'), GeomFromEWKT('SRID=4674;POINT (-39.026042 -3.368485)'))) / (select extract(epoch from '2026-07-23 19:47:52'::timestamp) - extract(epoch from '2026-07-23 19:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026016 -3.368329)'), GeomFromEWKT('SRID=4674;POINT (-39.026042 -3.368485)'))) / (select extract(epoch from '2026-07-23 19:47:52'::timestamp) - extract(epoch from '2026-07-23 19:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026055 -3.368591)', '2026-07-23 19:47:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026042 -3.368485)'), GeomFromEWKT('SRID=4674;POINT (-39.026055 -3.368591)'))) / (select extract(epoch from '2026-07-23 19:47:57'::timestamp) - extract(epoch from '2026-07-23 19:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026042 -3.368485)'), GeomFromEWKT('SRID=4674;POINT (-39.026055 -3.368591)'))) / (select extract(epoch from '2026-07-23 19:47:57'::timestamp) - extract(epoch from '2026-07-23 19:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026078 -3.368725)', '2026-07-23 19:48:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026055 -3.368591)'), GeomFromEWKT('SRID=4674;POINT (-39.026078 -3.368725)'))) / (select extract(epoch from '2026-07-23 19:48:03'::timestamp) - extract(epoch from '2026-07-23 19:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026055 -3.368591)'), GeomFromEWKT('SRID=4674;POINT (-39.026078 -3.368725)'))) / (select extract(epoch from '2026-07-23 19:48:03'::timestamp) - extract(epoch from '2026-07-23 19:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026098 -3.36881)', '2026-07-23 19:48:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026078 -3.368725)'), GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.36881)'))) / (select extract(epoch from '2026-07-23 19:48:07'::timestamp) - extract(epoch from '2026-07-23 19:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026078 -3.368725)'), GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.36881)'))) / (select extract(epoch from '2026-07-23 19:48:07'::timestamp) - extract(epoch from '2026-07-23 19:48: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'), 47446, 'SRID=4674;POINT (-39.026123 -3.368938)', '2026-07-23 19:48:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.36881)'), GeomFromEWKT('SRID=4674;POINT (-39.026123 -3.368938)'))) / (select extract(epoch from '2026-07-23 19:48:13'::timestamp) - extract(epoch from '2026-07-23 19:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.36881)'), GeomFromEWKT('SRID=4674;POINT (-39.026123 -3.368938)'))) / (select extract(epoch from '2026-07-23 19:48:13'::timestamp) - extract(epoch from '2026-07-23 19:48: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'), 47446, 'SRID=4674;POINT (-39.026145 -3.369041)', '2026-07-23 19:48:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026123 -3.368938)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.369041)'))) / (select extract(epoch from '2026-07-23 19:48:18'::timestamp) - extract(epoch from '2026-07-23 19:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026123 -3.368938)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.369041)'))) / (select extract(epoch from '2026-07-23 19:48:18'::timestamp) - extract(epoch from '2026-07-23 19:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026172 -3.36915)', '2026-07-23 19:48:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.369041)'), GeomFromEWKT('SRID=4674;POINT (-39.026172 -3.36915)'))) / (select extract(epoch from '2026-07-23 19:48:23'::timestamp) - extract(epoch from '2026-07-23 19:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.369041)'), GeomFromEWKT('SRID=4674;POINT (-39.026172 -3.36915)'))) / (select extract(epoch from '2026-07-23 19:48:23'::timestamp) - extract(epoch from '2026-07-23 19:48: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'), 47446, 'SRID=4674;POINT (-39.026197 -3.369256)', '2026-07-23 19:48:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026172 -3.36915)'), GeomFromEWKT('SRID=4674;POINT (-39.026197 -3.369256)'))) / (select extract(epoch from '2026-07-23 19:48:28'::timestamp) - extract(epoch from '2026-07-23 19:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026172 -3.36915)'), GeomFromEWKT('SRID=4674;POINT (-39.026197 -3.369256)'))) / (select extract(epoch from '2026-07-23 19:48:28'::timestamp) - extract(epoch from '2026-07-23 19:48: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'), 47446, 'SRID=4674;POINT (-39.026231 -3.369387)', '2026-07-23 19:48:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026197 -3.369256)'), GeomFromEWKT('SRID=4674;POINT (-39.026231 -3.369387)'))) / (select extract(epoch from '2026-07-23 19:48:34'::timestamp) - extract(epoch from '2026-07-23 19:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026197 -3.369256)'), GeomFromEWKT('SRID=4674;POINT (-39.026231 -3.369387)'))) / (select extract(epoch from '2026-07-23 19:48:34'::timestamp) - extract(epoch from '2026-07-23 19:48: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'), 47446, 'SRID=4674;POINT (-39.026257 -3.369497)', '2026-07-23 19:48:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026231 -3.369387)'), GeomFromEWKT('SRID=4674;POINT (-39.026257 -3.369497)'))) / (select extract(epoch from '2026-07-23 19:48:39'::timestamp) - extract(epoch from '2026-07-23 19:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026231 -3.369387)'), GeomFromEWKT('SRID=4674;POINT (-39.026257 -3.369497)'))) / (select extract(epoch from '2026-07-23 19:48:39'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026272 -3.369605)', '2026-07-23 19:48:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026257 -3.369497)'), GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.369605)'))) / (select extract(epoch from '2026-07-23 19:48:44'::timestamp) - extract(epoch from '2026-07-23 19:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026257 -3.369497)'), GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.369605)'))) / (select extract(epoch from '2026-07-23 19:48:44'::timestamp) - extract(epoch from '2026-07-23 19:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026298 -3.369717)', '2026-07-23 19:48:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.369605)'), GeomFromEWKT('SRID=4674;POINT (-39.026298 -3.369717)'))) / (select extract(epoch from '2026-07-23 19:48:49'::timestamp) - extract(epoch from '2026-07-23 19:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.369605)'), GeomFromEWKT('SRID=4674;POINT (-39.026298 -3.369717)'))) / (select extract(epoch from '2026-07-23 19:48:49'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026324 -3.369821)', '2026-07-23 19:48:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026298 -3.369717)'), GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.369821)'))) / (select extract(epoch from '2026-07-23 19:48:54'::timestamp) - extract(epoch from '2026-07-23 19:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026298 -3.369717)'), GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.369821)'))) / (select extract(epoch from '2026-07-23 19:48:54'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026336 -3.369926)', '2026-07-23 19:48:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.369821)'), GeomFromEWKT('SRID=4674;POINT (-39.026336 -3.369926)'))) / (select extract(epoch from '2026-07-23 19:48:59'::timestamp) - extract(epoch from '2026-07-23 19:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.369821)'), GeomFromEWKT('SRID=4674;POINT (-39.026336 -3.369926)'))) / (select extract(epoch from '2026-07-23 19:48:59'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026356 -3.370058)', '2026-07-23 19:49:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026336 -3.369926)'), GeomFromEWKT('SRID=4674;POINT (-39.026356 -3.370058)'))) / (select extract(epoch from '2026-07-23 19:49:05'::timestamp) - extract(epoch from '2026-07-23 19:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026336 -3.369926)'), GeomFromEWKT('SRID=4674;POINT (-39.026356 -3.370058)'))) / (select extract(epoch from '2026-07-23 19:49:05'::timestamp) - extract(epoch from '2026-07-23 19:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026372 -3.370183)', '2026-07-23 19:49:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026356 -3.370058)'), GeomFromEWKT('SRID=4674;POINT (-39.026372 -3.370183)'))) / (select extract(epoch from '2026-07-23 19:49:11'::timestamp) - extract(epoch from '2026-07-23 19:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026356 -3.370058)'), GeomFromEWKT('SRID=4674;POINT (-39.026372 -3.370183)'))) / (select extract(epoch from '2026-07-23 19:49:11'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026395 -3.37032)', '2026-07-23 19:49:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026372 -3.370183)'), GeomFromEWKT('SRID=4674;POINT (-39.026395 -3.37032)'))) / (select extract(epoch from '2026-07-23 19:49:17'::timestamp) - extract(epoch from '2026-07-23 19:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026372 -3.370183)'), GeomFromEWKT('SRID=4674;POINT (-39.026395 -3.37032)'))) / (select extract(epoch from '2026-07-23 19:49:17'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026416 -3.370448)', '2026-07-23 19:49:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026395 -3.37032)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.370448)'))) / (select extract(epoch from '2026-07-23 19:49:23'::timestamp) - extract(epoch from '2026-07-23 19:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026395 -3.37032)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.370448)'))) / (select extract(epoch from '2026-07-23 19:49:23'::timestamp) - extract(epoch from '2026-07-23 19:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026431 -3.37051)', '2026-07-23 19:49:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.370448)'), GeomFromEWKT('SRID=4674;POINT (-39.026431 -3.37051)'))) / (select extract(epoch from '2026-07-23 19:49:26'::timestamp) - extract(epoch from '2026-07-23 19:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.370448)'), GeomFromEWKT('SRID=4674;POINT (-39.026431 -3.37051)'))) / (select extract(epoch from '2026-07-23 19:49:26'::timestamp) - extract(epoch from '2026-07-23 19:49:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026447 -3.370557)', '2026-07-23 19:49:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026431 -3.37051)'), GeomFromEWKT('SRID=4674;POINT (-39.026447 -3.370557)'))) / (select extract(epoch from '2026-07-23 19:49:28'::timestamp) - extract(epoch from '2026-07-23 19:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026431 -3.37051)'), GeomFromEWKT('SRID=4674;POINT (-39.026447 -3.370557)'))) / (select extract(epoch from '2026-07-23 19:49:28'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026444 -3.370611)', '2026-07-23 19:49:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026447 -3.370557)'), GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.370611)'))) / (select extract(epoch from '2026-07-23 19:49:31'::timestamp) - extract(epoch from '2026-07-23 19:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026447 -3.370557)'), GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.370611)'))) / (select extract(epoch from '2026-07-23 19:49:31'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026469 -3.370657)', '2026-07-23 19:49:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.370611)'), GeomFromEWKT('SRID=4674;POINT (-39.026469 -3.370657)'))) / (select extract(epoch from '2026-07-23 19:49:33'::timestamp) - extract(epoch from '2026-07-23 19:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.370611)'), GeomFromEWKT('SRID=4674;POINT (-39.026469 -3.370657)'))) / (select extract(epoch from '2026-07-23 19:49:33'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026475 -3.370678)', '2026-07-23 19:49:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026469 -3.370657)'), GeomFromEWKT('SRID=4674;POINT (-39.026475 -3.370678)'))) / (select extract(epoch from '2026-07-23 19:49:34'::timestamp) - extract(epoch from '2026-07-23 19:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026469 -3.370657)'), GeomFromEWKT('SRID=4674;POINT (-39.026475 -3.370678)'))) / (select extract(epoch from '2026-07-23 19:49:34'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026473 -3.370743)', '2026-07-23 19:49:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026475 -3.370678)'), GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.370743)'))) / (select extract(epoch from '2026-07-23 19:49:37'::timestamp) - extract(epoch from '2026-07-23 19:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026475 -3.370678)'), GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.370743)'))) / (select extract(epoch from '2026-07-23 19:49:37'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026509 -3.370874)', '2026-07-23 19:49:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.370743)'), GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.370874)'))) / (select extract(epoch from '2026-07-23 19:49:43'::timestamp) - extract(epoch from '2026-07-23 19:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.370743)'), GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.370874)'))) / (select extract(epoch from '2026-07-23 19:49:43'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026526 -3.371004)', '2026-07-23 19:49:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.370874)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.371004)'))) / (select extract(epoch from '2026-07-23 19:49:49'::timestamp) - extract(epoch from '2026-07-23 19:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.370874)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.371004)'))) / (select extract(epoch from '2026-07-23 19:49:49'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026529 -3.371072)', '2026-07-23 19:49:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.371004)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.371072)'))) / (select extract(epoch from '2026-07-23 19:49:52'::timestamp) - extract(epoch from '2026-07-23 19:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.371004)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.371072)'))) / (select extract(epoch from '2026-07-23 19:49:52'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026548 -3.371117)', '2026-07-23 19:49:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.371072)'), GeomFromEWKT('SRID=4674;POINT (-39.026548 -3.371117)'))) / (select extract(epoch from '2026-07-23 19:49:54'::timestamp) - extract(epoch from '2026-07-23 19:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.371072)'), GeomFromEWKT('SRID=4674;POINT (-39.026548 -3.371117)'))) / (select extract(epoch from '2026-07-23 19:49:54'::timestamp) - extract(epoch from '2026-07-23 19:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026573 -3.371215)', '2026-07-23 19:49:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026548 -3.371117)'), GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.371215)'))) / (select extract(epoch from '2026-07-23 19:49:59'::timestamp) - extract(epoch from '2026-07-23 19:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026548 -3.371117)'), GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.371215)'))) / (select extract(epoch from '2026-07-23 19:49:59'::timestamp) - extract(epoch from '2026-07-23 19:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026593 -3.37136)', '2026-07-23 19:50:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.371215)'), GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.37136)'))) / (select extract(epoch from '2026-07-23 19:50:06'::timestamp) - extract(epoch from '2026-07-23 19:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.371215)'), GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.37136)'))) / (select extract(epoch from '2026-07-23 19:50:06'::timestamp) - extract(epoch from '2026-07-23 19:49: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'), 47446, 'SRID=4674;POINT (-39.026623 -3.371493)', '2026-07-23 19:50:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.37136)'), GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.371493)'))) / (select extract(epoch from '2026-07-23 19:50:12'::timestamp) - extract(epoch from '2026-07-23 19:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.37136)'), GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.371493)'))) / (select extract(epoch from '2026-07-23 19:50:12'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026646 -3.371623)', '2026-07-23 19:50:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.371493)'), GeomFromEWKT('SRID=4674;POINT (-39.026646 -3.371623)'))) / (select extract(epoch from '2026-07-23 19:50:18'::timestamp) - extract(epoch from '2026-07-23 19:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.371493)'), GeomFromEWKT('SRID=4674;POINT (-39.026646 -3.371623)'))) / (select extract(epoch from '2026-07-23 19:50:18'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026665 -3.371755)', '2026-07-23 19:50:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026646 -3.371623)'), GeomFromEWKT('SRID=4674;POINT (-39.026665 -3.371755)'))) / (select extract(epoch from '2026-07-23 19:50:24'::timestamp) - extract(epoch from '2026-07-23 19:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026646 -3.371623)'), GeomFromEWKT('SRID=4674;POINT (-39.026665 -3.371755)'))) / (select extract(epoch from '2026-07-23 19:50:24'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026692 -3.371863)', '2026-07-23 19:50:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026665 -3.371755)'), GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.371863)'))) / (select extract(epoch from '2026-07-23 19:50:29'::timestamp) - extract(epoch from '2026-07-23 19:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026665 -3.371755)'), GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.371863)'))) / (select extract(epoch from '2026-07-23 19:50:29'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026724 -3.371973)', '2026-07-23 19:50:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.371863)'), GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.371973)'))) / (select extract(epoch from '2026-07-23 19:50:34'::timestamp) - extract(epoch from '2026-07-23 19:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026692 -3.371863)'), GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.371973)'))) / (select extract(epoch from '2026-07-23 19:50:34'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026751 -3.372105)', '2026-07-23 19:50:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.371973)'), GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.372105)'))) / (select extract(epoch from '2026-07-23 19:50:40'::timestamp) - extract(epoch from '2026-07-23 19:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026724 -3.371973)'), GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.372105)'))) / (select extract(epoch from '2026-07-23 19:50:40'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026764 -3.372214)', '2026-07-23 19:50:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.372105)'), GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.372214)'))) / (select extract(epoch from '2026-07-23 19:50:45'::timestamp) - extract(epoch from '2026-07-23 19:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026751 -3.372105)'), GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.372214)'))) / (select extract(epoch from '2026-07-23 19:50:45'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026792 -3.372346)', '2026-07-23 19:50:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.372214)'), GeomFromEWKT('SRID=4674;POINT (-39.026792 -3.372346)'))) / (select extract(epoch from '2026-07-23 19:50:51'::timestamp) - extract(epoch from '2026-07-23 19:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.372214)'), GeomFromEWKT('SRID=4674;POINT (-39.026792 -3.372346)'))) / (select extract(epoch from '2026-07-23 19:50:51'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026819 -3.372496)', '2026-07-23 19:50:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026792 -3.372346)'), GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.372496)'))) / (select extract(epoch from '2026-07-23 19:50:58'::timestamp) - extract(epoch from '2026-07-23 19:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026792 -3.372346)'), GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.372496)'))) / (select extract(epoch from '2026-07-23 19:50:58'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026823 -3.372606)', '2026-07-23 19:51:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.372496)'), GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.372606)'))) / (select extract(epoch from '2026-07-23 19:51:03'::timestamp) - extract(epoch from '2026-07-23 19:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.372496)'), GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.372606)'))) / (select extract(epoch from '2026-07-23 19:51:03'::timestamp) - extract(epoch from '2026-07-23 19:50: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'), 47446, 'SRID=4674;POINT (-39.026818 -3.372719)', '2026-07-23 19:51:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.372606)'), GeomFromEWKT('SRID=4674;POINT (-39.026818 -3.372719)'))) / (select extract(epoch from '2026-07-23 19:51:08'::timestamp) - extract(epoch from '2026-07-23 19:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026823 -3.372606)'), GeomFromEWKT('SRID=4674;POINT (-39.026818 -3.372719)'))) / (select extract(epoch from '2026-07-23 19:51:08'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026834 -3.372829)', '2026-07-23 19:51:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026818 -3.372719)'), GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.372829)'))) / (select extract(epoch from '2026-07-23 19:51:13'::timestamp) - extract(epoch from '2026-07-23 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026818 -3.372719)'), GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.372829)'))) / (select extract(epoch from '2026-07-23 19:51:13'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026853 -3.372914)', '2026-07-23 19:51:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.372829)'), GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.372914)'))) / (select extract(epoch from '2026-07-23 19:51:17'::timestamp) - extract(epoch from '2026-07-23 19:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026834 -3.372829)'), GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.372914)'))) / (select extract(epoch from '2026-07-23 19:51:17'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026856 -3.373024)', '2026-07-23 19:51:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.372914)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.373024)'))) / (select extract(epoch from '2026-07-23 19:51:22'::timestamp) - extract(epoch from '2026-07-23 19:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026853 -3.372914)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.373024)'))) / (select extract(epoch from '2026-07-23 19:51:22'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026856 -3.37315)', '2026-07-23 19:51:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.373024)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.37315)'))) / (select extract(epoch from '2026-07-23 19:51:28'::timestamp) - extract(epoch from '2026-07-23 19:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.373024)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.37315)'))) / (select extract(epoch from '2026-07-23 19:51:28'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026869 -3.373256)', '2026-07-23 19:51:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.37315)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.373256)'))) / (select extract(epoch from '2026-07-23 19:51:33'::timestamp) - extract(epoch from '2026-07-23 19:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.37315)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.373256)'))) / (select extract(epoch from '2026-07-23 19:51:33'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.026887 -3.37334)', '2026-07-23 19:51:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.373256)'), GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.37334)'))) / (select extract(epoch from '2026-07-23 19:51:37'::timestamp) - extract(epoch from '2026-07-23 19:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.373256)'), GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.37334)'))) / (select extract(epoch from '2026-07-23 19:51:37'::timestamp) - extract(epoch from '2026-07-23 19:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026888 -3.37336)', '2026-07-23 19:51:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.37334)'), GeomFromEWKT('SRID=4674;POINT (-39.026888 -3.37336)'))) / (select extract(epoch from '2026-07-23 19:51:38'::timestamp) - extract(epoch from '2026-07-23 19:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.37334)'), GeomFromEWKT('SRID=4674;POINT (-39.026888 -3.37336)'))) / (select extract(epoch from '2026-07-23 19:51:38'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026907 -3.373473)', '2026-07-23 19:51:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026888 -3.37336)'), GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.373473)'))) / (select extract(epoch from '2026-07-23 19:51:43'::timestamp) - extract(epoch from '2026-07-23 19:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026888 -3.37336)'), GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.373473)'))) / (select extract(epoch from '2026-07-23 19:51:43'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026931 -3.373614)', '2026-07-23 19:51:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.373473)'), GeomFromEWKT('SRID=4674;POINT (-39.026931 -3.373614)'))) / (select extract(epoch from '2026-07-23 19:51:49'::timestamp) - extract(epoch from '2026-07-23 19:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026907 -3.373473)'), GeomFromEWKT('SRID=4674;POINT (-39.026931 -3.373614)'))) / (select extract(epoch from '2026-07-23 19:51:49'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.026952 -3.373766)', '2026-07-23 19:51:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026931 -3.373614)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.373766)'))) / (select extract(epoch from '2026-07-23 19:51:56'::timestamp) - extract(epoch from '2026-07-23 19:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026931 -3.373614)'), GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.373766)'))) / (select extract(epoch from '2026-07-23 19:51:56'::timestamp) - extract(epoch from '2026-07-23 19:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026963 -3.373905)', '2026-07-23 19:52:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.373766)'), GeomFromEWKT('SRID=4674;POINT (-39.026963 -3.373905)'))) / (select extract(epoch from '2026-07-23 19:52:02'::timestamp) - extract(epoch from '2026-07-23 19:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026952 -3.373766)'), GeomFromEWKT('SRID=4674;POINT (-39.026963 -3.373905)'))) / (select extract(epoch from '2026-07-23 19:52:02'::timestamp) - extract(epoch from '2026-07-23 19:51: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'), 47446, 'SRID=4674;POINT (-39.02698 -3.374038)', '2026-07-23 19:52:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026963 -3.373905)'), GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.374038)'))) / (select extract(epoch from '2026-07-23 19:52:08'::timestamp) - extract(epoch from '2026-07-23 19:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026963 -3.373905)'), GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.374038)'))) / (select extract(epoch from '2026-07-23 19:52:08'::timestamp) - extract(epoch from '2026-07-23 19:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027015 -3.374165)', '2026-07-23 19:52:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.374038)'), GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.374165)'))) / (select extract(epoch from '2026-07-23 19:52:14'::timestamp) - extract(epoch from '2026-07-23 19:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02698 -3.374038)'), GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.374165)'))) / (select extract(epoch from '2026-07-23 19:52:14'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027032 -3.3743)', '2026-07-23 19:52:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.374165)'), GeomFromEWKT('SRID=4674;POINT (-39.027032 -3.3743)'))) / (select extract(epoch from '2026-07-23 19:52:20'::timestamp) - extract(epoch from '2026-07-23 19:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027015 -3.374165)'), GeomFromEWKT('SRID=4674;POINT (-39.027032 -3.3743)'))) / (select extract(epoch from '2026-07-23 19:52:20'::timestamp) - extract(epoch from '2026-07-23 19:52: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'), 47446, 'SRID=4674;POINT (-39.027052 -3.374432)', '2026-07-23 19:52:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027032 -3.3743)'), GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.374432)'))) / (select extract(epoch from '2026-07-23 19:52:26'::timestamp) - extract(epoch from '2026-07-23 19:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027032 -3.3743)'), GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.374432)'))) / (select extract(epoch from '2026-07-23 19:52:26'::timestamp) - extract(epoch from '2026-07-23 19:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027079 -3.374546)', '2026-07-23 19:52:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.374432)'), GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.374546)'))) / (select extract(epoch from '2026-07-23 19:52:31'::timestamp) - extract(epoch from '2026-07-23 19:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.374432)'), GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.374546)'))) / (select extract(epoch from '2026-07-23 19:52:31'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027107 -3.374697)', '2026-07-23 19:52:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.374546)'), GeomFromEWKT('SRID=4674;POINT (-39.027107 -3.374697)'))) / (select extract(epoch from '2026-07-23 19:52:38'::timestamp) - extract(epoch from '2026-07-23 19:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.374546)'), GeomFromEWKT('SRID=4674;POINT (-39.027107 -3.374697)'))) / (select extract(epoch from '2026-07-23 19:52:38'::timestamp) - extract(epoch from '2026-07-23 19:52: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'), 47446, 'SRID=4674;POINT (-39.027121 -3.374835)', '2026-07-23 19:52:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027107 -3.374697)'), GeomFromEWKT('SRID=4674;POINT (-39.027121 -3.374835)'))) / (select extract(epoch from '2026-07-23 19:52:44'::timestamp) - extract(epoch from '2026-07-23 19:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027107 -3.374697)'), GeomFromEWKT('SRID=4674;POINT (-39.027121 -3.374835)'))) / (select extract(epoch from '2026-07-23 19:52:44'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027155 -3.374937)', '2026-07-23 19:52:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027121 -3.374835)'), GeomFromEWKT('SRID=4674;POINT (-39.027155 -3.374937)'))) / (select extract(epoch from '2026-07-23 19:52:49'::timestamp) - extract(epoch from '2026-07-23 19:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027121 -3.374835)'), GeomFromEWKT('SRID=4674;POINT (-39.027155 -3.374937)'))) / (select extract(epoch from '2026-07-23 19:52:49'::timestamp) - extract(epoch from '2026-07-23 19:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027178 -3.375049)', '2026-07-23 19:52:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027155 -3.374937)'), GeomFromEWKT('SRID=4674;POINT (-39.027178 -3.375049)'))) / (select extract(epoch from '2026-07-23 19:52:54'::timestamp) - extract(epoch from '2026-07-23 19:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027155 -3.374937)'), GeomFromEWKT('SRID=4674;POINT (-39.027178 -3.375049)'))) / (select extract(epoch from '2026-07-23 19:52:54'::timestamp) - extract(epoch from '2026-07-23 19:52: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'), 47446, 'SRID=4674;POINT (-39.027191 -3.375198)', '2026-07-23 19:53:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027178 -3.375049)'), GeomFromEWKT('SRID=4674;POINT (-39.027191 -3.375198)'))) / (select extract(epoch from '2026-07-23 19:53:01'::timestamp) - extract(epoch from '2026-07-23 19:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027178 -3.375049)'), GeomFromEWKT('SRID=4674;POINT (-39.027191 -3.375198)'))) / (select extract(epoch from '2026-07-23 19:53:01'::timestamp) - extract(epoch from '2026-07-23 19:52: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'), 47446, 'SRID=4674;POINT (-39.027192 -3.375217)', '2026-07-23 19:53:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027191 -3.375198)'), GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.375217)'))) / (select extract(epoch from '2026-07-23 19:53:02'::timestamp) - extract(epoch from '2026-07-23 19:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027191 -3.375198)'), GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.375217)'))) / (select extract(epoch from '2026-07-23 19:53:02'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027206 -3.375282)', '2026-07-23 19:53:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.375217)'), GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.375282)'))) / (select extract(epoch from '2026-07-23 19:53:05'::timestamp) - extract(epoch from '2026-07-23 19:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027192 -3.375217)'), GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.375282)'))) / (select extract(epoch from '2026-07-23 19:53:05'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027223 -3.375394)', '2026-07-23 19:53:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.375282)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.375394)'))) / (select extract(epoch from '2026-07-23 19:53:10'::timestamp) - extract(epoch from '2026-07-23 19:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.375282)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.375394)'))) / (select extract(epoch from '2026-07-23 19:53:10'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027249 -3.375504)', '2026-07-23 19:53:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.375394)'), GeomFromEWKT('SRID=4674;POINT (-39.027249 -3.375504)'))) / (select extract(epoch from '2026-07-23 19:53:15'::timestamp) - extract(epoch from '2026-07-23 19:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.375394)'), GeomFromEWKT('SRID=4674;POINT (-39.027249 -3.375504)'))) / (select extract(epoch from '2026-07-23 19:53:15'::timestamp) - extract(epoch from '2026-07-23 19:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027275 -3.375645)', '2026-07-23 19:53:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027249 -3.375504)'), GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.375645)'))) / (select extract(epoch from '2026-07-23 19:53:21'::timestamp) - extract(epoch from '2026-07-23 19:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027249 -3.375504)'), GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.375645)'))) / (select extract(epoch from '2026-07-23 19:53:21'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027295 -3.37582)', '2026-07-23 19:53:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.375645)'), GeomFromEWKT('SRID=4674;POINT (-39.027295 -3.37582)'))) / (select extract(epoch from '2026-07-23 19:53:29'::timestamp) - extract(epoch from '2026-07-23 19:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027275 -3.375645)'), GeomFromEWKT('SRID=4674;POINT (-39.027295 -3.37582)'))) / (select extract(epoch from '2026-07-23 19:53:29'::timestamp) - extract(epoch from '2026-07-23 19:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027297 -3.37598)', '2026-07-23 19:53:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027295 -3.37582)'), GeomFromEWKT('SRID=4674;POINT (-39.027297 -3.37598)'))) / (select extract(epoch from '2026-07-23 19:53:36'::timestamp) - extract(epoch from '2026-07-23 19:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027295 -3.37582)'), GeomFromEWKT('SRID=4674;POINT (-39.027297 -3.37598)'))) / (select extract(epoch from '2026-07-23 19:53:36'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027313 -3.376141)', '2026-07-23 19:53:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027297 -3.37598)'), GeomFromEWKT('SRID=4674;POINT (-39.027313 -3.376141)'))) / (select extract(epoch from '2026-07-23 19:53:43'::timestamp) - extract(epoch from '2026-07-23 19:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027297 -3.37598)'), GeomFromEWKT('SRID=4674;POINT (-39.027313 -3.376141)'))) / (select extract(epoch from '2026-07-23 19:53:43'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027338 -3.376309)', '2026-07-23 19:53:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027313 -3.376141)'), GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.376309)'))) / (select extract(epoch from '2026-07-23 19:53:51'::timestamp) - extract(epoch from '2026-07-23 19:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027313 -3.376141)'), GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.376309)'))) / (select extract(epoch from '2026-07-23 19:53:51'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027363 -3.376417)', '2026-07-23 19:53:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.376309)'), GeomFromEWKT('SRID=4674;POINT (-39.027363 -3.376417)'))) / (select extract(epoch from '2026-07-23 19:53:56'::timestamp) - extract(epoch from '2026-07-23 19:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.376309)'), GeomFromEWKT('SRID=4674;POINT (-39.027363 -3.376417)'))) / (select extract(epoch from '2026-07-23 19:53:56'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027385 -3.376543)', '2026-07-23 19:54:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027363 -3.376417)'), GeomFromEWKT('SRID=4674;POINT (-39.027385 -3.376543)'))) / (select extract(epoch from '2026-07-23 19:54:02'::timestamp) - extract(epoch from '2026-07-23 19:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027363 -3.376417)'), GeomFromEWKT('SRID=4674;POINT (-39.027385 -3.376543)'))) / (select extract(epoch from '2026-07-23 19:54:02'::timestamp) - extract(epoch from '2026-07-23 19:53: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'), 47446, 'SRID=4674;POINT (-39.027411 -3.376653)', '2026-07-23 19:54:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027385 -3.376543)'), GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.376653)'))) / (select extract(epoch from '2026-07-23 19:54:07'::timestamp) - extract(epoch from '2026-07-23 19:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027385 -3.376543)'), GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.376653)'))) / (select extract(epoch from '2026-07-23 19:54:07'::timestamp) - extract(epoch from '2026-07-23 19:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027425 -3.376784)', '2026-07-23 19:54:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.376653)'), GeomFromEWKT('SRID=4674;POINT (-39.027425 -3.376784)'))) / (select extract(epoch from '2026-07-23 19:54:13'::timestamp) - extract(epoch from '2026-07-23 19:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.376653)'), GeomFromEWKT('SRID=4674;POINT (-39.027425 -3.376784)'))) / (select extract(epoch from '2026-07-23 19:54:13'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.027437 -3.376919)', '2026-07-23 19:54:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027425 -3.376784)'), GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.376919)'))) / (select extract(epoch from '2026-07-23 19:54:19'::timestamp) - extract(epoch from '2026-07-23 19:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027425 -3.376784)'), GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.376919)'))) / (select extract(epoch from '2026-07-23 19:54:19'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.027451 -3.377029)', '2026-07-23 19:54:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.376919)'), GeomFromEWKT('SRID=4674;POINT (-39.027451 -3.377029)'))) / (select extract(epoch from '2026-07-23 19:54:24'::timestamp) - extract(epoch from '2026-07-23 19:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.376919)'), GeomFromEWKT('SRID=4674;POINT (-39.027451 -3.377029)'))) / (select extract(epoch from '2026-07-23 19:54:24'::timestamp) - extract(epoch from '2026-07-23 19:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027476 -3.37716)', '2026-07-23 19:54:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027451 -3.377029)'), GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.37716)'))) / (select extract(epoch from '2026-07-23 19:54:30'::timestamp) - extract(epoch from '2026-07-23 19:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027451 -3.377029)'), GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.37716)'))) / (select extract(epoch from '2026-07-23 19:54:30'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.027482 -3.377249)', '2026-07-23 19:54:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.37716)'), GeomFromEWKT('SRID=4674;POINT (-39.027482 -3.377249)'))) / (select extract(epoch from '2026-07-23 19:54:34'::timestamp) - extract(epoch from '2026-07-23 19:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.37716)'), GeomFromEWKT('SRID=4674;POINT (-39.027482 -3.377249)'))) / (select extract(epoch from '2026-07-23 19:54:34'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.027511 -3.377351)', '2026-07-23 19:54:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027482 -3.377249)'), GeomFromEWKT('SRID=4674;POINT (-39.027511 -3.377351)'))) / (select extract(epoch from '2026-07-23 19:54:39'::timestamp) - extract(epoch from '2026-07-23 19:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027482 -3.377249)'), GeomFromEWKT('SRID=4674;POINT (-39.027511 -3.377351)'))) / (select extract(epoch from '2026-07-23 19:54:39'::timestamp) - extract(epoch from '2026-07-23 19:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02753 -3.37744)', '2026-07-23 19:54:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027511 -3.377351)'), GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.37744)'))) / (select extract(epoch from '2026-07-23 19:54:43'::timestamp) - extract(epoch from '2026-07-23 19:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027511 -3.377351)'), GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.37744)'))) / (select extract(epoch from '2026-07-23 19:54:43'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.02756 -3.377539)', '2026-07-23 19:54:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.37744)'), GeomFromEWKT('SRID=4674;POINT (-39.02756 -3.377539)'))) / (select extract(epoch from '2026-07-23 19:54:48'::timestamp) - extract(epoch from '2026-07-23 19:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02753 -3.37744)'), GeomFromEWKT('SRID=4674;POINT (-39.02756 -3.377539)'))) / (select extract(epoch from '2026-07-23 19:54:48'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027582 -3.377689)', '2026-07-23 19:54:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02756 -3.377539)'), GeomFromEWKT('SRID=4674;POINT (-39.027582 -3.377689)'))) / (select extract(epoch from '2026-07-23 19:54:55'::timestamp) - extract(epoch from '2026-07-23 19:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02756 -3.377539)'), GeomFromEWKT('SRID=4674;POINT (-39.027582 -3.377689)'))) / (select extract(epoch from '2026-07-23 19:54:55'::timestamp) - extract(epoch from '2026-07-23 19:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027594 -3.377801)', '2026-07-23 19:55:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027582 -3.377689)'), GeomFromEWKT('SRID=4674;POINT (-39.027594 -3.377801)'))) / (select extract(epoch from '2026-07-23 19:55:00'::timestamp) - extract(epoch from '2026-07-23 19:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027582 -3.377689)'), GeomFromEWKT('SRID=4674;POINT (-39.027594 -3.377801)'))) / (select extract(epoch from '2026-07-23 19:55:00'::timestamp) - extract(epoch from '2026-07-23 19:54: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'), 47446, 'SRID=4674;POINT (-39.02761 -3.377909)', '2026-07-23 19:55:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027594 -3.377801)'), GeomFromEWKT('SRID=4674;POINT (-39.02761 -3.377909)'))) / (select extract(epoch from '2026-07-23 19:55:05'::timestamp) - extract(epoch from '2026-07-23 19:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027594 -3.377801)'), GeomFromEWKT('SRID=4674;POINT (-39.02761 -3.377909)'))) / (select extract(epoch from '2026-07-23 19:55:05'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027632 -3.378064)', '2026-07-23 19:55:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02761 -3.377909)'), GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.378064)'))) / (select extract(epoch from '2026-07-23 19:55:12'::timestamp) - extract(epoch from '2026-07-23 19:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02761 -3.377909)'), GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.378064)'))) / (select extract(epoch from '2026-07-23 19:55:12'::timestamp) - extract(epoch from '2026-07-23 19:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027661 -3.378219)', '2026-07-23 19:55:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.378064)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.378219)'))) / (select extract(epoch from '2026-07-23 19:55:19'::timestamp) - extract(epoch from '2026-07-23 19:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.378064)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.378219)'))) / (select extract(epoch from '2026-07-23 19:55:19'::timestamp) - extract(epoch from '2026-07-23 19:55: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'), 47446, 'SRID=4674;POINT (-39.027678 -3.378306)', '2026-07-23 19:55:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.378219)'), GeomFromEWKT('SRID=4674;POINT (-39.027678 -3.378306)'))) / (select extract(epoch from '2026-07-23 19:55:23'::timestamp) - extract(epoch from '2026-07-23 19:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.378219)'), GeomFromEWKT('SRID=4674;POINT (-39.027678 -3.378306)'))) / (select extract(epoch from '2026-07-23 19:55:23'::timestamp) - extract(epoch from '2026-07-23 19:55: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'), 47446, 'SRID=4674;POINT (-39.027695 -3.37837)', '2026-07-23 19:55:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027678 -3.378306)'), GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.37837)'))) / (select extract(epoch from '2026-07-23 19:55:26'::timestamp) - extract(epoch from '2026-07-23 19:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027678 -3.378306)'), GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.37837)'))) / (select extract(epoch from '2026-07-23 19:55:26'::timestamp) - extract(epoch from '2026-07-23 19:55: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'), 47446, 'SRID=4674;POINT (-39.027704 -3.378391)', '2026-07-23 19:55:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.37837)'), GeomFromEWKT('SRID=4674;POINT (-39.027704 -3.378391)'))) / (select extract(epoch from '2026-07-23 19:55:27'::timestamp) - extract(epoch from '2026-07-23 19:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.37837)'), GeomFromEWKT('SRID=4674;POINT (-39.027704 -3.378391)'))) / (select extract(epoch from '2026-07-23 19:55:27'::timestamp) - extract(epoch from '2026-07-23 19:55: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'), 47446, 'SRID=4674;POINT (-39.027718 -3.378498)', '2026-07-23 19:55:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027704 -3.378391)'), GeomFromEWKT('SRID=4674;POINT (-39.027718 -3.378498)'))) / (select extract(epoch from '2026-07-23 19:55:32'::timestamp) - extract(epoch from '2026-07-23 19:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027704 -3.378391)'), GeomFromEWKT('SRID=4674;POINT (-39.027718 -3.378498)'))) / (select extract(epoch from '2026-07-23 19:55:32'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027744 -3.378654)', '2026-07-23 19:55:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027718 -3.378498)'), GeomFromEWKT('SRID=4674;POINT (-39.027744 -3.378654)'))) / (select extract(epoch from '2026-07-23 19:55:39'::timestamp) - extract(epoch from '2026-07-23 19:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027718 -3.378498)'), GeomFromEWKT('SRID=4674;POINT (-39.027744 -3.378654)'))) / (select extract(epoch from '2026-07-23 19:55:39'::timestamp) - extract(epoch from '2026-07-23 19:55: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'), 47446, 'SRID=4674;POINT (-39.027771 -3.378804)', '2026-07-23 19:55:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027744 -3.378654)'), GeomFromEWKT('SRID=4674;POINT (-39.027771 -3.378804)'))) / (select extract(epoch from '2026-07-23 19:55:46'::timestamp) - extract(epoch from '2026-07-23 19:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027744 -3.378654)'), GeomFromEWKT('SRID=4674;POINT (-39.027771 -3.378804)'))) / (select extract(epoch from '2026-07-23 19:55:46'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027789 -3.378919)', '2026-07-23 19:55:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027771 -3.378804)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.378919)'))) / (select extract(epoch from '2026-07-23 19:55:51'::timestamp) - extract(epoch from '2026-07-23 19:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027771 -3.378804)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.378919)'))) / (select extract(epoch from '2026-07-23 19:55:51'::timestamp) - extract(epoch from '2026-07-23 19:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027824 -3.379046)', '2026-07-23 19:55:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.378919)'), GeomFromEWKT('SRID=4674;POINT (-39.027824 -3.379046)'))) / (select extract(epoch from '2026-07-23 19:55:57'::timestamp) - extract(epoch from '2026-07-23 19:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.378919)'), GeomFromEWKT('SRID=4674;POINT (-39.027824 -3.379046)'))) / (select extract(epoch from '2026-07-23 19:55:57'::timestamp) - extract(epoch from '2026-07-23 19:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02785 -3.379157)', '2026-07-23 19:56:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027824 -3.379046)'), GeomFromEWKT('SRID=4674;POINT (-39.02785 -3.379157)'))) / (select extract(epoch from '2026-07-23 19:56:02'::timestamp) - extract(epoch from '2026-07-23 19:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027824 -3.379046)'), GeomFromEWKT('SRID=4674;POINT (-39.02785 -3.379157)'))) / (select extract(epoch from '2026-07-23 19:56:02'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027871 -3.379272)', '2026-07-23 19:56:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02785 -3.379157)'), GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.379272)'))) / (select extract(epoch from '2026-07-23 19:56:07'::timestamp) - extract(epoch from '2026-07-23 19:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02785 -3.379157)'), GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.379272)'))) / (select extract(epoch from '2026-07-23 19:56:07'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.027886 -3.379405)', '2026-07-23 19:56:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.379272)'), GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.379405)'))) / (select extract(epoch from '2026-07-23 19:56:13'::timestamp) - extract(epoch from '2026-07-23 19:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027871 -3.379272)'), GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.379405)'))) / (select extract(epoch from '2026-07-23 19:56:13'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.027911 -3.379517)', '2026-07-23 19:56:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.379405)'), GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.379517)'))) / (select extract(epoch from '2026-07-23 19:56:18'::timestamp) - extract(epoch from '2026-07-23 19:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.379405)'), GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.379517)'))) / (select extract(epoch from '2026-07-23 19:56:18'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027933 -3.379628)', '2026-07-23 19:56:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.379517)'), GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.379628)'))) / (select extract(epoch from '2026-07-23 19:56:23'::timestamp) - extract(epoch from '2026-07-23 19:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027911 -3.379517)'), GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.379628)'))) / (select extract(epoch from '2026-07-23 19:56:23'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.027951 -3.379693)', '2026-07-23 19:56:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.379628)'), GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.379693)'))) / (select extract(epoch from '2026-07-23 19:56:26'::timestamp) - extract(epoch from '2026-07-23 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.379628)'), GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.379693)'))) / (select extract(epoch from '2026-07-23 19:56:26'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.027957 -3.379737)', '2026-07-23 19:56:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.379693)'), GeomFromEWKT('SRID=4674;POINT (-39.027957 -3.379737)'))) / (select extract(epoch from '2026-07-23 19:56:28'::timestamp) - extract(epoch from '2026-07-23 19:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.379693)'), GeomFromEWKT('SRID=4674;POINT (-39.027957 -3.379737)'))) / (select extract(epoch from '2026-07-23 19:56:28'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.027982 -3.379871)', '2026-07-23 19:56:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027957 -3.379737)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.379871)'))) / (select extract(epoch from '2026-07-23 19:56:34'::timestamp) - extract(epoch from '2026-07-23 19:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027957 -3.379737)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.379871)'))) / (select extract(epoch from '2026-07-23 19:56:34'::timestamp) - extract(epoch from '2026-07-23 19:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027991 -3.379939)', '2026-07-23 19:56:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.379871)'), GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379939)'))) / (select extract(epoch from '2026-07-23 19:56:37'::timestamp) - extract(epoch from '2026-07-23 19:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.379871)'), GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379939)'))) / (select extract(epoch from '2026-07-23 19:56:37'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.027991 -3.379986)', '2026-07-23 19:56:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379939)'), GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379986)'))) / (select extract(epoch from '2026-07-23 19:56:39'::timestamp) - extract(epoch from '2026-07-23 19:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379939)'), GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379986)'))) / (select extract(epoch from '2026-07-23 19:56:39'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.028022 -3.380136)', '2026-07-23 19:56:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379986)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.380136)'))) / (select extract(epoch from '2026-07-23 19:56:46'::timestamp) - extract(epoch from '2026-07-23 19:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027991 -3.379986)'), GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.380136)'))) / (select extract(epoch from '2026-07-23 19:56:46'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.028036 -3.380244)', '2026-07-23 19:56:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.380136)'), GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.380244)'))) / (select extract(epoch from '2026-07-23 19:56:51'::timestamp) - extract(epoch from '2026-07-23 19:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028022 -3.380136)'), GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.380244)'))) / (select extract(epoch from '2026-07-23 19:56:51'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.02804 -3.380372)', '2026-07-23 19:56:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.380244)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.380372)'))) / (select extract(epoch from '2026-07-23 19:56:57'::timestamp) - extract(epoch from '2026-07-23 19:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028036 -3.380244)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.380372)'))) / (select extract(epoch from '2026-07-23 19:56:57'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.028049 -3.380507)', '2026-07-23 19:57:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.380372)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.380507)'))) / (select extract(epoch from '2026-07-23 19:57:03'::timestamp) - extract(epoch from '2026-07-23 19:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.380372)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.380507)'))) / (select extract(epoch from '2026-07-23 19:57:03'::timestamp) - extract(epoch from '2026-07-23 19:56: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'), 47446, 'SRID=4674;POINT (-39.028084 -3.380618)', '2026-07-23 19:57:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.380507)'), GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.380618)'))) / (select extract(epoch from '2026-07-23 19:57:08'::timestamp) - extract(epoch from '2026-07-23 19:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.380507)'), GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.380618)'))) / (select extract(epoch from '2026-07-23 19:57:08'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028112 -3.380792)', '2026-07-23 19:57:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.380618)'), GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.380792)'))) / (select extract(epoch from '2026-07-23 19:57:16'::timestamp) - extract(epoch from '2026-07-23 19:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028084 -3.380618)'), GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.380792)'))) / (select extract(epoch from '2026-07-23 19:57:16'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028137 -3.380943)', '2026-07-23 19:57:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.380792)'), GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.380943)'))) / (select extract(epoch from '2026-07-23 19:57:23'::timestamp) - extract(epoch from '2026-07-23 19:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.380792)'), GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.380943)'))) / (select extract(epoch from '2026-07-23 19:57:23'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028167 -3.381047)', '2026-07-23 19:57:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.380943)'), GeomFromEWKT('SRID=4674;POINT (-39.028167 -3.381047)'))) / (select extract(epoch from '2026-07-23 19:57:28'::timestamp) - extract(epoch from '2026-07-23 19:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.380943)'), GeomFromEWKT('SRID=4674;POINT (-39.028167 -3.381047)'))) / (select extract(epoch from '2026-07-23 19:57:28'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028193 -3.381194)', '2026-07-23 19:57:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028167 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-39.028193 -3.381194)'))) / (select extract(epoch from '2026-07-23 19:57:35'::timestamp) - extract(epoch from '2026-07-23 19:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028167 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-39.028193 -3.381194)'))) / (select extract(epoch from '2026-07-23 19:57:35'::timestamp) - extract(epoch from '2026-07-23 19:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028208 -3.381326)', '2026-07-23 19:57:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028193 -3.381194)'), GeomFromEWKT('SRID=4674;POINT (-39.028208 -3.381326)'))) / (select extract(epoch from '2026-07-23 19:57:41'::timestamp) - extract(epoch from '2026-07-23 19:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028193 -3.381194)'), GeomFromEWKT('SRID=4674;POINT (-39.028208 -3.381326)'))) / (select extract(epoch from '2026-07-23 19:57:41'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028221 -3.381479)', '2026-07-23 19:57:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028208 -3.381326)'), GeomFromEWKT('SRID=4674;POINT (-39.028221 -3.381479)'))) / (select extract(epoch from '2026-07-23 19:57:48'::timestamp) - extract(epoch from '2026-07-23 19:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028208 -3.381326)'), GeomFromEWKT('SRID=4674;POINT (-39.028221 -3.381479)'))) / (select extract(epoch from '2026-07-23 19:57:48'::timestamp) - extract(epoch from '2026-07-23 19:57: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'), 47446, 'SRID=4674;POINT (-39.028237 -3.381612)', '2026-07-23 19:57:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028221 -3.381479)'), GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.381612)'))) / (select extract(epoch from '2026-07-23 19:57:54'::timestamp) - extract(epoch from '2026-07-23 19:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028221 -3.381479)'), GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.381612)'))) / (select extract(epoch from '2026-07-23 19:57:54'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028261 -3.381725)', '2026-07-23 19:57:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.381612)'), GeomFromEWKT('SRID=4674;POINT (-39.028261 -3.381725)'))) / (select extract(epoch from '2026-07-23 19:57:59'::timestamp) - extract(epoch from '2026-07-23 19:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028237 -3.381612)'), GeomFromEWKT('SRID=4674;POINT (-39.028261 -3.381725)'))) / (select extract(epoch from '2026-07-23 19:57:59'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028269 -3.38183)', '2026-07-23 19:58:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028261 -3.381725)'), GeomFromEWKT('SRID=4674;POINT (-39.028269 -3.38183)'))) / (select extract(epoch from '2026-07-23 19:58:04'::timestamp) - extract(epoch from '2026-07-23 19:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028261 -3.381725)'), GeomFromEWKT('SRID=4674;POINT (-39.028269 -3.38183)'))) / (select extract(epoch from '2026-07-23 19:58:04'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028288 -3.38194)', '2026-07-23 19:58:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028269 -3.38183)'), GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.38194)'))) / (select extract(epoch from '2026-07-23 19:58:09'::timestamp) - extract(epoch from '2026-07-23 19:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028269 -3.38183)'), GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.38194)'))) / (select extract(epoch from '2026-07-23 19:58:09'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028307 -3.382094)', '2026-07-23 19:58:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.38194)'), GeomFromEWKT('SRID=4674;POINT (-39.028307 -3.382094)'))) / (select extract(epoch from '2026-07-23 19:58:16'::timestamp) - extract(epoch from '2026-07-23 19:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028288 -3.38194)'), GeomFromEWKT('SRID=4674;POINT (-39.028307 -3.382094)'))) / (select extract(epoch from '2026-07-23 19:58:16'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028343 -3.382251)', '2026-07-23 19:58:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028307 -3.382094)'), GeomFromEWKT('SRID=4674;POINT (-39.028343 -3.382251)'))) / (select extract(epoch from '2026-07-23 19:58:23'::timestamp) - extract(epoch from '2026-07-23 19:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028307 -3.382094)'), GeomFromEWKT('SRID=4674;POINT (-39.028343 -3.382251)'))) / (select extract(epoch from '2026-07-23 19:58:23'::timestamp) - extract(epoch from '2026-07-23 19:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028358 -3.382402)', '2026-07-23 19:58:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028343 -3.382251)'), GeomFromEWKT('SRID=4674;POINT (-39.028358 -3.382402)'))) / (select extract(epoch from '2026-07-23 19:58:30'::timestamp) - extract(epoch from '2026-07-23 19:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028343 -3.382251)'), GeomFromEWKT('SRID=4674;POINT (-39.028358 -3.382402)'))) / (select extract(epoch from '2026-07-23 19:58:30'::timestamp) - extract(epoch from '2026-07-23 19:58: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'), 47446, 'SRID=4674;POINT (-39.028376 -3.382512)', '2026-07-23 19:58:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028358 -3.382402)'), GeomFromEWKT('SRID=4674;POINT (-39.028376 -3.382512)'))) / (select extract(epoch from '2026-07-23 19:58:35'::timestamp) - extract(epoch from '2026-07-23 19:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028358 -3.382402)'), GeomFromEWKT('SRID=4674;POINT (-39.028376 -3.382512)'))) / (select extract(epoch from '2026-07-23 19:58:35'::timestamp) - extract(epoch from '2026-07-23 19:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028409 -3.382664)', '2026-07-23 19:58:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028376 -3.382512)'), GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.382664)'))) / (select extract(epoch from '2026-07-23 19:58:42'::timestamp) - extract(epoch from '2026-07-23 19:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028376 -3.382512)'), GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.382664)'))) / (select extract(epoch from '2026-07-23 19:58:42'::timestamp) - extract(epoch from '2026-07-23 19:58: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'), 47446, 'SRID=4674;POINT (-39.02843 -3.382794)', '2026-07-23 19:58:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.382664)'), GeomFromEWKT('SRID=4674;POINT (-39.02843 -3.382794)'))) / (select extract(epoch from '2026-07-23 19:58:48'::timestamp) - extract(epoch from '2026-07-23 19:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.382664)'), GeomFromEWKT('SRID=4674;POINT (-39.02843 -3.382794)'))) / (select extract(epoch from '2026-07-23 19:58:48'::timestamp) - extract(epoch from '2026-07-23 19:58: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'), 47446, 'SRID=4674;POINT (-39.028468 -3.382922)', '2026-07-23 19:58:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02843 -3.382794)'), GeomFromEWKT('SRID=4674;POINT (-39.028468 -3.382922)'))) / (select extract(epoch from '2026-07-23 19:58:54'::timestamp) - extract(epoch from '2026-07-23 19:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02843 -3.382794)'), GeomFromEWKT('SRID=4674;POINT (-39.028468 -3.382922)'))) / (select extract(epoch from '2026-07-23 19:58:54'::timestamp) - extract(epoch from '2026-07-23 19:58: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'), 47446, 'SRID=4674;POINT (-39.028497 -3.383052)', '2026-07-23 19:59:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028468 -3.382922)'), GeomFromEWKT('SRID=4674;POINT (-39.028497 -3.383052)'))) / (select extract(epoch from '2026-07-23 19:59:00'::timestamp) - extract(epoch from '2026-07-23 19:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028468 -3.382922)'), GeomFromEWKT('SRID=4674;POINT (-39.028497 -3.383052)'))) / (select extract(epoch from '2026-07-23 19:59:00'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028513 -3.383159)', '2026-07-23 19:59:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028497 -3.383052)'), GeomFromEWKT('SRID=4674;POINT (-39.028513 -3.383159)'))) / (select extract(epoch from '2026-07-23 19:59:05'::timestamp) - extract(epoch from '2026-07-23 19:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028497 -3.383052)'), GeomFromEWKT('SRID=4674;POINT (-39.028513 -3.383159)'))) / (select extract(epoch from '2026-07-23 19:59:05'::timestamp) - extract(epoch from '2026-07-23 19:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028523 -3.383262)', '2026-07-23 19:59:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028513 -3.383159)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.383262)'))) / (select extract(epoch from '2026-07-23 19:59:10'::timestamp) - extract(epoch from '2026-07-23 19:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028513 -3.383159)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.383262)'))) / (select extract(epoch from '2026-07-23 19:59:10'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.028528 -3.383303)', '2026-07-23 19:59:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.383262)'), GeomFromEWKT('SRID=4674;POINT (-39.028528 -3.383303)'))) / (select extract(epoch from '2026-07-23 19:59:12'::timestamp) - extract(epoch from '2026-07-23 19:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.383262)'), GeomFromEWKT('SRID=4674;POINT (-39.028528 -3.383303)'))) / (select extract(epoch from '2026-07-23 19:59:12'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.028539 -3.383369)', '2026-07-23 19:59:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028528 -3.383303)'), GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.383369)'))) / (select extract(epoch from '2026-07-23 19:59:15'::timestamp) - extract(epoch from '2026-07-23 19:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028528 -3.383303)'), GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.383369)'))) / (select extract(epoch from '2026-07-23 19:59:15'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.028558 -3.383504)', '2026-07-23 19:59:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.383369)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.383504)'))) / (select extract(epoch from '2026-07-23 19:59:21'::timestamp) - extract(epoch from '2026-07-23 19:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.383369)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.383504)'))) / (select extract(epoch from '2026-07-23 19:59:21'::timestamp) - extract(epoch from '2026-07-23 19:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028576 -3.383617)', '2026-07-23 19:59:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.383504)'), GeomFromEWKT('SRID=4674;POINT (-39.028576 -3.383617)'))) / (select extract(epoch from '2026-07-23 19:59:26'::timestamp) - extract(epoch from '2026-07-23 19:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.383504)'), GeomFromEWKT('SRID=4674;POINT (-39.028576 -3.383617)'))) / (select extract(epoch from '2026-07-23 19:59:26'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.028585 -3.383729)', '2026-07-23 19:59:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028576 -3.383617)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.383729)'))) / (select extract(epoch from '2026-07-23 19:59:31'::timestamp) - extract(epoch from '2026-07-23 19:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028576 -3.383617)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.383729)'))) / (select extract(epoch from '2026-07-23 19:59:31'::timestamp) - extract(epoch from '2026-07-23 19:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028619 -3.383843)', '2026-07-23 19:59:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.383729)'), GeomFromEWKT('SRID=4674;POINT (-39.028619 -3.383843)'))) / (select extract(epoch from '2026-07-23 19:59:36'::timestamp) - extract(epoch from '2026-07-23 19:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.383729)'), GeomFromEWKT('SRID=4674;POINT (-39.028619 -3.383843)'))) / (select extract(epoch from '2026-07-23 19:59:36'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.028644 -3.383958)', '2026-07-23 19:59:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028619 -3.383843)'), GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.383958)'))) / (select extract(epoch from '2026-07-23 19:59:41'::timestamp) - extract(epoch from '2026-07-23 19:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028619 -3.383843)'), GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.383958)'))) / (select extract(epoch from '2026-07-23 19:59:41'::timestamp) - extract(epoch from '2026-07-23 19:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028656 -3.384092)', '2026-07-23 19:59:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.383958)'), GeomFromEWKT('SRID=4674;POINT (-39.028656 -3.384092)'))) / (select extract(epoch from '2026-07-23 19:59:47'::timestamp) - extract(epoch from '2026-07-23 19:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.383958)'), GeomFromEWKT('SRID=4674;POINT (-39.028656 -3.384092)'))) / (select extract(epoch from '2026-07-23 19:59:47'::timestamp) - extract(epoch from '2026-07-23 19:59: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'), 47446, 'SRID=4674;POINT (-39.02867 -3.384268)', '2026-07-23 19:59:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028656 -3.384092)'), GeomFromEWKT('SRID=4674;POINT (-39.02867 -3.384268)'))) / (select extract(epoch from '2026-07-23 19:59:55'::timestamp) - extract(epoch from '2026-07-23 19:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028656 -3.384092)'), GeomFromEWKT('SRID=4674;POINT (-39.02867 -3.384268)'))) / (select extract(epoch from '2026-07-23 19:59:55'::timestamp) - extract(epoch from '2026-07-23 19:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028683 -3.384379)', '2026-07-23 20:00:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02867 -3.384268)'), GeomFromEWKT('SRID=4674;POINT (-39.028683 -3.384379)'))) / (select extract(epoch from '2026-07-23 20:00:00'::timestamp) - extract(epoch from '2026-07-23 19:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02867 -3.384268)'), GeomFromEWKT('SRID=4674;POINT (-39.028683 -3.384379)'))) / (select extract(epoch from '2026-07-23 20:00:00'::timestamp) - extract(epoch from '2026-07-23 19: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'), 47446, 'SRID=4674;POINT (-39.028695 -3.384489)', '2026-07-23 20:00:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028683 -3.384379)'), GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.384489)'))) / (select extract(epoch from '2026-07-23 20:00:05'::timestamp) - extract(epoch from '2026-07-23 20:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028683 -3.384379)'), GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.384489)'))) / (select extract(epoch from '2026-07-23 20:00:05'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028718 -3.384624)', '2026-07-23 20:00:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.384489)'), GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.384624)'))) / (select extract(epoch from '2026-07-23 20:00:11'::timestamp) - extract(epoch from '2026-07-23 20:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028695 -3.384489)'), GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.384624)'))) / (select extract(epoch from '2026-07-23 20:00:11'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.028734 -3.38477)', '2026-07-23 20:00:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.384624)'), GeomFromEWKT('SRID=4674;POINT (-39.028734 -3.38477)'))) / (select extract(epoch from '2026-07-23 20:00:18'::timestamp) - extract(epoch from '2026-07-23 20:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.384624)'), GeomFromEWKT('SRID=4674;POINT (-39.028734 -3.38477)'))) / (select extract(epoch from '2026-07-23 20:00:18'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028742 -3.384898)', '2026-07-23 20:00:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028734 -3.38477)'), GeomFromEWKT('SRID=4674;POINT (-39.028742 -3.384898)'))) / (select extract(epoch from '2026-07-23 20:00:24'::timestamp) - extract(epoch from '2026-07-23 20:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028734 -3.38477)'), GeomFromEWKT('SRID=4674;POINT (-39.028742 -3.384898)'))) / (select extract(epoch from '2026-07-23 20:00:24'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.02875 -3.385034)', '2026-07-23 20:00:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028742 -3.384898)'), GeomFromEWKT('SRID=4674;POINT (-39.02875 -3.385034)'))) / (select extract(epoch from '2026-07-23 20:00:30'::timestamp) - extract(epoch from '2026-07-23 20:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028742 -3.384898)'), GeomFromEWKT('SRID=4674;POINT (-39.02875 -3.385034)'))) / (select extract(epoch from '2026-07-23 20:00:30'::timestamp) - extract(epoch from '2026-07-23 20:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02876 -3.3851)', '2026-07-23 20:00:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02875 -3.385034)'), GeomFromEWKT('SRID=4674;POINT (-39.02876 -3.3851)'))) / (select extract(epoch from '2026-07-23 20:00:33'::timestamp) - extract(epoch from '2026-07-23 20:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02875 -3.385034)'), GeomFromEWKT('SRID=4674;POINT (-39.02876 -3.3851)'))) / (select extract(epoch from '2026-07-23 20:00:33'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028756 -3.38512)', '2026-07-23 20:00:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02876 -3.3851)'), GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.38512)'))) / (select extract(epoch from '2026-07-23 20:00:34'::timestamp) - extract(epoch from '2026-07-23 20:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02876 -3.3851)'), GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.38512)'))) / (select extract(epoch from '2026-07-23 20:00:34'::timestamp) - extract(epoch from '2026-07-23 20:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028774 -3.38523)', '2026-07-23 20:00:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.38512)'), GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.38523)'))) / (select extract(epoch from '2026-07-23 20:00:39'::timestamp) - extract(epoch from '2026-07-23 20:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.38512)'), GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.38523)'))) / (select extract(epoch from '2026-07-23 20:00:39'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.028806 -3.385379)', '2026-07-23 20:00:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.38523)'), GeomFromEWKT('SRID=4674;POINT (-39.028806 -3.385379)'))) / (select extract(epoch from '2026-07-23 20:00:46'::timestamp) - extract(epoch from '2026-07-23 20:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.38523)'), GeomFromEWKT('SRID=4674;POINT (-39.028806 -3.385379)'))) / (select extract(epoch from '2026-07-23 20:00:46'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028819 -3.385507)', '2026-07-23 20:00:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028806 -3.385379)'), GeomFromEWKT('SRID=4674;POINT (-39.028819 -3.385507)'))) / (select extract(epoch from '2026-07-23 20:00:52'::timestamp) - extract(epoch from '2026-07-23 20:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028806 -3.385379)'), GeomFromEWKT('SRID=4674;POINT (-39.028819 -3.385507)'))) / (select extract(epoch from '2026-07-23 20:00:52'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028829 -3.385622)', '2026-07-23 20:00:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028819 -3.385507)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.385622)'))) / (select extract(epoch from '2026-07-23 20:00:57'::timestamp) - extract(epoch from '2026-07-23 20:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028819 -3.385507)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.385622)'))) / (select extract(epoch from '2026-07-23 20:00:57'::timestamp) - extract(epoch from '2026-07-23 20:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028858 -3.385798)', '2026-07-23 20:01:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.385622)'), GeomFromEWKT('SRID=4674;POINT (-39.028858 -3.385798)'))) / (select extract(epoch from '2026-07-23 20:01:05'::timestamp) - extract(epoch from '2026-07-23 20:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.385622)'), GeomFromEWKT('SRID=4674;POINT (-39.028858 -3.385798)'))) / (select extract(epoch from '2026-07-23 20:01:05'::timestamp) - extract(epoch from '2026-07-23 20:00: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'), 47446, 'SRID=4674;POINT (-39.028863 -3.385905)', '2026-07-23 20:01:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028858 -3.385798)'), GeomFromEWKT('SRID=4674;POINT (-39.028863 -3.385905)'))) / (select extract(epoch from '2026-07-23 20:01:10'::timestamp) - extract(epoch from '2026-07-23 20:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028858 -3.385798)'), GeomFromEWKT('SRID=4674;POINT (-39.028863 -3.385905)'))) / (select extract(epoch from '2026-07-23 20:01:10'::timestamp) - extract(epoch from '2026-07-23 20:01: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'), 47446, 'SRID=4674;POINT (-39.028874 -3.386032)', '2026-07-23 20:01:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028863 -3.385905)'), GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.386032)'))) / (select extract(epoch from '2026-07-23 20:01:16'::timestamp) - extract(epoch from '2026-07-23 20:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028863 -3.385905)'), GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.386032)'))) / (select extract(epoch from '2026-07-23 20:01:16'::timestamp) - extract(epoch from '2026-07-23 20:01: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'), 47446, 'SRID=4674;POINT (-39.028899 -3.386139)', '2026-07-23 20:01:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.386032)'), GeomFromEWKT('SRID=4674;POINT (-39.028899 -3.386139)'))) / (select extract(epoch from '2026-07-23 20:01:21'::timestamp) - extract(epoch from '2026-07-23 20:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028874 -3.386032)'), GeomFromEWKT('SRID=4674;POINT (-39.028899 -3.386139)'))) / (select extract(epoch from '2026-07-23 20:01:21'::timestamp) - extract(epoch from '2026-07-23 20:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028906 -3.386243)', '2026-07-23 20:01:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028899 -3.386139)'), GeomFromEWKT('SRID=4674;POINT (-39.028906 -3.386243)'))) / (select extract(epoch from '2026-07-23 20:01:26'::timestamp) - extract(epoch from '2026-07-23 20:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028899 -3.386139)'), GeomFromEWKT('SRID=4674;POINT (-39.028906 -3.386243)'))) / (select extract(epoch from '2026-07-23 20:01:26'::timestamp) - extract(epoch from '2026-07-23 20:01: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'), 47446, 'SRID=4674;POINT (-39.028915 -3.386371)', '2026-07-23 20:01:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028906 -3.386243)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.386371)'))) / (select extract(epoch from '2026-07-23 20:01:32'::timestamp) - extract(epoch from '2026-07-23 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028906 -3.386243)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.386371)'))) / (select extract(epoch from '2026-07-23 20:01:32'::timestamp) - extract(epoch from '2026-07-23 20:01: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'), 47446, 'SRID=4674;POINT (-39.028931 -3.386483)', '2026-07-23 20:01:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.386483)'))) / (select extract(epoch from '2026-07-23 20:01:37'::timestamp) - extract(epoch from '2026-07-23 20:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.386483)'))) / (select extract(epoch from '2026-07-23 20:01:37'::timestamp) - extract(epoch from '2026-07-23 20:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028937 -3.386591)', '2026-07-23 20:01:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.386483)'), GeomFromEWKT('SRID=4674;POINT (-39.028937 -3.386591)'))) / (select extract(epoch from '2026-07-23 20:01:42'::timestamp) - extract(epoch from '2026-07-23 20:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.386483)'), GeomFromEWKT('SRID=4674;POINT (-39.028937 -3.386591)'))) / (select extract(epoch from '2026-07-23 20:01:42'::timestamp) - extract(epoch from '2026-07-23 20:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028944 -3.386724)', '2026-07-23 20:01:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028937 -3.386591)'), GeomFromEWKT('SRID=4674;POINT (-39.028944 -3.386724)'))) / (select extract(epoch from '2026-07-23 20:01:48'::timestamp) - extract(epoch from '2026-07-23 20:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028937 -3.386591)'), GeomFromEWKT('SRID=4674;POINT (-39.028944 -3.386724)'))) / (select extract(epoch from '2026-07-23 20:01:48'::timestamp) - extract(epoch from '2026-07-23 20:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028955 -3.386829)', '2026-07-23 20:01:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028944 -3.386724)'), GeomFromEWKT('SRID=4674;POINT (-39.028955 -3.386829)'))) / (select extract(epoch from '2026-07-23 20:01:53'::timestamp) - extract(epoch from '2026-07-23 20:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028944 -3.386724)'), GeomFromEWKT('SRID=4674;POINT (-39.028955 -3.386829)'))) / (select extract(epoch from '2026-07-23 20:01:53'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.028972 -3.386961)', '2026-07-23 20:01:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028955 -3.386829)'), GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.386961)'))) / (select extract(epoch from '2026-07-23 20:01:59'::timestamp) - extract(epoch from '2026-07-23 20:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028955 -3.386829)'), GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.386961)'))) / (select extract(epoch from '2026-07-23 20:01:59'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.028991 -3.387092)', '2026-07-23 20:02:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.386961)'), GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.387092)'))) / (select extract(epoch from '2026-07-23 20:02:05'::timestamp) - extract(epoch from '2026-07-23 20:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.386961)'), GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.387092)'))) / (select extract(epoch from '2026-07-23 20:02:05'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029011 -3.387227)', '2026-07-23 20:02:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.387092)'), GeomFromEWKT('SRID=4674;POINT (-39.029011 -3.387227)'))) / (select extract(epoch from '2026-07-23 20:02:11'::timestamp) - extract(epoch from '2026-07-23 20:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.387092)'), GeomFromEWKT('SRID=4674;POINT (-39.029011 -3.387227)'))) / (select extract(epoch from '2026-07-23 20:02:11'::timestamp) - extract(epoch from '2026-07-23 20:02: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'), 47446, 'SRID=4674;POINT (-39.029034 -3.387355)', '2026-07-23 20:02:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029011 -3.387227)'), GeomFromEWKT('SRID=4674;POINT (-39.029034 -3.387355)'))) / (select extract(epoch from '2026-07-23 20:02:17'::timestamp) - extract(epoch from '2026-07-23 20:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029011 -3.387227)'), GeomFromEWKT('SRID=4674;POINT (-39.029034 -3.387355)'))) / (select extract(epoch from '2026-07-23 20:02:17'::timestamp) - extract(epoch from '2026-07-23 20:02: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'), 47446, 'SRID=4674;POINT (-39.029058 -3.387479)', '2026-07-23 20:02:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029034 -3.387355)'), GeomFromEWKT('SRID=4674;POINT (-39.029058 -3.387479)'))) / (select extract(epoch from '2026-07-23 20:02:23'::timestamp) - extract(epoch from '2026-07-23 20:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029034 -3.387355)'), GeomFromEWKT('SRID=4674;POINT (-39.029058 -3.387479)'))) / (select extract(epoch from '2026-07-23 20:02:23'::timestamp) - extract(epoch from '2026-07-23 20:02: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'), 47446, 'SRID=4674;POINT (-39.029063 -3.387572)', '2026-07-23 20:02:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029058 -3.387479)'), GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.387572)'))) / (select extract(epoch from '2026-07-23 20:02:28'::timestamp) - extract(epoch from '2026-07-23 20:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029058 -3.387479)'), GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.387572)'))) / (select extract(epoch from '2026-07-23 20:02:28'::timestamp) - extract(epoch from '2026-07-23 20:02: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'), 47446, 'SRID=4674;POINT (-39.029068 -3.387648)', '2026-07-23 20:02:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.387572)'), GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.387648)'))) / (select extract(epoch from '2026-07-23 20:02:32'::timestamp) - extract(epoch from '2026-07-23 20:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.387572)'), GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.387648)'))) / (select extract(epoch from '2026-07-23 20:02:32'::timestamp) - extract(epoch from '2026-07-23 20:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0291 -3.387769)', '2026-07-23 20:02:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.387648)'), GeomFromEWKT('SRID=4674;POINT (-39.0291 -3.387769)'))) / (select extract(epoch from '2026-07-23 20:02:38'::timestamp) - extract(epoch from '2026-07-23 20:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.387648)'), GeomFromEWKT('SRID=4674;POINT (-39.0291 -3.387769)'))) / (select extract(epoch from '2026-07-23 20:02:38'::timestamp) - extract(epoch from '2026-07-23 20:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029137 -3.387853)', '2026-07-23 20:02:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0291 -3.387769)'), GeomFromEWKT('SRID=4674;POINT (-39.029137 -3.387853)'))) / (select extract(epoch from '2026-07-23 20:02:43'::timestamp) - extract(epoch from '2026-07-23 20:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0291 -3.387769)'), GeomFromEWKT('SRID=4674;POINT (-39.029137 -3.387853)'))) / (select extract(epoch from '2026-07-23 20:02:43'::timestamp) - extract(epoch from '2026-07-23 20:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029185 -3.387956)', '2026-07-23 20:02:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029137 -3.387853)'), GeomFromEWKT('SRID=4674;POINT (-39.029185 -3.387956)'))) / (select extract(epoch from '2026-07-23 20:02:49'::timestamp) - extract(epoch from '2026-07-23 20:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029137 -3.387853)'), GeomFromEWKT('SRID=4674;POINT (-39.029185 -3.387956)'))) / (select extract(epoch from '2026-07-23 20:02:49'::timestamp) - extract(epoch from '2026-07-23 20:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029217 -3.388041)', '2026-07-23 20:02:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029185 -3.387956)'), GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.388041)'))) / (select extract(epoch from '2026-07-23 20:02:54'::timestamp) - extract(epoch from '2026-07-23 20:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029185 -3.387956)'), GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.388041)'))) / (select extract(epoch from '2026-07-23 20:02:54'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.02925 -3.388164)', '2026-07-23 20:03:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.388041)'), GeomFromEWKT('SRID=4674;POINT (-39.02925 -3.388164)'))) / (select extract(epoch from '2026-07-23 20:03:01'::timestamp) - extract(epoch from '2026-07-23 20:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.388041)'), GeomFromEWKT('SRID=4674;POINT (-39.02925 -3.388164)'))) / (select extract(epoch from '2026-07-23 20:03:01'::timestamp) - extract(epoch from '2026-07-23 20:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029289 -3.388311)', '2026-07-23 20:03:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02925 -3.388164)'), GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.388311)'))) / (select extract(epoch from '2026-07-23 20:03:09'::timestamp) - extract(epoch from '2026-07-23 20:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02925 -3.388164)'), GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.388311)'))) / (select extract(epoch from '2026-07-23 20:03:09'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029319 -3.388414)', '2026-07-23 20:03:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-39.029319 -3.388414)'))) / (select extract(epoch from '2026-07-23 20:03:14'::timestamp) - extract(epoch from '2026-07-23 20:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-39.029319 -3.388414)'))) / (select extract(epoch from '2026-07-23 20:03:14'::timestamp) - extract(epoch from '2026-07-23 20:03: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'), 47446, 'SRID=4674;POINT (-39.029331 -3.388533)', '2026-07-23 20:03:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029319 -3.388414)'), GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.388533)'))) / (select extract(epoch from '2026-07-23 20:03:21'::timestamp) - extract(epoch from '2026-07-23 20:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029319 -3.388414)'), GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.388533)'))) / (select extract(epoch from '2026-07-23 20:03:21'::timestamp) - extract(epoch from '2026-07-23 20:03: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'), 47446, 'SRID=4674;POINT (-39.02935 -3.388655)', '2026-07-23 20:03:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.388533)'), GeomFromEWKT('SRID=4674;POINT (-39.02935 -3.388655)'))) / (select extract(epoch from '2026-07-23 20:03:28'::timestamp) - extract(epoch from '2026-07-23 20:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.388533)'), GeomFromEWKT('SRID=4674;POINT (-39.02935 -3.388655)'))) / (select extract(epoch from '2026-07-23 20:03:28'::timestamp) - extract(epoch from '2026-07-23 20:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029375 -3.388779)', '2026-07-23 20:03:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02935 -3.388655)'), GeomFromEWKT('SRID=4674;POINT (-39.029375 -3.388779)'))) / (select extract(epoch from '2026-07-23 20:03:35'::timestamp) - extract(epoch from '2026-07-23 20:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02935 -3.388655)'), GeomFromEWKT('SRID=4674;POINT (-39.029375 -3.388779)'))) / (select extract(epoch from '2026-07-23 20:03:35'::timestamp) - extract(epoch from '2026-07-23 20:03: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'), 47446, 'SRID=4674;POINT (-39.029388 -3.388871)', '2026-07-23 20:03:40', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029375 -3.388779)'), GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.388871)'))) / (select extract(epoch from '2026-07-23 20:03:40'::timestamp) - extract(epoch from '2026-07-23 20:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029375 -3.388779)'), GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.388871)'))) / (select extract(epoch from '2026-07-23 20:03:40'::timestamp) - extract(epoch from '2026-07-23 20:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029402 -3.38896)', '2026-07-23 20:03:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.388871)'), GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.38896)'))) / (select extract(epoch from '2026-07-23 20:03:45'::timestamp) - extract(epoch from '2026-07-23 20:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029388 -3.388871)'), GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.38896)'))) / (select extract(epoch from '2026-07-23 20:03:45'::timestamp) - extract(epoch from '2026-07-23 20:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029434 -3.389065)', '2026-07-23 20:03:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.38896)'), GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.389065)'))) / (select extract(epoch from '2026-07-23 20:03:51'::timestamp) - extract(epoch from '2026-07-23 20:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.38896)'), GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.389065)'))) / (select extract(epoch from '2026-07-23 20:03:51'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.02945 -3.389163)', '2026-07-23 20:03:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.389065)'), GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.389163)'))) / (select extract(epoch from '2026-07-23 20:03:57'::timestamp) - extract(epoch from '2026-07-23 20:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.389065)'), GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.389163)'))) / (select extract(epoch from '2026-07-23 20:03:57'::timestamp) - extract(epoch from '2026-07-23 20:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029463 -3.389267)', '2026-07-23 20:04:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.389163)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.389267)'))) / (select extract(epoch from '2026-07-23 20:04:03'::timestamp) - extract(epoch from '2026-07-23 20:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02945 -3.389163)'), GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.389267)'))) / (select extract(epoch from '2026-07-23 20:04:03'::timestamp) - extract(epoch from '2026-07-23 20:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029467 -3.389388)', '2026-07-23 20:04:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.389267)'), GeomFromEWKT('SRID=4674;POINT (-39.029467 -3.389388)'))) / (select extract(epoch from '2026-07-23 20:04:10'::timestamp) - extract(epoch from '2026-07-23 20:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029463 -3.389267)'), GeomFromEWKT('SRID=4674;POINT (-39.029467 -3.389388)'))) / (select extract(epoch from '2026-07-23 20:04:10'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029469 -3.389442)', '2026-07-23 20:04:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029467 -3.389388)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.389442)'))) / (select extract(epoch from '2026-07-23 20:04:13'::timestamp) - extract(epoch from '2026-07-23 20:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029467 -3.389388)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.389442)'))) / (select extract(epoch from '2026-07-23 20:04:13'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029475 -3.38948)', '2026-07-23 20:04:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.389442)'), GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.38948)'))) / (select extract(epoch from '2026-07-23 20:04:15'::timestamp) - extract(epoch from '2026-07-23 20:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.389442)'), GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.38948)'))) / (select extract(epoch from '2026-07-23 20:04:15'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029501 -3.389583)', '2026-07-23 20:04:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.38948)'), GeomFromEWKT('SRID=4674;POINT (-39.029501 -3.389583)'))) / (select extract(epoch from '2026-07-23 20:04:21'::timestamp) - extract(epoch from '2026-07-23 20:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.38948)'), GeomFromEWKT('SRID=4674;POINT (-39.029501 -3.389583)'))) / (select extract(epoch from '2026-07-23 20:04:21'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029527 -3.389731)', '2026-07-23 20:04:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029501 -3.389583)'), GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.389731)'))) / (select extract(epoch from '2026-07-23 20:04:29'::timestamp) - extract(epoch from '2026-07-23 20:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029501 -3.389583)'), GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.389731)'))) / (select extract(epoch from '2026-07-23 20:04:29'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029539 -3.38986)', '2026-07-23 20:04:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.389731)'), GeomFromEWKT('SRID=4674;POINT (-39.029539 -3.38986)'))) / (select extract(epoch from '2026-07-23 20:04:36'::timestamp) - extract(epoch from '2026-07-23 20:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.389731)'), GeomFromEWKT('SRID=4674;POINT (-39.029539 -3.38986)'))) / (select extract(epoch from '2026-07-23 20:04:36'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029561 -3.390006)', '2026-07-23 20:04:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029539 -3.38986)'), GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.390006)'))) / (select extract(epoch from '2026-07-23 20:04:44'::timestamp) - extract(epoch from '2026-07-23 20:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029539 -3.38986)'), GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.390006)'))) / (select extract(epoch from '2026-07-23 20:04:44'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029575 -3.390132)', '2026-07-23 20:04:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.390006)'), GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.390132)'))) / (select extract(epoch from '2026-07-23 20:04:51'::timestamp) - extract(epoch from '2026-07-23 20:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.390006)'), GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.390132)'))) / (select extract(epoch from '2026-07-23 20:04:51'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029594 -3.390246)', '2026-07-23 20:04:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.390132)'), GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.390246)'))) / (select extract(epoch from '2026-07-23 20:04:57'::timestamp) - extract(epoch from '2026-07-23 20:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.390132)'), GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.390246)'))) / (select extract(epoch from '2026-07-23 20:04:57'::timestamp) - extract(epoch from '2026-07-23 20:04: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'), 47446, 'SRID=4674;POINT (-39.029616 -3.390374)', '2026-07-23 20:05:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.390246)'), GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.390374)'))) / (select extract(epoch from '2026-07-23 20:05:04'::timestamp) - extract(epoch from '2026-07-23 20:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.390246)'), GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.390374)'))) / (select extract(epoch from '2026-07-23 20:05:04'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029642 -3.390515)', '2026-07-23 20:05:12', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.390374)'), GeomFromEWKT('SRID=4674;POINT (-39.029642 -3.390515)'))) / (select extract(epoch from '2026-07-23 20:05:12'::timestamp) - extract(epoch from '2026-07-23 20:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.390374)'), GeomFromEWKT('SRID=4674;POINT (-39.029642 -3.390515)'))) / (select extract(epoch from '2026-07-23 20:05:12'::timestamp) - extract(epoch from '2026-07-23 20:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029654 -3.390578)', '2026-07-23 20:05:16', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029642 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-39.029654 -3.390578)'))) / (select extract(epoch from '2026-07-23 20:05:16'::timestamp) - extract(epoch from '2026-07-23 20:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029642 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-39.029654 -3.390578)'))) / (select extract(epoch from '2026-07-23 20:05:16'::timestamp) - extract(epoch from '2026-07-23 20:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029657 -3.390594)', '2026-07-23 20:05:17', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029654 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.390594)'))) / (select extract(epoch from '2026-07-23 20:05:17'::timestamp) - extract(epoch from '2026-07-23 20:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029654 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.390594)'))) / (select extract(epoch from '2026-07-23 20:05:17'::timestamp) - extract(epoch from '2026-07-23 20:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029668 -3.390697)', '2026-07-23 20:05:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.390697)'))) / (select extract(epoch from '2026-07-23 20:05:23'::timestamp) - extract(epoch from '2026-07-23 20:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029657 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.390697)'))) / (select extract(epoch from '2026-07-23 20:05:23'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029682 -3.390848)', '2026-07-23 20:05:31', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.390697)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.390848)'))) / (select extract(epoch from '2026-07-23 20:05:31'::timestamp) - extract(epoch from '2026-07-23 20:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029668 -3.390697)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.390848)'))) / (select extract(epoch from '2026-07-23 20:05:31'::timestamp) - extract(epoch from '2026-07-23 20:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029701 -3.390963)', '2026-07-23 20:05:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.390848)'), GeomFromEWKT('SRID=4674;POINT (-39.029701 -3.390963)'))) / (select extract(epoch from '2026-07-23 20:05:37'::timestamp) - extract(epoch from '2026-07-23 20:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.390848)'), GeomFromEWKT('SRID=4674;POINT (-39.029701 -3.390963)'))) / (select extract(epoch from '2026-07-23 20:05:37'::timestamp) - extract(epoch from '2026-07-23 20:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029711 -3.391074)', '2026-07-23 20:05:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029701 -3.390963)'), GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.391074)'))) / (select extract(epoch from '2026-07-23 20:05:43'::timestamp) - extract(epoch from '2026-07-23 20:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029701 -3.390963)'), GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.391074)'))) / (select extract(epoch from '2026-07-23 20:05:43'::timestamp) - extract(epoch from '2026-07-23 20:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029735 -3.391187)', '2026-07-23 20:05:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.391074)'), GeomFromEWKT('SRID=4674;POINT (-39.029735 -3.391187)'))) / (select extract(epoch from '2026-07-23 20:05:49'::timestamp) - extract(epoch from '2026-07-23 20:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.391074)'), GeomFromEWKT('SRID=4674;POINT (-39.029735 -3.391187)'))) / (select extract(epoch from '2026-07-23 20:05:49'::timestamp) - extract(epoch from '2026-07-23 20:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029749 -3.391283)', '2026-07-23 20:05:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029735 -3.391187)'), GeomFromEWKT('SRID=4674;POINT (-39.029749 -3.391283)'))) / (select extract(epoch from '2026-07-23 20:05:54'::timestamp) - extract(epoch from '2026-07-23 20:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029735 -3.391187)'), GeomFromEWKT('SRID=4674;POINT (-39.029749 -3.391283)'))) / (select extract(epoch from '2026-07-23 20:05:54'::timestamp) - extract(epoch from '2026-07-23 20:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029757 -3.39138)', '2026-07-23 20:05:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029749 -3.391283)'), GeomFromEWKT('SRID=4674;POINT (-39.029757 -3.39138)'))) / (select extract(epoch from '2026-07-23 20:05:59'::timestamp) - extract(epoch from '2026-07-23 20:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029749 -3.391283)'), GeomFromEWKT('SRID=4674;POINT (-39.029757 -3.39138)'))) / (select extract(epoch from '2026-07-23 20:05:59'::timestamp) - extract(epoch from '2026-07-23 20:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029765 -3.391476)', '2026-07-23 20:06:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029757 -3.39138)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.391476)'))) / (select extract(epoch from '2026-07-23 20:06:04'::timestamp) - extract(epoch from '2026-07-23 20:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029757 -3.39138)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.391476)'))) / (select extract(epoch from '2026-07-23 20:06:04'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029774 -3.391567)', '2026-07-23 20:06:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.391476)'), GeomFromEWKT('SRID=4674;POINT (-39.029774 -3.391567)'))) / (select extract(epoch from '2026-07-23 20:06:09'::timestamp) - extract(epoch from '2026-07-23 20:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.391476)'), GeomFromEWKT('SRID=4674;POINT (-39.029774 -3.391567)'))) / (select extract(epoch from '2026-07-23 20:06:09'::timestamp) - extract(epoch from '2026-07-23 20:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02979 -3.391682)', '2026-07-23 20:06:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029774 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-39.02979 -3.391682)'))) / (select extract(epoch from '2026-07-23 20:06:15'::timestamp) - extract(epoch from '2026-07-23 20:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029774 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-39.02979 -3.391682)'))) / (select extract(epoch from '2026-07-23 20:06:15'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.029801 -3.391771)', '2026-07-23 20:06:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02979 -3.391682)'), GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.391771)'))) / (select extract(epoch from '2026-07-23 20:06:20'::timestamp) - extract(epoch from '2026-07-23 20:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02979 -3.391682)'), GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.391771)'))) / (select extract(epoch from '2026-07-23 20:06:20'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.02983 -3.391901)', '2026-07-23 20:06:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.391771)'), GeomFromEWKT('SRID=4674;POINT (-39.02983 -3.391901)'))) / (select extract(epoch from '2026-07-23 20:06:27'::timestamp) - extract(epoch from '2026-07-23 20:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.391771)'), GeomFromEWKT('SRID=4674;POINT (-39.02983 -3.391901)'))) / (select extract(epoch from '2026-07-23 20:06:27'::timestamp) - extract(epoch from '2026-07-23 20:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02984 -3.391959)', '2026-07-23 20:06:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02983 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.391959)'))) / (select extract(epoch from '2026-07-23 20:06:30'::timestamp) - extract(epoch from '2026-07-23 20:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02983 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.391959)'))) / (select extract(epoch from '2026-07-23 20:06:30'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029841 -3.391977)', '2026-07-23 20:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.391959)'), GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.391977)'))) / (select extract(epoch from '2026-07-23 20:06:31'::timestamp) - extract(epoch from '2026-07-23 20:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.391959)'), GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.391977)'))) / (select extract(epoch from '2026-07-23 20:06:31'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.029843 -3.391995)', '2026-07-23 20:06:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.391977)'), GeomFromEWKT('SRID=4674;POINT (-39.029843 -3.391995)'))) / (select extract(epoch from '2026-07-23 20:06:32'::timestamp) - extract(epoch from '2026-07-23 20:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029841 -3.391977)'), GeomFromEWKT('SRID=4674;POINT (-39.029843 -3.391995)'))) / (select extract(epoch from '2026-07-23 20:06:32'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029861 -3.392085)', '2026-07-23 20:06:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029843 -3.391995)'), GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.392085)'))) / (select extract(epoch from '2026-07-23 20:06:37'::timestamp) - extract(epoch from '2026-07-23 20:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029843 -3.391995)'), GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.392085)'))) / (select extract(epoch from '2026-07-23 20:06:37'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.029865 -3.392196)', '2026-07-23 20:06:43', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.392085)'), GeomFromEWKT('SRID=4674;POINT (-39.029865 -3.392196)'))) / (select extract(epoch from '2026-07-23 20:06:43'::timestamp) - extract(epoch from '2026-07-23 20:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.392085)'), GeomFromEWKT('SRID=4674;POINT (-39.029865 -3.392196)'))) / (select extract(epoch from '2026-07-23 20:06:43'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029883 -3.392301)', '2026-07-23 20:06:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029865 -3.392196)'), GeomFromEWKT('SRID=4674;POINT (-39.029883 -3.392301)'))) / (select extract(epoch from '2026-07-23 20:06:49'::timestamp) - extract(epoch from '2026-07-23 20:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029865 -3.392196)'), GeomFromEWKT('SRID=4674;POINT (-39.029883 -3.392301)'))) / (select extract(epoch from '2026-07-23 20:06:49'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029902 -3.392406)', '2026-07-23 20:06:55', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029883 -3.392301)'), GeomFromEWKT('SRID=4674;POINT (-39.029902 -3.392406)'))) / (select extract(epoch from '2026-07-23 20:06:55'::timestamp) - extract(epoch from '2026-07-23 20:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029883 -3.392301)'), GeomFromEWKT('SRID=4674;POINT (-39.029902 -3.392406)'))) / (select extract(epoch from '2026-07-23 20:06:55'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.029916 -3.392518)', '2026-07-23 20:07:01', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029902 -3.392406)'), GeomFromEWKT('SRID=4674;POINT (-39.029916 -3.392518)'))) / (select extract(epoch from '2026-07-23 20:07:01'::timestamp) - extract(epoch from '2026-07-23 20:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029902 -3.392406)'), GeomFromEWKT('SRID=4674;POINT (-39.029916 -3.392518)'))) / (select extract(epoch from '2026-07-23 20:07:01'::timestamp) - extract(epoch from '2026-07-23 20:06: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'), 47446, 'SRID=4674;POINT (-39.029928 -3.392624)', '2026-07-23 20:07:07', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029916 -3.392518)'), GeomFromEWKT('SRID=4674;POINT (-39.029928 -3.392624)'))) / (select extract(epoch from '2026-07-23 20:07:07'::timestamp) - extract(epoch from '2026-07-23 20:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029916 -3.392518)'), GeomFromEWKT('SRID=4674;POINT (-39.029928 -3.392624)'))) / (select extract(epoch from '2026-07-23 20:07:07'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029966 -3.392747)', '2026-07-23 20:07:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029928 -3.392624)'), GeomFromEWKT('SRID=4674;POINT (-39.029966 -3.392747)'))) / (select extract(epoch from '2026-07-23 20:07:14'::timestamp) - extract(epoch from '2026-07-23 20:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029928 -3.392624)'), GeomFromEWKT('SRID=4674;POINT (-39.029966 -3.392747)'))) / (select extract(epoch from '2026-07-23 20:07:14'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.029994 -3.392843)', '2026-07-23 20:07:19', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029966 -3.392747)'), GeomFromEWKT('SRID=4674;POINT (-39.029994 -3.392843)'))) / (select extract(epoch from '2026-07-23 20:07:19'::timestamp) - extract(epoch from '2026-07-23 20:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029966 -3.392747)'), GeomFromEWKT('SRID=4674;POINT (-39.029994 -3.392843)'))) / (select extract(epoch from '2026-07-23 20:07:19'::timestamp) - extract(epoch from '2026-07-23 20:07: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'), 47446, 'SRID=4674;POINT (-39.030014 -3.392958)', '2026-07-23 20:07:25', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029994 -3.392843)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.392958)'))) / (select extract(epoch from '2026-07-23 20:07:25'::timestamp) - extract(epoch from '2026-07-23 20:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029994 -3.392843)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.392958)'))) / (select extract(epoch from '2026-07-23 20:07:25'::timestamp) - extract(epoch from '2026-07-23 20:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030036 -3.393055)', '2026-07-23 20:07:30', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.392958)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.393055)'))) / (select extract(epoch from '2026-07-23 20:07:30'::timestamp) - extract(epoch from '2026-07-23 20:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.392958)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.393055)'))) / (select extract(epoch from '2026-07-23 20:07:30'::timestamp) - extract(epoch from '2026-07-23 20:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030064 -3.393187)', '2026-07-23 20:07:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.393055)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.393187)'))) / (select extract(epoch from '2026-07-23 20:07:37'::timestamp) - extract(epoch from '2026-07-23 20:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.393055)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.393187)'))) / (select extract(epoch from '2026-07-23 20:07:37'::timestamp) - extract(epoch from '2026-07-23 20:07: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'), 47446, 'SRID=4674;POINT (-39.03009 -3.393288)', '2026-07-23 20:07:42', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.393187)'), GeomFromEWKT('SRID=4674;POINT (-39.03009 -3.393288)'))) / (select extract(epoch from '2026-07-23 20:07:42'::timestamp) - extract(epoch from '2026-07-23 20:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.393187)'), GeomFromEWKT('SRID=4674;POINT (-39.03009 -3.393288)'))) / (select extract(epoch from '2026-07-23 20:07:42'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030116 -3.393404)', '2026-07-23 20:07:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03009 -3.393288)'), GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.393404)'))) / (select extract(epoch from '2026-07-23 20:07:48'::timestamp) - extract(epoch from '2026-07-23 20:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03009 -3.393288)'), GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.393404)'))) / (select extract(epoch from '2026-07-23 20:07:48'::timestamp) - extract(epoch from '2026-07-23 20:07: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'), 47446, 'SRID=4674;POINT (-39.030139 -3.393542)', '2026-07-23 20:07:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.393404)'), GeomFromEWKT('SRID=4674;POINT (-39.030139 -3.393542)'))) / (select extract(epoch from '2026-07-23 20:07:55'::timestamp) - extract(epoch from '2026-07-23 20:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.393404)'), GeomFromEWKT('SRID=4674;POINT (-39.030139 -3.393542)'))) / (select extract(epoch from '2026-07-23 20:07:55'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030154 -3.393659)', '2026-07-23 20:08:01', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030139 -3.393542)'), GeomFromEWKT('SRID=4674;POINT (-39.030154 -3.393659)'))) / (select extract(epoch from '2026-07-23 20:08:01'::timestamp) - extract(epoch from '2026-07-23 20:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030139 -3.393542)'), GeomFromEWKT('SRID=4674;POINT (-39.030154 -3.393659)'))) / (select extract(epoch from '2026-07-23 20:08:01'::timestamp) - extract(epoch from '2026-07-23 20:07: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'), 47446, 'SRID=4674;POINT (-39.030162 -3.393765)', '2026-07-23 20:08:07', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030154 -3.393659)'), GeomFromEWKT('SRID=4674;POINT (-39.030162 -3.393765)'))) / (select extract(epoch from '2026-07-23 20:08:07'::timestamp) - extract(epoch from '2026-07-23 20:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030154 -3.393659)'), GeomFromEWKT('SRID=4674;POINT (-39.030162 -3.393765)'))) / (select extract(epoch from '2026-07-23 20:08:07'::timestamp) - extract(epoch from '2026-07-23 20:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030179 -3.393898)', '2026-07-23 20:08:14', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030162 -3.393765)'), GeomFromEWKT('SRID=4674;POINT (-39.030179 -3.393898)'))) / (select extract(epoch from '2026-07-23 20:08:14'::timestamp) - extract(epoch from '2026-07-23 20:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030162 -3.393765)'), GeomFromEWKT('SRID=4674;POINT (-39.030179 -3.393898)'))) / (select extract(epoch from '2026-07-23 20:08:14'::timestamp) - extract(epoch from '2026-07-23 20:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030197 -3.393998)', '2026-07-23 20:08:19', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030179 -3.393898)'), GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.393998)'))) / (select extract(epoch from '2026-07-23 20:08:19'::timestamp) - extract(epoch from '2026-07-23 20:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030179 -3.393898)'), GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.393998)'))) / (select extract(epoch from '2026-07-23 20:08:19'::timestamp) - extract(epoch from '2026-07-23 20:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03021 -3.39409)', '2026-07-23 20:08:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.393998)'), GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.39409)'))) / (select extract(epoch from '2026-07-23 20:08:24'::timestamp) - extract(epoch from '2026-07-23 20:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.393998)'), GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.39409)'))) / (select extract(epoch from '2026-07-23 20:08:24'::timestamp) - extract(epoch from '2026-07-23 20:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030225 -3.394168)', '2026-07-23 20:08:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.030225 -3.394168)'))) / (select extract(epoch from '2026-07-23 20:08:28'::timestamp) - extract(epoch from '2026-07-23 20:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-39.030225 -3.394168)'))) / (select extract(epoch from '2026-07-23 20:08:28'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030251 -3.394297)', '2026-07-23 20:08:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030225 -3.394168)'), GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.394297)'))) / (select extract(epoch from '2026-07-23 20:08:35'::timestamp) - extract(epoch from '2026-07-23 20:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030225 -3.394168)'), GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.394297)'))) / (select extract(epoch from '2026-07-23 20:08:35'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030271 -3.394456)', '2026-07-23 20:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.394297)'), GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.394456)'))) / (select extract(epoch from '2026-07-23 20:08:43'::timestamp) - extract(epoch from '2026-07-23 20:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.394297)'), GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.394456)'))) / (select extract(epoch from '2026-07-23 20:08:43'::timestamp) - extract(epoch from '2026-07-23 20:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030296 -3.394589)', '2026-07-23 20:08:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.394456)'), GeomFromEWKT('SRID=4674;POINT (-39.030296 -3.394589)'))) / (select extract(epoch from '2026-07-23 20:08:50'::timestamp) - extract(epoch from '2026-07-23 20:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.394456)'), GeomFromEWKT('SRID=4674;POINT (-39.030296 -3.394589)'))) / (select extract(epoch from '2026-07-23 20:08:50'::timestamp) - extract(epoch from '2026-07-23 20:08: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'), 47446, 'SRID=4674;POINT (-39.030325 -3.394704)', '2026-07-23 20:08:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030296 -3.394589)'), GeomFromEWKT('SRID=4674;POINT (-39.030325 -3.394704)'))) / (select extract(epoch from '2026-07-23 20:08:56'::timestamp) - extract(epoch from '2026-07-23 20:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030296 -3.394589)'), GeomFromEWKT('SRID=4674;POINT (-39.030325 -3.394704)'))) / (select extract(epoch from '2026-07-23 20:08:56'::timestamp) - extract(epoch from '2026-07-23 20:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030351 -3.394838)', '2026-07-23 20:09:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030325 -3.394704)'), GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.394838)'))) / (select extract(epoch from '2026-07-23 20:09:03'::timestamp) - extract(epoch from '2026-07-23 20:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030325 -3.394704)'), GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.394838)'))) / (select extract(epoch from '2026-07-23 20:09:03'::timestamp) - extract(epoch from '2026-07-23 20:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030365 -3.394935)', '2026-07-23 20:09:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.394838)'), GeomFromEWKT('SRID=4674;POINT (-39.030365 -3.394935)'))) / (select extract(epoch from '2026-07-23 20:09:08'::timestamp) - extract(epoch from '2026-07-23 20:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.394838)'), GeomFromEWKT('SRID=4674;POINT (-39.030365 -3.394935)'))) / (select extract(epoch from '2026-07-23 20:09:08'::timestamp) - extract(epoch from '2026-07-23 20:09: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'), 47446, 'SRID=4674;POINT (-39.03037 -3.395087)', '2026-07-23 20:09:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030365 -3.394935)'), GeomFromEWKT('SRID=4674;POINT (-39.03037 -3.395087)'))) / (select extract(epoch from '2026-07-23 20:09:16'::timestamp) - extract(epoch from '2026-07-23 20:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030365 -3.394935)'), GeomFromEWKT('SRID=4674;POINT (-39.03037 -3.395087)'))) / (select extract(epoch from '2026-07-23 20:09:16'::timestamp) - extract(epoch from '2026-07-23 20:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030374 -3.395207)', '2026-07-23 20:09:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03037 -3.395087)'), GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.395207)'))) / (select extract(epoch from '2026-07-23 20:09:22'::timestamp) - extract(epoch from '2026-07-23 20:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03037 -3.395087)'), GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.395207)'))) / (select extract(epoch from '2026-07-23 20:09:22'::timestamp) - extract(epoch from '2026-07-23 20:09: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'), 47446, 'SRID=4674;POINT (-39.030373 -3.395224)', '2026-07-23 20:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.030373 -3.395224)'))) / (select extract(epoch from '2026-07-23 20:09:23'::timestamp) - extract(epoch from '2026-07-23 20:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.030373 -3.395224)'))) / (select extract(epoch from '2026-07-23 20:09:23'::timestamp) - extract(epoch from '2026-07-23 20:09: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'), 47446, 'SRID=4674;POINT (-39.03039 -3.395288)', '2026-07-23 20:09:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030373 -3.395224)'), GeomFromEWKT('SRID=4674;POINT (-39.03039 -3.395288)'))) / (select extract(epoch from '2026-07-23 20:09:26'::timestamp) - extract(epoch from '2026-07-23 20:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030373 -3.395224)'), GeomFromEWKT('SRID=4674;POINT (-39.03039 -3.395288)'))) / (select extract(epoch from '2026-07-23 20:09:26'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030392 -3.395404)', '2026-07-23 20:09:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03039 -3.395288)'), GeomFromEWKT('SRID=4674;POINT (-39.030392 -3.395404)'))) / (select extract(epoch from '2026-07-23 20:09:32'::timestamp) - extract(epoch from '2026-07-23 20:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03039 -3.395288)'), GeomFromEWKT('SRID=4674;POINT (-39.030392 -3.395404)'))) / (select extract(epoch from '2026-07-23 20:09:32'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030409 -3.395532)', '2026-07-23 20:09:39', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030392 -3.395404)'), GeomFromEWKT('SRID=4674;POINT (-39.030409 -3.395532)'))) / (select extract(epoch from '2026-07-23 20:09:39'::timestamp) - extract(epoch from '2026-07-23 20:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030392 -3.395404)'), GeomFromEWKT('SRID=4674;POINT (-39.030409 -3.395532)'))) / (select extract(epoch from '2026-07-23 20:09:39'::timestamp) - extract(epoch from '2026-07-23 20:09: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'), 47446, 'SRID=4674;POINT (-39.030421 -3.395665)', '2026-07-23 20:09:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030409 -3.395532)'), GeomFromEWKT('SRID=4674;POINT (-39.030421 -3.395665)'))) / (select extract(epoch from '2026-07-23 20:09:46'::timestamp) - extract(epoch from '2026-07-23 20:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030409 -3.395532)'), GeomFromEWKT('SRID=4674;POINT (-39.030421 -3.395665)'))) / (select extract(epoch from '2026-07-23 20:09:46'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030427 -3.395783)', '2026-07-23 20:09:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030421 -3.395665)'), GeomFromEWKT('SRID=4674;POINT (-39.030427 -3.395783)'))) / (select extract(epoch from '2026-07-23 20:09:52'::timestamp) - extract(epoch from '2026-07-23 20:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030421 -3.395665)'), GeomFromEWKT('SRID=4674;POINT (-39.030427 -3.395783)'))) / (select extract(epoch from '2026-07-23 20:09:52'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030439 -3.395887)', '2026-07-23 20:09:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030427 -3.395783)'), GeomFromEWKT('SRID=4674;POINT (-39.030439 -3.395887)'))) / (select extract(epoch from '2026-07-23 20:09:57'::timestamp) - extract(epoch from '2026-07-23 20:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030427 -3.395783)'), GeomFromEWKT('SRID=4674;POINT (-39.030439 -3.395887)'))) / (select extract(epoch from '2026-07-23 20:09:57'::timestamp) - extract(epoch from '2026-07-23 20:09: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'), 47446, 'SRID=4674;POINT (-39.030454 -3.395984)', '2026-07-23 20:10:02', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030439 -3.395887)'), GeomFromEWKT('SRID=4674;POINT (-39.030454 -3.395984)'))) / (select extract(epoch from '2026-07-23 20:10:02'::timestamp) - extract(epoch from '2026-07-23 20:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030439 -3.395887)'), GeomFromEWKT('SRID=4674;POINT (-39.030454 -3.395984)'))) / (select extract(epoch from '2026-07-23 20:10:02'::timestamp) - extract(epoch from '2026-07-23 20:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030472 -3.396117)', '2026-07-23 20:10:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030454 -3.395984)'), GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.396117)'))) / (select extract(epoch from '2026-07-23 20:10:09'::timestamp) - extract(epoch from '2026-07-23 20:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030454 -3.395984)'), GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.396117)'))) / (select extract(epoch from '2026-07-23 20:10:09'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030496 -3.396237)', '2026-07-23 20:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.396117)'), GeomFromEWKT('SRID=4674;POINT (-39.030496 -3.396237)'))) / (select extract(epoch from '2026-07-23 20:10:15'::timestamp) - extract(epoch from '2026-07-23 20:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030472 -3.396117)'), GeomFromEWKT('SRID=4674;POINT (-39.030496 -3.396237)'))) / (select extract(epoch from '2026-07-23 20:10:15'::timestamp) - extract(epoch from '2026-07-23 20:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030527 -3.396357)', '2026-07-23 20:10:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030496 -3.396237)'), GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396357)'))) / (select extract(epoch from '2026-07-23 20:10:21'::timestamp) - extract(epoch from '2026-07-23 20:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030496 -3.396237)'), GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396357)'))) / (select extract(epoch from '2026-07-23 20:10:21'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030527 -3.396375)', '2026-07-23 20:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396357)'), GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396375)'))) / (select extract(epoch from '2026-07-23 20:10:22'::timestamp) - extract(epoch from '2026-07-23 20:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396357)'), GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396375)'))) / (select extract(epoch from '2026-07-23 20:10:22'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030513 -3.396426)', '2026-07-23 20:10:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396375)'), GeomFromEWKT('SRID=4674;POINT (-39.030513 -3.396426)'))) / (select extract(epoch from '2026-07-23 20:10:25'::timestamp) - extract(epoch from '2026-07-23 20:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030527 -3.396375)'), GeomFromEWKT('SRID=4674;POINT (-39.030513 -3.396426)'))) / (select extract(epoch from '2026-07-23 20:10:25'::timestamp) - extract(epoch from '2026-07-23 20:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030522 -3.396524)', '2026-07-23 20:10:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030513 -3.396426)'), GeomFromEWKT('SRID=4674;POINT (-39.030522 -3.396524)'))) / (select extract(epoch from '2026-07-23 20:10:30'::timestamp) - extract(epoch from '2026-07-23 20:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030513 -3.396426)'), GeomFromEWKT('SRID=4674;POINT (-39.030522 -3.396524)'))) / (select extract(epoch from '2026-07-23 20:10:30'::timestamp) - extract(epoch from '2026-07-23 20:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030545 -3.396618)', '2026-07-23 20:10:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030522 -3.396524)'), GeomFromEWKT('SRID=4674;POINT (-39.030545 -3.396618)'))) / (select extract(epoch from '2026-07-23 20:10:35'::timestamp) - extract(epoch from '2026-07-23 20:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030522 -3.396524)'), GeomFromEWKT('SRID=4674;POINT (-39.030545 -3.396618)'))) / (select extract(epoch from '2026-07-23 20:10:35'::timestamp) - extract(epoch from '2026-07-23 20:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030573 -3.396748)', '2026-07-23 20:10:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030545 -3.396618)'), GeomFromEWKT('SRID=4674;POINT (-39.030573 -3.396748)'))) / (select extract(epoch from '2026-07-23 20:10:42'::timestamp) - extract(epoch from '2026-07-23 20:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030545 -3.396618)'), GeomFromEWKT('SRID=4674;POINT (-39.030573 -3.396748)'))) / (select extract(epoch from '2026-07-23 20:10:42'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030572 -3.396764)', '2026-07-23 20:10:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030573 -3.396748)'), GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.396764)'))) / (select extract(epoch from '2026-07-23 20:10:43'::timestamp) - extract(epoch from '2026-07-23 20:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030573 -3.396748)'), GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.396764)'))) / (select extract(epoch from '2026-07-23 20:10:43'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030577 -3.396825)', '2026-07-23 20:10:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.396764)'), GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.396825)'))) / (select extract(epoch from '2026-07-23 20:10:46'::timestamp) - extract(epoch from '2026-07-23 20:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030572 -3.396764)'), GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.396825)'))) / (select extract(epoch from '2026-07-23 20:10:46'::timestamp) - extract(epoch from '2026-07-23 20:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030584 -3.396914)', '2026-07-23 20:10:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.396825)'), GeomFromEWKT('SRID=4674;POINT (-39.030584 -3.396914)'))) / (select extract(epoch from '2026-07-23 20:10:51'::timestamp) - extract(epoch from '2026-07-23 20:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.396825)'), GeomFromEWKT('SRID=4674;POINT (-39.030584 -3.396914)'))) / (select extract(epoch from '2026-07-23 20:10:51'::timestamp) - extract(epoch from '2026-07-23 20:10: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'), 47446, 'SRID=4674;POINT (-39.030601 -3.397006)', '2026-07-23 20:10:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030584 -3.396914)'), GeomFromEWKT('SRID=4674;POINT (-39.030601 -3.397006)'))) / (select extract(epoch from '2026-07-23 20:10:56'::timestamp) - extract(epoch from '2026-07-23 20:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030584 -3.396914)'), GeomFromEWKT('SRID=4674;POINT (-39.030601 -3.397006)'))) / (select extract(epoch from '2026-07-23 20:10:56'::timestamp) - extract(epoch from '2026-07-23 20:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030616 -3.39712)', '2026-07-23 20:11:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030601 -3.397006)'), GeomFromEWKT('SRID=4674;POINT (-39.030616 -3.39712)'))) / (select extract(epoch from '2026-07-23 20:11:02'::timestamp) - extract(epoch from '2026-07-23 20:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030601 -3.397006)'), GeomFromEWKT('SRID=4674;POINT (-39.030616 -3.39712)'))) / (select extract(epoch from '2026-07-23 20:11:02'::timestamp) - extract(epoch from '2026-07-23 20:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030613 -3.397137)', '2026-07-23 20:11:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030616 -3.39712)'), GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.397137)'))) / (select extract(epoch from '2026-07-23 20:11:03'::timestamp) - extract(epoch from '2026-07-23 20:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030616 -3.39712)'), GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.397137)'))) / (select extract(epoch from '2026-07-23 20:11:03'::timestamp) - extract(epoch from '2026-07-23 20:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030618 -3.397251)', '2026-07-23 20:11:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.397137)'), GeomFromEWKT('SRID=4674;POINT (-39.030618 -3.397251)'))) / (select extract(epoch from '2026-07-23 20:11:09'::timestamp) - extract(epoch from '2026-07-23 20:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.397137)'), GeomFromEWKT('SRID=4674;POINT (-39.030618 -3.397251)'))) / (select extract(epoch from '2026-07-23 20:11:09'::timestamp) - extract(epoch from '2026-07-23 20:11: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'), 47446, 'SRID=4674;POINT (-39.03063 -3.397349)', '2026-07-23 20:11:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030618 -3.397251)'), GeomFromEWKT('SRID=4674;POINT (-39.03063 -3.397349)'))) / (select extract(epoch from '2026-07-23 20:11:14'::timestamp) - extract(epoch from '2026-07-23 20:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030618 -3.397251)'), GeomFromEWKT('SRID=4674;POINT (-39.03063 -3.397349)'))) / (select extract(epoch from '2026-07-23 20:11:14'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030635 -3.397464)', '2026-07-23 20:11:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03063 -3.397349)'), GeomFromEWKT('SRID=4674;POINT (-39.030635 -3.397464)'))) / (select extract(epoch from '2026-07-23 20:11:20'::timestamp) - extract(epoch from '2026-07-23 20:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03063 -3.397349)'), GeomFromEWKT('SRID=4674;POINT (-39.030635 -3.397464)'))) / (select extract(epoch from '2026-07-23 20:11:20'::timestamp) - extract(epoch from '2026-07-23 20:11: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'), 47446, 'SRID=4674;POINT (-39.030641 -3.397617)', '2026-07-23 20:11:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030635 -3.397464)'), GeomFromEWKT('SRID=4674;POINT (-39.030641 -3.397617)'))) / (select extract(epoch from '2026-07-23 20:11:28'::timestamp) - extract(epoch from '2026-07-23 20:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030635 -3.397464)'), GeomFromEWKT('SRID=4674;POINT (-39.030641 -3.397617)'))) / (select extract(epoch from '2026-07-23 20:11:28'::timestamp) - extract(epoch from '2026-07-23 20:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030647 -3.397757)', '2026-07-23 20:11:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030641 -3.397617)'), GeomFromEWKT('SRID=4674;POINT (-39.030647 -3.397757)'))) / (select extract(epoch from '2026-07-23 20:11:35'::timestamp) - extract(epoch from '2026-07-23 20:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030641 -3.397617)'), GeomFromEWKT('SRID=4674;POINT (-39.030647 -3.397757)'))) / (select extract(epoch from '2026-07-23 20:11:35'::timestamp) - extract(epoch from '2026-07-23 20:11: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'), 47446, 'SRID=4674;POINT (-39.030646 -3.397874)', '2026-07-23 20:11:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030647 -3.397757)'), GeomFromEWKT('SRID=4674;POINT (-39.030646 -3.397874)'))) / (select extract(epoch from '2026-07-23 20:11:41'::timestamp) - extract(epoch from '2026-07-23 20:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030647 -3.397757)'), GeomFromEWKT('SRID=4674;POINT (-39.030646 -3.397874)'))) / (select extract(epoch from '2026-07-23 20:11:41'::timestamp) - extract(epoch from '2026-07-23 20:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030643 -3.398025)', '2026-07-23 20:11:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030646 -3.397874)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.398025)'))) / (select extract(epoch from '2026-07-23 20:11:49'::timestamp) - extract(epoch from '2026-07-23 20:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030646 -3.397874)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.398025)'))) / (select extract(epoch from '2026-07-23 20:11:49'::timestamp) - extract(epoch from '2026-07-23 20:11: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'), 47446, 'SRID=4674;POINT (-39.030643 -3.39814)', '2026-07-23 20:11:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.398025)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.39814)'))) / (select extract(epoch from '2026-07-23 20:11:55'::timestamp) - extract(epoch from '2026-07-23 20:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.398025)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.39814)'))) / (select extract(epoch from '2026-07-23 20:11:55'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030657 -3.39826)', '2026-07-23 20:12:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.39814)'), GeomFromEWKT('SRID=4674;POINT (-39.030657 -3.39826)'))) / (select extract(epoch from '2026-07-23 20:12:01'::timestamp) - extract(epoch from '2026-07-23 20:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.39814)'), GeomFromEWKT('SRID=4674;POINT (-39.030657 -3.39826)'))) / (select extract(epoch from '2026-07-23 20:12:01'::timestamp) - extract(epoch from '2026-07-23 20:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030662 -3.398285)', '2026-07-23 20:12:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030657 -3.39826)'), GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.398285)'))) / (select extract(epoch from '2026-07-23 20:12:02'::timestamp) - extract(epoch from '2026-07-23 20:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030657 -3.39826)'), GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.398285)'))) / (select extract(epoch from '2026-07-23 20:12:02'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030665 -3.39838)', '2026-07-23 20:12:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.398285)'), GeomFromEWKT('SRID=4674;POINT (-39.030665 -3.39838)'))) / (select extract(epoch from '2026-07-23 20:12:07'::timestamp) - extract(epoch from '2026-07-23 20:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.398285)'), GeomFromEWKT('SRID=4674;POINT (-39.030665 -3.39838)'))) / (select extract(epoch from '2026-07-23 20:12:07'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030678 -3.398518)', '2026-07-23 20:12:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030665 -3.39838)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398518)'))) / (select extract(epoch from '2026-07-23 20:12:14'::timestamp) - extract(epoch from '2026-07-23 20:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030665 -3.39838)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398518)'))) / (select extract(epoch from '2026-07-23 20:12:14'::timestamp) - extract(epoch from '2026-07-23 20:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030683 -3.398633)', '2026-07-23 20:12:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398518)'), GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.398633)'))) / (select extract(epoch from '2026-07-23 20:12:20'::timestamp) - extract(epoch from '2026-07-23 20:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398518)'), GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.398633)'))) / (select extract(epoch from '2026-07-23 20:12:20'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030678 -3.398774)', '2026-07-23 20:12:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.398633)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398774)'))) / (select extract(epoch from '2026-07-23 20:12:27'::timestamp) - extract(epoch from '2026-07-23 20:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.398633)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398774)'))) / (select extract(epoch from '2026-07-23 20:12:27'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030689 -3.398907)', '2026-07-23 20:12:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398774)'), GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.398907)'))) / (select extract(epoch from '2026-07-23 20:12:34'::timestamp) - extract(epoch from '2026-07-23 20:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.398774)'), GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.398907)'))) / (select extract(epoch from '2026-07-23 20:12:34'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030691 -3.399026)', '2026-07-23 20:12:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.398907)'), GeomFromEWKT('SRID=4674;POINT (-39.030691 -3.399026)'))) / (select extract(epoch from '2026-07-23 20:12:40'::timestamp) - extract(epoch from '2026-07-23 20:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.398907)'), GeomFromEWKT('SRID=4674;POINT (-39.030691 -3.399026)'))) / (select extract(epoch from '2026-07-23 20:12:40'::timestamp) - extract(epoch from '2026-07-23 20:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030677 -3.39914)', '2026-07-23 20:12:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030691 -3.399026)'), GeomFromEWKT('SRID=4674;POINT (-39.030677 -3.39914)'))) / (select extract(epoch from '2026-07-23 20:12:46'::timestamp) - extract(epoch from '2026-07-23 20:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030691 -3.399026)'), GeomFromEWKT('SRID=4674;POINT (-39.030677 -3.39914)'))) / (select extract(epoch from '2026-07-23 20:12:46'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030678 -3.399274)', '2026-07-23 20:12:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030677 -3.39914)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.399274)'))) / (select extract(epoch from '2026-07-23 20:12:53'::timestamp) - extract(epoch from '2026-07-23 20:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030677 -3.39914)'), GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.399274)'))) / (select extract(epoch from '2026-07-23 20:12:53'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030687 -3.399393)', '2026-07-23 20:12:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.399274)'), GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.399393)'))) / (select extract(epoch from '2026-07-23 20:12:59'::timestamp) - extract(epoch from '2026-07-23 20:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030678 -3.399274)'), GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.399393)'))) / (select extract(epoch from '2026-07-23 20:12:59'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030688 -3.399506)', '2026-07-23 20:13:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.399393)'), GeomFromEWKT('SRID=4674;POINT (-39.030688 -3.399506)'))) / (select extract(epoch from '2026-07-23 20:13:05'::timestamp) - extract(epoch from '2026-07-23 20:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030687 -3.399393)'), GeomFromEWKT('SRID=4674;POINT (-39.030688 -3.399506)'))) / (select extract(epoch from '2026-07-23 20:13:05'::timestamp) - extract(epoch from '2026-07-23 20:12: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'), 47446, 'SRID=4674;POINT (-39.030673 -3.399638)', '2026-07-23 20:13:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030688 -3.399506)'), GeomFromEWKT('SRID=4674;POINT (-39.030673 -3.399638)'))) / (select extract(epoch from '2026-07-23 20:13:12'::timestamp) - extract(epoch from '2026-07-23 20:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030688 -3.399506)'), GeomFromEWKT('SRID=4674;POINT (-39.030673 -3.399638)'))) / (select extract(epoch from '2026-07-23 20:13:12'::timestamp) - extract(epoch from '2026-07-23 20:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030653 -3.399768)', '2026-07-23 20:13:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030673 -3.399638)'), GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.399768)'))) / (select extract(epoch from '2026-07-23 20:13:19'::timestamp) - extract(epoch from '2026-07-23 20:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030673 -3.399638)'), GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.399768)'))) / (select extract(epoch from '2026-07-23 20:13:19'::timestamp) - extract(epoch from '2026-07-23 20:13: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'), 47446, 'SRID=4674;POINT (-39.030649 -3.399878)', '2026-07-23 20:13:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.399768)'), GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.399878)'))) / (select extract(epoch from '2026-07-23 20:13:25'::timestamp) - extract(epoch from '2026-07-23 20:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030653 -3.399768)'), GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.399878)'))) / (select extract(epoch from '2026-07-23 20:13:25'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.03066 -3.399985)', '2026-07-23 20:13:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.399878)'), GeomFromEWKT('SRID=4674;POINT (-39.03066 -3.399985)'))) / (select extract(epoch from '2026-07-23 20:13:31'::timestamp) - extract(epoch from '2026-07-23 20:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030649 -3.399878)'), GeomFromEWKT('SRID=4674;POINT (-39.03066 -3.399985)'))) / (select extract(epoch from '2026-07-23 20:13:31'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030658 -3.400098)', '2026-07-23 20:13:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03066 -3.399985)'), GeomFromEWKT('SRID=4674;POINT (-39.030658 -3.400098)'))) / (select extract(epoch from '2026-07-23 20:13:37'::timestamp) - extract(epoch from '2026-07-23 20:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03066 -3.399985)'), GeomFromEWKT('SRID=4674;POINT (-39.030658 -3.400098)'))) / (select extract(epoch from '2026-07-23 20:13:37'::timestamp) - extract(epoch from '2026-07-23 20:13: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'), 47446, 'SRID=4674;POINT (-39.030654 -3.400185)', '2026-07-23 20:13:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030658 -3.400098)'), GeomFromEWKT('SRID=4674;POINT (-39.030654 -3.400185)'))) / (select extract(epoch from '2026-07-23 20:13:42'::timestamp) - extract(epoch from '2026-07-23 20:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030658 -3.400098)'), GeomFromEWKT('SRID=4674;POINT (-39.030654 -3.400185)'))) / (select extract(epoch from '2026-07-23 20:13:42'::timestamp) - extract(epoch from '2026-07-23 20:13: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'), 47446, 'SRID=4674;POINT (-39.030651 -3.400282)', '2026-07-23 20:13:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030654 -3.400185)'), GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.400282)'))) / (select extract(epoch from '2026-07-23 20:13:47'::timestamp) - extract(epoch from '2026-07-23 20:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030654 -3.400185)'), GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.400282)'))) / (select extract(epoch from '2026-07-23 20:13:47'::timestamp) - extract(epoch from '2026-07-23 20:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030643 -3.400429)', '2026-07-23 20:13:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.400282)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.400429)'))) / (select extract(epoch from '2026-07-23 20:13:55'::timestamp) - extract(epoch from '2026-07-23 20:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.400282)'), GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.400429)'))) / (select extract(epoch from '2026-07-23 20:13:55'::timestamp) - extract(epoch from '2026-07-23 20:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030613 -3.400558)', '2026-07-23 20:14:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.400429)'), GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.400558)'))) / (select extract(epoch from '2026-07-23 20:14:02'::timestamp) - extract(epoch from '2026-07-23 20:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030643 -3.400429)'), GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.400558)'))) / (select extract(epoch from '2026-07-23 20:14:02'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030604 -3.400656)', '2026-07-23 20:14:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.400656)'))) / (select extract(epoch from '2026-07-23 20:14:07'::timestamp) - extract(epoch from '2026-07-23 20:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030613 -3.400558)'), GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.400656)'))) / (select extract(epoch from '2026-07-23 20:14:07'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030595 -3.400794)', '2026-07-23 20:14:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.400656)'), GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.400794)'))) / (select extract(epoch from '2026-07-23 20:14:14'::timestamp) - extract(epoch from '2026-07-23 20:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030604 -3.400656)'), GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.400794)'))) / (select extract(epoch from '2026-07-23 20:14:14'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030576 -3.400903)', '2026-07-23 20:14:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.400794)'), GeomFromEWKT('SRID=4674;POINT (-39.030576 -3.400903)'))) / (select extract(epoch from '2026-07-23 20:14:20'::timestamp) - extract(epoch from '2026-07-23 20:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.400794)'), GeomFromEWKT('SRID=4674;POINT (-39.030576 -3.400903)'))) / (select extract(epoch from '2026-07-23 20:14:20'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030554 -3.401043)', '2026-07-23 20:14:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030576 -3.400903)'), GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.401043)'))) / (select extract(epoch from '2026-07-23 20:14:27'::timestamp) - extract(epoch from '2026-07-23 20:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030576 -3.400903)'), GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.401043)'))) / (select extract(epoch from '2026-07-23 20:14:27'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030548 -3.401179)', '2026-07-23 20:14:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.401043)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401179)'))) / (select extract(epoch from '2026-07-23 20:14:34'::timestamp) - extract(epoch from '2026-07-23 20:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030554 -3.401043)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401179)'))) / (select extract(epoch from '2026-07-23 20:14:34'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030531 -3.401318)', '2026-07-23 20:14:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401179)'), GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.401318)'))) / (select extract(epoch from '2026-07-23 20:14:41'::timestamp) - extract(epoch from '2026-07-23 20:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401179)'), GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.401318)'))) / (select extract(epoch from '2026-07-23 20:14:41'::timestamp) - extract(epoch from '2026-07-23 20:14: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'), 47446, 'SRID=4674;POINT (-39.030515 -3.401422)', '2026-07-23 20:14:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.401318)'), GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.401422)'))) / (select extract(epoch from '2026-07-23 20:14:46'::timestamp) - extract(epoch from '2026-07-23 20:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030531 -3.401318)'), GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.401422)'))) / (select extract(epoch from '2026-07-23 20:14:46'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.030515 -3.40154)', '2026-07-23 20:14:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.401422)'), GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.40154)'))) / (select extract(epoch from '2026-07-23 20:14:52'::timestamp) - extract(epoch from '2026-07-23 20:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.401422)'), GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.40154)'))) / (select extract(epoch from '2026-07-23 20:14:52'::timestamp) - extract(epoch from '2026-07-23 20: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'), 47446, 'SRID=4674;POINT (-39.03054 -3.401704)', '2026-07-23 20:15:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.40154)'), GeomFromEWKT('SRID=4674;POINT (-39.03054 -3.401704)'))) / (select extract(epoch from '2026-07-23 20:15:00'::timestamp) - extract(epoch from '2026-07-23 20:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030515 -3.40154)'), GeomFromEWKT('SRID=4674;POINT (-39.03054 -3.401704)'))) / (select extract(epoch from '2026-07-23 20:15:00'::timestamp) - extract(epoch from '2026-07-23 20:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030551 -3.401822)', '2026-07-23 20:15:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03054 -3.401704)'), GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.401822)'))) / (select extract(epoch from '2026-07-23 20:15:06'::timestamp) - extract(epoch from '2026-07-23 20:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03054 -3.401704)'), GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.401822)'))) / (select extract(epoch from '2026-07-23 20:15:06'::timestamp) - extract(epoch from '2026-07-23 20:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030548 -3.401955)', '2026-07-23 20:15:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.401822)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401955)'))) / (select extract(epoch from '2026-07-23 20:15:13'::timestamp) - extract(epoch from '2026-07-23 20:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.401822)'), GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401955)'))) / (select extract(epoch from '2026-07-23 20:15:13'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030558 -3.402077)', '2026-07-23 20:15:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401955)'), GeomFromEWKT('SRID=4674;POINT (-39.030558 -3.402077)'))) / (select extract(epoch from '2026-07-23 20:15:19'::timestamp) - extract(epoch from '2026-07-23 20:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030548 -3.401955)'), GeomFromEWKT('SRID=4674;POINT (-39.030558 -3.402077)'))) / (select extract(epoch from '2026-07-23 20:15:19'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030561 -3.402194)', '2026-07-23 20:15:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030558 -3.402077)'), GeomFromEWKT('SRID=4674;POINT (-39.030561 -3.402194)'))) / (select extract(epoch from '2026-07-23 20:15:25'::timestamp) - extract(epoch from '2026-07-23 20:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030558 -3.402077)'), GeomFromEWKT('SRID=4674;POINT (-39.030561 -3.402194)'))) / (select extract(epoch from '2026-07-23 20:15:25'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.03057 -3.402337)', '2026-07-23 20:15:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030561 -3.402194)'), GeomFromEWKT('SRID=4674;POINT (-39.03057 -3.402337)'))) / (select extract(epoch from '2026-07-23 20:15:32'::timestamp) - extract(epoch from '2026-07-23 20:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030561 -3.402194)'), GeomFromEWKT('SRID=4674;POINT (-39.03057 -3.402337)'))) / (select extract(epoch from '2026-07-23 20:15:32'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030577 -3.40244)', '2026-07-23 20:15:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03057 -3.402337)'), GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.40244)'))) / (select extract(epoch from '2026-07-23 20:15:37'::timestamp) - extract(epoch from '2026-07-23 20:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03057 -3.402337)'), GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.40244)'))) / (select extract(epoch from '2026-07-23 20:15:37'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030582 -3.402551)', '2026-07-23 20:15:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.40244)'), GeomFromEWKT('SRID=4674;POINT (-39.030582 -3.402551)'))) / (select extract(epoch from '2026-07-23 20:15:43'::timestamp) - extract(epoch from '2026-07-23 20:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030577 -3.40244)'), GeomFromEWKT('SRID=4674;POINT (-39.030582 -3.402551)'))) / (select extract(epoch from '2026-07-23 20:15:43'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030592 -3.402691)', '2026-07-23 20:15:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030582 -3.402551)'), GeomFromEWKT('SRID=4674;POINT (-39.030592 -3.402691)'))) / (select extract(epoch from '2026-07-23 20:15:50'::timestamp) - extract(epoch from '2026-07-23 20:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030582 -3.402551)'), GeomFromEWKT('SRID=4674;POINT (-39.030592 -3.402691)'))) / (select extract(epoch from '2026-07-23 20:15:50'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030606 -3.402851)', '2026-07-23 20:15:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030592 -3.402691)'), GeomFromEWKT('SRID=4674;POINT (-39.030606 -3.402851)'))) / (select extract(epoch from '2026-07-23 20:15:58'::timestamp) - extract(epoch from '2026-07-23 20:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030592 -3.402691)'), GeomFromEWKT('SRID=4674;POINT (-39.030606 -3.402851)'))) / (select extract(epoch from '2026-07-23 20:15:58'::timestamp) - extract(epoch from '2026-07-23 20:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03064 -3.402996)', '2026-07-23 20:16:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030606 -3.402851)'), GeomFromEWKT('SRID=4674;POINT (-39.03064 -3.402996)'))) / (select extract(epoch from '2026-07-23 20:16:05'::timestamp) - extract(epoch from '2026-07-23 20:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030606 -3.402851)'), GeomFromEWKT('SRID=4674;POINT (-39.03064 -3.402996)'))) / (select extract(epoch from '2026-07-23 20:16:05'::timestamp) - extract(epoch from '2026-07-23 20:15: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'), 47446, 'SRID=4674;POINT (-39.030679 -3.403158)', '2026-07-23 20:16:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03064 -3.402996)'), GeomFromEWKT('SRID=4674;POINT (-39.030679 -3.403158)'))) / (select extract(epoch from '2026-07-23 20:16:13'::timestamp) - extract(epoch from '2026-07-23 20:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03064 -3.402996)'), GeomFromEWKT('SRID=4674;POINT (-39.030679 -3.403158)'))) / (select extract(epoch from '2026-07-23 20:16:13'::timestamp) - extract(epoch from '2026-07-23 20:16: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'), 47446, 'SRID=4674;POINT (-39.030676 -3.403276)', '2026-07-23 20:16:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030679 -3.403158)'), GeomFromEWKT('SRID=4674;POINT (-39.030676 -3.403276)'))) / (select extract(epoch from '2026-07-23 20:16:19'::timestamp) - extract(epoch from '2026-07-23 20:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030679 -3.403158)'), GeomFromEWKT('SRID=4674;POINT (-39.030676 -3.403276)'))) / (select extract(epoch from '2026-07-23 20:16:19'::timestamp) - extract(epoch from '2026-07-23 20:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030661 -3.403372)', '2026-07-23 20:16:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030676 -3.403276)'), GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.403372)'))) / (select extract(epoch from '2026-07-23 20:16:24'::timestamp) - extract(epoch from '2026-07-23 20:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030676 -3.403276)'), GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.403372)'))) / (select extract(epoch from '2026-07-23 20:16:24'::timestamp) - extract(epoch from '2026-07-23 20:16: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'), 47446, 'SRID=4674;POINT (-39.030689 -3.403508)', '2026-07-23 20:16:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.403372)'), GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.403508)'))) / (select extract(epoch from '2026-07-23 20:16:31'::timestamp) - extract(epoch from '2026-07-23 20:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.403372)'), GeomFromEWKT('SRID=4674;POINT (-39.030689 -3.403508)'))) / (select extract(epoch from '2026-07-23 20:16:31'::timestamp) - extract(epoch from '2026-07-23 20:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
