 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.332152 -2.79935)', '2026-07-17 07:46:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331995 -2.799287)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.79935)'))) / (select extract(epoch from '2026-07-17 07:46:07'::timestamp) - extract(epoch from '2026-07-17 07:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331995 -2.799287)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.79935)'))) / (select extract(epoch from '2026-07-17 07:46:07'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47836, 'SRID=4674;POINT (-40.332305 -2.799396)', '2026-07-17 07:46:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.79935)'), GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.799396)'))) / (select extract(epoch from '2026-07-17 07:46:14'::timestamp) - extract(epoch from '2026-07-17 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.79935)'), GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.799396)'))) / (select extract(epoch from '2026-07-17 07:46:14'::timestamp) - extract(epoch from '2026-07-17 07:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.332488 -2.79945)', '2026-07-17 07:46:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.799396)'), GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.79945)'))) / (select extract(epoch from '2026-07-17 07:46:21'::timestamp) - extract(epoch from '2026-07-17 07:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.799396)'), GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.79945)'))) / (select extract(epoch from '2026-07-17 07:46:21'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47836, 'SRID=4674;POINT (-40.332551 -2.799478)', '2026-07-17 07:46:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.79945)'), GeomFromEWKT('SRID=4674;POINT (-40.332551 -2.799478)'))) / (select extract(epoch from '2026-07-17 07:46:24'::timestamp) - extract(epoch from '2026-07-17 07:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.79945)'), GeomFromEWKT('SRID=4674;POINT (-40.332551 -2.799478)'))) / (select extract(epoch from '2026-07-17 07:46:24'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47836, 'SRID=4674;POINT (-40.332695 -2.799523)', '2026-07-17 07:46:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332551 -2.799478)'), GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.799523)'))) / (select extract(epoch from '2026-07-17 07:46:31'::timestamp) - extract(epoch from '2026-07-17 07:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332551 -2.799478)'), GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.799523)'))) / (select extract(epoch from '2026-07-17 07:46:31'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47836, 'SRID=4674;POINT (-40.332843 -2.799594)', '2026-07-17 07:46:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.799523)'), GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.799594)'))) / (select extract(epoch from '2026-07-17 07:46:39'::timestamp) - extract(epoch from '2026-07-17 07:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.799523)'), GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.799594)'))) / (select extract(epoch from '2026-07-17 07:46:39'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47836, 'SRID=4674;POINT (-40.332991 -2.799695)', '2026-07-17 07:46:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.332991 -2.799695)'))) / (select extract(epoch from '2026-07-17 07:46:47'::timestamp) - extract(epoch from '2026-07-17 07:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.332991 -2.799695)'))) / (select extract(epoch from '2026-07-17 07:46:47'::timestamp) - extract(epoch from '2026-07-17 07:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.333169 -2.799762)', '2026-07-17 07:46:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332991 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.799762)'))) / (select extract(epoch from '2026-07-17 07:46:54'::timestamp) - extract(epoch from '2026-07-17 07:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332991 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.799762)'))) / (select extract(epoch from '2026-07-17 07:46:54'::timestamp) - extract(epoch from '2026-07-17 07:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.333347 -2.799795)', '2026-07-17 07:47:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.333347 -2.799795)'))) / (select extract(epoch from '2026-07-17 07:47:00'::timestamp) - extract(epoch from '2026-07-17 07:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.333347 -2.799795)'))) / (select extract(epoch from '2026-07-17 07:47:00'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.333369 -2.799807)', '2026-07-17 07:47:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333347 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.333369 -2.799807)'))) / (select extract(epoch from '2026-07-17 07:47:01'::timestamp) - extract(epoch from '2026-07-17 07:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333347 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.333369 -2.799807)'))) / (select extract(epoch from '2026-07-17 07:47:01'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.333515 -2.799899)', '2026-07-17 07:47:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333369 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.333515 -2.799899)'))) / (select extract(epoch from '2026-07-17 07:47:09'::timestamp) - extract(epoch from '2026-07-17 07:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333369 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.333515 -2.799899)'))) / (select extract(epoch from '2026-07-17 07:47:09'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47836, 'SRID=4674;POINT (-40.333674 -2.799977)', '2026-07-17 07:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333515 -2.799899)'), GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.799977)'))) / (select extract(epoch from '2026-07-17 07:47:16'::timestamp) - extract(epoch from '2026-07-17 07:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333515 -2.799899)'), GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.799977)'))) / (select extract(epoch from '2026-07-17 07:47:16'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47836, 'SRID=4674;POINT (-40.333791 -2.800041)', '2026-07-17 07:47:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.333791 -2.800041)'))) / (select extract(epoch from '2026-07-17 07:47:23'::timestamp) - extract(epoch from '2026-07-17 07:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.333791 -2.800041)'))) / (select extract(epoch from '2026-07-17 07:47:23'::timestamp) - extract(epoch from '2026-07-17 07:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.333912 -2.800126)', '2026-07-17 07:47:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333791 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.333912 -2.800126)'))) / (select extract(epoch from '2026-07-17 07:47:29'::timestamp) - extract(epoch from '2026-07-17 07:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333791 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.333912 -2.800126)'))) / (select extract(epoch from '2026-07-17 07:47:29'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.334094 -2.800212)', '2026-07-17 07:47:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333912 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.334094 -2.800212)'))) / (select extract(epoch from '2026-07-17 07:47:37'::timestamp) - extract(epoch from '2026-07-17 07:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333912 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.334094 -2.800212)'))) / (select extract(epoch from '2026-07-17 07:47:37'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47836, 'SRID=4674;POINT (-40.334117 -2.800217)', '2026-07-17 07:47:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334094 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.800217)'))) / (select extract(epoch from '2026-07-17 07:47:38'::timestamp) - extract(epoch from '2026-07-17 07:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334094 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.800217)'))) / (select extract(epoch from '2026-07-17 07:47:38'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47836, 'SRID=4674;POINT (-40.334231 -2.80028)', '2026-07-17 07:47:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.334231 -2.80028)'))) / (select extract(epoch from '2026-07-17 07:47:44'::timestamp) - extract(epoch from '2026-07-17 07:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.334231 -2.80028)'))) / (select extract(epoch from '2026-07-17 07:47:44'::timestamp) - extract(epoch from '2026-07-17 07:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.3344 -2.800353)', '2026-07-17 07:47:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334231 -2.80028)'), GeomFromEWKT('SRID=4674;POINT (-40.3344 -2.800353)'))) / (select extract(epoch from '2026-07-17 07:47:52'::timestamp) - extract(epoch from '2026-07-17 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334231 -2.80028)'), GeomFromEWKT('SRID=4674;POINT (-40.3344 -2.800353)'))) / (select extract(epoch from '2026-07-17 07:47:52'::timestamp) - extract(epoch from '2026-07-17 07:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.334597 -2.8004)', '2026-07-17 07:48:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3344 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.334597 -2.8004)'))) / (select extract(epoch from '2026-07-17 07:48:00'::timestamp) - extract(epoch from '2026-07-17 07:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3344 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.334597 -2.8004)'))) / (select extract(epoch from '2026-07-17 07:48:00'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.334622 -2.800405)', '2026-07-17 07:48:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334597 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.334622 -2.800405)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334597 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.334622 -2.800405)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.334791 -2.800474)', '2026-07-17 07:48:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334622 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.800474)'))) / (select extract(epoch from '2026-07-17 07:48:09'::timestamp) - extract(epoch from '2026-07-17 07:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334622 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.800474)'))) / (select extract(epoch from '2026-07-17 07:48:09'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47836, 'SRID=4674;POINT (-40.334949 -2.800498)', '2026-07-17 07:48:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.334949 -2.800498)'))) / (select extract(epoch from '2026-07-17 07:48:16'::timestamp) - extract(epoch from '2026-07-17 07:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.334949 -2.800498)'))) / (select extract(epoch from '2026-07-17 07:48:16'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47836, 'SRID=4674;POINT (-40.335108 -2.800531)', '2026-07-17 07:48:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334949 -2.800498)'), GeomFromEWKT('SRID=4674;POINT (-40.335108 -2.800531)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334949 -2.800498)'), GeomFromEWKT('SRID=4674;POINT (-40.335108 -2.800531)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.335259 -2.800589)', '2026-07-17 07:48:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335108 -2.800531)'), GeomFromEWKT('SRID=4674;POINT (-40.335259 -2.800589)'))) / (select extract(epoch from '2026-07-17 07:48:29'::timestamp) - extract(epoch from '2026-07-17 07:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335108 -2.800531)'), GeomFromEWKT('SRID=4674;POINT (-40.335259 -2.800589)'))) / (select extract(epoch from '2026-07-17 07:48:29'::timestamp) - extract(epoch from '2026-07-17 07:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.335372 -2.800648)', '2026-07-17 07:48:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335259 -2.800589)'), GeomFromEWKT('SRID=4674;POINT (-40.335372 -2.800648)'))) / (select extract(epoch from '2026-07-17 07:48:35'::timestamp) - extract(epoch from '2026-07-17 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335259 -2.800589)'), GeomFromEWKT('SRID=4674;POINT (-40.335372 -2.800648)'))) / (select extract(epoch from '2026-07-17 07:48:35'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47836, 'SRID=4674;POINT (-40.335543 -2.800718)', '2026-07-17 07:48:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335372 -2.800648)'), GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.800718)'))) / (select extract(epoch from '2026-07-17 07:48:43'::timestamp) - extract(epoch from '2026-07-17 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335372 -2.800648)'), GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.800718)'))) / (select extract(epoch from '2026-07-17 07:48:43'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47836, 'SRID=4674;POINT (-40.335698 -2.800794)', '2026-07-17 07:48:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.800718)'), GeomFromEWKT('SRID=4674;POINT (-40.335698 -2.800794)'))) / (select extract(epoch from '2026-07-17 07:48:51'::timestamp) - extract(epoch from '2026-07-17 07:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335543 -2.800718)'), GeomFromEWKT('SRID=4674;POINT (-40.335698 -2.800794)'))) / (select extract(epoch from '2026-07-17 07:48:51'::timestamp) - extract(epoch from '2026-07-17 07:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.335839 -2.800895)', '2026-07-17 07:48:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335698 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.335839 -2.800895)'))) / (select extract(epoch from '2026-07-17 07:48:59'::timestamp) - extract(epoch from '2026-07-17 07:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335698 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.335839 -2.800895)'))) / (select extract(epoch from '2026-07-17 07:48:59'::timestamp) - extract(epoch from '2026-07-17 07:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.335995 -2.800978)', '2026-07-17 07:49:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335839 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.335995 -2.800978)'))) / (select extract(epoch from '2026-07-17 07:49:06'::timestamp) - extract(epoch from '2026-07-17 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335839 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.335995 -2.800978)'))) / (select extract(epoch from '2026-07-17 07:49:06'::timestamp) - extract(epoch from '2026-07-17 07:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.336172 -2.801064)', '2026-07-17 07:49:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335995 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.336172 -2.801064)'))) / (select extract(epoch from '2026-07-17 07:49:14'::timestamp) - extract(epoch from '2026-07-17 07:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335995 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.336172 -2.801064)'))) / (select extract(epoch from '2026-07-17 07:49:14'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.336224 -2.801081)', '2026-07-17 07:49:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336172 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.336224 -2.801081)'))) / (select extract(epoch from '2026-07-17 07:49:16'::timestamp) - extract(epoch from '2026-07-17 07:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336172 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.336224 -2.801081)'))) / (select extract(epoch from '2026-07-17 07:49:16'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.33639 -2.801138)', '2026-07-17 07:49:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336224 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.33639 -2.801138)'))) / (select extract(epoch from '2026-07-17 07:49:23'::timestamp) - extract(epoch from '2026-07-17 07:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336224 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.33639 -2.801138)'))) / (select extract(epoch from '2026-07-17 07:49:23'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.336564 -2.801208)', '2026-07-17 07:49:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33639 -2.801138)'), GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.801208)'))) / (select extract(epoch from '2026-07-17 07:49:31'::timestamp) - extract(epoch from '2026-07-17 07:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33639 -2.801138)'), GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.801208)'))) / (select extract(epoch from '2026-07-17 07:49:31'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.336586 -2.801221)', '2026-07-17 07:49:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.801208)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.801221)'))) / (select extract(epoch from '2026-07-17 07:49:32'::timestamp) - extract(epoch from '2026-07-17 07:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.801208)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.801221)'))) / (select extract(epoch from '2026-07-17 07:49:32'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.33674 -2.801316)', '2026-07-17 07:49:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.801221)'), GeomFromEWKT('SRID=4674;POINT (-40.33674 -2.801316)'))) / (select extract(epoch from '2026-07-17 07:49:39'::timestamp) - extract(epoch from '2026-07-17 07:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.801221)'), GeomFromEWKT('SRID=4674;POINT (-40.33674 -2.801316)'))) / (select extract(epoch from '2026-07-17 07:49:39'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.336888 -2.801415)', '2026-07-17 07:49:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33674 -2.801316)'), GeomFromEWKT('SRID=4674;POINT (-40.336888 -2.801415)'))) / (select extract(epoch from '2026-07-17 07:49:47'::timestamp) - extract(epoch from '2026-07-17 07:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33674 -2.801316)'), GeomFromEWKT('SRID=4674;POINT (-40.336888 -2.801415)'))) / (select extract(epoch from '2026-07-17 07:49:47'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.337043 -2.801472)', '2026-07-17 07:49:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336888 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.337043 -2.801472)'))) / (select extract(epoch from '2026-07-17 07:49:54'::timestamp) - extract(epoch from '2026-07-17 07:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336888 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.337043 -2.801472)'))) / (select extract(epoch from '2026-07-17 07:49:54'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47836, 'SRID=4674;POINT (-40.337216 -2.801529)', '2026-07-17 07:50:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337043 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.337216 -2.801529)'))) / (select extract(epoch from '2026-07-17 07:50:01'::timestamp) - extract(epoch from '2026-07-17 07:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337043 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.337216 -2.801529)'))) / (select extract(epoch from '2026-07-17 07:50:01'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.337345 -2.801588)', '2026-07-17 07:50:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337216 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.801588)'))) / (select extract(epoch from '2026-07-17 07:50:08'::timestamp) - extract(epoch from '2026-07-17 07:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337216 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.801588)'))) / (select extract(epoch from '2026-07-17 07:50:08'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.337477 -2.801648)', '2026-07-17 07:50:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.337477 -2.801648)'))) / (select extract(epoch from '2026-07-17 07:50:15'::timestamp) - extract(epoch from '2026-07-17 07:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.337477 -2.801648)'))) / (select extract(epoch from '2026-07-17 07:50:15'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.337643 -2.801697)', '2026-07-17 07:50:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337477 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.337643 -2.801697)'))) / (select extract(epoch from '2026-07-17 07:50:22'::timestamp) - extract(epoch from '2026-07-17 07:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337477 -2.801648)'), GeomFromEWKT('SRID=4674;POINT (-40.337643 -2.801697)'))) / (select extract(epoch from '2026-07-17 07:50:22'::timestamp) - extract(epoch from '2026-07-17 07:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.337757 -2.801753)', '2026-07-17 07:50:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337643 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.337757 -2.801753)'))) / (select extract(epoch from '2026-07-17 07:50:28'::timestamp) - extract(epoch from '2026-07-17 07:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337643 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.337757 -2.801753)'))) / (select extract(epoch from '2026-07-17 07:50:28'::timestamp) - extract(epoch from '2026-07-17 07:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.337918 -2.801838)', '2026-07-17 07:50:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337757 -2.801753)'), GeomFromEWKT('SRID=4674;POINT (-40.337918 -2.801838)'))) / (select extract(epoch from '2026-07-17 07:50:35'::timestamp) - extract(epoch from '2026-07-17 07:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337757 -2.801753)'), GeomFromEWKT('SRID=4674;POINT (-40.337918 -2.801838)'))) / (select extract(epoch from '2026-07-17 07:50:35'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.337937 -2.801852)', '2026-07-17 07:50:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337918 -2.801838)'), GeomFromEWKT('SRID=4674;POINT (-40.337937 -2.801852)'))) / (select extract(epoch from '2026-07-17 07:50:36'::timestamp) - extract(epoch from '2026-07-17 07:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337918 -2.801838)'), GeomFromEWKT('SRID=4674;POINT (-40.337937 -2.801852)'))) / (select extract(epoch from '2026-07-17 07:50:36'::timestamp) - extract(epoch from '2026-07-17 07:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.338111 -2.801959)', '2026-07-17 07:50:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337937 -2.801852)'), GeomFromEWKT('SRID=4674;POINT (-40.338111 -2.801959)'))) / (select extract(epoch from '2026-07-17 07:50:44'::timestamp) - extract(epoch from '2026-07-17 07:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337937 -2.801852)'), GeomFromEWKT('SRID=4674;POINT (-40.338111 -2.801959)'))) / (select extract(epoch from '2026-07-17 07:50:44'::timestamp) - extract(epoch from '2026-07-17 07:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.338137 -2.801988)', '2026-07-17 07:50:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338111 -2.801959)'), GeomFromEWKT('SRID=4674;POINT (-40.338137 -2.801988)'))) / (select extract(epoch from '2026-07-17 07:50:46'::timestamp) - extract(epoch from '2026-07-17 07:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338111 -2.801959)'), GeomFromEWKT('SRID=4674;POINT (-40.338137 -2.801988)'))) / (select extract(epoch from '2026-07-17 07:50:46'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.338295 -2.802056)', '2026-07-17 07:50:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338137 -2.801988)'), GeomFromEWKT('SRID=4674;POINT (-40.338295 -2.802056)'))) / (select extract(epoch from '2026-07-17 07:50:53'::timestamp) - extract(epoch from '2026-07-17 07:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338137 -2.801988)'), GeomFromEWKT('SRID=4674;POINT (-40.338295 -2.802056)'))) / (select extract(epoch from '2026-07-17 07:50:53'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.338433 -2.802142)', '2026-07-17 07:51:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338295 -2.802056)'), GeomFromEWKT('SRID=4674;POINT (-40.338433 -2.802142)'))) / (select extract(epoch from '2026-07-17 07:51:00'::timestamp) - extract(epoch from '2026-07-17 07:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338295 -2.802056)'), GeomFromEWKT('SRID=4674;POINT (-40.338433 -2.802142)'))) / (select extract(epoch from '2026-07-17 07:51:00'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47836, 'SRID=4674;POINT (-40.338541 -2.802244)', '2026-07-17 07:51:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338433 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.338541 -2.802244)'))) / (select extract(epoch from '2026-07-17 07:51:07'::timestamp) - extract(epoch from '2026-07-17 07:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338433 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.338541 -2.802244)'))) / (select extract(epoch from '2026-07-17 07:51:07'::timestamp) - extract(epoch from '2026-07-17 07:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.33866 -2.80227)', '2026-07-17 07:51:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338541 -2.802244)'), GeomFromEWKT('SRID=4674;POINT (-40.33866 -2.80227)'))) / (select extract(epoch from '2026-07-17 07:51:12'::timestamp) - extract(epoch from '2026-07-17 07:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338541 -2.802244)'), GeomFromEWKT('SRID=4674;POINT (-40.33866 -2.80227)'))) / (select extract(epoch from '2026-07-17 07:51:12'::timestamp) - extract(epoch from '2026-07-17 07:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.338842 -2.802297)', '2026-07-17 07:51:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33866 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.338842 -2.802297)'))) / (select extract(epoch from '2026-07-17 07:51:18'::timestamp) - extract(epoch from '2026-07-17 07:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33866 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.338842 -2.802297)'))) / (select extract(epoch from '2026-07-17 07:51:18'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47836, 'SRID=4674;POINT (-40.338888 -2.802312)', '2026-07-17 07:51:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338842 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.338888 -2.802312)'))) / (select extract(epoch from '2026-07-17 07:51:20'::timestamp) - extract(epoch from '2026-07-17 07:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338842 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.338888 -2.802312)'))) / (select extract(epoch from '2026-07-17 07:51:20'::timestamp) - extract(epoch from '2026-07-17 07:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.338999 -2.802374)', '2026-07-17 07:51:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338888 -2.802312)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.802374)'))) / (select extract(epoch from '2026-07-17 07:51:26'::timestamp) - extract(epoch from '2026-07-17 07:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338888 -2.802312)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.802374)'))) / (select extract(epoch from '2026-07-17 07:51:26'::timestamp) - extract(epoch from '2026-07-17 07:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.339141 -2.80241)', '2026-07-17 07:51:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.339141 -2.80241)'))) / (select extract(epoch from '2026-07-17 07:51:32'::timestamp) - extract(epoch from '2026-07-17 07:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.339141 -2.80241)'))) / (select extract(epoch from '2026-07-17 07:51:32'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47836, 'SRID=4674;POINT (-40.339302 -2.802488)', '2026-07-17 07:51:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339141 -2.80241)'), GeomFromEWKT('SRID=4674;POINT (-40.339302 -2.802488)'))) / (select extract(epoch from '2026-07-17 07:51:40'::timestamp) - extract(epoch from '2026-07-17 07:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339141 -2.80241)'), GeomFromEWKT('SRID=4674;POINT (-40.339302 -2.802488)'))) / (select extract(epoch from '2026-07-17 07:51:40'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47836, 'SRID=4674;POINT (-40.339429 -2.802565)', '2026-07-17 07:51:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339302 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.802565)'))) / (select extract(epoch from '2026-07-17 07:51:47'::timestamp) - extract(epoch from '2026-07-17 07:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339302 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.802565)'))) / (select extract(epoch from '2026-07-17 07:51:47'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47836, 'SRID=4674;POINT (-40.339568 -2.802646)', '2026-07-17 07:51:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.802565)'), GeomFromEWKT('SRID=4674;POINT (-40.339568 -2.802646)'))) / (select extract(epoch from '2026-07-17 07:51:53'::timestamp) - extract(epoch from '2026-07-17 07:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.802565)'), GeomFromEWKT('SRID=4674;POINT (-40.339568 -2.802646)'))) / (select extract(epoch from '2026-07-17 07:51:53'::timestamp) - extract(epoch from '2026-07-17 07:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.339751 -2.802725)', '2026-07-17 07:52:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339568 -2.802646)'), GeomFromEWKT('SRID=4674;POINT (-40.339751 -2.802725)'))) / (select extract(epoch from '2026-07-17 07:52:01'::timestamp) - extract(epoch from '2026-07-17 07:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339568 -2.802646)'), GeomFromEWKT('SRID=4674;POINT (-40.339751 -2.802725)'))) / (select extract(epoch from '2026-07-17 07:52:01'::timestamp) - extract(epoch from '2026-07-17 07:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.339863 -2.802788)', '2026-07-17 07:52:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339751 -2.802725)'), GeomFromEWKT('SRID=4674;POINT (-40.339863 -2.802788)'))) / (select extract(epoch from '2026-07-17 07:52:07'::timestamp) - extract(epoch from '2026-07-17 07:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339751 -2.802725)'), GeomFromEWKT('SRID=4674;POINT (-40.339863 -2.802788)'))) / (select extract(epoch from '2026-07-17 07:52:07'::timestamp) - extract(epoch from '2026-07-17 07:52: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'), 47836, 'SRID=4674;POINT (-40.340005 -2.802838)', '2026-07-17 07:52:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339863 -2.802788)'), GeomFromEWKT('SRID=4674;POINT (-40.340005 -2.802838)'))) / (select extract(epoch from '2026-07-17 07:52:13'::timestamp) - extract(epoch from '2026-07-17 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339863 -2.802788)'), GeomFromEWKT('SRID=4674;POINT (-40.340005 -2.802838)'))) / (select extract(epoch from '2026-07-17 07:52:13'::timestamp) - extract(epoch from '2026-07-17 07:52: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'), 47836, 'SRID=4674;POINT (-40.340182 -2.802934)', '2026-07-17 07:52:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340005 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.340182 -2.802934)'))) / (select extract(epoch from '2026-07-17 07:52:21'::timestamp) - extract(epoch from '2026-07-17 07:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340005 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.340182 -2.802934)'))) / (select extract(epoch from '2026-07-17 07:52:21'::timestamp) - extract(epoch from '2026-07-17 07:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.340328 -2.802993)', '2026-07-17 07:52:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340182 -2.802934)'), GeomFromEWKT('SRID=4674;POINT (-40.340328 -2.802993)'))) / (select extract(epoch from '2026-07-17 07:52:28'::timestamp) - extract(epoch from '2026-07-17 07:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340182 -2.802934)'), GeomFromEWKT('SRID=4674;POINT (-40.340328 -2.802993)'))) / (select extract(epoch from '2026-07-17 07:52:28'::timestamp) - extract(epoch from '2026-07-17 07:52: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'), 47836, 'SRID=4674;POINT (-40.340459 -2.803014)', '2026-07-17 07:52:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340328 -2.802993)'), GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.803014)'))) / (select extract(epoch from '2026-07-17 07:52:34'::timestamp) - extract(epoch from '2026-07-17 07:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340328 -2.802993)'), GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.803014)'))) / (select extract(epoch from '2026-07-17 07:52:34'::timestamp) - extract(epoch from '2026-07-17 07:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.340601 -2.803119)', '2026-07-17 07:52:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.803014)'), GeomFromEWKT('SRID=4674;POINT (-40.340601 -2.803119)'))) / (select extract(epoch from '2026-07-17 07:52:42'::timestamp) - extract(epoch from '2026-07-17 07:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.803014)'), GeomFromEWKT('SRID=4674;POINT (-40.340601 -2.803119)'))) / (select extract(epoch from '2026-07-17 07:52:42'::timestamp) - extract(epoch from '2026-07-17 07:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.340723 -2.803182)', '2026-07-17 07:52:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340601 -2.803119)'), GeomFromEWKT('SRID=4674;POINT (-40.340723 -2.803182)'))) / (select extract(epoch from '2026-07-17 07:52:48'::timestamp) - extract(epoch from '2026-07-17 07:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340601 -2.803119)'), GeomFromEWKT('SRID=4674;POINT (-40.340723 -2.803182)'))) / (select extract(epoch from '2026-07-17 07:52:48'::timestamp) - extract(epoch from '2026-07-17 07:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.34088 -2.803266)', '2026-07-17 07:52:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340723 -2.803182)'), GeomFromEWKT('SRID=4674;POINT (-40.34088 -2.803266)'))) / (select extract(epoch from '2026-07-17 07:52:55'::timestamp) - extract(epoch from '2026-07-17 07:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340723 -2.803182)'), GeomFromEWKT('SRID=4674;POINT (-40.34088 -2.803266)'))) / (select extract(epoch from '2026-07-17 07:52:55'::timestamp) - extract(epoch from '2026-07-17 07:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.341022 -2.803315)', '2026-07-17 07:53:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34088 -2.803266)'), GeomFromEWKT('SRID=4674;POINT (-40.341022 -2.803315)'))) / (select extract(epoch from '2026-07-17 07:53:01'::timestamp) - extract(epoch from '2026-07-17 07:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34088 -2.803266)'), GeomFromEWKT('SRID=4674;POINT (-40.341022 -2.803315)'))) / (select extract(epoch from '2026-07-17 07:53:01'::timestamp) - extract(epoch from '2026-07-17 07:52: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'), 47836, 'SRID=4674;POINT (-40.34114 -2.803389)', '2026-07-17 07:53:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341022 -2.803315)'), GeomFromEWKT('SRID=4674;POINT (-40.34114 -2.803389)'))) / (select extract(epoch from '2026-07-17 07:53:08'::timestamp) - extract(epoch from '2026-07-17 07:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341022 -2.803315)'), GeomFromEWKT('SRID=4674;POINT (-40.34114 -2.803389)'))) / (select extract(epoch from '2026-07-17 07:53:08'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.341288 -2.803448)', '2026-07-17 07:53:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34114 -2.803389)'), GeomFromEWKT('SRID=4674;POINT (-40.341288 -2.803448)'))) / (select extract(epoch from '2026-07-17 07:53:15'::timestamp) - extract(epoch from '2026-07-17 07:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34114 -2.803389)'), GeomFromEWKT('SRID=4674;POINT (-40.341288 -2.803448)'))) / (select extract(epoch from '2026-07-17 07:53:15'::timestamp) - extract(epoch from '2026-07-17 07:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.341484 -2.803508)', '2026-07-17 07:53:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341288 -2.803448)'), GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.803508)'))) / (select extract(epoch from '2026-07-17 07:53:22'::timestamp) - extract(epoch from '2026-07-17 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341288 -2.803448)'), GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.803508)'))) / (select extract(epoch from '2026-07-17 07:53:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.341672 -2.803571)', '2026-07-17 07:53:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.803508)'), GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.803571)'))) / (select extract(epoch from '2026-07-17 07:53:30'::timestamp) - extract(epoch from '2026-07-17 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.803508)'), GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.803571)'))) / (select extract(epoch from '2026-07-17 07:53:30'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.341801 -2.803656)', '2026-07-17 07:53:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.803571)'), GeomFromEWKT('SRID=4674;POINT (-40.341801 -2.803656)'))) / (select extract(epoch from '2026-07-17 07:53:37'::timestamp) - extract(epoch from '2026-07-17 07:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.803571)'), GeomFromEWKT('SRID=4674;POINT (-40.341801 -2.803656)'))) / (select extract(epoch from '2026-07-17 07:53:37'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.341969 -2.803721)', '2026-07-17 07:53:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341801 -2.803656)'), GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.803721)'))) / (select extract(epoch from '2026-07-17 07:53:44'::timestamp) - extract(epoch from '2026-07-17 07:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341801 -2.803656)'), GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.803721)'))) / (select extract(epoch from '2026-07-17 07:53:44'::timestamp) - extract(epoch from '2026-07-17 07:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.341988 -2.803733)', '2026-07-17 07:53:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.803721)'), GeomFromEWKT('SRID=4674;POINT (-40.341988 -2.803733)'))) / (select extract(epoch from '2026-07-17 07:53:45'::timestamp) - extract(epoch from '2026-07-17 07:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.803721)'), GeomFromEWKT('SRID=4674;POINT (-40.341988 -2.803733)'))) / (select extract(epoch from '2026-07-17 07:53:45'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.34208 -2.803834)', '2026-07-17 07:53:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341988 -2.803733)'), GeomFromEWKT('SRID=4674;POINT (-40.34208 -2.803834)'))) / (select extract(epoch from '2026-07-17 07:53:52'::timestamp) - extract(epoch from '2026-07-17 07:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341988 -2.803733)'), GeomFromEWKT('SRID=4674;POINT (-40.34208 -2.803834)'))) / (select extract(epoch from '2026-07-17 07:53:52'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.34222 -2.803888)', '2026-07-17 07:53:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34208 -2.803834)'), GeomFromEWKT('SRID=4674;POINT (-40.34222 -2.803888)'))) / (select extract(epoch from '2026-07-17 07:53:58'::timestamp) - extract(epoch from '2026-07-17 07:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34208 -2.803834)'), GeomFromEWKT('SRID=4674;POINT (-40.34222 -2.803888)'))) / (select extract(epoch from '2026-07-17 07:53:58'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.342363 -2.803965)', '2026-07-17 07:54:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34222 -2.803888)'), GeomFromEWKT('SRID=4674;POINT (-40.342363 -2.803965)'))) / (select extract(epoch from '2026-07-17 07:54:05'::timestamp) - extract(epoch from '2026-07-17 07:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34222 -2.803888)'), GeomFromEWKT('SRID=4674;POINT (-40.342363 -2.803965)'))) / (select extract(epoch from '2026-07-17 07:54:05'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47836, 'SRID=4674;POINT (-40.342538 -2.804009)', '2026-07-17 07:54:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342363 -2.803965)'), GeomFromEWKT('SRID=4674;POINT (-40.342538 -2.804009)'))) / (select extract(epoch from '2026-07-17 07:54:12'::timestamp) - extract(epoch from '2026-07-17 07:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342363 -2.803965)'), GeomFromEWKT('SRID=4674;POINT (-40.342538 -2.804009)'))) / (select extract(epoch from '2026-07-17 07:54:12'::timestamp) - extract(epoch from '2026-07-17 07:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.34256 -2.804018)', '2026-07-17 07:54:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342538 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.34256 -2.804018)'))) / (select extract(epoch from '2026-07-17 07:54:13'::timestamp) - extract(epoch from '2026-07-17 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342538 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.34256 -2.804018)'))) / (select extract(epoch from '2026-07-17 07:54:13'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47836, 'SRID=4674;POINT (-40.342688 -2.804092)', '2026-07-17 07:54:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34256 -2.804018)'), GeomFromEWKT('SRID=4674;POINT (-40.342688 -2.804092)'))) / (select extract(epoch from '2026-07-17 07:54:20'::timestamp) - extract(epoch from '2026-07-17 07:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34256 -2.804018)'), GeomFromEWKT('SRID=4674;POINT (-40.342688 -2.804092)'))) / (select extract(epoch from '2026-07-17 07:54:20'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.342795 -2.804151)', '2026-07-17 07:54:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342688 -2.804092)'), GeomFromEWKT('SRID=4674;POINT (-40.342795 -2.804151)'))) / (select extract(epoch from '2026-07-17 07:54:26'::timestamp) - extract(epoch from '2026-07-17 07:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342688 -2.804092)'), GeomFromEWKT('SRID=4674;POINT (-40.342795 -2.804151)'))) / (select extract(epoch from '2026-07-17 07:54:26'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47836, 'SRID=4674;POINT (-40.342962 -2.804216)', '2026-07-17 07:54:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342795 -2.804151)'), GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.804216)'))) / (select extract(epoch from '2026-07-17 07:54:34'::timestamp) - extract(epoch from '2026-07-17 07:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342795 -2.804151)'), GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.804216)'))) / (select extract(epoch from '2026-07-17 07:54:34'::timestamp) - extract(epoch from '2026-07-17 07:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.343125 -2.804261)', '2026-07-17 07:54:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.804216)'), GeomFromEWKT('SRID=4674;POINT (-40.343125 -2.804261)'))) / (select extract(epoch from '2026-07-17 07:54:41'::timestamp) - extract(epoch from '2026-07-17 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.804216)'), GeomFromEWKT('SRID=4674;POINT (-40.343125 -2.804261)'))) / (select extract(epoch from '2026-07-17 07:54:41'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.343276 -2.804312)', '2026-07-17 07:54:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343125 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.804312)'))) / (select extract(epoch from '2026-07-17 07:54:49'::timestamp) - extract(epoch from '2026-07-17 07:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343125 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.804312)'))) / (select extract(epoch from '2026-07-17 07:54:49'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47836, 'SRID=4674;POINT (-40.343448 -2.804362)', '2026-07-17 07:54:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.804312)'), GeomFromEWKT('SRID=4674;POINT (-40.343448 -2.804362)'))) / (select extract(epoch from '2026-07-17 07:54:56'::timestamp) - extract(epoch from '2026-07-17 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.804312)'), GeomFromEWKT('SRID=4674;POINT (-40.343448 -2.804362)'))) / (select extract(epoch from '2026-07-17 07:54:56'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47836, 'SRID=4674;POINT (-40.343607 -2.804413)', '2026-07-17 07:55:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343448 -2.804362)'), GeomFromEWKT('SRID=4674;POINT (-40.343607 -2.804413)'))) / (select extract(epoch from '2026-07-17 07:55:02'::timestamp) - extract(epoch from '2026-07-17 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343448 -2.804362)'), GeomFromEWKT('SRID=4674;POINT (-40.343607 -2.804413)'))) / (select extract(epoch from '2026-07-17 07:55:02'::timestamp) - extract(epoch from '2026-07-17 07:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.343764 -2.80452)', '2026-07-17 07:55:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343607 -2.804413)'), GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.80452)'))) / (select extract(epoch from '2026-07-17 07:55:11'::timestamp) - extract(epoch from '2026-07-17 07:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343607 -2.804413)'), GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.80452)'))) / (select extract(epoch from '2026-07-17 07:55:11'::timestamp) - extract(epoch from '2026-07-17 07:55: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'), 47836, 'SRID=4674;POINT (-40.343914 -2.804583)', '2026-07-17 07:55:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.343914 -2.804583)'))) / (select extract(epoch from '2026-07-17 07:55:18'::timestamp) - extract(epoch from '2026-07-17 07:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.343914 -2.804583)'))) / (select extract(epoch from '2026-07-17 07:55:18'::timestamp) - extract(epoch from '2026-07-17 07:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.344038 -2.804641)', '2026-07-17 07:55:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343914 -2.804583)'), GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.804641)'))) / (select extract(epoch from '2026-07-17 07:55:24'::timestamp) - extract(epoch from '2026-07-17 07:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343914 -2.804583)'), GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.804641)'))) / (select extract(epoch from '2026-07-17 07:55:24'::timestamp) - extract(epoch from '2026-07-17 07:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.344197 -2.804713)', '2026-07-17 07:55:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.804641)'), GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.804713)'))) / (select extract(epoch from '2026-07-17 07:55:31'::timestamp) - extract(epoch from '2026-07-17 07:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.804641)'), GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.804713)'))) / (select extract(epoch from '2026-07-17 07:55:31'::timestamp) - extract(epoch from '2026-07-17 07:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.344384 -2.804759)', '2026-07-17 07:55:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.804713)'), GeomFromEWKT('SRID=4674;POINT (-40.344384 -2.804759)'))) / (select extract(epoch from '2026-07-17 07:55:39'::timestamp) - extract(epoch from '2026-07-17 07:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.804713)'), GeomFromEWKT('SRID=4674;POINT (-40.344384 -2.804759)'))) / (select extract(epoch from '2026-07-17 07:55:39'::timestamp) - extract(epoch from '2026-07-17 07:55: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'), 47836, 'SRID=4674;POINT (-40.344534 -2.804842)', '2026-07-17 07:55:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344384 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.344534 -2.804842)'))) / (select extract(epoch from '2026-07-17 07:55:47'::timestamp) - extract(epoch from '2026-07-17 07:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344384 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.344534 -2.804842)'))) / (select extract(epoch from '2026-07-17 07:55:47'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.344677 -2.804908)', '2026-07-17 07:55:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344534 -2.804842)'), GeomFromEWKT('SRID=4674;POINT (-40.344677 -2.804908)'))) / (select extract(epoch from '2026-07-17 07:55:54'::timestamp) - extract(epoch from '2026-07-17 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344534 -2.804842)'), GeomFromEWKT('SRID=4674;POINT (-40.344677 -2.804908)'))) / (select extract(epoch from '2026-07-17 07:55:54'::timestamp) - extract(epoch from '2026-07-17 07:55: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'), 47836, 'SRID=4674;POINT (-40.344853 -2.804974)', '2026-07-17 07:56:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344677 -2.804908)'), GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.804974)'))) / (select extract(epoch from '2026-07-17 07:56:01'::timestamp) - extract(epoch from '2026-07-17 07:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344677 -2.804908)'), GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.804974)'))) / (select extract(epoch from '2026-07-17 07:56:01'::timestamp) - extract(epoch from '2026-07-17 07:55: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'), 47836, 'SRID=4674;POINT (-40.345001 -2.805035)', '2026-07-17 07:56:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.805035)'))) / (select extract(epoch from '2026-07-17 07:56:08'::timestamp) - extract(epoch from '2026-07-17 07:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.805035)'))) / (select extract(epoch from '2026-07-17 07:56:08'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.345127 -2.805067)', '2026-07-17 07:56:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.805067)'))) / (select extract(epoch from '2026-07-17 07:56:13'::timestamp) - extract(epoch from '2026-07-17 07:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.805067)'))) / (select extract(epoch from '2026-07-17 07:56:13'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.345269 -2.805093)', '2026-07-17 07:56:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.805067)'), GeomFromEWKT('SRID=4674;POINT (-40.345269 -2.805093)'))) / (select extract(epoch from '2026-07-17 07:56:19'::timestamp) - extract(epoch from '2026-07-17 07:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.805067)'), GeomFromEWKT('SRID=4674;POINT (-40.345269 -2.805093)'))) / (select extract(epoch from '2026-07-17 07:56:19'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.345402 -2.805134)', '2026-07-17 07:56:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345269 -2.805093)'), GeomFromEWKT('SRID=4674;POINT (-40.345402 -2.805134)'))) / (select extract(epoch from '2026-07-17 07:56:25'::timestamp) - extract(epoch from '2026-07-17 07:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345269 -2.805093)'), GeomFromEWKT('SRID=4674;POINT (-40.345402 -2.805134)'))) / (select extract(epoch from '2026-07-17 07:56:25'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.34553 -2.805187)', '2026-07-17 07:56:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345402 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.805187)'))) / (select extract(epoch from '2026-07-17 07:56:32'::timestamp) - extract(epoch from '2026-07-17 07:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345402 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.805187)'))) / (select extract(epoch from '2026-07-17 07:56:32'::timestamp) - extract(epoch from '2026-07-17 07:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.345706 -2.805234)', '2026-07-17 07:56:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.345706 -2.805234)'))) / (select extract(epoch from '2026-07-17 07:56:39'::timestamp) - extract(epoch from '2026-07-17 07:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.345706 -2.805234)'))) / (select extract(epoch from '2026-07-17 07:56:39'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.345858 -2.805294)', '2026-07-17 07:56:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345706 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.345858 -2.805294)'))) / (select extract(epoch from '2026-07-17 07:56:46'::timestamp) - extract(epoch from '2026-07-17 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345706 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.345858 -2.805294)'))) / (select extract(epoch from '2026-07-17 07:56:46'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.346017 -2.805331)', '2026-07-17 07:56:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345858 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.346017 -2.805331)'))) / (select extract(epoch from '2026-07-17 07:56:52'::timestamp) - extract(epoch from '2026-07-17 07:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345858 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.346017 -2.805331)'))) / (select extract(epoch from '2026-07-17 07:56:52'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.346171 -2.805373)', '2026-07-17 07:56:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346017 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.805373)'))) / (select extract(epoch from '2026-07-17 07:56:59'::timestamp) - extract(epoch from '2026-07-17 07:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346017 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.805373)'))) / (select extract(epoch from '2026-07-17 07:56:59'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.346323 -2.805442)', '2026-07-17 07:57:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.346323 -2.805442)'))) / (select extract(epoch from '2026-07-17 07:57:06'::timestamp) - extract(epoch from '2026-07-17 07:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.346323 -2.805442)'))) / (select extract(epoch from '2026-07-17 07:57:06'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47836, 'SRID=4674;POINT (-40.346475 -2.805511)', '2026-07-17 07:57:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346323 -2.805442)'), GeomFromEWKT('SRID=4674;POINT (-40.346475 -2.805511)'))) / (select extract(epoch from '2026-07-17 07:57:13'::timestamp) - extract(epoch from '2026-07-17 07:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346323 -2.805442)'), GeomFromEWKT('SRID=4674;POINT (-40.346475 -2.805511)'))) / (select extract(epoch from '2026-07-17 07:57:13'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.346636 -2.80556)', '2026-07-17 07:57:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346475 -2.805511)'), GeomFromEWKT('SRID=4674;POINT (-40.346636 -2.80556)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346475 -2.805511)'), GeomFromEWKT('SRID=4674;POINT (-40.346636 -2.80556)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.346749 -2.805604)', '2026-07-17 07:57:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346636 -2.80556)'), GeomFromEWKT('SRID=4674;POINT (-40.346749 -2.805604)'))) / (select extract(epoch from '2026-07-17 07:57:26'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346636 -2.80556)'), GeomFromEWKT('SRID=4674;POINT (-40.346749 -2.805604)'))) / (select extract(epoch from '2026-07-17 07:57:26'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.346913 -2.805648)', '2026-07-17 07:57:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346749 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.346913 -2.805648)'))) / (select extract(epoch from '2026-07-17 07:57:33'::timestamp) - extract(epoch from '2026-07-17 07:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346749 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.346913 -2.805648)'))) / (select extract(epoch from '2026-07-17 07:57:33'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.34704 -2.805685)', '2026-07-17 07:57:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346913 -2.805648)'), GeomFromEWKT('SRID=4674;POINT (-40.34704 -2.805685)'))) / (select extract(epoch from '2026-07-17 07:57:39'::timestamp) - extract(epoch from '2026-07-17 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346913 -2.805648)'), GeomFromEWKT('SRID=4674;POINT (-40.34704 -2.805685)'))) / (select extract(epoch from '2026-07-17 07:57:39'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.347204 -2.805731)', '2026-07-17 07:57:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34704 -2.805685)'), GeomFromEWKT('SRID=4674;POINT (-40.347204 -2.805731)'))) / (select extract(epoch from '2026-07-17 07:57:47'::timestamp) - extract(epoch from '2026-07-17 07:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34704 -2.805685)'), GeomFromEWKT('SRID=4674;POINT (-40.347204 -2.805731)'))) / (select extract(epoch from '2026-07-17 07:57:47'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.347345 -2.805796)', '2026-07-17 07:57:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347204 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.805796)'))) / (select extract(epoch from '2026-07-17 07:57:54'::timestamp) - extract(epoch from '2026-07-17 07:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347204 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.805796)'))) / (select extract(epoch from '2026-07-17 07:57:54'::timestamp) - extract(epoch from '2026-07-17 07:57: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'), 47836, 'SRID=4674;POINT (-40.3475 -2.805848)', '2026-07-17 07:58:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.805796)'), GeomFromEWKT('SRID=4674;POINT (-40.3475 -2.805848)'))) / (select extract(epoch from '2026-07-17 07:58:01'::timestamp) - extract(epoch from '2026-07-17 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.805796)'), GeomFromEWKT('SRID=4674;POINT (-40.3475 -2.805848)'))) / (select extract(epoch from '2026-07-17 07:58:01'::timestamp) - extract(epoch from '2026-07-17 07:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.347676 -2.80589)', '2026-07-17 07:58:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3475 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.80589)'))) / (select extract(epoch from '2026-07-17 07:58:08'::timestamp) - extract(epoch from '2026-07-17 07:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3475 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.80589)'))) / (select extract(epoch from '2026-07-17 07:58:08'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.347699 -2.80589)', '2026-07-17 07:58:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.80589)'), GeomFromEWKT('SRID=4674;POINT (-40.347699 -2.80589)'))) / (select extract(epoch from '2026-07-17 07:58:09'::timestamp) - extract(epoch from '2026-07-17 07:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.80589)'), GeomFromEWKT('SRID=4674;POINT (-40.347699 -2.80589)'))) / (select extract(epoch from '2026-07-17 07:58:09'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.347849 -2.805913)', '2026-07-17 07:58:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347699 -2.80589)'), GeomFromEWKT('SRID=4674;POINT (-40.347849 -2.805913)'))) / (select extract(epoch from '2026-07-17 07:58:15'::timestamp) - extract(epoch from '2026-07-17 07:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347699 -2.80589)'), GeomFromEWKT('SRID=4674;POINT (-40.347849 -2.805913)'))) / (select extract(epoch from '2026-07-17 07:58:15'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.348043 -2.805917)', '2026-07-17 07:58:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347849 -2.805913)'), GeomFromEWKT('SRID=4674;POINT (-40.348043 -2.805917)'))) / (select extract(epoch from '2026-07-17 07:58:22'::timestamp) - extract(epoch from '2026-07-17 07:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347849 -2.805913)'), GeomFromEWKT('SRID=4674;POINT (-40.348043 -2.805917)'))) / (select extract(epoch from '2026-07-17 07:58:22'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.348218 -2.805952)', '2026-07-17 07:58:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348043 -2.805917)'), GeomFromEWKT('SRID=4674;POINT (-40.348218 -2.805952)'))) / (select extract(epoch from '2026-07-17 07:58:29'::timestamp) - extract(epoch from '2026-07-17 07:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348043 -2.805917)'), GeomFromEWKT('SRID=4674;POINT (-40.348218 -2.805952)'))) / (select extract(epoch from '2026-07-17 07:58:29'::timestamp) - extract(epoch from '2026-07-17 07:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.348368 -2.805991)', '2026-07-17 07:58:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348218 -2.805952)'), GeomFromEWKT('SRID=4674;POINT (-40.348368 -2.805991)'))) / (select extract(epoch from '2026-07-17 07:58:36'::timestamp) - extract(epoch from '2026-07-17 07:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348218 -2.805952)'), GeomFromEWKT('SRID=4674;POINT (-40.348368 -2.805991)'))) / (select extract(epoch from '2026-07-17 07:58:36'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.348557 -2.806036)', '2026-07-17 07:58:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348368 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.348557 -2.806036)'))) / (select extract(epoch from '2026-07-17 07:58:44'::timestamp) - extract(epoch from '2026-07-17 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348368 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.348557 -2.806036)'))) / (select extract(epoch from '2026-07-17 07:58:44'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.348722 -2.806088)', '2026-07-17 07:58:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348557 -2.806036)'), GeomFromEWKT('SRID=4674;POINT (-40.348722 -2.806088)'))) / (select extract(epoch from '2026-07-17 07:58:51'::timestamp) - extract(epoch from '2026-07-17 07:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348557 -2.806036)'), GeomFromEWKT('SRID=4674;POINT (-40.348722 -2.806088)'))) / (select extract(epoch from '2026-07-17 07:58:51'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47836, 'SRID=4674;POINT (-40.348875 -2.80615)', '2026-07-17 07:58:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348722 -2.806088)'), GeomFromEWKT('SRID=4674;POINT (-40.348875 -2.80615)'))) / (select extract(epoch from '2026-07-17 07:58:58'::timestamp) - extract(epoch from '2026-07-17 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348722 -2.806088)'), GeomFromEWKT('SRID=4674;POINT (-40.348875 -2.80615)'))) / (select extract(epoch from '2026-07-17 07:58:58'::timestamp) - extract(epoch from '2026-07-17 07:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.349046 -2.806224)', '2026-07-17 07:59:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348875 -2.80615)'), GeomFromEWKT('SRID=4674;POINT (-40.349046 -2.806224)'))) / (select extract(epoch from '2026-07-17 07:59:06'::timestamp) - extract(epoch from '2026-07-17 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348875 -2.80615)'), GeomFromEWKT('SRID=4674;POINT (-40.349046 -2.806224)'))) / (select extract(epoch from '2026-07-17 07:59:06'::timestamp) - extract(epoch from '2026-07-17 07:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.349184 -2.806272)', '2026-07-17 07:59:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349046 -2.806224)'), GeomFromEWKT('SRID=4674;POINT (-40.349184 -2.806272)'))) / (select extract(epoch from '2026-07-17 07:59:12'::timestamp) - extract(epoch from '2026-07-17 07:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349046 -2.806224)'), GeomFromEWKT('SRID=4674;POINT (-40.349184 -2.806272)'))) / (select extract(epoch from '2026-07-17 07:59:12'::timestamp) - extract(epoch from '2026-07-17 07:59: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'), 47836, 'SRID=4674;POINT (-40.349329 -2.806323)', '2026-07-17 07:59:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349184 -2.806272)'), GeomFromEWKT('SRID=4674;POINT (-40.349329 -2.806323)'))) / (select extract(epoch from '2026-07-17 07:59:19'::timestamp) - extract(epoch from '2026-07-17 07:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349184 -2.806272)'), GeomFromEWKT('SRID=4674;POINT (-40.349329 -2.806323)'))) / (select extract(epoch from '2026-07-17 07:59:19'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.349455 -2.806401)', '2026-07-17 07:59:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349329 -2.806323)'), GeomFromEWKT('SRID=4674;POINT (-40.349455 -2.806401)'))) / (select extract(epoch from '2026-07-17 07:59:27'::timestamp) - extract(epoch from '2026-07-17 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349329 -2.806323)'), GeomFromEWKT('SRID=4674;POINT (-40.349455 -2.806401)'))) / (select extract(epoch from '2026-07-17 07:59:27'::timestamp) - extract(epoch from '2026-07-17 07:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.349601 -2.806451)', '2026-07-17 07:59:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349455 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.349601 -2.806451)'))) / (select extract(epoch from '2026-07-17 07:59:34'::timestamp) - extract(epoch from '2026-07-17 07:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349455 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.349601 -2.806451)'))) / (select extract(epoch from '2026-07-17 07:59:34'::timestamp) - extract(epoch from '2026-07-17 07:59: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'), 47836, 'SRID=4674;POINT (-40.34976 -2.806511)', '2026-07-17 07:59:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349601 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.806511)'))) / (select extract(epoch from '2026-07-17 07:59:41'::timestamp) - extract(epoch from '2026-07-17 07:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349601 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.806511)'))) / (select extract(epoch from '2026-07-17 07:59:41'::timestamp) - extract(epoch from '2026-07-17 07:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.349947 -2.806574)', '2026-07-17 07:59:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.806511)'), GeomFromEWKT('SRID=4674;POINT (-40.349947 -2.806574)'))) / (select extract(epoch from '2026-07-17 07:59:48'::timestamp) - extract(epoch from '2026-07-17 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.806511)'), GeomFromEWKT('SRID=4674;POINT (-40.349947 -2.806574)'))) / (select extract(epoch from '2026-07-17 07:59:48'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47836, 'SRID=4674;POINT (-40.350082 -2.806658)', '2026-07-17 07:59:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349947 -2.806574)'), GeomFromEWKT('SRID=4674;POINT (-40.350082 -2.806658)'))) / (select extract(epoch from '2026-07-17 07:59:56'::timestamp) - extract(epoch from '2026-07-17 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349947 -2.806574)'), GeomFromEWKT('SRID=4674;POINT (-40.350082 -2.806658)'))) / (select extract(epoch from '2026-07-17 07:59:56'::timestamp) - extract(epoch from '2026-07-17 07:59: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'), 47836, 'SRID=4674;POINT (-40.350273 -2.806725)', '2026-07-17 08:00:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350082 -2.806658)'), GeomFromEWKT('SRID=4674;POINT (-40.350273 -2.806725)'))) / (select extract(epoch from '2026-07-17 08:00:04'::timestamp) - extract(epoch from '2026-07-17 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350082 -2.806658)'), GeomFromEWKT('SRID=4674;POINT (-40.350273 -2.806725)'))) / (select extract(epoch from '2026-07-17 08:00:04'::timestamp) - extract(epoch from '2026-07-17 07:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.350455 -2.806808)', '2026-07-17 08:00:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350273 -2.806725)'), GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.806808)'))) / (select extract(epoch from '2026-07-17 08:00:12'::timestamp) - extract(epoch from '2026-07-17 08:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350273 -2.806725)'), GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.806808)'))) / (select extract(epoch from '2026-07-17 08:00:12'::timestamp) - extract(epoch from '2026-07-17 08:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.350608 -2.806853)', '2026-07-17 08:00:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.806853)'))) / (select extract(epoch from '2026-07-17 08:00:19'::timestamp) - extract(epoch from '2026-07-17 08:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.806853)'))) / (select extract(epoch from '2026-07-17 08:00:19'::timestamp) - extract(epoch from '2026-07-17 08:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.350796 -2.806905)', '2026-07-17 08:00:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.806853)'), GeomFromEWKT('SRID=4674;POINT (-40.350796 -2.806905)'))) / (select extract(epoch from '2026-07-17 08:00:28'::timestamp) - extract(epoch from '2026-07-17 08:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.806853)'), GeomFromEWKT('SRID=4674;POINT (-40.350796 -2.806905)'))) / (select extract(epoch from '2026-07-17 08:00:28'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47836, 'SRID=4674;POINT (-40.350962 -2.806956)', '2026-07-17 08:00:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350796 -2.806905)'), GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.806956)'))) / (select extract(epoch from '2026-07-17 08:00:36'::timestamp) - extract(epoch from '2026-07-17 08:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350796 -2.806905)'), GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.806956)'))) / (select extract(epoch from '2026-07-17 08:00:36'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47836, 'SRID=4674;POINT (-40.351149 -2.806994)', '2026-07-17 08:00:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.806956)'), GeomFromEWKT('SRID=4674;POINT (-40.351149 -2.806994)'))) / (select extract(epoch from '2026-07-17 08:00:44'::timestamp) - extract(epoch from '2026-07-17 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.806956)'), GeomFromEWKT('SRID=4674;POINT (-40.351149 -2.806994)'))) / (select extract(epoch from '2026-07-17 08:00:44'::timestamp) - extract(epoch from '2026-07-17 08:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.35131 -2.806988)', '2026-07-17 08:00:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351149 -2.806994)'), GeomFromEWKT('SRID=4674;POINT (-40.35131 -2.806988)'))) / (select extract(epoch from '2026-07-17 08:00:50'::timestamp) - extract(epoch from '2026-07-17 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351149 -2.806994)'), GeomFromEWKT('SRID=4674;POINT (-40.35131 -2.806988)'))) / (select extract(epoch from '2026-07-17 08:00:50'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47836, 'SRID=4674;POINT (-40.351466 -2.806981)', '2026-07-17 08:00:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35131 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.351466 -2.806981)'))) / (select extract(epoch from '2026-07-17 08:00:58'::timestamp) - extract(epoch from '2026-07-17 08:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35131 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.351466 -2.806981)'))) / (select extract(epoch from '2026-07-17 08:00:58'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47836, 'SRID=4674;POINT (-40.351629 -2.806984)', '2026-07-17 08:01:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351466 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.351629 -2.806984)'))) / (select extract(epoch from '2026-07-17 08:01:05'::timestamp) - extract(epoch from '2026-07-17 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351466 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.351629 -2.806984)'))) / (select extract(epoch from '2026-07-17 08:01:05'::timestamp) - extract(epoch from '2026-07-17 08:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.35176 -2.807025)', '2026-07-17 08:01:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351629 -2.806984)'), GeomFromEWKT('SRID=4674;POINT (-40.35176 -2.807025)'))) / (select extract(epoch from '2026-07-17 08:01:11'::timestamp) - extract(epoch from '2026-07-17 08:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351629 -2.806984)'), GeomFromEWKT('SRID=4674;POINT (-40.35176 -2.807025)'))) / (select extract(epoch from '2026-07-17 08:01:11'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47836, 'SRID=4674;POINT (-40.351922 -2.807069)', '2026-07-17 08:01:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35176 -2.807025)'), GeomFromEWKT('SRID=4674;POINT (-40.351922 -2.807069)'))) / (select extract(epoch from '2026-07-17 08:01:18'::timestamp) - extract(epoch from '2026-07-17 08:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35176 -2.807025)'), GeomFromEWKT('SRID=4674;POINT (-40.351922 -2.807069)'))) / (select extract(epoch from '2026-07-17 08:01:18'::timestamp) - extract(epoch from '2026-07-17 08:01: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'), 47836, 'SRID=4674;POINT (-40.352091 -2.807132)', '2026-07-17 08:01:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351922 -2.807069)'), GeomFromEWKT('SRID=4674;POINT (-40.352091 -2.807132)'))) / (select extract(epoch from '2026-07-17 08:01:25'::timestamp) - extract(epoch from '2026-07-17 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351922 -2.807069)'), GeomFromEWKT('SRID=4674;POINT (-40.352091 -2.807132)'))) / (select extract(epoch from '2026-07-17 08:01:25'::timestamp) - extract(epoch from '2026-07-17 08:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.352249 -2.807195)', '2026-07-17 08:01:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352091 -2.807132)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.807195)'))) / (select extract(epoch from '2026-07-17 08:01:32'::timestamp) - extract(epoch from '2026-07-17 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352091 -2.807132)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.807195)'))) / (select extract(epoch from '2026-07-17 08:01:32'::timestamp) - extract(epoch from '2026-07-17 08:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.352412 -2.807259)', '2026-07-17 08:01:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.807195)'), GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.807259)'))) / (select extract(epoch from '2026-07-17 08:01:39'::timestamp) - extract(epoch from '2026-07-17 08:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.807195)'), GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.807259)'))) / (select extract(epoch from '2026-07-17 08:01:39'::timestamp) - extract(epoch from '2026-07-17 08:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.352551 -2.807325)', '2026-07-17 08:01:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.807259)'), GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.807325)'))) / (select extract(epoch from '2026-07-17 08:01:46'::timestamp) - extract(epoch from '2026-07-17 08:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.807259)'), GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.807325)'))) / (select extract(epoch from '2026-07-17 08:01:46'::timestamp) - extract(epoch from '2026-07-17 08:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.35271 -2.807386)', '2026-07-17 08:01:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.807325)'), GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.807386)'))) / (select extract(epoch from '2026-07-17 08:01:53'::timestamp) - extract(epoch from '2026-07-17 08:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.807325)'), GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.807386)'))) / (select extract(epoch from '2026-07-17 08:01:53'::timestamp) - extract(epoch from '2026-07-17 08:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.352865 -2.807447)', '2026-07-17 08:02:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.807386)'), GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.807447)'))) / (select extract(epoch from '2026-07-17 08:02:00'::timestamp) - extract(epoch from '2026-07-17 08:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.807386)'), GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.807447)'))) / (select extract(epoch from '2026-07-17 08:02:00'::timestamp) - extract(epoch from '2026-07-17 08:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.353001 -2.807507)', '2026-07-17 08:02:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.807447)'), GeomFromEWKT('SRID=4674;POINT (-40.353001 -2.807507)'))) / (select extract(epoch from '2026-07-17 08:02:07'::timestamp) - extract(epoch from '2026-07-17 08:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.807447)'), GeomFromEWKT('SRID=4674;POINT (-40.353001 -2.807507)'))) / (select extract(epoch from '2026-07-17 08:02:07'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.35312 -2.80755)', '2026-07-17 08:02:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353001 -2.807507)'), GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.80755)'))) / (select extract(epoch from '2026-07-17 08:02:13'::timestamp) - extract(epoch from '2026-07-17 08:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353001 -2.807507)'), GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.80755)'))) / (select extract(epoch from '2026-07-17 08:02:13'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.353198 -2.807651)', '2026-07-17 08:02:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.353198 -2.807651)'))) / (select extract(epoch from '2026-07-17 08:02:19'::timestamp) - extract(epoch from '2026-07-17 08:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35312 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.353198 -2.807651)'))) / (select extract(epoch from '2026-07-17 08:02:19'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.353203 -2.807789)', '2026-07-17 08:02:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353198 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.353203 -2.807789)'))) / (select extract(epoch from '2026-07-17 08:02:25'::timestamp) - extract(epoch from '2026-07-17 08:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353198 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.353203 -2.807789)'))) / (select extract(epoch from '2026-07-17 08:02:25'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.353215 -2.807888)', '2026-07-17 08:02:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353203 -2.807789)'), GeomFromEWKT('SRID=4674;POINT (-40.353215 -2.807888)'))) / (select extract(epoch from '2026-07-17 08:02:32'::timestamp) - extract(epoch from '2026-07-17 08:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353203 -2.807789)'), GeomFromEWKT('SRID=4674;POINT (-40.353215 -2.807888)'))) / (select extract(epoch from '2026-07-17 08:02:32'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.35322 -2.807886)', '2026-07-17 08:02:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353215 -2.807888)'), GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.807886)'))) / (select extract(epoch from '2026-07-17 08:02:33'::timestamp) - extract(epoch from '2026-07-17 08:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353215 -2.807888)'), GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.807886)'))) / (select extract(epoch from '2026-07-17 08:02:33'::timestamp) - extract(epoch from '2026-07-17 08:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.35329 -2.807901)', '2026-07-17 08:02:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.807886)'), GeomFromEWKT('SRID=4674;POINT (-40.35329 -2.807901)'))) / (select extract(epoch from '2026-07-17 08:02:38'::timestamp) - extract(epoch from '2026-07-17 08:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.807886)'), GeomFromEWKT('SRID=4674;POINT (-40.35329 -2.807901)'))) / (select extract(epoch from '2026-07-17 08:02:38'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47836, 'SRID=4674;POINT (-40.35341 -2.807877)', '2026-07-17 08:02:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35329 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.35341 -2.807877)'))) / (select extract(epoch from '2026-07-17 08:02:43'::timestamp) - extract(epoch from '2026-07-17 08:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35329 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.35341 -2.807877)'))) / (select extract(epoch from '2026-07-17 08:02:43'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47836, 'SRID=4674;POINT (-40.353512 -2.807905)', '2026-07-17 08:02:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35341 -2.807877)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.807905)'))) / (select extract(epoch from '2026-07-17 08:02:51'::timestamp) - extract(epoch from '2026-07-17 08:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35341 -2.807877)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.807905)'))) / (select extract(epoch from '2026-07-17 08:02:51'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47836, 'SRID=4674;POINT (-40.353611 -2.807972)', '2026-07-17 08:03:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.807905)'), GeomFromEWKT('SRID=4674;POINT (-40.353611 -2.807972)'))) / (select extract(epoch from '2026-07-17 08:03:01'::timestamp) - extract(epoch from '2026-07-17 08:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.807905)'), GeomFromEWKT('SRID=4674;POINT (-40.353611 -2.807972)'))) / (select extract(epoch from '2026-07-17 08:03:01'::timestamp) - extract(epoch from '2026-07-17 08:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.353678 -2.80803)', '2026-07-17 08:03:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353611 -2.807972)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.80803)'))) / (select extract(epoch from '2026-07-17 08:03:08'::timestamp) - extract(epoch from '2026-07-17 08:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353611 -2.807972)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.80803)'))) / (select extract(epoch from '2026-07-17 08:03:08'::timestamp) - extract(epoch from '2026-07-17 08:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
