BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126956 -2.847107)', '2026-07-08 12:38:26', 2.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126977 -2.846913)', '2026-07-08 12:38:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.847107)'), GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846913)'))) / (select extract(epoch from '2026-07-08 12:38:37'::timestamp) - extract(epoch from '2026-07-08 12:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.847107)'), GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846913)'))) / (select extract(epoch from '2026-07-08 12:38:37'::timestamp) - extract(epoch from '2026-07-08 12:38: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'), 47631, 'SRID=4674;POINT (-40.127001 -2.846741)', '2026-07-08 12:38:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846913)'), GeomFromEWKT('SRID=4674;POINT (-40.127001 -2.846741)'))) / (select extract(epoch from '2026-07-08 12:38:47'::timestamp) - extract(epoch from '2026-07-08 12:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846913)'), GeomFromEWKT('SRID=4674;POINT (-40.127001 -2.846741)'))) / (select extract(epoch from '2026-07-08 12:38:47'::timestamp) - extract(epoch from '2026-07-08 12:38: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'), 47631, 'SRID=4674;POINT (-40.127019 -2.846608)', '2026-07-08 12:38:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127001 -2.846741)'), GeomFromEWKT('SRID=4674;POINT (-40.127019 -2.846608)'))) / (select extract(epoch from '2026-07-08 12:38:55'::timestamp) - extract(epoch from '2026-07-08 12:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127001 -2.846741)'), GeomFromEWKT('SRID=4674;POINT (-40.127019 -2.846608)'))) / (select extract(epoch from '2026-07-08 12:38:55'::timestamp) - extract(epoch from '2026-07-08 12:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12703 -2.846461)', '2026-07-08 12:39:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127019 -2.846608)'), GeomFromEWKT('SRID=4674;POINT (-40.12703 -2.846461)'))) / (select extract(epoch from '2026-07-08 12:39:03'::timestamp) - extract(epoch from '2026-07-08 12:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127019 -2.846608)'), GeomFromEWKT('SRID=4674;POINT (-40.12703 -2.846461)'))) / (select extract(epoch from '2026-07-08 12:39:03'::timestamp) - extract(epoch from '2026-07-08 12:38: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'), 47631, 'SRID=4674;POINT (-40.127028 -2.846328)', '2026-07-08 12:39:11', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12703 -2.846461)'), GeomFromEWKT('SRID=4674;POINT (-40.127028 -2.846328)'))) / (select extract(epoch from '2026-07-08 12:39:11'::timestamp) - extract(epoch from '2026-07-08 12:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12703 -2.846461)'), GeomFromEWKT('SRID=4674;POINT (-40.127028 -2.846328)'))) / (select extract(epoch from '2026-07-08 12:39:11'::timestamp) - extract(epoch from '2026-07-08 12:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127061 -2.84623)', '2026-07-08 12:39:18', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127028 -2.846328)'), GeomFromEWKT('SRID=4674;POINT (-40.127061 -2.84623)'))) / (select extract(epoch from '2026-07-08 12:39:18'::timestamp) - extract(epoch from '2026-07-08 12:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127028 -2.846328)'), GeomFromEWKT('SRID=4674;POINT (-40.127061 -2.84623)'))) / (select extract(epoch from '2026-07-08 12:39:18'::timestamp) - extract(epoch from '2026-07-08 12:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127136 -2.846074)', '2026-07-08 12:39:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127061 -2.84623)'), GeomFromEWKT('SRID=4674;POINT (-40.127136 -2.846074)'))) / (select extract(epoch from '2026-07-08 12:39:28'::timestamp) - extract(epoch from '2026-07-08 12:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127061 -2.84623)'), GeomFromEWKT('SRID=4674;POINT (-40.127136 -2.846074)'))) / (select extract(epoch from '2026-07-08 12:39:28'::timestamp) - extract(epoch from '2026-07-08 12:39: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'), 47631, 'SRID=4674;POINT (-40.127195 -2.845923)', '2026-07-08 12:39:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127136 -2.846074)'), GeomFromEWKT('SRID=4674;POINT (-40.127195 -2.845923)'))) / (select extract(epoch from '2026-07-08 12:39:37'::timestamp) - extract(epoch from '2026-07-08 12:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127136 -2.846074)'), GeomFromEWKT('SRID=4674;POINT (-40.127195 -2.845923)'))) / (select extract(epoch from '2026-07-08 12:39:37'::timestamp) - extract(epoch from '2026-07-08 12:39: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'), 47631, 'SRID=4674;POINT (-40.12725 -2.845759)', '2026-07-08 12:39:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127195 -2.845923)'), GeomFromEWKT('SRID=4674;POINT (-40.12725 -2.845759)'))) / (select extract(epoch from '2026-07-08 12:39:47'::timestamp) - extract(epoch from '2026-07-08 12:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127195 -2.845923)'), GeomFromEWKT('SRID=4674;POINT (-40.12725 -2.845759)'))) / (select extract(epoch from '2026-07-08 12:39:47'::timestamp) - extract(epoch from '2026-07-08 12:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127332 -2.845587)', '2026-07-08 12:39:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12725 -2.845759)'), GeomFromEWKT('SRID=4674;POINT (-40.127332 -2.845587)'))) / (select extract(epoch from '2026-07-08 12:39:58'::timestamp) - extract(epoch from '2026-07-08 12:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12725 -2.845759)'), GeomFromEWKT('SRID=4674;POINT (-40.127332 -2.845587)'))) / (select extract(epoch from '2026-07-08 12:39:58'::timestamp) - extract(epoch from '2026-07-08 12:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127395 -2.845424)', '2026-07-08 12:40:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127332 -2.845587)'), GeomFromEWKT('SRID=4674;POINT (-40.127395 -2.845424)'))) / (select extract(epoch from '2026-07-08 12:40:07'::timestamp) - extract(epoch from '2026-07-08 12:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127332 -2.845587)'), GeomFromEWKT('SRID=4674;POINT (-40.127395 -2.845424)'))) / (select extract(epoch from '2026-07-08 12:40:07'::timestamp) - extract(epoch from '2026-07-08 12:39: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'), 47631, 'SRID=4674;POINT (-40.12748 -2.845268)', '2026-07-08 12:40:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127395 -2.845424)'), GeomFromEWKT('SRID=4674;POINT (-40.12748 -2.845268)'))) / (select extract(epoch from '2026-07-08 12:40:17'::timestamp) - extract(epoch from '2026-07-08 12:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127395 -2.845424)'), GeomFromEWKT('SRID=4674;POINT (-40.12748 -2.845268)'))) / (select extract(epoch from '2026-07-08 12:40:17'::timestamp) - extract(epoch from '2026-07-08 12:40: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'), 47631, 'SRID=4674;POINT (-40.127576 -2.845147)', '2026-07-08 12:40:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12748 -2.845268)'), GeomFromEWKT('SRID=4674;POINT (-40.127576 -2.845147)'))) / (select extract(epoch from '2026-07-08 12:40:26'::timestamp) - extract(epoch from '2026-07-08 12:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12748 -2.845268)'), GeomFromEWKT('SRID=4674;POINT (-40.127576 -2.845147)'))) / (select extract(epoch from '2026-07-08 12:40:26'::timestamp) - extract(epoch from '2026-07-08 12:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127688 -2.84503)', '2026-07-08 12:40:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127576 -2.845147)'), GeomFromEWKT('SRID=4674;POINT (-40.127688 -2.84503)'))) / (select extract(epoch from '2026-07-08 12:40:35'::timestamp) - extract(epoch from '2026-07-08 12:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127576 -2.845147)'), GeomFromEWKT('SRID=4674;POINT (-40.127688 -2.84503)'))) / (select extract(epoch from '2026-07-08 12:40:35'::timestamp) - extract(epoch from '2026-07-08 12:40: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'), 47631, 'SRID=4674;POINT (-40.12782 -2.84486)', '2026-07-08 12:40:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127688 -2.84503)'), GeomFromEWKT('SRID=4674;POINT (-40.12782 -2.84486)'))) / (select extract(epoch from '2026-07-08 12:40:46'::timestamp) - extract(epoch from '2026-07-08 12:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127688 -2.84503)'), GeomFromEWKT('SRID=4674;POINT (-40.12782 -2.84486)'))) / (select extract(epoch from '2026-07-08 12:40:46'::timestamp) - extract(epoch from '2026-07-08 12:40: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'), 47631, 'SRID=4674;POINT (-40.127951 -2.844719)', '2026-07-08 12:40:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12782 -2.84486)'), GeomFromEWKT('SRID=4674;POINT (-40.127951 -2.844719)'))) / (select extract(epoch from '2026-07-08 12:40:56'::timestamp) - extract(epoch from '2026-07-08 12:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12782 -2.84486)'), GeomFromEWKT('SRID=4674;POINT (-40.127951 -2.844719)'))) / (select extract(epoch from '2026-07-08 12:40:56'::timestamp) - extract(epoch from '2026-07-08 12:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128075 -2.84458)', '2026-07-08 12:41:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127951 -2.844719)'), GeomFromEWKT('SRID=4674;POINT (-40.128075 -2.84458)'))) / (select extract(epoch from '2026-07-08 12:41:06'::timestamp) - extract(epoch from '2026-07-08 12:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127951 -2.844719)'), GeomFromEWKT('SRID=4674;POINT (-40.128075 -2.84458)'))) / (select extract(epoch from '2026-07-08 12:41:06'::timestamp) - extract(epoch from '2026-07-08 12:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128167 -2.844442)', '2026-07-08 12:41:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128075 -2.84458)'), GeomFromEWKT('SRID=4674;POINT (-40.128167 -2.844442)'))) / (select extract(epoch from '2026-07-08 12:41:15'::timestamp) - extract(epoch from '2026-07-08 12:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128075 -2.84458)'), GeomFromEWKT('SRID=4674;POINT (-40.128167 -2.844442)'))) / (select extract(epoch from '2026-07-08 12:41:15'::timestamp) - extract(epoch from '2026-07-08 12:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128241 -2.844234)', '2026-07-08 12:41:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128167 -2.844442)'), GeomFromEWKT('SRID=4674;POINT (-40.128241 -2.844234)'))) / (select extract(epoch from '2026-07-08 12:41:26'::timestamp) - extract(epoch from '2026-07-08 12:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128167 -2.844442)'), GeomFromEWKT('SRID=4674;POINT (-40.128241 -2.844234)'))) / (select extract(epoch from '2026-07-08 12:41:26'::timestamp) - extract(epoch from '2026-07-08 12:41: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'), 47631, 'SRID=4674;POINT (-40.128348 -2.844018)', '2026-07-08 12:41:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128241 -2.844234)'), GeomFromEWKT('SRID=4674;POINT (-40.128348 -2.844018)'))) / (select extract(epoch from '2026-07-08 12:41:37'::timestamp) - extract(epoch from '2026-07-08 12:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128241 -2.844234)'), GeomFromEWKT('SRID=4674;POINT (-40.128348 -2.844018)'))) / (select extract(epoch from '2026-07-08 12:41:37'::timestamp) - extract(epoch from '2026-07-08 12:41: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'), 47631, 'SRID=4674;POINT (-40.128444 -2.843819)', '2026-07-08 12:41:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128348 -2.844018)'), GeomFromEWKT('SRID=4674;POINT (-40.128444 -2.843819)'))) / (select extract(epoch from '2026-07-08 12:41:47'::timestamp) - extract(epoch from '2026-07-08 12:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128348 -2.844018)'), GeomFromEWKT('SRID=4674;POINT (-40.128444 -2.843819)'))) / (select extract(epoch from '2026-07-08 12:41:47'::timestamp) - extract(epoch from '2026-07-08 12:41: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'), 47631, 'SRID=4674;POINT (-40.128567 -2.84366)', '2026-07-08 12:41:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128444 -2.843819)'), GeomFromEWKT('SRID=4674;POINT (-40.128567 -2.84366)'))) / (select extract(epoch from '2026-07-08 12:41:57'::timestamp) - extract(epoch from '2026-07-08 12:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128444 -2.843819)'), GeomFromEWKT('SRID=4674;POINT (-40.128567 -2.84366)'))) / (select extract(epoch from '2026-07-08 12:41:57'::timestamp) - extract(epoch from '2026-07-08 12:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128691 -2.843476)', '2026-07-08 12:42:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128567 -2.84366)'), GeomFromEWKT('SRID=4674;POINT (-40.128691 -2.843476)'))) / (select extract(epoch from '2026-07-08 12:42:08'::timestamp) - extract(epoch from '2026-07-08 12:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128567 -2.84366)'), GeomFromEWKT('SRID=4674;POINT (-40.128691 -2.843476)'))) / (select extract(epoch from '2026-07-08 12:42:08'::timestamp) - extract(epoch from '2026-07-08 12:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128795 -2.843279)', '2026-07-08 12:42:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128691 -2.843476)'), GeomFromEWKT('SRID=4674;POINT (-40.128795 -2.843279)'))) / (select extract(epoch from '2026-07-08 12:42:18'::timestamp) - extract(epoch from '2026-07-08 12:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128691 -2.843476)'), GeomFromEWKT('SRID=4674;POINT (-40.128795 -2.843279)'))) / (select extract(epoch from '2026-07-08 12:42:18'::timestamp) - extract(epoch from '2026-07-08 12:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128897 -2.843103)', '2026-07-08 12:42:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128795 -2.843279)'), GeomFromEWKT('SRID=4674;POINT (-40.128897 -2.843103)'))) / (select extract(epoch from '2026-07-08 12:42:28'::timestamp) - extract(epoch from '2026-07-08 12:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128795 -2.843279)'), GeomFromEWKT('SRID=4674;POINT (-40.128897 -2.843103)'))) / (select extract(epoch from '2026-07-08 12:42:28'::timestamp) - extract(epoch from '2026-07-08 12:42: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'), 47631, 'SRID=4674;POINT (-40.129004 -2.842939)', '2026-07-08 12:42:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128897 -2.843103)'), GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842939)'))) / (select extract(epoch from '2026-07-08 12:42:38'::timestamp) - extract(epoch from '2026-07-08 12:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128897 -2.843103)'), GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842939)'))) / (select extract(epoch from '2026-07-08 12:42:38'::timestamp) - extract(epoch from '2026-07-08 12:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129096 -2.842741)', '2026-07-08 12:42:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842939)'), GeomFromEWKT('SRID=4674;POINT (-40.129096 -2.842741)'))) / (select extract(epoch from '2026-07-08 12:42:49'::timestamp) - extract(epoch from '2026-07-08 12:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842939)'), GeomFromEWKT('SRID=4674;POINT (-40.129096 -2.842741)'))) / (select extract(epoch from '2026-07-08 12:42:49'::timestamp) - extract(epoch from '2026-07-08 12:42: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'), 47631, 'SRID=4674;POINT (-40.129141 -2.842584)', '2026-07-08 12:42:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129096 -2.842741)'), GeomFromEWKT('SRID=4674;POINT (-40.129141 -2.842584)'))) / (select extract(epoch from '2026-07-08 12:42:57'::timestamp) - extract(epoch from '2026-07-08 12:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129096 -2.842741)'), GeomFromEWKT('SRID=4674;POINT (-40.129141 -2.842584)'))) / (select extract(epoch from '2026-07-08 12:42:57'::timestamp) - extract(epoch from '2026-07-08 12:42: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'), 47631, 'SRID=4674;POINT (-40.129217 -2.842448)', '2026-07-08 12:43:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129141 -2.842584)'), GeomFromEWKT('SRID=4674;POINT (-40.129217 -2.842448)'))) / (select extract(epoch from '2026-07-08 12:43:05'::timestamp) - extract(epoch from '2026-07-08 12:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129141 -2.842584)'), GeomFromEWKT('SRID=4674;POINT (-40.129217 -2.842448)'))) / (select extract(epoch from '2026-07-08 12:43:05'::timestamp) - extract(epoch from '2026-07-08 12:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129282 -2.8423)', '2026-07-08 12:43:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129217 -2.842448)'), GeomFromEWKT('SRID=4674;POINT (-40.129282 -2.8423)'))) / (select extract(epoch from '2026-07-08 12:43:13'::timestamp) - extract(epoch from '2026-07-08 12:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129217 -2.842448)'), GeomFromEWKT('SRID=4674;POINT (-40.129282 -2.8423)'))) / (select extract(epoch from '2026-07-08 12:43:13'::timestamp) - extract(epoch from '2026-07-08 12:43: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'), 47631, 'SRID=4674;POINT (-40.129399 -2.84212)', '2026-07-08 12:43:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129282 -2.8423)'), GeomFromEWKT('SRID=4674;POINT (-40.129399 -2.84212)'))) / (select extract(epoch from '2026-07-08 12:43:24'::timestamp) - extract(epoch from '2026-07-08 12:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129282 -2.8423)'), GeomFromEWKT('SRID=4674;POINT (-40.129399 -2.84212)'))) / (select extract(epoch from '2026-07-08 12:43:24'::timestamp) - extract(epoch from '2026-07-08 12:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129481 -2.841952)', '2026-07-08 12:43:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129399 -2.84212)'), GeomFromEWKT('SRID=4674;POINT (-40.129481 -2.841952)'))) / (select extract(epoch from '2026-07-08 12:43:33'::timestamp) - extract(epoch from '2026-07-08 12:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129399 -2.84212)'), GeomFromEWKT('SRID=4674;POINT (-40.129481 -2.841952)'))) / (select extract(epoch from '2026-07-08 12:43:33'::timestamp) - extract(epoch from '2026-07-08 12:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129547 -2.841776)', '2026-07-08 12:43:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129481 -2.841952)'), GeomFromEWKT('SRID=4674;POINT (-40.129547 -2.841776)'))) / (select extract(epoch from '2026-07-08 12:43:42'::timestamp) - extract(epoch from '2026-07-08 12:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129481 -2.841952)'), GeomFromEWKT('SRID=4674;POINT (-40.129547 -2.841776)'))) / (select extract(epoch from '2026-07-08 12:43:42'::timestamp) - extract(epoch from '2026-07-08 12:43: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'), 47631, 'SRID=4674;POINT (-40.129607 -2.841622)', '2026-07-08 12:43:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129547 -2.841776)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841622)'))) / (select extract(epoch from '2026-07-08 12:43:50'::timestamp) - extract(epoch from '2026-07-08 12:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129547 -2.841776)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841622)'))) / (select extract(epoch from '2026-07-08 12:43:50'::timestamp) - extract(epoch from '2026-07-08 12:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129675 -2.841444)', '2026-07-08 12:43:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841622)'), GeomFromEWKT('SRID=4674;POINT (-40.129675 -2.841444)'))) / (select extract(epoch from '2026-07-08 12:43:59'::timestamp) - extract(epoch from '2026-07-08 12:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841622)'), GeomFromEWKT('SRID=4674;POINT (-40.129675 -2.841444)'))) / (select extract(epoch from '2026-07-08 12:43:59'::timestamp) - extract(epoch from '2026-07-08 12:43: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'), 47631, 'SRID=4674;POINT (-40.12976 -2.841295)', '2026-07-08 12:44:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129675 -2.841444)'), GeomFromEWKT('SRID=4674;POINT (-40.12976 -2.841295)'))) / (select extract(epoch from '2026-07-08 12:44:08'::timestamp) - extract(epoch from '2026-07-08 12:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129675 -2.841444)'), GeomFromEWKT('SRID=4674;POINT (-40.12976 -2.841295)'))) / (select extract(epoch from '2026-07-08 12:44:08'::timestamp) - extract(epoch from '2026-07-08 12:43: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'), 47631, 'SRID=4674;POINT (-40.129821 -2.841105)', '2026-07-08 12:44:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12976 -2.841295)'), GeomFromEWKT('SRID=4674;POINT (-40.129821 -2.841105)'))) / (select extract(epoch from '2026-07-08 12:44:17'::timestamp) - extract(epoch from '2026-07-08 12:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12976 -2.841295)'), GeomFromEWKT('SRID=4674;POINT (-40.129821 -2.841105)'))) / (select extract(epoch from '2026-07-08 12:44:17'::timestamp) - extract(epoch from '2026-07-08 12:44: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'), 47631, 'SRID=4674;POINT (-40.129895 -2.840901)', '2026-07-08 12:44:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129821 -2.841105)'), GeomFromEWKT('SRID=4674;POINT (-40.129895 -2.840901)'))) / (select extract(epoch from '2026-07-08 12:44:28'::timestamp) - extract(epoch from '2026-07-08 12:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129821 -2.841105)'), GeomFromEWKT('SRID=4674;POINT (-40.129895 -2.840901)'))) / (select extract(epoch from '2026-07-08 12:44:28'::timestamp) - extract(epoch from '2026-07-08 12:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12994 -2.840702)', '2026-07-08 12:44:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129895 -2.840901)'), GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.840702)'))) / (select extract(epoch from '2026-07-08 12:44:38'::timestamp) - extract(epoch from '2026-07-08 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129895 -2.840901)'), GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.840702)'))) / (select extract(epoch from '2026-07-08 12:44:38'::timestamp) - extract(epoch from '2026-07-08 12:44: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'), 47631, 'SRID=4674;POINT (-40.129987 -2.840519)', '2026-07-08 12:44:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.840702)'), GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.840519)'))) / (select extract(epoch from '2026-07-08 12:44:47'::timestamp) - extract(epoch from '2026-07-08 12:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.840702)'), GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.840519)'))) / (select extract(epoch from '2026-07-08 12:44:47'::timestamp) - extract(epoch from '2026-07-08 12:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130039 -2.840315)', '2026-07-08 12:44:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.840519)'), GeomFromEWKT('SRID=4674;POINT (-40.130039 -2.840315)'))) / (select extract(epoch from '2026-07-08 12:44:57'::timestamp) - extract(epoch from '2026-07-08 12:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.840519)'), GeomFromEWKT('SRID=4674;POINT (-40.130039 -2.840315)'))) / (select extract(epoch from '2026-07-08 12:44:57'::timestamp) - extract(epoch from '2026-07-08 12:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130082 -2.840134)', '2026-07-08 12:45:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130039 -2.840315)'), GeomFromEWKT('SRID=4674;POINT (-40.130082 -2.840134)'))) / (select extract(epoch from '2026-07-08 12:45:06'::timestamp) - extract(epoch from '2026-07-08 12:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130039 -2.840315)'), GeomFromEWKT('SRID=4674;POINT (-40.130082 -2.840134)'))) / (select extract(epoch from '2026-07-08 12:45:06'::timestamp) - extract(epoch from '2026-07-08 12:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130123 -2.839928)', '2026-07-08 12:45:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130082 -2.840134)'), GeomFromEWKT('SRID=4674;POINT (-40.130123 -2.839928)'))) / (select extract(epoch from '2026-07-08 12:45:16'::timestamp) - extract(epoch from '2026-07-08 12:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130082 -2.840134)'), GeomFromEWKT('SRID=4674;POINT (-40.130123 -2.839928)'))) / (select extract(epoch from '2026-07-08 12:45:16'::timestamp) - extract(epoch from '2026-07-08 12:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130171 -2.839769)', '2026-07-08 12:45:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130123 -2.839928)'), GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839769)'))) / (select extract(epoch from '2026-07-08 12:45:24'::timestamp) - extract(epoch from '2026-07-08 12:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130123 -2.839928)'), GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839769)'))) / (select extract(epoch from '2026-07-08 12:45:24'::timestamp) - extract(epoch from '2026-07-08 12:45: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'), 47631, 'SRID=4674;POINT (-40.130217 -2.839612)', '2026-07-08 12:45:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839769)'), GeomFromEWKT('SRID=4674;POINT (-40.130217 -2.839612)'))) / (select extract(epoch from '2026-07-08 12:45:32'::timestamp) - extract(epoch from '2026-07-08 12:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839769)'), GeomFromEWKT('SRID=4674;POINT (-40.130217 -2.839612)'))) / (select extract(epoch from '2026-07-08 12:45:32'::timestamp) - extract(epoch from '2026-07-08 12:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130262 -2.839405)', '2026-07-08 12:45:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130217 -2.839612)'), GeomFromEWKT('SRID=4674;POINT (-40.130262 -2.839405)'))) / (select extract(epoch from '2026-07-08 12:45:42'::timestamp) - extract(epoch from '2026-07-08 12:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130217 -2.839612)'), GeomFromEWKT('SRID=4674;POINT (-40.130262 -2.839405)'))) / (select extract(epoch from '2026-07-08 12:45:42'::timestamp) - extract(epoch from '2026-07-08 12:45: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'), 47631, 'SRID=4674;POINT (-40.130297 -2.839202)', '2026-07-08 12:45:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130262 -2.839405)'), GeomFromEWKT('SRID=4674;POINT (-40.130297 -2.839202)'))) / (select extract(epoch from '2026-07-08 12:45:53'::timestamp) - extract(epoch from '2026-07-08 12:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130262 -2.839405)'), GeomFromEWKT('SRID=4674;POINT (-40.130297 -2.839202)'))) / (select extract(epoch from '2026-07-08 12:45:53'::timestamp) - extract(epoch from '2026-07-08 12:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130305 -2.839031)', '2026-07-08 12:46:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130297 -2.839202)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.839031)'))) / (select extract(epoch from '2026-07-08 12:46:02'::timestamp) - extract(epoch from '2026-07-08 12:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130297 -2.839202)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.839031)'))) / (select extract(epoch from '2026-07-08 12:46:02'::timestamp) - extract(epoch from '2026-07-08 12:45: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'), 47631, 'SRID=4674;POINT (-40.130316 -2.838868)', '2026-07-08 12:46:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.839031)'), GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838868)'))) / (select extract(epoch from '2026-07-08 12:46:10'::timestamp) - extract(epoch from '2026-07-08 12:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.839031)'), GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838868)'))) / (select extract(epoch from '2026-07-08 12:46:10'::timestamp) - extract(epoch from '2026-07-08 12:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130326 -2.838671)', '2026-07-08 12:46:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838868)'), GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.838671)'))) / (select extract(epoch from '2026-07-08 12:46:20'::timestamp) - extract(epoch from '2026-07-08 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838868)'), GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.838671)'))) / (select extract(epoch from '2026-07-08 12:46:20'::timestamp) - extract(epoch from '2026-07-08 12:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130342 -2.838502)', '2026-07-08 12:46:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.838671)'), GeomFromEWKT('SRID=4674;POINT (-40.130342 -2.838502)'))) / (select extract(epoch from '2026-07-08 12:46:31'::timestamp) - extract(epoch from '2026-07-08 12:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.838671)'), GeomFromEWKT('SRID=4674;POINT (-40.130342 -2.838502)'))) / (select extract(epoch from '2026-07-08 12:46:31'::timestamp) - extract(epoch from '2026-07-08 12:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130347 -2.838371)', '2026-07-08 12:46:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130342 -2.838502)'), GeomFromEWKT('SRID=4674;POINT (-40.130347 -2.838371)'))) / (select extract(epoch from '2026-07-08 12:46:40'::timestamp) - extract(epoch from '2026-07-08 12:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130342 -2.838502)'), GeomFromEWKT('SRID=4674;POINT (-40.130347 -2.838371)'))) / (select extract(epoch from '2026-07-08 12:46:40'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.130362 -2.838227)', '2026-07-08 12:46:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130347 -2.838371)'), GeomFromEWKT('SRID=4674;POINT (-40.130362 -2.838227)'))) / (select extract(epoch from '2026-07-08 12:46:50'::timestamp) - extract(epoch from '2026-07-08 12:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130347 -2.838371)'), GeomFromEWKT('SRID=4674;POINT (-40.130362 -2.838227)'))) / (select extract(epoch from '2026-07-08 12:46:50'::timestamp) - extract(epoch from '2026-07-08 12:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13036 -2.838079)', '2026-07-08 12:47:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130362 -2.838227)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838079)'))) / (select extract(epoch from '2026-07-08 12:47:00'::timestamp) - extract(epoch from '2026-07-08 12:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130362 -2.838227)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838079)'))) / (select extract(epoch from '2026-07-08 12:47:00'::timestamp) - extract(epoch from '2026-07-08 12:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130346 -2.837945)', '2026-07-08 12:47:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838079)'), GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837945)'))) / (select extract(epoch from '2026-07-08 12:47:10'::timestamp) - extract(epoch from '2026-07-08 12:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838079)'), GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837945)'))) / (select extract(epoch from '2026-07-08 12:47:10'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.130348 -2.837802)', '2026-07-08 12:47:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837945)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837802)'))) / (select extract(epoch from '2026-07-08 12:47:20'::timestamp) - extract(epoch from '2026-07-08 12:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837945)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837802)'))) / (select extract(epoch from '2026-07-08 12:47:20'::timestamp) - extract(epoch from '2026-07-08 12:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130373 -2.837674)', '2026-07-08 12:47:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837802)'), GeomFromEWKT('SRID=4674;POINT (-40.130373 -2.837674)'))) / (select extract(epoch from '2026-07-08 12:47:29'::timestamp) - extract(epoch from '2026-07-08 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837802)'), GeomFromEWKT('SRID=4674;POINT (-40.130373 -2.837674)'))) / (select extract(epoch from '2026-07-08 12:47:29'::timestamp) - extract(epoch from '2026-07-08 12:47: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'), 47631, 'SRID=4674;POINT (-40.130399 -2.837532)', '2026-07-08 12:47:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130373 -2.837674)'), GeomFromEWKT('SRID=4674;POINT (-40.130399 -2.837532)'))) / (select extract(epoch from '2026-07-08 12:47:37'::timestamp) - extract(epoch from '2026-07-08 12:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130373 -2.837674)'), GeomFromEWKT('SRID=4674;POINT (-40.130399 -2.837532)'))) / (select extract(epoch from '2026-07-08 12:47:37'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.130419 -2.837404)', '2026-07-08 12:47:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130399 -2.837532)'), GeomFromEWKT('SRID=4674;POINT (-40.130419 -2.837404)'))) / (select extract(epoch from '2026-07-08 12:47:45'::timestamp) - extract(epoch from '2026-07-08 12:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130399 -2.837532)'), GeomFromEWKT('SRID=4674;POINT (-40.130419 -2.837404)'))) / (select extract(epoch from '2026-07-08 12:47:45'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.130443 -2.837255)', '2026-07-08 12:47:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130419 -2.837404)'), GeomFromEWKT('SRID=4674;POINT (-40.130443 -2.837255)'))) / (select extract(epoch from '2026-07-08 12:47:53'::timestamp) - extract(epoch from '2026-07-08 12:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130419 -2.837404)'), GeomFromEWKT('SRID=4674;POINT (-40.130443 -2.837255)'))) / (select extract(epoch from '2026-07-08 12:47:53'::timestamp) - extract(epoch from '2026-07-08 12:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13047 -2.837107)', '2026-07-08 12:48:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130443 -2.837255)'), GeomFromEWKT('SRID=4674;POINT (-40.13047 -2.837107)'))) / (select extract(epoch from '2026-07-08 12:48:01'::timestamp) - extract(epoch from '2026-07-08 12:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130443 -2.837255)'), GeomFromEWKT('SRID=4674;POINT (-40.13047 -2.837107)'))) / (select extract(epoch from '2026-07-08 12:48:01'::timestamp) - extract(epoch from '2026-07-08 12:47: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'), 47631, 'SRID=4674;POINT (-40.13053 -2.836903)', '2026-07-08 12:48:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13047 -2.837107)'), GeomFromEWKT('SRID=4674;POINT (-40.13053 -2.836903)'))) / (select extract(epoch from '2026-07-08 12:48:12'::timestamp) - extract(epoch from '2026-07-08 12:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13047 -2.837107)'), GeomFromEWKT('SRID=4674;POINT (-40.13053 -2.836903)'))) / (select extract(epoch from '2026-07-08 12:48:12'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.13058 -2.836685)', '2026-07-08 12:48:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13053 -2.836903)'), GeomFromEWKT('SRID=4674;POINT (-40.13058 -2.836685)'))) / (select extract(epoch from '2026-07-08 12:48:23'::timestamp) - extract(epoch from '2026-07-08 12:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13053 -2.836903)'), GeomFromEWKT('SRID=4674;POINT (-40.13058 -2.836685)'))) / (select extract(epoch from '2026-07-08 12:48:23'::timestamp) - extract(epoch from '2026-07-08 12:48: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'), 47631, 'SRID=4674;POINT (-40.130631 -2.836466)', '2026-07-08 12:48:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13058 -2.836685)'), GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.836466)'))) / (select extract(epoch from '2026-07-08 12:48:34'::timestamp) - extract(epoch from '2026-07-08 12:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13058 -2.836685)'), GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.836466)'))) / (select extract(epoch from '2026-07-08 12:48:34'::timestamp) - extract(epoch from '2026-07-08 12:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130689 -2.836281)', '2026-07-08 12:48:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.836466)'), GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.836281)'))) / (select extract(epoch from '2026-07-08 12:48:44'::timestamp) - extract(epoch from '2026-07-08 12:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.836466)'), GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.836281)'))) / (select extract(epoch from '2026-07-08 12:48:44'::timestamp) - extract(epoch from '2026-07-08 12:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130771 -2.836111)', '2026-07-08 12:48:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.836281)'), GeomFromEWKT('SRID=4674;POINT (-40.130771 -2.836111)'))) / (select extract(epoch from '2026-07-08 12:48:54'::timestamp) - extract(epoch from '2026-07-08 12:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.836281)'), GeomFromEWKT('SRID=4674;POINT (-40.130771 -2.836111)'))) / (select extract(epoch from '2026-07-08 12:48:54'::timestamp) - extract(epoch from '2026-07-08 12:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130824 -2.835959)', '2026-07-08 12:49:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130771 -2.836111)'), GeomFromEWKT('SRID=4674;POINT (-40.130824 -2.835959)'))) / (select extract(epoch from '2026-07-08 12:49:02'::timestamp) - extract(epoch from '2026-07-08 12:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130771 -2.836111)'), GeomFromEWKT('SRID=4674;POINT (-40.130824 -2.835959)'))) / (select extract(epoch from '2026-07-08 12:49:02'::timestamp) - extract(epoch from '2026-07-08 12:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130893 -2.835756)', '2026-07-08 12:49:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130824 -2.835959)'), GeomFromEWKT('SRID=4674;POINT (-40.130893 -2.835756)'))) / (select extract(epoch from '2026-07-08 12:49:13'::timestamp) - extract(epoch from '2026-07-08 12:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130824 -2.835959)'), GeomFromEWKT('SRID=4674;POINT (-40.130893 -2.835756)'))) / (select extract(epoch from '2026-07-08 12:49:13'::timestamp) - extract(epoch from '2026-07-08 12:49: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'), 47631, 'SRID=4674;POINT (-40.130955 -2.835582)', '2026-07-08 12:49:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130893 -2.835756)'), GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.835582)'))) / (select extract(epoch from '2026-07-08 12:49:22'::timestamp) - extract(epoch from '2026-07-08 12:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130893 -2.835756)'), GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.835582)'))) / (select extract(epoch from '2026-07-08 12:49:22'::timestamp) - extract(epoch from '2026-07-08 12:49: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'), 47631, 'SRID=4674;POINT (-40.131028 -2.835405)', '2026-07-08 12:49:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.835582)'), GeomFromEWKT('SRID=4674;POINT (-40.131028 -2.835405)'))) / (select extract(epoch from '2026-07-08 12:49:32'::timestamp) - extract(epoch from '2026-07-08 12:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.835582)'), GeomFromEWKT('SRID=4674;POINT (-40.131028 -2.835405)'))) / (select extract(epoch from '2026-07-08 12:49:32'::timestamp) - extract(epoch from '2026-07-08 12:49: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'), 47631, 'SRID=4674;POINT (-40.131119 -2.835206)', '2026-07-08 12:49:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131028 -2.835405)'), GeomFromEWKT('SRID=4674;POINT (-40.131119 -2.835206)'))) / (select extract(epoch from '2026-07-08 12:49:43'::timestamp) - extract(epoch from '2026-07-08 12:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131028 -2.835405)'), GeomFromEWKT('SRID=4674;POINT (-40.131119 -2.835206)'))) / (select extract(epoch from '2026-07-08 12:49:43'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.131179 -2.835015)', '2026-07-08 12:49:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131119 -2.835206)'), GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.835015)'))) / (select extract(epoch from '2026-07-08 12:49:53'::timestamp) - extract(epoch from '2026-07-08 12:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131119 -2.835206)'), GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.835015)'))) / (select extract(epoch from '2026-07-08 12:49:53'::timestamp) - extract(epoch from '2026-07-08 12:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131255 -2.834804)', '2026-07-08 12:50:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.835015)'), GeomFromEWKT('SRID=4674;POINT (-40.131255 -2.834804)'))) / (select extract(epoch from '2026-07-08 12:50:04'::timestamp) - extract(epoch from '2026-07-08 12:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.835015)'), GeomFromEWKT('SRID=4674;POINT (-40.131255 -2.834804)'))) / (select extract(epoch from '2026-07-08 12:50:04'::timestamp) - extract(epoch from '2026-07-08 12:49: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'), 47631, 'SRID=4674;POINT (-40.131326 -2.834635)', '2026-07-08 12:50:13', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131255 -2.834804)'), GeomFromEWKT('SRID=4674;POINT (-40.131326 -2.834635)'))) / (select extract(epoch from '2026-07-08 12:50:13'::timestamp) - extract(epoch from '2026-07-08 12:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131255 -2.834804)'), GeomFromEWKT('SRID=4674;POINT (-40.131326 -2.834635)'))) / (select extract(epoch from '2026-07-08 12:50:13'::timestamp) - extract(epoch from '2026-07-08 12:50: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'), 47631, 'SRID=4674;POINT (-40.131389 -2.834453)', '2026-07-08 12:50:22', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131326 -2.834635)'), GeomFromEWKT('SRID=4674;POINT (-40.131389 -2.834453)'))) / (select extract(epoch from '2026-07-08 12:50:22'::timestamp) - extract(epoch from '2026-07-08 12:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131326 -2.834635)'), GeomFromEWKT('SRID=4674;POINT (-40.131389 -2.834453)'))) / (select extract(epoch from '2026-07-08 12:50:22'::timestamp) - extract(epoch from '2026-07-08 12:50: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'), 47631, 'SRID=4674;POINT (-40.131457 -2.834282)', '2026-07-08 12:50:31', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131389 -2.834453)'), GeomFromEWKT('SRID=4674;POINT (-40.131457 -2.834282)'))) / (select extract(epoch from '2026-07-08 12:50:31'::timestamp) - extract(epoch from '2026-07-08 12:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131389 -2.834453)'), GeomFromEWKT('SRID=4674;POINT (-40.131457 -2.834282)'))) / (select extract(epoch from '2026-07-08 12:50:31'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.131515 -2.834109)', '2026-07-08 12:50:40', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131457 -2.834282)'), GeomFromEWKT('SRID=4674;POINT (-40.131515 -2.834109)'))) / (select extract(epoch from '2026-07-08 12:50:40'::timestamp) - extract(epoch from '2026-07-08 12:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131457 -2.834282)'), GeomFromEWKT('SRID=4674;POINT (-40.131515 -2.834109)'))) / (select extract(epoch from '2026-07-08 12:50:40'::timestamp) - extract(epoch from '2026-07-08 12:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131587 -2.833957)', '2026-07-08 12:50:49', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131515 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.131587 -2.833957)'))) / (select extract(epoch from '2026-07-08 12:50:49'::timestamp) - extract(epoch from '2026-07-08 12:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131515 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.131587 -2.833957)'))) / (select extract(epoch from '2026-07-08 12:50:49'::timestamp) - extract(epoch from '2026-07-08 12:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131666 -2.833808)', '2026-07-08 12:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131587 -2.833957)'), GeomFromEWKT('SRID=4674;POINT (-40.131666 -2.833808)'))) / (select extract(epoch from '2026-07-08 12:50:58'::timestamp) - extract(epoch from '2026-07-08 12:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131587 -2.833957)'), GeomFromEWKT('SRID=4674;POINT (-40.131666 -2.833808)'))) / (select extract(epoch from '2026-07-08 12:50:58'::timestamp) - extract(epoch from '2026-07-08 12:50: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'), 47631, 'SRID=4674;POINT (-40.131768 -2.833637)', '2026-07-08 12:51:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131666 -2.833808)'), GeomFromEWKT('SRID=4674;POINT (-40.131768 -2.833637)'))) / (select extract(epoch from '2026-07-08 12:51:08'::timestamp) - extract(epoch from '2026-07-08 12:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131666 -2.833808)'), GeomFromEWKT('SRID=4674;POINT (-40.131768 -2.833637)'))) / (select extract(epoch from '2026-07-08 12:51:08'::timestamp) - extract(epoch from '2026-07-08 12:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131886 -2.833423)', '2026-07-08 12:51:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131768 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.131886 -2.833423)'))) / (select extract(epoch from '2026-07-08 12:51:20'::timestamp) - extract(epoch from '2026-07-08 12:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131768 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.131886 -2.833423)'))) / (select extract(epoch from '2026-07-08 12:51:20'::timestamp) - extract(epoch from '2026-07-08 12:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131965 -2.833242)', '2026-07-08 12:51:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131886 -2.833423)'), GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.833242)'))) / (select extract(epoch from '2026-07-08 12:51:30'::timestamp) - extract(epoch from '2026-07-08 12:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131886 -2.833423)'), GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.833242)'))) / (select extract(epoch from '2026-07-08 12:51:30'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.132045 -2.833064)', '2026-07-08 12:51:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.833242)'), GeomFromEWKT('SRID=4674;POINT (-40.132045 -2.833064)'))) / (select extract(epoch from '2026-07-08 12:51:40'::timestamp) - extract(epoch from '2026-07-08 12:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.833242)'), GeomFromEWKT('SRID=4674;POINT (-40.132045 -2.833064)'))) / (select extract(epoch from '2026-07-08 12:51:40'::timestamp) - extract(epoch from '2026-07-08 12:51: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'), 47631, 'SRID=4674;POINT (-40.132123 -2.832907)', '2026-07-08 12:51:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132045 -2.833064)'), GeomFromEWKT('SRID=4674;POINT (-40.132123 -2.832907)'))) / (select extract(epoch from '2026-07-08 12:51:49'::timestamp) - extract(epoch from '2026-07-08 12:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132045 -2.833064)'), GeomFromEWKT('SRID=4674;POINT (-40.132123 -2.832907)'))) / (select extract(epoch from '2026-07-08 12:51:49'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.132211 -2.832703)', '2026-07-08 12:52:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132123 -2.832907)'), GeomFromEWKT('SRID=4674;POINT (-40.132211 -2.832703)'))) / (select extract(epoch from '2026-07-08 12:52:00'::timestamp) - extract(epoch from '2026-07-08 12:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132123 -2.832907)'), GeomFromEWKT('SRID=4674;POINT (-40.132211 -2.832703)'))) / (select extract(epoch from '2026-07-08 12:52:00'::timestamp) - extract(epoch from '2026-07-08 12:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132299 -2.832503)', '2026-07-08 12:52:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132211 -2.832703)'), GeomFromEWKT('SRID=4674;POINT (-40.132299 -2.832503)'))) / (select extract(epoch from '2026-07-08 12:52:11'::timestamp) - extract(epoch from '2026-07-08 12:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132211 -2.832703)'), GeomFromEWKT('SRID=4674;POINT (-40.132299 -2.832503)'))) / (select extract(epoch from '2026-07-08 12:52:11'::timestamp) - extract(epoch from '2026-07-08 12:52: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'), 47631, 'SRID=4674;POINT (-40.132377 -2.832289)', '2026-07-08 12:52:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132299 -2.832503)'), GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.832289)'))) / (select extract(epoch from '2026-07-08 12:52:22'::timestamp) - extract(epoch from '2026-07-08 12:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132299 -2.832503)'), GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.832289)'))) / (select extract(epoch from '2026-07-08 12:52:22'::timestamp) - extract(epoch from '2026-07-08 12:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132454 -2.832111)', '2026-07-08 12:52:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.832289)'), GeomFromEWKT('SRID=4674;POINT (-40.132454 -2.832111)'))) / (select extract(epoch from '2026-07-08 12:52:32'::timestamp) - extract(epoch from '2026-07-08 12:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.832289)'), GeomFromEWKT('SRID=4674;POINT (-40.132454 -2.832111)'))) / (select extract(epoch from '2026-07-08 12:52:32'::timestamp) - extract(epoch from '2026-07-08 12:52: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'), 47631, 'SRID=4674;POINT (-40.13253 -2.83195)', '2026-07-08 12:52:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132454 -2.832111)'), GeomFromEWKT('SRID=4674;POINT (-40.13253 -2.83195)'))) / (select extract(epoch from '2026-07-08 12:52:41'::timestamp) - extract(epoch from '2026-07-08 12:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132454 -2.832111)'), GeomFromEWKT('SRID=4674;POINT (-40.13253 -2.83195)'))) / (select extract(epoch from '2026-07-08 12:52:41'::timestamp) - extract(epoch from '2026-07-08 12:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132612 -2.831789)', '2026-07-08 12:52:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13253 -2.83195)'), GeomFromEWKT('SRID=4674;POINT (-40.132612 -2.831789)'))) / (select extract(epoch from '2026-07-08 12:52:50'::timestamp) - extract(epoch from '2026-07-08 12:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13253 -2.83195)'), GeomFromEWKT('SRID=4674;POINT (-40.132612 -2.831789)'))) / (select extract(epoch from '2026-07-08 12:52:50'::timestamp) - extract(epoch from '2026-07-08 12:52: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'), 47631, 'SRID=4674;POINT (-40.132695 -2.831633)', '2026-07-08 12:52:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132612 -2.831789)'), GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831633)'))) / (select extract(epoch from '2026-07-08 12:52:59'::timestamp) - extract(epoch from '2026-07-08 12:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132612 -2.831789)'), GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831633)'))) / (select extract(epoch from '2026-07-08 12:52:59'::timestamp) - extract(epoch from '2026-07-08 12:52: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'), 47631, 'SRID=4674;POINT (-40.132783 -2.831429)', '2026-07-08 12:53:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831633)'), GeomFromEWKT('SRID=4674;POINT (-40.132783 -2.831429)'))) / (select extract(epoch from '2026-07-08 12:53:10'::timestamp) - extract(epoch from '2026-07-08 12:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831633)'), GeomFromEWKT('SRID=4674;POINT (-40.132783 -2.831429)'))) / (select extract(epoch from '2026-07-08 12:53:10'::timestamp) - extract(epoch from '2026-07-08 12:52: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'), 47631, 'SRID=4674;POINT (-40.132859 -2.831226)', '2026-07-08 12:53:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132783 -2.831429)'), GeomFromEWKT('SRID=4674;POINT (-40.132859 -2.831226)'))) / (select extract(epoch from '2026-07-08 12:53:21'::timestamp) - extract(epoch from '2026-07-08 12:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132783 -2.831429)'), GeomFromEWKT('SRID=4674;POINT (-40.132859 -2.831226)'))) / (select extract(epoch from '2026-07-08 12:53:21'::timestamp) - extract(epoch from '2026-07-08 12:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132927 -2.83104)', '2026-07-08 12:53:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132859 -2.831226)'), GeomFromEWKT('SRID=4674;POINT (-40.132927 -2.83104)'))) / (select extract(epoch from '2026-07-08 12:53:31'::timestamp) - extract(epoch from '2026-07-08 12:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132859 -2.831226)'), GeomFromEWKT('SRID=4674;POINT (-40.132927 -2.83104)'))) / (select extract(epoch from '2026-07-08 12:53:31'::timestamp) - extract(epoch from '2026-07-08 12:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132992 -2.830811)', '2026-07-08 12:53:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132927 -2.83104)'), GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.830811)'))) / (select extract(epoch from '2026-07-08 12:53:43'::timestamp) - extract(epoch from '2026-07-08 12:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132927 -2.83104)'), GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.830811)'))) / (select extract(epoch from '2026-07-08 12:53:43'::timestamp) - extract(epoch from '2026-07-08 12:53: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'), 47631, 'SRID=4674;POINT (-40.133057 -2.830617)', '2026-07-08 12:53:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.830811)'), GeomFromEWKT('SRID=4674;POINT (-40.133057 -2.830617)'))) / (select extract(epoch from '2026-07-08 12:53:53'::timestamp) - extract(epoch from '2026-07-08 12:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.830811)'), GeomFromEWKT('SRID=4674;POINT (-40.133057 -2.830617)'))) / (select extract(epoch from '2026-07-08 12:53:53'::timestamp) - extract(epoch from '2026-07-08 12:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133107 -2.830451)', '2026-07-08 12:54:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133057 -2.830617)'), GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.830451)'))) / (select extract(epoch from '2026-07-08 12:54:02'::timestamp) - extract(epoch from '2026-07-08 12:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133057 -2.830617)'), GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.830451)'))) / (select extract(epoch from '2026-07-08 12:54:02'::timestamp) - extract(epoch from '2026-07-08 12:53: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'), 47631, 'SRID=4674;POINT (-40.13318 -2.830248)', '2026-07-08 12:54:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.830451)'), GeomFromEWKT('SRID=4674;POINT (-40.13318 -2.830248)'))) / (select extract(epoch from '2026-07-08 12:54:13'::timestamp) - extract(epoch from '2026-07-08 12:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.830451)'), GeomFromEWKT('SRID=4674;POINT (-40.13318 -2.830248)'))) / (select extract(epoch from '2026-07-08 12:54:13'::timestamp) - extract(epoch from '2026-07-08 12:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133262 -2.830042)', '2026-07-08 12:54:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13318 -2.830248)'), GeomFromEWKT('SRID=4674;POINT (-40.133262 -2.830042)'))) / (select extract(epoch from '2026-07-08 12:54:24'::timestamp) - extract(epoch from '2026-07-08 12:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13318 -2.830248)'), GeomFromEWKT('SRID=4674;POINT (-40.133262 -2.830042)'))) / (select extract(epoch from '2026-07-08 12:54:24'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.133348 -2.82986)', '2026-07-08 12:54:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133262 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.82986)'))) / (select extract(epoch from '2026-07-08 12:54:34'::timestamp) - extract(epoch from '2026-07-08 12:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133262 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.82986)'))) / (select extract(epoch from '2026-07-08 12:54:34'::timestamp) - extract(epoch from '2026-07-08 12:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133452 -2.829664)', '2026-07-08 12:54:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.82986)'), GeomFromEWKT('SRID=4674;POINT (-40.133452 -2.829664)'))) / (select extract(epoch from '2026-07-08 12:54:45'::timestamp) - extract(epoch from '2026-07-08 12:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.82986)'), GeomFromEWKT('SRID=4674;POINT (-40.133452 -2.829664)'))) / (select extract(epoch from '2026-07-08 12:54:45'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.133526 -2.829495)', '2026-07-08 12:54:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133452 -2.829664)'), GeomFromEWKT('SRID=4674;POINT (-40.133526 -2.829495)'))) / (select extract(epoch from '2026-07-08 12:54:54'::timestamp) - extract(epoch from '2026-07-08 12:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133452 -2.829664)'), GeomFromEWKT('SRID=4674;POINT (-40.133526 -2.829495)'))) / (select extract(epoch from '2026-07-08 12:54:54'::timestamp) - extract(epoch from '2026-07-08 12:54: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'), 47631, 'SRID=4674;POINT (-40.133611 -2.82931)', '2026-07-08 12:55:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133526 -2.829495)'), GeomFromEWKT('SRID=4674;POINT (-40.133611 -2.82931)'))) / (select extract(epoch from '2026-07-08 12:55:04'::timestamp) - extract(epoch from '2026-07-08 12:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133526 -2.829495)'), GeomFromEWKT('SRID=4674;POINT (-40.133611 -2.82931)'))) / (select extract(epoch from '2026-07-08 12:55:04'::timestamp) - extract(epoch from '2026-07-08 12:54: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'), 47631, 'SRID=4674;POINT (-40.133688 -2.829155)', '2026-07-08 12:55:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133611 -2.82931)'), GeomFromEWKT('SRID=4674;POINT (-40.133688 -2.829155)'))) / (select extract(epoch from '2026-07-08 12:55:12'::timestamp) - extract(epoch from '2026-07-08 12:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133611 -2.82931)'), GeomFromEWKT('SRID=4674;POINT (-40.133688 -2.829155)'))) / (select extract(epoch from '2026-07-08 12:55:12'::timestamp) - extract(epoch from '2026-07-08 12:55: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'), 47631, 'SRID=4674;POINT (-40.133821 -2.828933)', '2026-07-08 12:55:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133688 -2.829155)'), GeomFromEWKT('SRID=4674;POINT (-40.133821 -2.828933)'))) / (select extract(epoch from '2026-07-08 12:55:24'::timestamp) - extract(epoch from '2026-07-08 12:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133688 -2.829155)'), GeomFromEWKT('SRID=4674;POINT (-40.133821 -2.828933)'))) / (select extract(epoch from '2026-07-08 12:55:24'::timestamp) - extract(epoch from '2026-07-08 12:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133921 -2.828777)', '2026-07-08 12:55:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133821 -2.828933)'), GeomFromEWKT('SRID=4674;POINT (-40.133921 -2.828777)'))) / (select extract(epoch from '2026-07-08 12:55:33'::timestamp) - extract(epoch from '2026-07-08 12:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133821 -2.828933)'), GeomFromEWKT('SRID=4674;POINT (-40.133921 -2.828777)'))) / (select extract(epoch from '2026-07-08 12:55:33'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.134014 -2.828616)', '2026-07-08 12:55:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133921 -2.828777)'), GeomFromEWKT('SRID=4674;POINT (-40.134014 -2.828616)'))) / (select extract(epoch from '2026-07-08 12:55:42'::timestamp) - extract(epoch from '2026-07-08 12:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133921 -2.828777)'), GeomFromEWKT('SRID=4674;POINT (-40.134014 -2.828616)'))) / (select extract(epoch from '2026-07-08 12:55:42'::timestamp) - extract(epoch from '2026-07-08 12:55: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'), 47631, 'SRID=4674;POINT (-40.13409 -2.828443)', '2026-07-08 12:55:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134014 -2.828616)'), GeomFromEWKT('SRID=4674;POINT (-40.13409 -2.828443)'))) / (select extract(epoch from '2026-07-08 12:55:51'::timestamp) - extract(epoch from '2026-07-08 12:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134014 -2.828616)'), GeomFromEWKT('SRID=4674;POINT (-40.13409 -2.828443)'))) / (select extract(epoch from '2026-07-08 12:55:51'::timestamp) - extract(epoch from '2026-07-08 12:55: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'), 47631, 'SRID=4674;POINT (-40.134164 -2.828254)', '2026-07-08 12:56:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13409 -2.828443)'), GeomFromEWKT('SRID=4674;POINT (-40.134164 -2.828254)'))) / (select extract(epoch from '2026-07-08 12:56:01'::timestamp) - extract(epoch from '2026-07-08 12:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13409 -2.828443)'), GeomFromEWKT('SRID=4674;POINT (-40.134164 -2.828254)'))) / (select extract(epoch from '2026-07-08 12:56:01'::timestamp) - extract(epoch from '2026-07-08 12:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13424 -2.828073)', '2026-07-08 12:56:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134164 -2.828254)'), GeomFromEWKT('SRID=4674;POINT (-40.13424 -2.828073)'))) / (select extract(epoch from '2026-07-08 12:56:11'::timestamp) - extract(epoch from '2026-07-08 12:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134164 -2.828254)'), GeomFromEWKT('SRID=4674;POINT (-40.13424 -2.828073)'))) / (select extract(epoch from '2026-07-08 12:56:11'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.134319 -2.827868)', '2026-07-08 12:56:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13424 -2.828073)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.827868)'))) / (select extract(epoch from '2026-07-08 12:56:22'::timestamp) - extract(epoch from '2026-07-08 12:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13424 -2.828073)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.827868)'))) / (select extract(epoch from '2026-07-08 12:56:22'::timestamp) - extract(epoch from '2026-07-08 12:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134387 -2.827694)', '2026-07-08 12:56:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.827868)'), GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.827694)'))) / (select extract(epoch from '2026-07-08 12:56:31'::timestamp) - extract(epoch from '2026-07-08 12:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.827868)'), GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.827694)'))) / (select extract(epoch from '2026-07-08 12:56:31'::timestamp) - extract(epoch from '2026-07-08 12:56: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'), 47631, 'SRID=4674;POINT (-40.134506 -2.827515)', '2026-07-08 12:56:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.827694)'), GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.827515)'))) / (select extract(epoch from '2026-07-08 12:56:42'::timestamp) - extract(epoch from '2026-07-08 12:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.827694)'), GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.827515)'))) / (select extract(epoch from '2026-07-08 12:56:42'::timestamp) - extract(epoch from '2026-07-08 12:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134637 -2.827438)', '2026-07-08 12:56:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.827515)'), GeomFromEWKT('SRID=4674;POINT (-40.134637 -2.827438)'))) / (select extract(epoch from '2026-07-08 12:56:50'::timestamp) - extract(epoch from '2026-07-08 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.827515)'), GeomFromEWKT('SRID=4674;POINT (-40.134637 -2.827438)'))) / (select extract(epoch from '2026-07-08 12:56:50'::timestamp) - extract(epoch from '2026-07-08 12:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134835 -2.827411)', '2026-07-08 12:57:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134637 -2.827438)'), GeomFromEWKT('SRID=4674;POINT (-40.134835 -2.827411)'))) / (select extract(epoch from '2026-07-08 12:57:01'::timestamp) - extract(epoch from '2026-07-08 12:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134637 -2.827438)'), GeomFromEWKT('SRID=4674;POINT (-40.134835 -2.827411)'))) / (select extract(epoch from '2026-07-08 12:57:01'::timestamp) - extract(epoch from '2026-07-08 12:56: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'), 47631, 'SRID=4674;POINT (-40.135021 -2.827392)', '2026-07-08 12:57:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134835 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.135021 -2.827392)'))) / (select extract(epoch from '2026-07-08 12:57:12'::timestamp) - extract(epoch from '2026-07-08 12:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134835 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.135021 -2.827392)'))) / (select extract(epoch from '2026-07-08 12:57:12'::timestamp) - extract(epoch from '2026-07-08 12:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135132 -2.827331)', '2026-07-08 12:57:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135021 -2.827392)'), GeomFromEWKT('SRID=4674;POINT (-40.135132 -2.827331)'))) / (select extract(epoch from '2026-07-08 12:57:20'::timestamp) - extract(epoch from '2026-07-08 12:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135021 -2.827392)'), GeomFromEWKT('SRID=4674;POINT (-40.135132 -2.827331)'))) / (select extract(epoch from '2026-07-08 12:57:20'::timestamp) - extract(epoch from '2026-07-08 12:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135253 -2.827203)', '2026-07-08 12:57:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135132 -2.827331)'), GeomFromEWKT('SRID=4674;POINT (-40.135253 -2.827203)'))) / (select extract(epoch from '2026-07-08 12:57:30'::timestamp) - extract(epoch from '2026-07-08 12:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135132 -2.827331)'), GeomFromEWKT('SRID=4674;POINT (-40.135253 -2.827203)'))) / (select extract(epoch from '2026-07-08 12:57:30'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.135375 -2.827085)', '2026-07-08 12:57:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135253 -2.827203)'), GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.827085)'))) / (select extract(epoch from '2026-07-08 12:57:39'::timestamp) - extract(epoch from '2026-07-08 12:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135253 -2.827203)'), GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.827085)'))) / (select extract(epoch from '2026-07-08 12:57:39'::timestamp) - extract(epoch from '2026-07-08 12:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135524 -2.827034)', '2026-07-08 12:57:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.827034)'))) / (select extract(epoch from '2026-07-08 12:57:47'::timestamp) - extract(epoch from '2026-07-08 12:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.827034)'))) / (select extract(epoch from '2026-07-08 12:57:47'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.135738 -2.827068)', '2026-07-08 12:57:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.827034)'), GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.827068)'))) / (select extract(epoch from '2026-07-08 12:57:58'::timestamp) - extract(epoch from '2026-07-08 12:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.827034)'), GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.827068)'))) / (select extract(epoch from '2026-07-08 12:57:58'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.135951 -2.827137)', '2026-07-08 12:58:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.135951 -2.827137)'))) / (select extract(epoch from '2026-07-08 12:58:09'::timestamp) - extract(epoch from '2026-07-08 12:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.135951 -2.827137)'))) / (select extract(epoch from '2026-07-08 12:58:09'::timestamp) - extract(epoch from '2026-07-08 12:57: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'), 47631, 'SRID=4674;POINT (-40.136149 -2.827187)', '2026-07-08 12:58:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135951 -2.827137)'), GeomFromEWKT('SRID=4674;POINT (-40.136149 -2.827187)'))) / (select extract(epoch from '2026-07-08 12:58:20'::timestamp) - extract(epoch from '2026-07-08 12:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135951 -2.827137)'), GeomFromEWKT('SRID=4674;POINT (-40.136149 -2.827187)'))) / (select extract(epoch from '2026-07-08 12:58:20'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.136308 -2.827214)', '2026-07-08 12:58:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136149 -2.827187)'), GeomFromEWKT('SRID=4674;POINT (-40.136308 -2.827214)'))) / (select extract(epoch from '2026-07-08 12:58:30'::timestamp) - extract(epoch from '2026-07-08 12:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136149 -2.827187)'), GeomFromEWKT('SRID=4674;POINT (-40.136308 -2.827214)'))) / (select extract(epoch from '2026-07-08 12:58:30'::timestamp) - extract(epoch from '2026-07-08 12:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136434 -2.827227)', '2026-07-08 12:58:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136308 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.136434 -2.827227)'))) / (select extract(epoch from '2026-07-08 12:58:38'::timestamp) - extract(epoch from '2026-07-08 12:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136308 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.136434 -2.827227)'))) / (select extract(epoch from '2026-07-08 12:58:38'::timestamp) - extract(epoch from '2026-07-08 12:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136595 -2.827208)', '2026-07-08 12:58:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136434 -2.827227)'), GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.827208)'))) / (select extract(epoch from '2026-07-08 12:58:49'::timestamp) - extract(epoch from '2026-07-08 12:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136434 -2.827227)'), GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.827208)'))) / (select extract(epoch from '2026-07-08 12:58:49'::timestamp) - extract(epoch from '2026-07-08 12:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13676 -2.827186)', '2026-07-08 12:59:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.13676 -2.827186)'))) / (select extract(epoch from '2026-07-08 12:59:00'::timestamp) - extract(epoch from '2026-07-08 12:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.13676 -2.827186)'))) / (select extract(epoch from '2026-07-08 12:59:00'::timestamp) - extract(epoch from '2026-07-08 12:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136893 -2.827161)', '2026-07-08 12:59:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13676 -2.827186)'), GeomFromEWKT('SRID=4674;POINT (-40.136893 -2.827161)'))) / (select extract(epoch from '2026-07-08 12:59:09'::timestamp) - extract(epoch from '2026-07-08 12:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13676 -2.827186)'), GeomFromEWKT('SRID=4674;POINT (-40.136893 -2.827161)'))) / (select extract(epoch from '2026-07-08 12:59:09'::timestamp) - extract(epoch from '2026-07-08 12:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137059 -2.827143)', '2026-07-08 12:59:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136893 -2.827161)'), GeomFromEWKT('SRID=4674;POINT (-40.137059 -2.827143)'))) / (select extract(epoch from '2026-07-08 12:59:19'::timestamp) - extract(epoch from '2026-07-08 12:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136893 -2.827161)'), GeomFromEWKT('SRID=4674;POINT (-40.137059 -2.827143)'))) / (select extract(epoch from '2026-07-08 12:59:19'::timestamp) - extract(epoch from '2026-07-08 12:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137192 -2.827132)', '2026-07-08 12:59:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137059 -2.827143)'), GeomFromEWKT('SRID=4674;POINT (-40.137192 -2.827132)'))) / (select extract(epoch from '2026-07-08 12:59:28'::timestamp) - extract(epoch from '2026-07-08 12:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137059 -2.827143)'), GeomFromEWKT('SRID=4674;POINT (-40.137192 -2.827132)'))) / (select extract(epoch from '2026-07-08 12:59:28'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.137322 -2.82711)', '2026-07-08 12:59:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137192 -2.827132)'), GeomFromEWKT('SRID=4674;POINT (-40.137322 -2.82711)'))) / (select extract(epoch from '2026-07-08 12:59:37'::timestamp) - extract(epoch from '2026-07-08 12:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137192 -2.827132)'), GeomFromEWKT('SRID=4674;POINT (-40.137322 -2.82711)'))) / (select extract(epoch from '2026-07-08 12:59:37'::timestamp) - extract(epoch from '2026-07-08 12:59: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'), 47631, 'SRID=4674;POINT (-40.13746 -2.827097)', '2026-07-08 12:59:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137322 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827097)'))) / (select extract(epoch from '2026-07-08 12:59:46'::timestamp) - extract(epoch from '2026-07-08 12:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137322 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827097)'))) / (select extract(epoch from '2026-07-08 12:59:46'::timestamp) - extract(epoch from '2026-07-08 12:59: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'), 47631, 'SRID=4674;POINT (-40.137616 -2.827074)', '2026-07-08 12:59:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.137616 -2.827074)'))) / (select extract(epoch from '2026-07-08 12:59:56'::timestamp) - extract(epoch from '2026-07-08 12:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.137616 -2.827074)'))) / (select extract(epoch from '2026-07-08 12:59:56'::timestamp) - extract(epoch from '2026-07-08 12:59: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'), 47631, 'SRID=4674;POINT (-40.137744 -2.826992)', '2026-07-08 13:00:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137616 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.826992)'))) / (select extract(epoch from '2026-07-08 13:00:07'::timestamp) - extract(epoch from '2026-07-08 12:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137616 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.826992)'))) / (select extract(epoch from '2026-07-08 13:00:07'::timestamp) - extract(epoch from '2026-07-08 12: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'), 47631, 'SRID=4674;POINT (-40.137825 -2.82691)', '2026-07-08 13:00:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.826992)'), GeomFromEWKT('SRID=4674;POINT (-40.137825 -2.82691)'))) / (select extract(epoch from '2026-07-08 13:00:16'::timestamp) - extract(epoch from '2026-07-08 13:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.826992)'), GeomFromEWKT('SRID=4674;POINT (-40.137825 -2.82691)'))) / (select extract(epoch from '2026-07-08 13:00:16'::timestamp) - extract(epoch from '2026-07-08 13:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137911 -2.826817)', '2026-07-08 13:00:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137825 -2.82691)'), GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.826817)'))) / (select extract(epoch from '2026-07-08 13:00:26'::timestamp) - extract(epoch from '2026-07-08 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137825 -2.82691)'), GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.826817)'))) / (select extract(epoch from '2026-07-08 13:00:26'::timestamp) - extract(epoch from '2026-07-08 13:00: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'), 47631, 'SRID=4674;POINT (-40.137972 -2.826723)', '2026-07-08 13:00:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.137972 -2.826723)'))) / (select extract(epoch from '2026-07-08 13:00:35'::timestamp) - extract(epoch from '2026-07-08 13:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.137972 -2.826723)'))) / (select extract(epoch from '2026-07-08 13:00:35'::timestamp) - extract(epoch from '2026-07-08 13:00: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'), 47631, 'SRID=4674;POINT (-40.138076 -2.82663)', '2026-07-08 13:00:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137972 -2.826723)'), GeomFromEWKT('SRID=4674;POINT (-40.138076 -2.82663)'))) / (select extract(epoch from '2026-07-08 13:00:47'::timestamp) - extract(epoch from '2026-07-08 13:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137972 -2.826723)'), GeomFromEWKT('SRID=4674;POINT (-40.138076 -2.82663)'))) / (select extract(epoch from '2026-07-08 13:00:47'::timestamp) - extract(epoch from '2026-07-08 13:00: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'), 47631, 'SRID=4674;POINT (-40.138144 -2.826558)', '2026-07-08 13:00:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138076 -2.82663)'), GeomFromEWKT('SRID=4674;POINT (-40.138144 -2.826558)'))) / (select extract(epoch from '2026-07-08 13:00:55'::timestamp) - extract(epoch from '2026-07-08 13:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138076 -2.82663)'), GeomFromEWKT('SRID=4674;POINT (-40.138144 -2.826558)'))) / (select extract(epoch from '2026-07-08 13:00:55'::timestamp) - extract(epoch from '2026-07-08 13:00: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'), 47631, 'SRID=4674;POINT (-40.138161 -2.826453)', '2026-07-08 13:01:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138144 -2.826558)'), GeomFromEWKT('SRID=4674;POINT (-40.138161 -2.826453)'))) / (select extract(epoch from '2026-07-08 13:01:05'::timestamp) - extract(epoch from '2026-07-08 13:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138144 -2.826558)'), GeomFromEWKT('SRID=4674;POINT (-40.138161 -2.826453)'))) / (select extract(epoch from '2026-07-08 13:01:05'::timestamp) - extract(epoch from '2026-07-08 13:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138183 -2.826349)', '2026-07-08 13:01:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138161 -2.826453)'), GeomFromEWKT('SRID=4674;POINT (-40.138183 -2.826349)'))) / (select extract(epoch from '2026-07-08 13:01:14'::timestamp) - extract(epoch from '2026-07-08 13:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138161 -2.826453)'), GeomFromEWKT('SRID=4674;POINT (-40.138183 -2.826349)'))) / (select extract(epoch from '2026-07-08 13:01:14'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.138194 -2.826249)', '2026-07-08 13:01:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138183 -2.826349)'), GeomFromEWKT('SRID=4674;POINT (-40.138194 -2.826249)'))) / (select extract(epoch from '2026-07-08 13:01:23'::timestamp) - extract(epoch from '2026-07-08 13:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138183 -2.826349)'), GeomFromEWKT('SRID=4674;POINT (-40.138194 -2.826249)'))) / (select extract(epoch from '2026-07-08 13:01:23'::timestamp) - extract(epoch from '2026-07-08 13:01: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'), 47631, 'SRID=4674;POINT (-40.138195 -2.826137)', '2026-07-08 13:01:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138194 -2.826249)'), GeomFromEWKT('SRID=4674;POINT (-40.138195 -2.826137)'))) / (select extract(epoch from '2026-07-08 13:01:33'::timestamp) - extract(epoch from '2026-07-08 13:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138194 -2.826249)'), GeomFromEWKT('SRID=4674;POINT (-40.138195 -2.826137)'))) / (select extract(epoch from '2026-07-08 13:01:33'::timestamp) - extract(epoch from '2026-07-08 13:01: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'), 47631, 'SRID=4674;POINT (-40.138204 -2.826034)', '2026-07-08 13:01:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138195 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.138204 -2.826034)'))) / (select extract(epoch from '2026-07-08 13:01:43'::timestamp) - extract(epoch from '2026-07-08 13:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138195 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.138204 -2.826034)'))) / (select extract(epoch from '2026-07-08 13:01:43'::timestamp) - extract(epoch from '2026-07-08 13:01: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'), 47631, 'SRID=4674;POINT (-40.138235 -2.82595)', '2026-07-08 13:01:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138204 -2.826034)'), GeomFromEWKT('SRID=4674;POINT (-40.138235 -2.82595)'))) / (select extract(epoch from '2026-07-08 13:01:52'::timestamp) - extract(epoch from '2026-07-08 13:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138204 -2.826034)'), GeomFromEWKT('SRID=4674;POINT (-40.138235 -2.82595)'))) / (select extract(epoch from '2026-07-08 13:01:52'::timestamp) - extract(epoch from '2026-07-08 13:01: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'), 47631, 'SRID=4674;POINT (-40.138297 -2.825911)', '2026-07-08 13:02:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138235 -2.82595)'), GeomFromEWKT('SRID=4674;POINT (-40.138297 -2.825911)'))) / (select extract(epoch from '2026-07-08 13:02:02'::timestamp) - extract(epoch from '2026-07-08 13:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138235 -2.82595)'), GeomFromEWKT('SRID=4674;POINT (-40.138297 -2.825911)'))) / (select extract(epoch from '2026-07-08 13:02:02'::timestamp) - extract(epoch from '2026-07-08 13:01: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'), 47631, 'SRID=4674;POINT (-40.138342 -2.825907)', '2026-07-08 13:02:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138297 -2.825911)'), GeomFromEWKT('SRID=4674;POINT (-40.138342 -2.825907)'))) / (select extract(epoch from '2026-07-08 13:02:15'::timestamp) - extract(epoch from '2026-07-08 13:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138297 -2.825911)'), GeomFromEWKT('SRID=4674;POINT (-40.138342 -2.825907)'))) / (select extract(epoch from '2026-07-08 13:02:15'::timestamp) - extract(epoch from '2026-07-08 13:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138421 -2.825922)', '2026-07-08 13:02:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138342 -2.825907)'), GeomFromEWKT('SRID=4674;POINT (-40.138421 -2.825922)'))) / (select extract(epoch from '2026-07-08 13:02:32'::timestamp) - extract(epoch from '2026-07-08 13:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138342 -2.825907)'), GeomFromEWKT('SRID=4674;POINT (-40.138421 -2.825922)'))) / (select extract(epoch from '2026-07-08 13:02:32'::timestamp) - extract(epoch from '2026-07-08 13:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138442 -2.825921)', '2026-07-08 13:02:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138421 -2.825922)'), GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.825921)'))) / (select extract(epoch from '2026-07-08 13:02:46'::timestamp) - extract(epoch from '2026-07-08 13:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138421 -2.825922)'), GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.825921)'))) / (select extract(epoch from '2026-07-08 13:02:46'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.138539 -2.825934)', '2026-07-08 13:03:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.138539 -2.825934)'))) / (select extract(epoch from '2026-07-08 13:03:01'::timestamp) - extract(epoch from '2026-07-08 13:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.138539 -2.825934)'))) / (select extract(epoch from '2026-07-08 13:03:01'::timestamp) - extract(epoch from '2026-07-08 13:02: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'), 47631, 'SRID=4674;POINT (-40.138555 -2.825941)', '2026-07-08 13:03:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138539 -2.825934)'), GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.825941)'))) / (select extract(epoch from '2026-07-08 13:03:14'::timestamp) - extract(epoch from '2026-07-08 13:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138539 -2.825934)'), GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.825941)'))) / (select extract(epoch from '2026-07-08 13:03:14'::timestamp) - extract(epoch from '2026-07-08 13:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138624 -2.825952)', '2026-07-08 13:03:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.825941)'), GeomFromEWKT('SRID=4674;POINT (-40.138624 -2.825952)'))) / (select extract(epoch from '2026-07-08 13:03:27'::timestamp) - extract(epoch from '2026-07-08 13:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.825941)'), GeomFromEWKT('SRID=4674;POINT (-40.138624 -2.825952)'))) / (select extract(epoch from '2026-07-08 13:03:27'::timestamp) - extract(epoch from '2026-07-08 13:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138665 -2.825969)', '2026-07-08 13:03:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138624 -2.825952)'), GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.825969)'))) / (select extract(epoch from '2026-07-08 13:03:38'::timestamp) - extract(epoch from '2026-07-08 13:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138624 -2.825952)'), GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.825969)'))) / (select extract(epoch from '2026-07-08 13:03:38'::timestamp) - extract(epoch from '2026-07-08 13:03: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'), 47631, 'SRID=4674;POINT (-40.138737 -2.825971)', '2026-07-08 13:03:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.825969)'), GeomFromEWKT('SRID=4674;POINT (-40.138737 -2.825971)'))) / (select extract(epoch from '2026-07-08 13:03:58'::timestamp) - extract(epoch from '2026-07-08 13:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.825969)'), GeomFromEWKT('SRID=4674;POINT (-40.138737 -2.825971)'))) / (select extract(epoch from '2026-07-08 13:03:58'::timestamp) - extract(epoch from '2026-07-08 13:03: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'), 47631, 'SRID=4674;POINT (-40.138837 -2.825994)', '2026-07-08 13:04:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138737 -2.825971)'), GeomFromEWKT('SRID=4674;POINT (-40.138837 -2.825994)'))) / (select extract(epoch from '2026-07-08 13:04:22'::timestamp) - extract(epoch from '2026-07-08 13:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138737 -2.825971)'), GeomFromEWKT('SRID=4674;POINT (-40.138837 -2.825994)'))) / (select extract(epoch from '2026-07-08 13:04:22'::timestamp) - extract(epoch from '2026-07-08 13:03: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'), 47631, 'SRID=4674;POINT (-40.138887 -2.826019)', '2026-07-08 13:04:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138837 -2.825994)'), GeomFromEWKT('SRID=4674;POINT (-40.138887 -2.826019)'))) / (select extract(epoch from '2026-07-08 13:04:36'::timestamp) - extract(epoch from '2026-07-08 13:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138837 -2.825994)'), GeomFromEWKT('SRID=4674;POINT (-40.138887 -2.826019)'))) / (select extract(epoch from '2026-07-08 13:04:36'::timestamp) - extract(epoch from '2026-07-08 13:04: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'), 47631, 'SRID=4674;POINT (-40.138953 -2.826031)', '2026-07-08 13:04:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138887 -2.826019)'), GeomFromEWKT('SRID=4674;POINT (-40.138953 -2.826031)'))) / (select extract(epoch from '2026-07-08 13:04:54'::timestamp) - extract(epoch from '2026-07-08 13:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138887 -2.826019)'), GeomFromEWKT('SRID=4674;POINT (-40.138953 -2.826031)'))) / (select extract(epoch from '2026-07-08 13:04:54'::timestamp) - extract(epoch from '2026-07-08 13:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138994 -2.82604)', '2026-07-08 13:05:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138953 -2.826031)'), GeomFromEWKT('SRID=4674;POINT (-40.138994 -2.82604)'))) / (select extract(epoch from '2026-07-08 13:05:04'::timestamp) - extract(epoch from '2026-07-08 13:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138953 -2.826031)'), GeomFromEWKT('SRID=4674;POINT (-40.138994 -2.82604)'))) / (select extract(epoch from '2026-07-08 13:05:04'::timestamp) - extract(epoch from '2026-07-08 13:04: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'), 47631, 'SRID=4674;POINT (-40.139055 -2.826066)', '2026-07-08 13:05:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138994 -2.82604)'), GeomFromEWKT('SRID=4674;POINT (-40.139055 -2.826066)'))) / (select extract(epoch from '2026-07-08 13:05:20'::timestamp) - extract(epoch from '2026-07-08 13:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138994 -2.82604)'), GeomFromEWKT('SRID=4674;POINT (-40.139055 -2.826066)'))) / (select extract(epoch from '2026-07-08 13:05:20'::timestamp) - extract(epoch from '2026-07-08 13:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139132 -2.826095)', '2026-07-08 13:05:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139055 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-40.139132 -2.826095)'))) / (select extract(epoch from '2026-07-08 13:05:38'::timestamp) - extract(epoch from '2026-07-08 13:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139055 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-40.139132 -2.826095)'))) / (select extract(epoch from '2026-07-08 13:05:38'::timestamp) - extract(epoch from '2026-07-08 13:05: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'), 47631, 'SRID=4674;POINT (-40.139221 -2.826106)', '2026-07-08 13:05:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139132 -2.826095)'), GeomFromEWKT('SRID=4674;POINT (-40.139221 -2.826106)'))) / (select extract(epoch from '2026-07-08 13:05:59'::timestamp) - extract(epoch from '2026-07-08 13:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139132 -2.826095)'), GeomFromEWKT('SRID=4674;POINT (-40.139221 -2.826106)'))) / (select extract(epoch from '2026-07-08 13:05:59'::timestamp) - extract(epoch from '2026-07-08 13:05: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'), 47631, 'SRID=4674;POINT (-40.139306 -2.826114)', '2026-07-08 13:06:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139221 -2.826106)'), GeomFromEWKT('SRID=4674;POINT (-40.139306 -2.826114)'))) / (select extract(epoch from '2026-07-08 13:06:16'::timestamp) - extract(epoch from '2026-07-08 13:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139221 -2.826106)'), GeomFromEWKT('SRID=4674;POINT (-40.139306 -2.826114)'))) / (select extract(epoch from '2026-07-08 13:06:16'::timestamp) - extract(epoch from '2026-07-08 13:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13939 -2.826129)', '2026-07-08 13:06:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139306 -2.826114)'), GeomFromEWKT('SRID=4674;POINT (-40.13939 -2.826129)'))) / (select extract(epoch from '2026-07-08 13:06:33'::timestamp) - extract(epoch from '2026-07-08 13:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139306 -2.826114)'), GeomFromEWKT('SRID=4674;POINT (-40.13939 -2.826129)'))) / (select extract(epoch from '2026-07-08 13:06:33'::timestamp) - extract(epoch from '2026-07-08 13:06: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'), 47631, 'SRID=4674;POINT (-40.139463 -2.826151)', '2026-07-08 13:06:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13939 -2.826129)'), GeomFromEWKT('SRID=4674;POINT (-40.139463 -2.826151)'))) / (select extract(epoch from '2026-07-08 13:06:50'::timestamp) - extract(epoch from '2026-07-08 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13939 -2.826129)'), GeomFromEWKT('SRID=4674;POINT (-40.139463 -2.826151)'))) / (select extract(epoch from '2026-07-08 13:06:50'::timestamp) - extract(epoch from '2026-07-08 13:06: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'), 47631, 'SRID=4674;POINT (-40.139515 -2.826156)', '2026-07-08 13:07:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139463 -2.826151)'), GeomFromEWKT('SRID=4674;POINT (-40.139515 -2.826156)'))) / (select extract(epoch from '2026-07-08 13:07:04'::timestamp) - extract(epoch from '2026-07-08 13:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139463 -2.826151)'), GeomFromEWKT('SRID=4674;POINT (-40.139515 -2.826156)'))) / (select extract(epoch from '2026-07-08 13:07:04'::timestamp) - extract(epoch from '2026-07-08 13:06: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'), 47631, 'SRID=4674;POINT (-40.139603 -2.826165)', '2026-07-08 13:07:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139515 -2.826156)'), GeomFromEWKT('SRID=4674;POINT (-40.139603 -2.826165)'))) / (select extract(epoch from '2026-07-08 13:07:21'::timestamp) - extract(epoch from '2026-07-08 13:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139515 -2.826156)'), GeomFromEWKT('SRID=4674;POINT (-40.139603 -2.826165)'))) / (select extract(epoch from '2026-07-08 13:07:21'::timestamp) - extract(epoch from '2026-07-08 13:07: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'), 47631, 'SRID=4674;POINT (-40.139634 -2.826174)', '2026-07-08 13:07:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139603 -2.826165)'), GeomFromEWKT('SRID=4674;POINT (-40.139634 -2.826174)'))) / (select extract(epoch from '2026-07-08 13:07:31'::timestamp) - extract(epoch from '2026-07-08 13:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139603 -2.826165)'), GeomFromEWKT('SRID=4674;POINT (-40.139634 -2.826174)'))) / (select extract(epoch from '2026-07-08 13:07:31'::timestamp) - extract(epoch from '2026-07-08 13:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139649 -2.826178)', '2026-07-08 13:07:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139634 -2.826174)'), GeomFromEWKT('SRID=4674;POINT (-40.139649 -2.826178)'))) / (select extract(epoch from '2026-07-08 13:07:38'::timestamp) - extract(epoch from '2026-07-08 13:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139634 -2.826174)'), GeomFromEWKT('SRID=4674;POINT (-40.139649 -2.826178)'))) / (select extract(epoch from '2026-07-08 13:07:38'::timestamp) - extract(epoch from '2026-07-08 13:07: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'), 47631, 'SRID=4674;POINT (-40.13973 -2.826193)', '2026-07-08 13:07:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139649 -2.826178)'), GeomFromEWKT('SRID=4674;POINT (-40.13973 -2.826193)'))) / (select extract(epoch from '2026-07-08 13:07:59'::timestamp) - extract(epoch from '2026-07-08 13:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139649 -2.826178)'), GeomFromEWKT('SRID=4674;POINT (-40.13973 -2.826193)'))) / (select extract(epoch from '2026-07-08 13:07:59'::timestamp) - extract(epoch from '2026-07-08 13:07: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'), 47631, 'SRID=4674;POINT (-40.139777 -2.826201)', '2026-07-08 13:08:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13973 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.139777 -2.826201)'))) / (select extract(epoch from '2026-07-08 13:08:10'::timestamp) - extract(epoch from '2026-07-08 13:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13973 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.139777 -2.826201)'))) / (select extract(epoch from '2026-07-08 13:08:10'::timestamp) - extract(epoch from '2026-07-08 13:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139811 -2.826213)', '2026-07-08 13:08:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139777 -2.826201)'), GeomFromEWKT('SRID=4674;POINT (-40.139811 -2.826213)'))) / (select extract(epoch from '2026-07-08 13:08:23'::timestamp) - extract(epoch from '2026-07-08 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139777 -2.826201)'), GeomFromEWKT('SRID=4674;POINT (-40.139811 -2.826213)'))) / (select extract(epoch from '2026-07-08 13:08:23'::timestamp) - extract(epoch from '2026-07-08 13:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139852 -2.826229)', '2026-07-08 13:08:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139811 -2.826213)'), GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.826229)'))) / (select extract(epoch from '2026-07-08 13:08:36'::timestamp) - extract(epoch from '2026-07-08 13:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139811 -2.826213)'), GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.826229)'))) / (select extract(epoch from '2026-07-08 13:08:36'::timestamp) - extract(epoch from '2026-07-08 13:08: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'), 47631, 'SRID=4674;POINT (-40.13993 -2.826257)', '2026-07-08 13:08:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.826229)'), GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.826257)'))) / (select extract(epoch from '2026-07-08 13:08:53'::timestamp) - extract(epoch from '2026-07-08 13:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.826229)'), GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.826257)'))) / (select extract(epoch from '2026-07-08 13:08:53'::timestamp) - extract(epoch from '2026-07-08 13:08: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'), 47631, 'SRID=4674;POINT (-40.139987 -2.826269)', '2026-07-08 13:09:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.826257)'), GeomFromEWKT('SRID=4674;POINT (-40.139987 -2.826269)'))) / (select extract(epoch from '2026-07-08 13:09:08'::timestamp) - extract(epoch from '2026-07-08 13:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.826257)'), GeomFromEWKT('SRID=4674;POINT (-40.139987 -2.826269)'))) / (select extract(epoch from '2026-07-08 13:09:08'::timestamp) - extract(epoch from '2026-07-08 13:08: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'), 47631, 'SRID=4674;POINT (-40.140058 -2.826271)', '2026-07-08 13:09:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139987 -2.826269)'), GeomFromEWKT('SRID=4674;POINT (-40.140058 -2.826271)'))) / (select extract(epoch from '2026-07-08 13:09:22'::timestamp) - extract(epoch from '2026-07-08 13:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139987 -2.826269)'), GeomFromEWKT('SRID=4674;POINT (-40.140058 -2.826271)'))) / (select extract(epoch from '2026-07-08 13:09:22'::timestamp) - extract(epoch from '2026-07-08 13:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140104 -2.826287)', '2026-07-08 13:09:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140058 -2.826271)'), GeomFromEWKT('SRID=4674;POINT (-40.140104 -2.826287)'))) / (select extract(epoch from '2026-07-08 13:09:32'::timestamp) - extract(epoch from '2026-07-08 13:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140058 -2.826271)'), GeomFromEWKT('SRID=4674;POINT (-40.140104 -2.826287)'))) / (select extract(epoch from '2026-07-08 13:09:32'::timestamp) - extract(epoch from '2026-07-08 13:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140175 -2.826308)', '2026-07-08 13:09:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140104 -2.826287)'), GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.826308)'))) / (select extract(epoch from '2026-07-08 13:09:48'::timestamp) - extract(epoch from '2026-07-08 13:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140104 -2.826287)'), GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.826308)'))) / (select extract(epoch from '2026-07-08 13:09:48'::timestamp) - extract(epoch from '2026-07-08 13:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140247 -2.826338)', '2026-07-08 13:10:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.826308)'), GeomFromEWKT('SRID=4674;POINT (-40.140247 -2.826338)'))) / (select extract(epoch from '2026-07-08 13:10:03'::timestamp) - extract(epoch from '2026-07-08 13:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.826308)'), GeomFromEWKT('SRID=4674;POINT (-40.140247 -2.826338)'))) / (select extract(epoch from '2026-07-08 13:10:03'::timestamp) - extract(epoch from '2026-07-08 13:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140332 -2.826358)', '2026-07-08 13:10:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140247 -2.826338)'), GeomFromEWKT('SRID=4674;POINT (-40.140332 -2.826358)'))) / (select extract(epoch from '2026-07-08 13:10:20'::timestamp) - extract(epoch from '2026-07-08 13:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140247 -2.826338)'), GeomFromEWKT('SRID=4674;POINT (-40.140332 -2.826358)'))) / (select extract(epoch from '2026-07-08 13:10:20'::timestamp) - extract(epoch from '2026-07-08 13:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140365 -2.826365)', '2026-07-08 13:10:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140332 -2.826358)'), GeomFromEWKT('SRID=4674;POINT (-40.140365 -2.826365)'))) / (select extract(epoch from '2026-07-08 13:10:34'::timestamp) - extract(epoch from '2026-07-08 13:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140332 -2.826358)'), GeomFromEWKT('SRID=4674;POINT (-40.140365 -2.826365)'))) / (select extract(epoch from '2026-07-08 13:10:34'::timestamp) - extract(epoch from '2026-07-08 13:10: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'), 47631, 'SRID=4674;POINT (-40.14043 -2.82639)', '2026-07-08 13:10:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140365 -2.826365)'), GeomFromEWKT('SRID=4674;POINT (-40.14043 -2.82639)'))) / (select extract(epoch from '2026-07-08 13:10:56'::timestamp) - extract(epoch from '2026-07-08 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140365 -2.826365)'), GeomFromEWKT('SRID=4674;POINT (-40.14043 -2.82639)'))) / (select extract(epoch from '2026-07-08 13:10:56'::timestamp) - extract(epoch from '2026-07-08 13:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140481 -2.826401)', '2026-07-08 13:11:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14043 -2.82639)'), GeomFromEWKT('SRID=4674;POINT (-40.140481 -2.826401)'))) / (select extract(epoch from '2026-07-08 13:11:09'::timestamp) - extract(epoch from '2026-07-08 13:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14043 -2.82639)'), GeomFromEWKT('SRID=4674;POINT (-40.140481 -2.826401)'))) / (select extract(epoch from '2026-07-08 13:11:09'::timestamp) - extract(epoch from '2026-07-08 13:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140512 -2.826411)', '2026-07-08 13:11:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140481 -2.826401)'), GeomFromEWKT('SRID=4674;POINT (-40.140512 -2.826411)'))) / (select extract(epoch from '2026-07-08 13:11:23'::timestamp) - extract(epoch from '2026-07-08 13:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140481 -2.826401)'), GeomFromEWKT('SRID=4674;POINT (-40.140512 -2.826411)'))) / (select extract(epoch from '2026-07-08 13:11:23'::timestamp) - extract(epoch from '2026-07-08 13:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140588 -2.826451)', '2026-07-08 13:11:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140512 -2.826411)'), GeomFromEWKT('SRID=4674;POINT (-40.140588 -2.826451)'))) / (select extract(epoch from '2026-07-08 13:11:40'::timestamp) - extract(epoch from '2026-07-08 13:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140512 -2.826411)'), GeomFromEWKT('SRID=4674;POINT (-40.140588 -2.826451)'))) / (select extract(epoch from '2026-07-08 13:11:40'::timestamp) - extract(epoch from '2026-07-08 13:11: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'), 47631, 'SRID=4674;POINT (-40.14063 -2.826467)', '2026-07-08 13:11:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140588 -2.826451)'), GeomFromEWKT('SRID=4674;POINT (-40.14063 -2.826467)'))) / (select extract(epoch from '2026-07-08 13:11:53'::timestamp) - extract(epoch from '2026-07-08 13:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140588 -2.826451)'), GeomFromEWKT('SRID=4674;POINT (-40.14063 -2.826467)'))) / (select extract(epoch from '2026-07-08 13:11:53'::timestamp) - extract(epoch from '2026-07-08 13:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140687 -2.82648)', '2026-07-08 13:12:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14063 -2.826467)'), GeomFromEWKT('SRID=4674;POINT (-40.140687 -2.82648)'))) / (select extract(epoch from '2026-07-08 13:12:03'::timestamp) - extract(epoch from '2026-07-08 13:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14063 -2.826467)'), GeomFromEWKT('SRID=4674;POINT (-40.140687 -2.82648)'))) / (select extract(epoch from '2026-07-08 13:12:03'::timestamp) - extract(epoch from '2026-07-08 13:11: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'), 47631, 'SRID=4674;POINT (-40.140742 -2.826509)', '2026-07-08 13:12:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140687 -2.82648)'), GeomFromEWKT('SRID=4674;POINT (-40.140742 -2.826509)'))) / (select extract(epoch from '2026-07-08 13:12:18'::timestamp) - extract(epoch from '2026-07-08 13:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140687 -2.82648)'), GeomFromEWKT('SRID=4674;POINT (-40.140742 -2.826509)'))) / (select extract(epoch from '2026-07-08 13:12:18'::timestamp) - extract(epoch from '2026-07-08 13:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140755 -2.826514)', '2026-07-08 13:12:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140742 -2.826509)'), GeomFromEWKT('SRID=4674;POINT (-40.140755 -2.826514)'))) / (select extract(epoch from '2026-07-08 13:12:25'::timestamp) - extract(epoch from '2026-07-08 13:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140742 -2.826509)'), GeomFromEWKT('SRID=4674;POINT (-40.140755 -2.826514)'))) / (select extract(epoch from '2026-07-08 13:12:25'::timestamp) - extract(epoch from '2026-07-08 13:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140843 -2.826544)', '2026-07-08 13:12:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140755 -2.826514)'), GeomFromEWKT('SRID=4674;POINT (-40.140843 -2.826544)'))) / (select extract(epoch from '2026-07-08 13:12:49'::timestamp) - extract(epoch from '2026-07-08 13:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140755 -2.826514)'), GeomFromEWKT('SRID=4674;POINT (-40.140843 -2.826544)'))) / (select extract(epoch from '2026-07-08 13:12:49'::timestamp) - extract(epoch from '2026-07-08 13:12: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'), 47631, 'SRID=4674;POINT (-40.140899 -2.826575)', '2026-07-08 13:13:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140843 -2.826544)'), GeomFromEWKT('SRID=4674;POINT (-40.140899 -2.826575)'))) / (select extract(epoch from '2026-07-08 13:13:04'::timestamp) - extract(epoch from '2026-07-08 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140843 -2.826544)'), GeomFromEWKT('SRID=4674;POINT (-40.140899 -2.826575)'))) / (select extract(epoch from '2026-07-08 13:13:04'::timestamp) - extract(epoch from '2026-07-08 13:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140936 -2.826596)', '2026-07-08 13:13:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140899 -2.826575)'), GeomFromEWKT('SRID=4674;POINT (-40.140936 -2.826596)'))) / (select extract(epoch from '2026-07-08 13:13:15'::timestamp) - extract(epoch from '2026-07-08 13:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140899 -2.826575)'), GeomFromEWKT('SRID=4674;POINT (-40.140936 -2.826596)'))) / (select extract(epoch from '2026-07-08 13:13:15'::timestamp) - extract(epoch from '2026-07-08 13:13: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'), 47631, 'SRID=4674;POINT (-40.14105 -2.826635)', '2026-07-08 13:13:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140936 -2.826596)'), GeomFromEWKT('SRID=4674;POINT (-40.14105 -2.826635)'))) / (select extract(epoch from '2026-07-08 13:13:52'::timestamp) - extract(epoch from '2026-07-08 13:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140936 -2.826596)'), GeomFromEWKT('SRID=4674;POINT (-40.14105 -2.826635)'))) / (select extract(epoch from '2026-07-08 13:13:52'::timestamp) - extract(epoch from '2026-07-08 13:13: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'), 47631, 'SRID=4674;POINT (-40.141112 -2.826673)', '2026-07-08 13:14:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14105 -2.826635)'), GeomFromEWKT('SRID=4674;POINT (-40.141112 -2.826673)'))) / (select extract(epoch from '2026-07-08 13:14:09'::timestamp) - extract(epoch from '2026-07-08 13:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14105 -2.826635)'), GeomFromEWKT('SRID=4674;POINT (-40.141112 -2.826673)'))) / (select extract(epoch from '2026-07-08 13:14:09'::timestamp) - extract(epoch from '2026-07-08 13:13: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'), 47631, 'SRID=4674;POINT (-40.141184 -2.826711)', '2026-07-08 13:14:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141112 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.141184 -2.826711)'))) / (select extract(epoch from '2026-07-08 13:14:26'::timestamp) - extract(epoch from '2026-07-08 13:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141112 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.141184 -2.826711)'))) / (select extract(epoch from '2026-07-08 13:14:26'::timestamp) - extract(epoch from '2026-07-08 13:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141245 -2.826742)', '2026-07-08 13:14:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141184 -2.826711)'), GeomFromEWKT('SRID=4674;POINT (-40.141245 -2.826742)'))) / (select extract(epoch from '2026-07-08 13:14:43'::timestamp) - extract(epoch from '2026-07-08 13:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141184 -2.826711)'), GeomFromEWKT('SRID=4674;POINT (-40.141245 -2.826742)'))) / (select extract(epoch from '2026-07-08 13:14:43'::timestamp) - extract(epoch from '2026-07-08 13:14: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'), 47631, 'SRID=4674;POINT (-40.141298 -2.826758)', '2026-07-08 13:14:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141245 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.141298 -2.826758)'))) / (select extract(epoch from '2026-07-08 13:14:56'::timestamp) - extract(epoch from '2026-07-08 13:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141245 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.141298 -2.826758)'))) / (select extract(epoch from '2026-07-08 13:14:56'::timestamp) - extract(epoch from '2026-07-08 13:14: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'), 47631, 'SRID=4674;POINT (-40.141324 -2.826766)', '2026-07-08 13:15:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141298 -2.826758)'), GeomFromEWKT('SRID=4674;POINT (-40.141324 -2.826766)'))) / (select extract(epoch from '2026-07-08 13:15:09'::timestamp) - extract(epoch from '2026-07-08 13:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141298 -2.826758)'), GeomFromEWKT('SRID=4674;POINT (-40.141324 -2.826766)'))) / (select extract(epoch from '2026-07-08 13:15:09'::timestamp) - extract(epoch from '2026-07-08 13:14: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'), 47631, 'SRID=4674;POINT (-40.141405 -2.826788)', '2026-07-08 13:15:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141324 -2.826766)'), GeomFromEWKT('SRID=4674;POINT (-40.141405 -2.826788)'))) / (select extract(epoch from '2026-07-08 13:15:22'::timestamp) - extract(epoch from '2026-07-08 13:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141324 -2.826766)'), GeomFromEWKT('SRID=4674;POINT (-40.141405 -2.826788)'))) / (select extract(epoch from '2026-07-08 13:15:22'::timestamp) - extract(epoch from '2026-07-08 13:15: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'), 47631, 'SRID=4674;POINT (-40.141407 -2.826788)', '2026-07-08 13:15:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141405 -2.826788)'), GeomFromEWKT('SRID=4674;POINT (-40.141407 -2.826788)'))) / (select extract(epoch from '2026-07-08 13:15:34'::timestamp) - extract(epoch from '2026-07-08 13:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141405 -2.826788)'), GeomFromEWKT('SRID=4674;POINT (-40.141407 -2.826788)'))) / (select extract(epoch from '2026-07-08 13:15:34'::timestamp) - extract(epoch from '2026-07-08 13:15: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'), 47631, 'SRID=4674;POINT (-40.141467 -2.826802)', '2026-07-08 13:15:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141407 -2.826788)'), GeomFromEWKT('SRID=4674;POINT (-40.141467 -2.826802)'))) / (select extract(epoch from '2026-07-08 13:15:45'::timestamp) - extract(epoch from '2026-07-08 13:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141407 -2.826788)'), GeomFromEWKT('SRID=4674;POINT (-40.141467 -2.826802)'))) / (select extract(epoch from '2026-07-08 13:15:45'::timestamp) - extract(epoch from '2026-07-08 13:15: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'), 47631, 'SRID=4674;POINT (-40.141502 -2.826812)', '2026-07-08 13:15:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141467 -2.826802)'), GeomFromEWKT('SRID=4674;POINT (-40.141502 -2.826812)'))) / (select extract(epoch from '2026-07-08 13:15:56'::timestamp) - extract(epoch from '2026-07-08 13:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141467 -2.826802)'), GeomFromEWKT('SRID=4674;POINT (-40.141502 -2.826812)'))) / (select extract(epoch from '2026-07-08 13:15:56'::timestamp) - extract(epoch from '2026-07-08 13:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141555 -2.826817)', '2026-07-08 13:16:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141502 -2.826812)'), GeomFromEWKT('SRID=4674;POINT (-40.141555 -2.826817)'))) / (select extract(epoch from '2026-07-08 13:16:13'::timestamp) - extract(epoch from '2026-07-08 13:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141502 -2.826812)'), GeomFromEWKT('SRID=4674;POINT (-40.141555 -2.826817)'))) / (select extract(epoch from '2026-07-08 13:16:13'::timestamp) - extract(epoch from '2026-07-08 13:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.1416 -2.826832)', '2026-07-08 13:16:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141555 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.1416 -2.826832)'))) / (select extract(epoch from '2026-07-08 13:16:24'::timestamp) - extract(epoch from '2026-07-08 13:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141555 -2.826817)'), GeomFromEWKT('SRID=4674;POINT (-40.1416 -2.826832)'))) / (select extract(epoch from '2026-07-08 13:16:24'::timestamp) - extract(epoch from '2026-07-08 13:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141607 -2.826834)', '2026-07-08 13:16:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1416 -2.826832)'), GeomFromEWKT('SRID=4674;POINT (-40.141607 -2.826834)'))) / (select extract(epoch from '2026-07-08 13:16:37'::timestamp) - extract(epoch from '2026-07-08 13:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1416 -2.826832)'), GeomFromEWKT('SRID=4674;POINT (-40.141607 -2.826834)'))) / (select extract(epoch from '2026-07-08 13:16:37'::timestamp) - extract(epoch from '2026-07-08 13:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.14173 -2.82686)', '2026-07-08 13:17:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141607 -2.826834)'), GeomFromEWKT('SRID=4674;POINT (-40.14173 -2.82686)'))) / (select extract(epoch from '2026-07-08 13:17:00'::timestamp) - extract(epoch from '2026-07-08 13:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141607 -2.826834)'), GeomFromEWKT('SRID=4674;POINT (-40.14173 -2.82686)'))) / (select extract(epoch from '2026-07-08 13:17:00'::timestamp) - extract(epoch from '2026-07-08 13:16: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'), 47631, 'SRID=4674;POINT (-40.141811 -2.82689)', '2026-07-08 13:17:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14173 -2.82686)'), GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.82689)'))) / (select extract(epoch from '2026-07-08 13:17:20'::timestamp) - extract(epoch from '2026-07-08 13:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14173 -2.82686)'), GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.82689)'))) / (select extract(epoch from '2026-07-08 13:17:20'::timestamp) - extract(epoch from '2026-07-08 13:17: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'), 47631, 'SRID=4674;POINT (-40.141855 -2.826902)', '2026-07-08 13:17:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.82689)'), GeomFromEWKT('SRID=4674;POINT (-40.141855 -2.826902)'))) / (select extract(epoch from '2026-07-08 13:17:31'::timestamp) - extract(epoch from '2026-07-08 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.82689)'), GeomFromEWKT('SRID=4674;POINT (-40.141855 -2.826902)'))) / (select extract(epoch from '2026-07-08 13:17:31'::timestamp) - extract(epoch from '2026-07-08 13:17: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'), 47631, 'SRID=4674;POINT (-40.141916 -2.826917)', '2026-07-08 13:17:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141855 -2.826902)'), GeomFromEWKT('SRID=4674;POINT (-40.141916 -2.826917)'))) / (select extract(epoch from '2026-07-08 13:17:50'::timestamp) - extract(epoch from '2026-07-08 13:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141855 -2.826902)'), GeomFromEWKT('SRID=4674;POINT (-40.141916 -2.826917)'))) / (select extract(epoch from '2026-07-08 13:17:50'::timestamp) - extract(epoch from '2026-07-08 13:17: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'), 47631, 'SRID=4674;POINT (-40.141942 -2.826925)', '2026-07-08 13:17:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141916 -2.826917)'), GeomFromEWKT('SRID=4674;POINT (-40.141942 -2.826925)'))) / (select extract(epoch from '2026-07-08 13:17:57'::timestamp) - extract(epoch from '2026-07-08 13:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141916 -2.826917)'), GeomFromEWKT('SRID=4674;POINT (-40.141942 -2.826925)'))) / (select extract(epoch from '2026-07-08 13:17:57'::timestamp) - extract(epoch from '2026-07-08 13:17: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'), 47631, 'SRID=4674;POINT (-40.141981 -2.826948)', '2026-07-08 13:18:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141942 -2.826925)'), GeomFromEWKT('SRID=4674;POINT (-40.141981 -2.826948)'))) / (select extract(epoch from '2026-07-08 13:18:06'::timestamp) - extract(epoch from '2026-07-08 13:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141942 -2.826925)'), GeomFromEWKT('SRID=4674;POINT (-40.141981 -2.826948)'))) / (select extract(epoch from '2026-07-08 13:18:06'::timestamp) - extract(epoch from '2026-07-08 13:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.14204 -2.826986)', '2026-07-08 13:18:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141981 -2.826948)'), GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.826986)'))) / (select extract(epoch from '2026-07-08 13:18:22'::timestamp) - extract(epoch from '2026-07-08 13:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141981 -2.826948)'), GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.826986)'))) / (select extract(epoch from '2026-07-08 13:18:22'::timestamp) - extract(epoch from '2026-07-08 13:18: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'), 47631, 'SRID=4674;POINT (-40.142044 -2.826981)', '2026-07-08 13:18:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.142044 -2.826981)'))) / (select extract(epoch from '2026-07-08 13:18:34'::timestamp) - extract(epoch from '2026-07-08 13:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.142044 -2.826981)'))) / (select extract(epoch from '2026-07-08 13:18:34'::timestamp) - extract(epoch from '2026-07-08 13:18: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'), 47631, 'SRID=4674;POINT (-40.14207 -2.826912)', '2026-07-08 13:18:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142044 -2.826981)'), GeomFromEWKT('SRID=4674;POINT (-40.14207 -2.826912)'))) / (select extract(epoch from '2026-07-08 13:18:54'::timestamp) - extract(epoch from '2026-07-08 13:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142044 -2.826981)'), GeomFromEWKT('SRID=4674;POINT (-40.14207 -2.826912)'))) / (select extract(epoch from '2026-07-08 13:18:54'::timestamp) - extract(epoch from '2026-07-08 13:18: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'), 47631, 'SRID=4674;POINT (-40.141985 -2.82687)', '2026-07-08 13:33:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14207 -2.826912)'), GeomFromEWKT('SRID=4674;POINT (-40.141985 -2.82687)'))) / (select extract(epoch from '2026-07-08 13:33:44'::timestamp) - extract(epoch from '2026-07-08 13:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14207 -2.826912)'), GeomFromEWKT('SRID=4674;POINT (-40.141985 -2.82687)'))) / (select extract(epoch from '2026-07-08 13:33:44'::timestamp) - extract(epoch from '2026-07-08 13:18: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'), 47631, 'SRID=4674;POINT (-40.142067 -2.826848)', '2026-07-08 13:34:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141985 -2.82687)'), GeomFromEWKT('SRID=4674;POINT (-40.142067 -2.826848)'))) / (select extract(epoch from '2026-07-08 13:34:47'::timestamp) - extract(epoch from '2026-07-08 13:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141985 -2.82687)'), GeomFromEWKT('SRID=4674;POINT (-40.142067 -2.826848)'))) / (select extract(epoch from '2026-07-08 13:34:47'::timestamp) - extract(epoch from '2026-07-08 13:33: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'), 47631, 'SRID=4674;POINT (-40.142165 -2.826858)', '2026-07-08 13:35:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142067 -2.826848)'), GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.826858)'))) / (select extract(epoch from '2026-07-08 13:35:12'::timestamp) - extract(epoch from '2026-07-08 13:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142067 -2.826848)'), GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.826858)'))) / (select extract(epoch from '2026-07-08 13:35:12'::timestamp) - extract(epoch from '2026-07-08 13:34: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'), 47631, 'SRID=4674;POINT (-40.142254 -2.826837)', '2026-07-08 13:35:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.826858)'), GeomFromEWKT('SRID=4674;POINT (-40.142254 -2.826837)'))) / (select extract(epoch from '2026-07-08 13:35:18'::timestamp) - extract(epoch from '2026-07-08 13:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.826858)'), GeomFromEWKT('SRID=4674;POINT (-40.142254 -2.826837)'))) / (select extract(epoch from '2026-07-08 13:35:18'::timestamp) - extract(epoch from '2026-07-08 13:35: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'), 47631, 'SRID=4674;POINT (-40.142334 -2.826716)', '2026-07-08 13:35:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142254 -2.826837)'), GeomFromEWKT('SRID=4674;POINT (-40.142334 -2.826716)'))) / (select extract(epoch from '2026-07-08 13:35:26'::timestamp) - extract(epoch from '2026-07-08 13:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142254 -2.826837)'), GeomFromEWKT('SRID=4674;POINT (-40.142334 -2.826716)'))) / (select extract(epoch from '2026-07-08 13:35:26'::timestamp) - extract(epoch from '2026-07-08 13:35: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'), 47631, 'SRID=4674;POINT (-40.14239 -2.826513)', '2026-07-08 13:35:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142334 -2.826716)'), GeomFromEWKT('SRID=4674;POINT (-40.14239 -2.826513)'))) / (select extract(epoch from '2026-07-08 13:35:36'::timestamp) - extract(epoch from '2026-07-08 13:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142334 -2.826716)'), GeomFromEWKT('SRID=4674;POINT (-40.14239 -2.826513)'))) / (select extract(epoch from '2026-07-08 13:35:36'::timestamp) - extract(epoch from '2026-07-08 13:35: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'), 47631, 'SRID=4674;POINT (-40.142457 -2.826358)', '2026-07-08 13:35:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14239 -2.826513)'), GeomFromEWKT('SRID=4674;POINT (-40.142457 -2.826358)'))) / (select extract(epoch from '2026-07-08 13:35:45'::timestamp) - extract(epoch from '2026-07-08 13:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14239 -2.826513)'), GeomFromEWKT('SRID=4674;POINT (-40.142457 -2.826358)'))) / (select extract(epoch from '2026-07-08 13:35:45'::timestamp) - extract(epoch from '2026-07-08 13:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142523 -2.826189)', '2026-07-08 13:35:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142457 -2.826358)'), GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.826189)'))) / (select extract(epoch from '2026-07-08 13:35:54'::timestamp) - extract(epoch from '2026-07-08 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142457 -2.826358)'), GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.826189)'))) / (select extract(epoch from '2026-07-08 13:35:54'::timestamp) - extract(epoch from '2026-07-08 13:35: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'), 47631, 'SRID=4674;POINT (-40.142555 -2.826012)', '2026-07-08 13:36:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.826189)'), GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.826012)'))) / (select extract(epoch from '2026-07-08 13:36:03'::timestamp) - extract(epoch from '2026-07-08 13:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.826189)'), GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.826012)'))) / (select extract(epoch from '2026-07-08 13:36:03'::timestamp) - extract(epoch from '2026-07-08 13:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142557 -2.825804)', '2026-07-08 13:36:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.826012)'), GeomFromEWKT('SRID=4674;POINT (-40.142557 -2.825804)'))) / (select extract(epoch from '2026-07-08 13:36:13'::timestamp) - extract(epoch from '2026-07-08 13:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.826012)'), GeomFromEWKT('SRID=4674;POINT (-40.142557 -2.825804)'))) / (select extract(epoch from '2026-07-08 13:36:13'::timestamp) - extract(epoch from '2026-07-08 13:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142556 -2.825605)', '2026-07-08 13:36:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142557 -2.825804)'), GeomFromEWKT('SRID=4674;POINT (-40.142556 -2.825605)'))) / (select extract(epoch from '2026-07-08 13:36:23'::timestamp) - extract(epoch from '2026-07-08 13:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142557 -2.825804)'), GeomFromEWKT('SRID=4674;POINT (-40.142556 -2.825605)'))) / (select extract(epoch from '2026-07-08 13:36:23'::timestamp) - extract(epoch from '2026-07-08 13:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142531 -2.825399)', '2026-07-08 13:36:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142556 -2.825605)'), GeomFromEWKT('SRID=4674;POINT (-40.142531 -2.825399)'))) / (select extract(epoch from '2026-07-08 13:36:33'::timestamp) - extract(epoch from '2026-07-08 13:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142556 -2.825605)'), GeomFromEWKT('SRID=4674;POINT (-40.142531 -2.825399)'))) / (select extract(epoch from '2026-07-08 13:36:33'::timestamp) - extract(epoch from '2026-07-08 13:36: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'), 47631, 'SRID=4674;POINT (-40.142465 -2.825197)', '2026-07-08 13:36:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142531 -2.825399)'), GeomFromEWKT('SRID=4674;POINT (-40.142465 -2.825197)'))) / (select extract(epoch from '2026-07-08 13:36:44'::timestamp) - extract(epoch from '2026-07-08 13:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142531 -2.825399)'), GeomFromEWKT('SRID=4674;POINT (-40.142465 -2.825197)'))) / (select extract(epoch from '2026-07-08 13:36:44'::timestamp) - extract(epoch from '2026-07-08 13:36: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'), 47631, 'SRID=4674;POINT (-40.142405 -2.825095)', '2026-07-08 13:36:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142465 -2.825197)'), GeomFromEWKT('SRID=4674;POINT (-40.142405 -2.825095)'))) / (select extract(epoch from '2026-07-08 13:36:52'::timestamp) - extract(epoch from '2026-07-08 13:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142465 -2.825197)'), GeomFromEWKT('SRID=4674;POINT (-40.142405 -2.825095)'))) / (select extract(epoch from '2026-07-08 13:36:52'::timestamp) - extract(epoch from '2026-07-08 13:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142337 -2.825032)', '2026-07-08 13:37:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142405 -2.825095)'), GeomFromEWKT('SRID=4674;POINT (-40.142337 -2.825032)'))) / (select extract(epoch from '2026-07-08 13:37:01'::timestamp) - extract(epoch from '2026-07-08 13:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142405 -2.825095)'), GeomFromEWKT('SRID=4674;POINT (-40.142337 -2.825032)'))) / (select extract(epoch from '2026-07-08 13:37:01'::timestamp) - extract(epoch from '2026-07-08 13:36: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'), 47631, 'SRID=4674;POINT (-40.142257 -2.824996)', '2026-07-08 13:37:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142337 -2.825032)'), GeomFromEWKT('SRID=4674;POINT (-40.142257 -2.824996)'))) / (select extract(epoch from '2026-07-08 13:37:10'::timestamp) - extract(epoch from '2026-07-08 13:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142337 -2.825032)'), GeomFromEWKT('SRID=4674;POINT (-40.142257 -2.824996)'))) / (select extract(epoch from '2026-07-08 13:37:10'::timestamp) - extract(epoch from '2026-07-08 13:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142199 -2.824993)', '2026-07-08 13:37:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142257 -2.824996)'), GeomFromEWKT('SRID=4674;POINT (-40.142199 -2.824993)'))) / (select extract(epoch from '2026-07-08 13:37:19'::timestamp) - extract(epoch from '2026-07-08 13:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142257 -2.824996)'), GeomFromEWKT('SRID=4674;POINT (-40.142199 -2.824993)'))) / (select extract(epoch from '2026-07-08 13:37:19'::timestamp) - extract(epoch from '2026-07-08 13:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.142127 -2.824976)', '2026-07-08 13:37:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142199 -2.824993)'), GeomFromEWKT('SRID=4674;POINT (-40.142127 -2.824976)'))) / (select extract(epoch from '2026-07-08 13:37:30'::timestamp) - extract(epoch from '2026-07-08 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142199 -2.824993)'), GeomFromEWKT('SRID=4674;POINT (-40.142127 -2.824976)'))) / (select extract(epoch from '2026-07-08 13:37:30'::timestamp) - extract(epoch from '2026-07-08 13:37: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'), 47631, 'SRID=4674;POINT (-40.142051 -2.824929)', '2026-07-08 13:37:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142127 -2.824976)'), GeomFromEWKT('SRID=4674;POINT (-40.142051 -2.824929)'))) / (select extract(epoch from '2026-07-08 13:37:39'::timestamp) - extract(epoch from '2026-07-08 13:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142127 -2.824976)'), GeomFromEWKT('SRID=4674;POINT (-40.142051 -2.824929)'))) / (select extract(epoch from '2026-07-08 13:37:39'::timestamp) - extract(epoch from '2026-07-08 13:37: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'), 47631, 'SRID=4674;POINT (-40.141995 -2.824864)', '2026-07-08 13:37:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142051 -2.824929)'), GeomFromEWKT('SRID=4674;POINT (-40.141995 -2.824864)'))) / (select extract(epoch from '2026-07-08 13:37:48'::timestamp) - extract(epoch from '2026-07-08 13:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142051 -2.824929)'), GeomFromEWKT('SRID=4674;POINT (-40.141995 -2.824864)'))) / (select extract(epoch from '2026-07-08 13:37:48'::timestamp) - extract(epoch from '2026-07-08 13:37: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'), 47631, 'SRID=4674;POINT (-40.141931 -2.824844)', '2026-07-08 13:37:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141995 -2.824864)'), GeomFromEWKT('SRID=4674;POINT (-40.141931 -2.824844)'))) / (select extract(epoch from '2026-07-08 13:37:58'::timestamp) - extract(epoch from '2026-07-08 13:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141995 -2.824864)'), GeomFromEWKT('SRID=4674;POINT (-40.141931 -2.824844)'))) / (select extract(epoch from '2026-07-08 13:37:58'::timestamp) - extract(epoch from '2026-07-08 13:37: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'), 47631, 'SRID=4674;POINT (-40.141793 -2.824844)', '2026-07-08 13:38:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141931 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.824844)'))) / (select extract(epoch from '2026-07-08 13:38:14'::timestamp) - extract(epoch from '2026-07-08 13:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141931 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.824844)'))) / (select extract(epoch from '2026-07-08 13:38:14'::timestamp) - extract(epoch from '2026-07-08 13:37: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'), 47631, 'SRID=4674;POINT (-40.141732 -2.824877)', '2026-07-08 13:38:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.141732 -2.824877)'))) / (select extract(epoch from '2026-07-08 13:38:29'::timestamp) - extract(epoch from '2026-07-08 13:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.141732 -2.824877)'))) / (select extract(epoch from '2026-07-08 13:38:29'::timestamp) - extract(epoch from '2026-07-08 13:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141717 -2.824919)', '2026-07-08 13:38:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141732 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.141717 -2.824919)'))) / (select extract(epoch from '2026-07-08 13:38:37'::timestamp) - extract(epoch from '2026-07-08 13:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141732 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.141717 -2.824919)'))) / (select extract(epoch from '2026-07-08 13:38:37'::timestamp) - extract(epoch from '2026-07-08 13:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.14166 -2.825021)', '2026-07-08 13:38:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141717 -2.824919)'), GeomFromEWKT('SRID=4674;POINT (-40.14166 -2.825021)'))) / (select extract(epoch from '2026-07-08 13:38:53'::timestamp) - extract(epoch from '2026-07-08 13:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141717 -2.824919)'), GeomFromEWKT('SRID=4674;POINT (-40.14166 -2.825021)'))) / (select extract(epoch from '2026-07-08 13:38:53'::timestamp) - extract(epoch from '2026-07-08 13:38: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'), 47631, 'SRID=4674;POINT (-40.141602 -2.82514)', '2026-07-08 13:39:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14166 -2.825021)'), GeomFromEWKT('SRID=4674;POINT (-40.141602 -2.82514)'))) / (select extract(epoch from '2026-07-08 13:39:14'::timestamp) - extract(epoch from '2026-07-08 13:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14166 -2.825021)'), GeomFromEWKT('SRID=4674;POINT (-40.141602 -2.82514)'))) / (select extract(epoch from '2026-07-08 13:39:14'::timestamp) - extract(epoch from '2026-07-08 13:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141542 -2.825194)', '2026-07-08 13:39:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141602 -2.82514)'), GeomFromEWKT('SRID=4674;POINT (-40.141542 -2.825194)'))) / (select extract(epoch from '2026-07-08 13:39:31'::timestamp) - extract(epoch from '2026-07-08 13:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141602 -2.82514)'), GeomFromEWKT('SRID=4674;POINT (-40.141542 -2.825194)'))) / (select extract(epoch from '2026-07-08 13:39:31'::timestamp) - extract(epoch from '2026-07-08 13:39: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'), 47631, 'SRID=4674;POINT (-40.141492 -2.825262)', '2026-07-08 13:39:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141542 -2.825194)'), GeomFromEWKT('SRID=4674;POINT (-40.141492 -2.825262)'))) / (select extract(epoch from '2026-07-08 13:39:48'::timestamp) - extract(epoch from '2026-07-08 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141542 -2.825194)'), GeomFromEWKT('SRID=4674;POINT (-40.141492 -2.825262)'))) / (select extract(epoch from '2026-07-08 13:39:48'::timestamp) - extract(epoch from '2026-07-08 13:39: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'), 47631, 'SRID=4674;POINT (-40.141449 -2.825321)', '2026-07-08 13:40:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141492 -2.825262)'), GeomFromEWKT('SRID=4674;POINT (-40.141449 -2.825321)'))) / (select extract(epoch from '2026-07-08 13:40:05'::timestamp) - extract(epoch from '2026-07-08 13:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141492 -2.825262)'), GeomFromEWKT('SRID=4674;POINT (-40.141449 -2.825321)'))) / (select extract(epoch from '2026-07-08 13:40:05'::timestamp) - extract(epoch from '2026-07-08 13:39: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'), 47631, 'SRID=4674;POINT (-40.141419 -2.825369)', '2026-07-08 13:40:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141449 -2.825321)'), GeomFromEWKT('SRID=4674;POINT (-40.141419 -2.825369)'))) / (select extract(epoch from '2026-07-08 13:40:21'::timestamp) - extract(epoch from '2026-07-08 13:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141449 -2.825321)'), GeomFromEWKT('SRID=4674;POINT (-40.141419 -2.825369)'))) / (select extract(epoch from '2026-07-08 13:40:21'::timestamp) - extract(epoch from '2026-07-08 13:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141402 -2.825431)', '2026-07-08 13:40:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141419 -2.825369)'), GeomFromEWKT('SRID=4674;POINT (-40.141402 -2.825431)'))) / (select extract(epoch from '2026-07-08 13:40:45'::timestamp) - extract(epoch from '2026-07-08 13:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141419 -2.825369)'), GeomFromEWKT('SRID=4674;POINT (-40.141402 -2.825431)'))) / (select extract(epoch from '2026-07-08 13:40:45'::timestamp) - extract(epoch from '2026-07-08 13:40: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'), 47631, 'SRID=4674;POINT (-40.141352 -2.825451)', '2026-07-08 13:40:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141402 -2.825431)'), GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.825451)'))) / (select extract(epoch from '2026-07-08 13:40:58'::timestamp) - extract(epoch from '2026-07-08 13:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141402 -2.825431)'), GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.825451)'))) / (select extract(epoch from '2026-07-08 13:40:58'::timestamp) - extract(epoch from '2026-07-08 13:40: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'), 47631, 'SRID=4674;POINT (-40.141305 -2.825384)', '2026-07-08 13:41:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.825451)'), GeomFromEWKT('SRID=4674;POINT (-40.141305 -2.825384)'))) / (select extract(epoch from '2026-07-08 13:41:13'::timestamp) - extract(epoch from '2026-07-08 13:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.825451)'), GeomFromEWKT('SRID=4674;POINT (-40.141305 -2.825384)'))) / (select extract(epoch from '2026-07-08 13:41:13'::timestamp) - extract(epoch from '2026-07-08 13:40: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'), 47631, 'SRID=4674;POINT (-40.141244 -2.82524)', '2026-07-08 13:41:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141305 -2.825384)'), GeomFromEWKT('SRID=4674;POINT (-40.141244 -2.82524)'))) / (select extract(epoch from '2026-07-08 13:41:29'::timestamp) - extract(epoch from '2026-07-08 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141305 -2.825384)'), GeomFromEWKT('SRID=4674;POINT (-40.141244 -2.82524)'))) / (select extract(epoch from '2026-07-08 13:41:29'::timestamp) - extract(epoch from '2026-07-08 13:41: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'), 47631, 'SRID=4674;POINT (-40.141199 -2.825093)', '2026-07-08 13:41:48', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141244 -2.82524)'), GeomFromEWKT('SRID=4674;POINT (-40.141199 -2.825093)'))) / (select extract(epoch from '2026-07-08 13:41:48'::timestamp) - extract(epoch from '2026-07-08 13:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141244 -2.82524)'), GeomFromEWKT('SRID=4674;POINT (-40.141199 -2.825093)'))) / (select extract(epoch from '2026-07-08 13:41:48'::timestamp) - extract(epoch from '2026-07-08 13:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.141145 -2.824959)', '2026-07-08 13:42:05', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141199 -2.825093)'), GeomFromEWKT('SRID=4674;POINT (-40.141145 -2.824959)'))) / (select extract(epoch from '2026-07-08 13:42:05'::timestamp) - extract(epoch from '2026-07-08 13:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141199 -2.825093)'), GeomFromEWKT('SRID=4674;POINT (-40.141145 -2.824959)'))) / (select extract(epoch from '2026-07-08 13:42:05'::timestamp) - extract(epoch from '2026-07-08 13:41: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'), 47631, 'SRID=4674;POINT (-40.141093 -2.824777)', '2026-07-08 13:42:23', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141145 -2.824959)'), GeomFromEWKT('SRID=4674;POINT (-40.141093 -2.824777)'))) / (select extract(epoch from '2026-07-08 13:42:23'::timestamp) - extract(epoch from '2026-07-08 13:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141145 -2.824959)'), GeomFromEWKT('SRID=4674;POINT (-40.141093 -2.824777)'))) / (select extract(epoch from '2026-07-08 13:42:23'::timestamp) - extract(epoch from '2026-07-08 13:42: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'), 47631, 'SRID=4674;POINT (-40.14103 -2.824607)', '2026-07-08 13:42:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141093 -2.824777)'), GeomFromEWKT('SRID=4674;POINT (-40.14103 -2.824607)'))) / (select extract(epoch from '2026-07-08 13:42:41'::timestamp) - extract(epoch from '2026-07-08 13:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141093 -2.824777)'), GeomFromEWKT('SRID=4674;POINT (-40.14103 -2.824607)'))) / (select extract(epoch from '2026-07-08 13:42:41'::timestamp) - extract(epoch from '2026-07-08 13:42: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'), 47631, 'SRID=4674;POINT (-40.140965 -2.8245)', '2026-07-08 13:42:56', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14103 -2.824607)'), GeomFromEWKT('SRID=4674;POINT (-40.140965 -2.8245)'))) / (select extract(epoch from '2026-07-08 13:42:56'::timestamp) - extract(epoch from '2026-07-08 13:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14103 -2.824607)'), GeomFromEWKT('SRID=4674;POINT (-40.140965 -2.8245)'))) / (select extract(epoch from '2026-07-08 13:42:56'::timestamp) - extract(epoch from '2026-07-08 13:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140888 -2.824412)', '2026-07-08 13:43:11', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140965 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.140888 -2.824412)'))) / (select extract(epoch from '2026-07-08 13:43:11'::timestamp) - extract(epoch from '2026-07-08 13:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140965 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.140888 -2.824412)'))) / (select extract(epoch from '2026-07-08 13:43:11'::timestamp) - extract(epoch from '2026-07-08 13:42: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'), 47631, 'SRID=4674;POINT (-40.140852 -2.824329)', '2026-07-08 13:43:26', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140888 -2.824412)'), GeomFromEWKT('SRID=4674;POINT (-40.140852 -2.824329)'))) / (select extract(epoch from '2026-07-08 13:43:26'::timestamp) - extract(epoch from '2026-07-08 13:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140888 -2.824412)'), GeomFromEWKT('SRID=4674;POINT (-40.140852 -2.824329)'))) / (select extract(epoch from '2026-07-08 13:43:26'::timestamp) - extract(epoch from '2026-07-08 13:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140758 -2.824306)', '2026-07-08 13:43:40', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140852 -2.824329)'), GeomFromEWKT('SRID=4674;POINT (-40.140758 -2.824306)'))) / (select extract(epoch from '2026-07-08 13:43:40'::timestamp) - extract(epoch from '2026-07-08 13:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140852 -2.824329)'), GeomFromEWKT('SRID=4674;POINT (-40.140758 -2.824306)'))) / (select extract(epoch from '2026-07-08 13:43:40'::timestamp) - extract(epoch from '2026-07-08 13:43: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'), 47631, 'SRID=4674;POINT (-40.140676 -2.824251)', '2026-07-08 13:43:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140758 -2.824306)'), GeomFromEWKT('SRID=4674;POINT (-40.140676 -2.824251)'))) / (select extract(epoch from '2026-07-08 13:43:54'::timestamp) - extract(epoch from '2026-07-08 13:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140758 -2.824306)'), GeomFromEWKT('SRID=4674;POINT (-40.140676 -2.824251)'))) / (select extract(epoch from '2026-07-08 13:43:54'::timestamp) - extract(epoch from '2026-07-08 13:43: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'), 47631, 'SRID=4674;POINT (-40.140573 -2.824196)', '2026-07-08 13:44:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140676 -2.824251)'), GeomFromEWKT('SRID=4674;POINT (-40.140573 -2.824196)'))) / (select extract(epoch from '2026-07-08 13:44:10'::timestamp) - extract(epoch from '2026-07-08 13:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140676 -2.824251)'), GeomFromEWKT('SRID=4674;POINT (-40.140573 -2.824196)'))) / (select extract(epoch from '2026-07-08 13:44:10'::timestamp) - extract(epoch from '2026-07-08 13:43: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'), 47631, 'SRID=4674;POINT (-40.140495 -2.82416)', '2026-07-08 13:44:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140573 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.140495 -2.82416)'))) / (select extract(epoch from '2026-07-08 13:44:27'::timestamp) - extract(epoch from '2026-07-08 13:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140573 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.140495 -2.82416)'))) / (select extract(epoch from '2026-07-08 13:44:27'::timestamp) - extract(epoch from '2026-07-08 13:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140417 -2.824158)', '2026-07-08 13:44:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140495 -2.82416)'), GeomFromEWKT('SRID=4674;POINT (-40.140417 -2.824158)'))) / (select extract(epoch from '2026-07-08 13:44:41'::timestamp) - extract(epoch from '2026-07-08 13:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140495 -2.82416)'), GeomFromEWKT('SRID=4674;POINT (-40.140417 -2.824158)'))) / (select extract(epoch from '2026-07-08 13:44:41'::timestamp) - extract(epoch from '2026-07-08 13:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140356 -2.824081)', '2026-07-08 13:44:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140417 -2.824158)'), GeomFromEWKT('SRID=4674;POINT (-40.140356 -2.824081)'))) / (select extract(epoch from '2026-07-08 13:44:56'::timestamp) - extract(epoch from '2026-07-08 13:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140417 -2.824158)'), GeomFromEWKT('SRID=4674;POINT (-40.140356 -2.824081)'))) / (select extract(epoch from '2026-07-08 13:44:56'::timestamp) - extract(epoch from '2026-07-08 13:44: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'), 47631, 'SRID=4674;POINT (-40.140271 -2.824028)', '2026-07-08 13:45:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140356 -2.824081)'), GeomFromEWKT('SRID=4674;POINT (-40.140271 -2.824028)'))) / (select extract(epoch from '2026-07-08 13:45:10'::timestamp) - extract(epoch from '2026-07-08 13:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140356 -2.824081)'), GeomFromEWKT('SRID=4674;POINT (-40.140271 -2.824028)'))) / (select extract(epoch from '2026-07-08 13:45:10'::timestamp) - extract(epoch from '2026-07-08 13:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140221 -2.823973)', '2026-07-08 13:45:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140271 -2.824028)'), GeomFromEWKT('SRID=4674;POINT (-40.140221 -2.823973)'))) / (select extract(epoch from '2026-07-08 13:45:25'::timestamp) - extract(epoch from '2026-07-08 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140271 -2.824028)'), GeomFromEWKT('SRID=4674;POINT (-40.140221 -2.823973)'))) / (select extract(epoch from '2026-07-08 13:45:25'::timestamp) - extract(epoch from '2026-07-08 13:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140103 -2.823909)', '2026-07-08 13:45:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140221 -2.823973)'), GeomFromEWKT('SRID=4674;POINT (-40.140103 -2.823909)'))) / (select extract(epoch from '2026-07-08 13:45:43'::timestamp) - extract(epoch from '2026-07-08 13:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140221 -2.823973)'), GeomFromEWKT('SRID=4674;POINT (-40.140103 -2.823909)'))) / (select extract(epoch from '2026-07-08 13:45:43'::timestamp) - extract(epoch from '2026-07-08 13:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.140003 -2.823883)', '2026-07-08 13:45:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140103 -2.823909)'), GeomFromEWKT('SRID=4674;POINT (-40.140003 -2.823883)'))) / (select extract(epoch from '2026-07-08 13:45:56'::timestamp) - extract(epoch from '2026-07-08 13:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140103 -2.823909)'), GeomFromEWKT('SRID=4674;POINT (-40.140003 -2.823883)'))) / (select extract(epoch from '2026-07-08 13:45:56'::timestamp) - extract(epoch from '2026-07-08 13:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13993 -2.823819)', '2026-07-08 13:46:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140003 -2.823883)'), GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.823819)'))) / (select extract(epoch from '2026-07-08 13:46:09'::timestamp) - extract(epoch from '2026-07-08 13:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140003 -2.823883)'), GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.823819)'))) / (select extract(epoch from '2026-07-08 13:46:09'::timestamp) - extract(epoch from '2026-07-08 13:45: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'), 47631, 'SRID=4674;POINT (-40.139866 -2.823822)', '2026-07-08 13:46:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.823819)'), GeomFromEWKT('SRID=4674;POINT (-40.139866 -2.823822)'))) / (select extract(epoch from '2026-07-08 13:46:23'::timestamp) - extract(epoch from '2026-07-08 13:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13993 -2.823819)'), GeomFromEWKT('SRID=4674;POINT (-40.139866 -2.823822)'))) / (select extract(epoch from '2026-07-08 13:46:23'::timestamp) - extract(epoch from '2026-07-08 13:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139795 -2.823805)', '2026-07-08 13:46:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139866 -2.823822)'), GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.823805)'))) / (select extract(epoch from '2026-07-08 13:46:38'::timestamp) - extract(epoch from '2026-07-08 13:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139866 -2.823822)'), GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.823805)'))) / (select extract(epoch from '2026-07-08 13:46:38'::timestamp) - extract(epoch from '2026-07-08 13:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139727 -2.823733)', '2026-07-08 13:46:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.823805)'), GeomFromEWKT('SRID=4674;POINT (-40.139727 -2.823733)'))) / (select extract(epoch from '2026-07-08 13:46:54'::timestamp) - extract(epoch from '2026-07-08 13:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.823805)'), GeomFromEWKT('SRID=4674;POINT (-40.139727 -2.823733)'))) / (select extract(epoch from '2026-07-08 13:46:54'::timestamp) - extract(epoch from '2026-07-08 13:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139622 -2.823729)', '2026-07-08 13:47:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139727 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.139622 -2.823729)'))) / (select extract(epoch from '2026-07-08 13:47:07'::timestamp) - extract(epoch from '2026-07-08 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139727 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.139622 -2.823729)'))) / (select extract(epoch from '2026-07-08 13:47:07'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.139532 -2.823728)', '2026-07-08 13:47:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139622 -2.823729)'), GeomFromEWKT('SRID=4674;POINT (-40.139532 -2.823728)'))) / (select extract(epoch from '2026-07-08 13:47:22'::timestamp) - extract(epoch from '2026-07-08 13:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139622 -2.823729)'), GeomFromEWKT('SRID=4674;POINT (-40.139532 -2.823728)'))) / (select extract(epoch from '2026-07-08 13:47:22'::timestamp) - extract(epoch from '2026-07-08 13:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139473 -2.823727)', '2026-07-08 13:47:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139532 -2.823728)'), GeomFromEWKT('SRID=4674;POINT (-40.139473 -2.823727)'))) / (select extract(epoch from '2026-07-08 13:47:38'::timestamp) - extract(epoch from '2026-07-08 13:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139532 -2.823728)'), GeomFromEWKT('SRID=4674;POINT (-40.139473 -2.823727)'))) / (select extract(epoch from '2026-07-08 13:47:38'::timestamp) - extract(epoch from '2026-07-08 13:47:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139451 -2.823762)', '2026-07-08 13:47:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139473 -2.823727)'), GeomFromEWKT('SRID=4674;POINT (-40.139451 -2.823762)'))) / (select extract(epoch from '2026-07-08 13:47:50'::timestamp) - extract(epoch from '2026-07-08 13:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139473 -2.823727)'), GeomFromEWKT('SRID=4674;POINT (-40.139451 -2.823762)'))) / (select extract(epoch from '2026-07-08 13:47:50'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.139437 -2.823814)', '2026-07-08 13:48:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139451 -2.823762)'), GeomFromEWKT('SRID=4674;POINT (-40.139437 -2.823814)'))) / (select extract(epoch from '2026-07-08 13:48:02'::timestamp) - extract(epoch from '2026-07-08 13:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139451 -2.823762)'), GeomFromEWKT('SRID=4674;POINT (-40.139437 -2.823814)'))) / (select extract(epoch from '2026-07-08 13:48:02'::timestamp) - extract(epoch from '2026-07-08 13:47: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'), 47631, 'SRID=4674;POINT (-40.139395 -2.823861)', '2026-07-08 13:48:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139437 -2.823814)'), GeomFromEWKT('SRID=4674;POINT (-40.139395 -2.823861)'))) / (select extract(epoch from '2026-07-08 13:48:15'::timestamp) - extract(epoch from '2026-07-08 13:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139437 -2.823814)'), GeomFromEWKT('SRID=4674;POINT (-40.139395 -2.823861)'))) / (select extract(epoch from '2026-07-08 13:48:15'::timestamp) - extract(epoch from '2026-07-08 13:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139302 -2.823831)', '2026-07-08 13:48:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139395 -2.823861)'), GeomFromEWKT('SRID=4674;POINT (-40.139302 -2.823831)'))) / (select extract(epoch from '2026-07-08 13:48:27'::timestamp) - extract(epoch from '2026-07-08 13:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139395 -2.823861)'), GeomFromEWKT('SRID=4674;POINT (-40.139302 -2.823831)'))) / (select extract(epoch from '2026-07-08 13:48:27'::timestamp) - extract(epoch from '2026-07-08 13:48: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'), 47631, 'SRID=4674;POINT (-40.139142 -2.823754)', '2026-07-08 13:48:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139302 -2.823831)'), GeomFromEWKT('SRID=4674;POINT (-40.139142 -2.823754)'))) / (select extract(epoch from '2026-07-08 13:48:42'::timestamp) - extract(epoch from '2026-07-08 13:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139302 -2.823831)'), GeomFromEWKT('SRID=4674;POINT (-40.139142 -2.823754)'))) / (select extract(epoch from '2026-07-08 13:48:42'::timestamp) - extract(epoch from '2026-07-08 13:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138973 -2.823753)', '2026-07-08 13:48:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139142 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.138973 -2.823753)'))) / (select extract(epoch from '2026-07-08 13:48:54'::timestamp) - extract(epoch from '2026-07-08 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139142 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.138973 -2.823753)'))) / (select extract(epoch from '2026-07-08 13:48:54'::timestamp) - extract(epoch from '2026-07-08 13:48: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'), 47631, 'SRID=4674;POINT (-40.13886 -2.823723)', '2026-07-08 13:49:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138973 -2.823753)'), GeomFromEWKT('SRID=4674;POINT (-40.13886 -2.823723)'))) / (select extract(epoch from '2026-07-08 13:49:03'::timestamp) - extract(epoch from '2026-07-08 13:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138973 -2.823753)'), GeomFromEWKT('SRID=4674;POINT (-40.13886 -2.823723)'))) / (select extract(epoch from '2026-07-08 13:49:03'::timestamp) - extract(epoch from '2026-07-08 13:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138756 -2.82367)', '2026-07-08 13:49:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13886 -2.823723)'), GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.82367)'))) / (select extract(epoch from '2026-07-08 13:49:12'::timestamp) - extract(epoch from '2026-07-08 13:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13886 -2.823723)'), GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.82367)'))) / (select extract(epoch from '2026-07-08 13:49:12'::timestamp) - extract(epoch from '2026-07-08 13:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138656 -2.823618)', '2026-07-08 13:49:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.138656 -2.823618)'))) / (select extract(epoch from '2026-07-08 13:49:21'::timestamp) - extract(epoch from '2026-07-08 13:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.138656 -2.823618)'))) / (select extract(epoch from '2026-07-08 13:49:21'::timestamp) - extract(epoch from '2026-07-08 13:49: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'), 47631, 'SRID=4674;POINT (-40.138579 -2.823584)', '2026-07-08 13:49:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138656 -2.823618)'), GeomFromEWKT('SRID=4674;POINT (-40.138579 -2.823584)'))) / (select extract(epoch from '2026-07-08 13:49:28'::timestamp) - extract(epoch from '2026-07-08 13:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138656 -2.823618)'), GeomFromEWKT('SRID=4674;POINT (-40.138579 -2.823584)'))) / (select extract(epoch from '2026-07-08 13:49:28'::timestamp) - extract(epoch from '2026-07-08 13:49: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'), 47631, 'SRID=4674;POINT (-40.138475 -2.823526)', '2026-07-08 13:49:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138579 -2.823584)'), GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.823526)'))) / (select extract(epoch from '2026-07-08 13:49:37'::timestamp) - extract(epoch from '2026-07-08 13:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138579 -2.823584)'), GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.823526)'))) / (select extract(epoch from '2026-07-08 13:49:37'::timestamp) - extract(epoch from '2026-07-08 13:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13835 -2.823441)', '2026-07-08 13:49:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.13835 -2.823441)'))) / (select extract(epoch from '2026-07-08 13:49:47'::timestamp) - extract(epoch from '2026-07-08 13:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.13835 -2.823441)'))) / (select extract(epoch from '2026-07-08 13:49:47'::timestamp) - extract(epoch from '2026-07-08 13:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13824 -2.823375)', '2026-07-08 13:49:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13835 -2.823441)'), GeomFromEWKT('SRID=4674;POINT (-40.13824 -2.823375)'))) / (select extract(epoch from '2026-07-08 13:49:56'::timestamp) - extract(epoch from '2026-07-08 13:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13835 -2.823441)'), GeomFromEWKT('SRID=4674;POINT (-40.13824 -2.823375)'))) / (select extract(epoch from '2026-07-08 13:49:56'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.138133 -2.823295)', '2026-07-08 13:50:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13824 -2.823375)'), GeomFromEWKT('SRID=4674;POINT (-40.138133 -2.823295)'))) / (select extract(epoch from '2026-07-08 13:50:06'::timestamp) - extract(epoch from '2026-07-08 13:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13824 -2.823375)'), GeomFromEWKT('SRID=4674;POINT (-40.138133 -2.823295)'))) / (select extract(epoch from '2026-07-08 13:50:06'::timestamp) - extract(epoch from '2026-07-08 13:49: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'), 47631, 'SRID=4674;POINT (-40.138051 -2.823228)', '2026-07-08 13:50:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138133 -2.823295)'), GeomFromEWKT('SRID=4674;POINT (-40.138051 -2.823228)'))) / (select extract(epoch from '2026-07-08 13:50:14'::timestamp) - extract(epoch from '2026-07-08 13:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138133 -2.823295)'), GeomFromEWKT('SRID=4674;POINT (-40.138051 -2.823228)'))) / (select extract(epoch from '2026-07-08 13:50:14'::timestamp) - extract(epoch from '2026-07-08 13:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137953 -2.823144)', '2026-07-08 13:50:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138051 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.823144)'))) / (select extract(epoch from '2026-07-08 13:50:23'::timestamp) - extract(epoch from '2026-07-08 13:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138051 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.823144)'))) / (select extract(epoch from '2026-07-08 13:50:23'::timestamp) - extract(epoch from '2026-07-08 13:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137876 -2.823068)', '2026-07-08 13:50:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.823144)'), GeomFromEWKT('SRID=4674;POINT (-40.137876 -2.823068)'))) / (select extract(epoch from '2026-07-08 13:50:31'::timestamp) - extract(epoch from '2026-07-08 13:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.823144)'), GeomFromEWKT('SRID=4674;POINT (-40.137876 -2.823068)'))) / (select extract(epoch from '2026-07-08 13:50:31'::timestamp) - extract(epoch from '2026-07-08 13:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137777 -2.822983)', '2026-07-08 13:50:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137876 -2.823068)'), GeomFromEWKT('SRID=4674;POINT (-40.137777 -2.822983)'))) / (select extract(epoch from '2026-07-08 13:50:40'::timestamp) - extract(epoch from '2026-07-08 13:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137876 -2.823068)'), GeomFromEWKT('SRID=4674;POINT (-40.137777 -2.822983)'))) / (select extract(epoch from '2026-07-08 13:50:40'::timestamp) - extract(epoch from '2026-07-08 13:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137668 -2.822905)', '2026-07-08 13:50:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137777 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.137668 -2.822905)'))) / (select extract(epoch from '2026-07-08 13:50:49'::timestamp) - extract(epoch from '2026-07-08 13:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137777 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.137668 -2.822905)'))) / (select extract(epoch from '2026-07-08 13:50:49'::timestamp) - extract(epoch from '2026-07-08 13:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137582 -2.822842)', '2026-07-08 13:50:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137668 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.137582 -2.822842)'))) / (select extract(epoch from '2026-07-08 13:50:56'::timestamp) - extract(epoch from '2026-07-08 13:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137668 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.137582 -2.822842)'))) / (select extract(epoch from '2026-07-08 13:50:56'::timestamp) - extract(epoch from '2026-07-08 13:50: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'), 47631, 'SRID=4674;POINT (-40.137486 -2.822745)', '2026-07-08 13:51:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137582 -2.822842)'), GeomFromEWKT('SRID=4674;POINT (-40.137486 -2.822745)'))) / (select extract(epoch from '2026-07-08 13:51:05'::timestamp) - extract(epoch from '2026-07-08 13:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137582 -2.822842)'), GeomFromEWKT('SRID=4674;POINT (-40.137486 -2.822745)'))) / (select extract(epoch from '2026-07-08 13:51:05'::timestamp) - extract(epoch from '2026-07-08 13:50: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'), 47631, 'SRID=4674;POINT (-40.137399 -2.822664)', '2026-07-08 13:51:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137486 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.137399 -2.822664)'))) / (select extract(epoch from '2026-07-08 13:51:14'::timestamp) - extract(epoch from '2026-07-08 13:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137486 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.137399 -2.822664)'))) / (select extract(epoch from '2026-07-08 13:51:14'::timestamp) - extract(epoch from '2026-07-08 13:51: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'), 47631, 'SRID=4674;POINT (-40.137312 -2.822598)', '2026-07-08 13:51:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137399 -2.822664)'), GeomFromEWKT('SRID=4674;POINT (-40.137312 -2.822598)'))) / (select extract(epoch from '2026-07-08 13:51:22'::timestamp) - extract(epoch from '2026-07-08 13:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137399 -2.822664)'), GeomFromEWKT('SRID=4674;POINT (-40.137312 -2.822598)'))) / (select extract(epoch from '2026-07-08 13:51:22'::timestamp) - extract(epoch from '2026-07-08 13:51: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'), 47631, 'SRID=4674;POINT (-40.137202 -2.822524)', '2026-07-08 13:51:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137312 -2.822598)'), GeomFromEWKT('SRID=4674;POINT (-40.137202 -2.822524)'))) / (select extract(epoch from '2026-07-08 13:51:31'::timestamp) - extract(epoch from '2026-07-08 13:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137312 -2.822598)'), GeomFromEWKT('SRID=4674;POINT (-40.137202 -2.822524)'))) / (select extract(epoch from '2026-07-08 13:51:31'::timestamp) - extract(epoch from '2026-07-08 13:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137081 -2.822432)', '2026-07-08 13:51:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137202 -2.822524)'), GeomFromEWKT('SRID=4674;POINT (-40.137081 -2.822432)'))) / (select extract(epoch from '2026-07-08 13:51:40'::timestamp) - extract(epoch from '2026-07-08 13:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137202 -2.822524)'), GeomFromEWKT('SRID=4674;POINT (-40.137081 -2.822432)'))) / (select extract(epoch from '2026-07-08 13:51:40'::timestamp) - extract(epoch from '2026-07-08 13:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136999 -2.822373)', '2026-07-08 13:51:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137081 -2.822432)'), GeomFromEWKT('SRID=4674;POINT (-40.136999 -2.822373)'))) / (select extract(epoch from '2026-07-08 13:51:47'::timestamp) - extract(epoch from '2026-07-08 13:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137081 -2.822432)'), GeomFromEWKT('SRID=4674;POINT (-40.136999 -2.822373)'))) / (select extract(epoch from '2026-07-08 13:51:47'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.136915 -2.822322)', '2026-07-08 13:51:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136999 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.136915 -2.822322)'))) / (select extract(epoch from '2026-07-08 13:51:54'::timestamp) - extract(epoch from '2026-07-08 13:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136999 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.136915 -2.822322)'))) / (select extract(epoch from '2026-07-08 13:51:54'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.136818 -2.822249)', '2026-07-08 13:52:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136915 -2.822322)'), GeomFromEWKT('SRID=4674;POINT (-40.136818 -2.822249)'))) / (select extract(epoch from '2026-07-08 13:52:04'::timestamp) - extract(epoch from '2026-07-08 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136915 -2.822322)'), GeomFromEWKT('SRID=4674;POINT (-40.136818 -2.822249)'))) / (select extract(epoch from '2026-07-08 13:52:04'::timestamp) - extract(epoch from '2026-07-08 13:51: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'), 47631, 'SRID=4674;POINT (-40.136723 -2.822191)', '2026-07-08 13:52:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136818 -2.822249)'), GeomFromEWKT('SRID=4674;POINT (-40.136723 -2.822191)'))) / (select extract(epoch from '2026-07-08 13:52:12'::timestamp) - extract(epoch from '2026-07-08 13:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136818 -2.822249)'), GeomFromEWKT('SRID=4674;POINT (-40.136723 -2.822191)'))) / (select extract(epoch from '2026-07-08 13:52:12'::timestamp) - extract(epoch from '2026-07-08 13:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136612 -2.822157)', '2026-07-08 13:52:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136723 -2.822191)'), GeomFromEWKT('SRID=4674;POINT (-40.136612 -2.822157)'))) / (select extract(epoch from '2026-07-08 13:52:21'::timestamp) - extract(epoch from '2026-07-08 13:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136723 -2.822191)'), GeomFromEWKT('SRID=4674;POINT (-40.136612 -2.822157)'))) / (select extract(epoch from '2026-07-08 13:52:21'::timestamp) - extract(epoch from '2026-07-08 13:52: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'), 47631, 'SRID=4674;POINT (-40.136514 -2.822117)', '2026-07-08 13:52:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136612 -2.822157)'), GeomFromEWKT('SRID=4674;POINT (-40.136514 -2.822117)'))) / (select extract(epoch from '2026-07-08 13:52:30'::timestamp) - extract(epoch from '2026-07-08 13:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136612 -2.822157)'), GeomFromEWKT('SRID=4674;POINT (-40.136514 -2.822117)'))) / (select extract(epoch from '2026-07-08 13:52:30'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.13641 -2.822053)', '2026-07-08 13:52:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136514 -2.822117)'), GeomFromEWKT('SRID=4674;POINT (-40.13641 -2.822053)'))) / (select extract(epoch from '2026-07-08 13:52:39'::timestamp) - extract(epoch from '2026-07-08 13:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136514 -2.822117)'), GeomFromEWKT('SRID=4674;POINT (-40.13641 -2.822053)'))) / (select extract(epoch from '2026-07-08 13:52:39'::timestamp) - extract(epoch from '2026-07-08 13:52: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'), 47631, 'SRID=4674;POINT (-40.136329 -2.821963)', '2026-07-08 13:52:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13641 -2.822053)'), GeomFromEWKT('SRID=4674;POINT (-40.136329 -2.821963)'))) / (select extract(epoch from '2026-07-08 13:52:47'::timestamp) - extract(epoch from '2026-07-08 13:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13641 -2.822053)'), GeomFromEWKT('SRID=4674;POINT (-40.136329 -2.821963)'))) / (select extract(epoch from '2026-07-08 13:52:47'::timestamp) - extract(epoch from '2026-07-08 13:52: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'), 47631, 'SRID=4674;POINT (-40.136241 -2.821864)', '2026-07-08 13:52:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136329 -2.821963)'), GeomFromEWKT('SRID=4674;POINT (-40.136241 -2.821864)'))) / (select extract(epoch from '2026-07-08 13:52:56'::timestamp) - extract(epoch from '2026-07-08 13:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136329 -2.821963)'), GeomFromEWKT('SRID=4674;POINT (-40.136241 -2.821864)'))) / (select extract(epoch from '2026-07-08 13:52:56'::timestamp) - extract(epoch from '2026-07-08 13:52: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'), 47631, 'SRID=4674;POINT (-40.136165 -2.821782)', '2026-07-08 13:53:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136241 -2.821864)'), GeomFromEWKT('SRID=4674;POINT (-40.136165 -2.821782)'))) / (select extract(epoch from '2026-07-08 13:53:04'::timestamp) - extract(epoch from '2026-07-08 13:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136241 -2.821864)'), GeomFromEWKT('SRID=4674;POINT (-40.136165 -2.821782)'))) / (select extract(epoch from '2026-07-08 13:53:04'::timestamp) - extract(epoch from '2026-07-08 13:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136062 -2.821676)', '2026-07-08 13:53:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136165 -2.821782)'), GeomFromEWKT('SRID=4674;POINT (-40.136062 -2.821676)'))) / (select extract(epoch from '2026-07-08 13:53:15'::timestamp) - extract(epoch from '2026-07-08 13:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136165 -2.821782)'), GeomFromEWKT('SRID=4674;POINT (-40.136062 -2.821676)'))) / (select extract(epoch from '2026-07-08 13:53:15'::timestamp) - extract(epoch from '2026-07-08 13:53: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'), 47631, 'SRID=4674;POINT (-40.136056 -2.821666)', '2026-07-08 13:53:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136062 -2.821676)'), GeomFromEWKT('SRID=4674;POINT (-40.136056 -2.821666)'))) / (select extract(epoch from '2026-07-08 13:53:16'::timestamp) - extract(epoch from '2026-07-08 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136062 -2.821676)'), GeomFromEWKT('SRID=4674;POINT (-40.136056 -2.821666)'))) / (select extract(epoch from '2026-07-08 13:53:16'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.136002 -2.821627)', '2026-07-08 13:53:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136056 -2.821666)'), GeomFromEWKT('SRID=4674;POINT (-40.136002 -2.821627)'))) / (select extract(epoch from '2026-07-08 13:53:21'::timestamp) - extract(epoch from '2026-07-08 13:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136056 -2.821666)'), GeomFromEWKT('SRID=4674;POINT (-40.136002 -2.821627)'))) / (select extract(epoch from '2026-07-08 13:53:21'::timestamp) - extract(epoch from '2026-07-08 13:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135931 -2.821584)', '2026-07-08 13:53:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136002 -2.821627)'), GeomFromEWKT('SRID=4674;POINT (-40.135931 -2.821584)'))) / (select extract(epoch from '2026-07-08 13:53:27'::timestamp) - extract(epoch from '2026-07-08 13:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136002 -2.821627)'), GeomFromEWKT('SRID=4674;POINT (-40.135931 -2.821584)'))) / (select extract(epoch from '2026-07-08 13:53:27'::timestamp) - extract(epoch from '2026-07-08 13:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135814 -2.821531)', '2026-07-08 13:53:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135931 -2.821584)'), GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.821531)'))) / (select extract(epoch from '2026-07-08 13:53:36'::timestamp) - extract(epoch from '2026-07-08 13:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135931 -2.821584)'), GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.821531)'))) / (select extract(epoch from '2026-07-08 13:53:36'::timestamp) - extract(epoch from '2026-07-08 13:53: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'), 47631, 'SRID=4674;POINT (-40.135727 -2.821506)', '2026-07-08 13:53:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.135727 -2.821506)'))) / (select extract(epoch from '2026-07-08 13:53:44'::timestamp) - extract(epoch from '2026-07-08 13:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.135727 -2.821506)'))) / (select extract(epoch from '2026-07-08 13:53:44'::timestamp) - extract(epoch from '2026-07-08 13:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13566 -2.821461)', '2026-07-08 13:53:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135727 -2.821506)'), GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.821461)'))) / (select extract(epoch from '2026-07-08 13:53:52'::timestamp) - extract(epoch from '2026-07-08 13:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135727 -2.821506)'), GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.821461)'))) / (select extract(epoch from '2026-07-08 13:53:52'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.13555 -2.821393)', '2026-07-08 13:54:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.821461)'), GeomFromEWKT('SRID=4674;POINT (-40.13555 -2.821393)'))) / (select extract(epoch from '2026-07-08 13:54:01'::timestamp) - extract(epoch from '2026-07-08 13:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.821461)'), GeomFromEWKT('SRID=4674;POINT (-40.13555 -2.821393)'))) / (select extract(epoch from '2026-07-08 13:54:01'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.135451 -2.82133)', '2026-07-08 13:54:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13555 -2.821393)'), GeomFromEWKT('SRID=4674;POINT (-40.135451 -2.82133)'))) / (select extract(epoch from '2026-07-08 13:54:10'::timestamp) - extract(epoch from '2026-07-08 13:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13555 -2.821393)'), GeomFromEWKT('SRID=4674;POINT (-40.135451 -2.82133)'))) / (select extract(epoch from '2026-07-08 13:54:10'::timestamp) - extract(epoch from '2026-07-08 13:54: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'), 47631, 'SRID=4674;POINT (-40.135371 -2.821279)', '2026-07-08 13:54:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135451 -2.82133)'), GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.821279)'))) / (select extract(epoch from '2026-07-08 13:54:18'::timestamp) - extract(epoch from '2026-07-08 13:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135451 -2.82133)'), GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.821279)'))) / (select extract(epoch from '2026-07-08 13:54:18'::timestamp) - extract(epoch from '2026-07-08 13:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135271 -2.821228)', '2026-07-08 13:54:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.821279)'), GeomFromEWKT('SRID=4674;POINT (-40.135271 -2.821228)'))) / (select extract(epoch from '2026-07-08 13:54:28'::timestamp) - extract(epoch from '2026-07-08 13:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.821279)'), GeomFromEWKT('SRID=4674;POINT (-40.135271 -2.821228)'))) / (select extract(epoch from '2026-07-08 13:54:28'::timestamp) - extract(epoch from '2026-07-08 13:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135176 -2.82116)', '2026-07-08 13:54:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135271 -2.821228)'), GeomFromEWKT('SRID=4674;POINT (-40.135176 -2.82116)'))) / (select extract(epoch from '2026-07-08 13:54:37'::timestamp) - extract(epoch from '2026-07-08 13:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135271 -2.821228)'), GeomFromEWKT('SRID=4674;POINT (-40.135176 -2.82116)'))) / (select extract(epoch from '2026-07-08 13:54:37'::timestamp) - extract(epoch from '2026-07-08 13:54: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'), 47631, 'SRID=4674;POINT (-40.135085 -2.821081)', '2026-07-08 13:54:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135176 -2.82116)'), GeomFromEWKT('SRID=4674;POINT (-40.135085 -2.821081)'))) / (select extract(epoch from '2026-07-08 13:54:47'::timestamp) - extract(epoch from '2026-07-08 13:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135176 -2.82116)'), GeomFromEWKT('SRID=4674;POINT (-40.135085 -2.821081)'))) / (select extract(epoch from '2026-07-08 13:54:47'::timestamp) - extract(epoch from '2026-07-08 13:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134981 -2.820981)', '2026-07-08 13:54:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135085 -2.821081)'), GeomFromEWKT('SRID=4674;POINT (-40.134981 -2.820981)'))) / (select extract(epoch from '2026-07-08 13:54:58'::timestamp) - extract(epoch from '2026-07-08 13:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135085 -2.821081)'), GeomFromEWKT('SRID=4674;POINT (-40.134981 -2.820981)'))) / (select extract(epoch from '2026-07-08 13:54:58'::timestamp) - extract(epoch from '2026-07-08 13:54: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'), 47631, 'SRID=4674;POINT (-40.134891 -2.82091)', '2026-07-08 13:55:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134981 -2.820981)'), GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.82091)'))) / (select extract(epoch from '2026-07-08 13:55:07'::timestamp) - extract(epoch from '2026-07-08 13:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134981 -2.820981)'), GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.82091)'))) / (select extract(epoch from '2026-07-08 13:55:07'::timestamp) - extract(epoch from '2026-07-08 13:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134788 -2.820827)', '2026-07-08 13:55:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.82091)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.820827)'))) / (select extract(epoch from '2026-07-08 13:55:17'::timestamp) - extract(epoch from '2026-07-08 13:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.82091)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.820827)'))) / (select extract(epoch from '2026-07-08 13:55:17'::timestamp) - extract(epoch from '2026-07-08 13:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134677 -2.82076)', '2026-07-08 13:55:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.820827)'), GeomFromEWKT('SRID=4674;POINT (-40.134677 -2.82076)'))) / (select extract(epoch from '2026-07-08 13:55:28'::timestamp) - extract(epoch from '2026-07-08 13:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.820827)'), GeomFromEWKT('SRID=4674;POINT (-40.134677 -2.82076)'))) / (select extract(epoch from '2026-07-08 13:55:28'::timestamp) - extract(epoch from '2026-07-08 13:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134603 -2.820714)', '2026-07-08 13:55:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134677 -2.82076)'), GeomFromEWKT('SRID=4674;POINT (-40.134603 -2.820714)'))) / (select extract(epoch from '2026-07-08 13:55:35'::timestamp) - extract(epoch from '2026-07-08 13:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134677 -2.82076)'), GeomFromEWKT('SRID=4674;POINT (-40.134603 -2.820714)'))) / (select extract(epoch from '2026-07-08 13:55:35'::timestamp) - extract(epoch from '2026-07-08 13:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134507 -2.820663)', '2026-07-08 13:55:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134603 -2.820714)'), GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820663)'))) / (select extract(epoch from '2026-07-08 13:55:44'::timestamp) - extract(epoch from '2026-07-08 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134603 -2.820714)'), GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820663)'))) / (select extract(epoch from '2026-07-08 13:55:44'::timestamp) - extract(epoch from '2026-07-08 13:55: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'), 47631, 'SRID=4674;POINT (-40.13441 -2.820628)', '2026-07-08 13:55:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820663)'), GeomFromEWKT('SRID=4674;POINT (-40.13441 -2.820628)'))) / (select extract(epoch from '2026-07-08 13:55:53'::timestamp) - extract(epoch from '2026-07-08 13:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820663)'), GeomFromEWKT('SRID=4674;POINT (-40.13441 -2.820628)'))) / (select extract(epoch from '2026-07-08 13:55:53'::timestamp) - extract(epoch from '2026-07-08 13:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134313 -2.820589)', '2026-07-08 13:56:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13441 -2.820628)'), GeomFromEWKT('SRID=4674;POINT (-40.134313 -2.820589)'))) / (select extract(epoch from '2026-07-08 13:56:02'::timestamp) - extract(epoch from '2026-07-08 13:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13441 -2.820628)'), GeomFromEWKT('SRID=4674;POINT (-40.134313 -2.820589)'))) / (select extract(epoch from '2026-07-08 13:56:02'::timestamp) - extract(epoch from '2026-07-08 13:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134225 -2.820546)', '2026-07-08 13:56:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134313 -2.820589)'), GeomFromEWKT('SRID=4674;POINT (-40.134225 -2.820546)'))) / (select extract(epoch from '2026-07-08 13:56:10'::timestamp) - extract(epoch from '2026-07-08 13:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134313 -2.820589)'), GeomFromEWKT('SRID=4674;POINT (-40.134225 -2.820546)'))) / (select extract(epoch from '2026-07-08 13:56:10'::timestamp) - extract(epoch from '2026-07-08 13:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134127 -2.820516)', '2026-07-08 13:56:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134225 -2.820546)'), GeomFromEWKT('SRID=4674;POINT (-40.134127 -2.820516)'))) / (select extract(epoch from '2026-07-08 13:56:19'::timestamp) - extract(epoch from '2026-07-08 13:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134225 -2.820546)'), GeomFromEWKT('SRID=4674;POINT (-40.134127 -2.820516)'))) / (select extract(epoch from '2026-07-08 13:56:19'::timestamp) - extract(epoch from '2026-07-08 13:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134024 -2.820489)', '2026-07-08 13:56:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134127 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.820489)'))) / (select extract(epoch from '2026-07-08 13:56:28'::timestamp) - extract(epoch from '2026-07-08 13:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134127 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.820489)'))) / (select extract(epoch from '2026-07-08 13:56:28'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.133913 -2.82046)', '2026-07-08 13:56:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.820489)'), GeomFromEWKT('SRID=4674;POINT (-40.133913 -2.82046)'))) / (select extract(epoch from '2026-07-08 13:56:37'::timestamp) - extract(epoch from '2026-07-08 13:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.820489)'), GeomFromEWKT('SRID=4674;POINT (-40.133913 -2.82046)'))) / (select extract(epoch from '2026-07-08 13:56:37'::timestamp) - extract(epoch from '2026-07-08 13:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133812 -2.820405)', '2026-07-08 13:56:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133913 -2.82046)'), GeomFromEWKT('SRID=4674;POINT (-40.133812 -2.820405)'))) / (select extract(epoch from '2026-07-08 13:56:47'::timestamp) - extract(epoch from '2026-07-08 13:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133913 -2.82046)'), GeomFromEWKT('SRID=4674;POINT (-40.133812 -2.820405)'))) / (select extract(epoch from '2026-07-08 13:56:47'::timestamp) - extract(epoch from '2026-07-08 13:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133721 -2.820356)', '2026-07-08 13:56:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133812 -2.820405)'), GeomFromEWKT('SRID=4674;POINT (-40.133721 -2.820356)'))) / (select extract(epoch from '2026-07-08 13:56:56'::timestamp) - extract(epoch from '2026-07-08 13:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133812 -2.820405)'), GeomFromEWKT('SRID=4674;POINT (-40.133721 -2.820356)'))) / (select extract(epoch from '2026-07-08 13:56:56'::timestamp) - extract(epoch from '2026-07-08 13:56: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'), 47631, 'SRID=4674;POINT (-40.133635 -2.820299)', '2026-07-08 13:57:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133721 -2.820356)'), GeomFromEWKT('SRID=4674;POINT (-40.133635 -2.820299)'))) / (select extract(epoch from '2026-07-08 13:57:04'::timestamp) - extract(epoch from '2026-07-08 13:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133721 -2.820356)'), GeomFromEWKT('SRID=4674;POINT (-40.133635 -2.820299)'))) / (select extract(epoch from '2026-07-08 13:57:04'::timestamp) - extract(epoch from '2026-07-08 13:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133552 -2.82025)', '2026-07-08 13:57:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133635 -2.820299)'), GeomFromEWKT('SRID=4674;POINT (-40.133552 -2.82025)'))) / (select extract(epoch from '2026-07-08 13:57:12'::timestamp) - extract(epoch from '2026-07-08 13:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133635 -2.820299)'), GeomFromEWKT('SRID=4674;POINT (-40.133552 -2.82025)'))) / (select extract(epoch from '2026-07-08 13:57:12'::timestamp) - extract(epoch from '2026-07-08 13:57: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'), 47631, 'SRID=4674;POINT (-40.133478 -2.820232)', '2026-07-08 13:57:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133552 -2.82025)'), GeomFromEWKT('SRID=4674;POINT (-40.133478 -2.820232)'))) / (select extract(epoch from '2026-07-08 13:57:20'::timestamp) - extract(epoch from '2026-07-08 13:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133552 -2.82025)'), GeomFromEWKT('SRID=4674;POINT (-40.133478 -2.820232)'))) / (select extract(epoch from '2026-07-08 13:57:20'::timestamp) - extract(epoch from '2026-07-08 13:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133386 -2.820201)', '2026-07-08 13:57:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133478 -2.820232)'), GeomFromEWKT('SRID=4674;POINT (-40.133386 -2.820201)'))) / (select extract(epoch from '2026-07-08 13:57:29'::timestamp) - extract(epoch from '2026-07-08 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133478 -2.820232)'), GeomFromEWKT('SRID=4674;POINT (-40.133386 -2.820201)'))) / (select extract(epoch from '2026-07-08 13:57:29'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.13331 -2.82019)', '2026-07-08 13:57:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133386 -2.820201)'), GeomFromEWKT('SRID=4674;POINT (-40.13331 -2.82019)'))) / (select extract(epoch from '2026-07-08 13:57:38'::timestamp) - extract(epoch from '2026-07-08 13:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133386 -2.820201)'), GeomFromEWKT('SRID=4674;POINT (-40.13331 -2.82019)'))) / (select extract(epoch from '2026-07-08 13:57:38'::timestamp) - extract(epoch from '2026-07-08 13:57: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'), 47631, 'SRID=4674;POINT (-40.133222 -2.820168)', '2026-07-08 13:57:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13331 -2.82019)'), GeomFromEWKT('SRID=4674;POINT (-40.133222 -2.820168)'))) / (select extract(epoch from '2026-07-08 13:57:47'::timestamp) - extract(epoch from '2026-07-08 13:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13331 -2.82019)'), GeomFromEWKT('SRID=4674;POINT (-40.133222 -2.820168)'))) / (select extract(epoch from '2026-07-08 13:57:47'::timestamp) - extract(epoch from '2026-07-08 13:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133116 -2.820146)', '2026-07-08 13:57:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133222 -2.820168)'), GeomFromEWKT('SRID=4674;POINT (-40.133116 -2.820146)'))) / (select extract(epoch from '2026-07-08 13:57:57'::timestamp) - extract(epoch from '2026-07-08 13:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133222 -2.820168)'), GeomFromEWKT('SRID=4674;POINT (-40.133116 -2.820146)'))) / (select extract(epoch from '2026-07-08 13:57:57'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.133019 -2.820142)', '2026-07-08 13:58:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133116 -2.820146)'), GeomFromEWKT('SRID=4674;POINT (-40.133019 -2.820142)'))) / (select extract(epoch from '2026-07-08 13:58:05'::timestamp) - extract(epoch from '2026-07-08 13:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133116 -2.820146)'), GeomFromEWKT('SRID=4674;POINT (-40.133019 -2.820142)'))) / (select extract(epoch from '2026-07-08 13:58:05'::timestamp) - extract(epoch from '2026-07-08 13:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132914 -2.820139)', '2026-07-08 13:58:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133019 -2.820142)'), GeomFromEWKT('SRID=4674;POINT (-40.132914 -2.820139)'))) / (select extract(epoch from '2026-07-08 13:58:13'::timestamp) - extract(epoch from '2026-07-08 13:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133019 -2.820142)'), GeomFromEWKT('SRID=4674;POINT (-40.132914 -2.820139)'))) / (select extract(epoch from '2026-07-08 13:58:13'::timestamp) - extract(epoch from '2026-07-08 13:58: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'), 47631, 'SRID=4674;POINT (-40.132822 -2.820128)', '2026-07-08 13:58:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132914 -2.820139)'), GeomFromEWKT('SRID=4674;POINT (-40.132822 -2.820128)'))) / (select extract(epoch from '2026-07-08 13:58:21'::timestamp) - extract(epoch from '2026-07-08 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132914 -2.820139)'), GeomFromEWKT('SRID=4674;POINT (-40.132822 -2.820128)'))) / (select extract(epoch from '2026-07-08 13:58:21'::timestamp) - extract(epoch from '2026-07-08 13:58: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'), 47631, 'SRID=4674;POINT (-40.132717 -2.820134)', '2026-07-08 13:58:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132822 -2.820128)'), GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.820134)'))) / (select extract(epoch from '2026-07-08 13:58:30'::timestamp) - extract(epoch from '2026-07-08 13:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132822 -2.820128)'), GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.820134)'))) / (select extract(epoch from '2026-07-08 13:58:30'::timestamp) - extract(epoch from '2026-07-08 13:58: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'), 47631, 'SRID=4674;POINT (-40.132618 -2.8201)', '2026-07-08 13:58:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.820134)'), GeomFromEWKT('SRID=4674;POINT (-40.132618 -2.8201)'))) / (select extract(epoch from '2026-07-08 13:58:39'::timestamp) - extract(epoch from '2026-07-08 13:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.820134)'), GeomFromEWKT('SRID=4674;POINT (-40.132618 -2.8201)'))) / (select extract(epoch from '2026-07-08 13:58:39'::timestamp) - extract(epoch from '2026-07-08 13:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132517 -2.820049)', '2026-07-08 13:58:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132618 -2.8201)'), GeomFromEWKT('SRID=4674;POINT (-40.132517 -2.820049)'))) / (select extract(epoch from '2026-07-08 13:58:49'::timestamp) - extract(epoch from '2026-07-08 13:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132618 -2.8201)'), GeomFromEWKT('SRID=4674;POINT (-40.132517 -2.820049)'))) / (select extract(epoch from '2026-07-08 13:58:49'::timestamp) - extract(epoch from '2026-07-08 13:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132463 -2.82003)', '2026-07-08 13:58:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132517 -2.820049)'), GeomFromEWKT('SRID=4674;POINT (-40.132463 -2.82003)'))) / (select extract(epoch from '2026-07-08 13:58:56'::timestamp) - extract(epoch from '2026-07-08 13:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132517 -2.820049)'), GeomFromEWKT('SRID=4674;POINT (-40.132463 -2.82003)'))) / (select extract(epoch from '2026-07-08 13:58:56'::timestamp) - extract(epoch from '2026-07-08 13:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132385 -2.82003)', '2026-07-08 13:59:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132463 -2.82003)'), GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.82003)'))) / (select extract(epoch from '2026-07-08 13:59:04'::timestamp) - extract(epoch from '2026-07-08 13:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132463 -2.82003)'), GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.82003)'))) / (select extract(epoch from '2026-07-08 13:59:04'::timestamp) - extract(epoch from '2026-07-08 13:58: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'), 47631, 'SRID=4674;POINT (-40.132257 -2.820013)', '2026-07-08 13:59:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.82003)'), GeomFromEWKT('SRID=4674;POINT (-40.132257 -2.820013)'))) / (select extract(epoch from '2026-07-08 13:59:14'::timestamp) - extract(epoch from '2026-07-08 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.82003)'), GeomFromEWKT('SRID=4674;POINT (-40.132257 -2.820013)'))) / (select extract(epoch from '2026-07-08 13:59:14'::timestamp) - extract(epoch from '2026-07-08 13:59: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'), 47631, 'SRID=4674;POINT (-40.132164 -2.820001)', '2026-07-08 13:59:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132257 -2.820013)'), GeomFromEWKT('SRID=4674;POINT (-40.132164 -2.820001)'))) / (select extract(epoch from '2026-07-08 13:59:21'::timestamp) - extract(epoch from '2026-07-08 13:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132257 -2.820013)'), GeomFromEWKT('SRID=4674;POINT (-40.132164 -2.820001)'))) / (select extract(epoch from '2026-07-08 13:59:21'::timestamp) - extract(epoch from '2026-07-08 13:59: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'), 47631, 'SRID=4674;POINT (-40.132033 -2.81999)', '2026-07-08 13:59:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132164 -2.820001)'), GeomFromEWKT('SRID=4674;POINT (-40.132033 -2.81999)'))) / (select extract(epoch from '2026-07-08 13:59:31'::timestamp) - extract(epoch from '2026-07-08 13:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132164 -2.820001)'), GeomFromEWKT('SRID=4674;POINT (-40.132033 -2.81999)'))) / (select extract(epoch from '2026-07-08 13:59:31'::timestamp) - extract(epoch from '2026-07-08 13:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131932 -2.819976)', '2026-07-08 13:59:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132033 -2.81999)'), GeomFromEWKT('SRID=4674;POINT (-40.131932 -2.819976)'))) / (select extract(epoch from '2026-07-08 13:59:39'::timestamp) - extract(epoch from '2026-07-08 13:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132033 -2.81999)'), GeomFromEWKT('SRID=4674;POINT (-40.131932 -2.819976)'))) / (select extract(epoch from '2026-07-08 13:59:39'::timestamp) - extract(epoch from '2026-07-08 13:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131813 -2.819953)', '2026-07-08 13:59:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131932 -2.819976)'), GeomFromEWKT('SRID=4674;POINT (-40.131813 -2.819953)'))) / (select extract(epoch from '2026-07-08 13:59:48'::timestamp) - extract(epoch from '2026-07-08 13:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131932 -2.819976)'), GeomFromEWKT('SRID=4674;POINT (-40.131813 -2.819953)'))) / (select extract(epoch from '2026-07-08 13:59:48'::timestamp) - extract(epoch from '2026-07-08 13:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131692 -2.819944)', '2026-07-08 13:59:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131813 -2.819953)'), GeomFromEWKT('SRID=4674;POINT (-40.131692 -2.819944)'))) / (select extract(epoch from '2026-07-08 13:59:58'::timestamp) - extract(epoch from '2026-07-08 13:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131813 -2.819953)'), GeomFromEWKT('SRID=4674;POINT (-40.131692 -2.819944)'))) / (select extract(epoch from '2026-07-08 13:59:58'::timestamp) - extract(epoch from '2026-07-08 13: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'), 47631, 'SRID=4674;POINT (-40.131577 -2.819949)', '2026-07-08 14:00:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131692 -2.819944)'), GeomFromEWKT('SRID=4674;POINT (-40.131577 -2.819949)'))) / (select extract(epoch from '2026-07-08 14:00:07'::timestamp) - extract(epoch from '2026-07-08 13:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131692 -2.819944)'), GeomFromEWKT('SRID=4674;POINT (-40.131577 -2.819949)'))) / (select extract(epoch from '2026-07-08 14:00:07'::timestamp) - extract(epoch from '2026-07-08 13:59: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'), 47631, 'SRID=4674;POINT (-40.131469 -2.81995)', '2026-07-08 14:00:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131577 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.131469 -2.81995)'))) / (select extract(epoch from '2026-07-08 14:00:15'::timestamp) - extract(epoch from '2026-07-08 14:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131577 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.131469 -2.81995)'))) / (select extract(epoch from '2026-07-08 14:00:15'::timestamp) - extract(epoch from '2026-07-08 14:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13135 -2.819931)', '2026-07-08 14:00:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131469 -2.81995)'), GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.819931)'))) / (select extract(epoch from '2026-07-08 14:00:24'::timestamp) - extract(epoch from '2026-07-08 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131469 -2.81995)'), GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.819931)'))) / (select extract(epoch from '2026-07-08 14:00:24'::timestamp) - extract(epoch from '2026-07-08 14:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131262 -2.819904)', '2026-07-08 14:00:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.819931)'), GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.819904)'))) / (select extract(epoch from '2026-07-08 14:00:32'::timestamp) - extract(epoch from '2026-07-08 14:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.819931)'), GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.819904)'))) / (select extract(epoch from '2026-07-08 14:00:32'::timestamp) - extract(epoch from '2026-07-08 14:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131176 -2.819867)', '2026-07-08 14:00:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.819904)'), GeomFromEWKT('SRID=4674;POINT (-40.131176 -2.819867)'))) / (select extract(epoch from '2026-07-08 14:00:40'::timestamp) - extract(epoch from '2026-07-08 14:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.819904)'), GeomFromEWKT('SRID=4674;POINT (-40.131176 -2.819867)'))) / (select extract(epoch from '2026-07-08 14:00:40'::timestamp) - extract(epoch from '2026-07-08 14:00: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'), 47631, 'SRID=4674;POINT (-40.131127 -2.819842)', '2026-07-08 14:00:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131176 -2.819867)'), GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.819842)'))) / (select extract(epoch from '2026-07-08 14:00:46'::timestamp) - extract(epoch from '2026-07-08 14:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131176 -2.819867)'), GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.819842)'))) / (select extract(epoch from '2026-07-08 14:00:46'::timestamp) - extract(epoch from '2026-07-08 14:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131024 -2.819796)', '2026-07-08 14:00:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.819842)'), GeomFromEWKT('SRID=4674;POINT (-40.131024 -2.819796)'))) / (select extract(epoch from '2026-07-08 14:00:56'::timestamp) - extract(epoch from '2026-07-08 14:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.819842)'), GeomFromEWKT('SRID=4674;POINT (-40.131024 -2.819796)'))) / (select extract(epoch from '2026-07-08 14:00:56'::timestamp) - extract(epoch from '2026-07-08 14:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130933 -2.819776)', '2026-07-08 14:01:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131024 -2.819796)'), GeomFromEWKT('SRID=4674;POINT (-40.130933 -2.819776)'))) / (select extract(epoch from '2026-07-08 14:01:04'::timestamp) - extract(epoch from '2026-07-08 14:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131024 -2.819796)'), GeomFromEWKT('SRID=4674;POINT (-40.130933 -2.819776)'))) / (select extract(epoch from '2026-07-08 14:01:04'::timestamp) - extract(epoch from '2026-07-08 14:00: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'), 47631, 'SRID=4674;POINT (-40.130827 -2.819752)', '2026-07-08 14:01:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130933 -2.819776)'), GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.819752)'))) / (select extract(epoch from '2026-07-08 14:01:13'::timestamp) - extract(epoch from '2026-07-08 14:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130933 -2.819776)'), GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.819752)'))) / (select extract(epoch from '2026-07-08 14:01:13'::timestamp) - extract(epoch from '2026-07-08 14:01: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'), 47631, 'SRID=4674;POINT (-40.130725 -2.819747)', '2026-07-08 14:01:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.819752)'), GeomFromEWKT('SRID=4674;POINT (-40.130725 -2.819747)'))) / (select extract(epoch from '2026-07-08 14:01:22'::timestamp) - extract(epoch from '2026-07-08 14:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.819752)'), GeomFromEWKT('SRID=4674;POINT (-40.130725 -2.819747)'))) / (select extract(epoch from '2026-07-08 14:01:22'::timestamp) - extract(epoch from '2026-07-08 14:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13064 -2.819724)', '2026-07-08 14:01:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130725 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.13064 -2.819724)'))) / (select extract(epoch from '2026-07-08 14:01:30'::timestamp) - extract(epoch from '2026-07-08 14:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130725 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.13064 -2.819724)'))) / (select extract(epoch from '2026-07-08 14:01:30'::timestamp) - extract(epoch from '2026-07-08 14:01: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'), 47631, 'SRID=4674;POINT (-40.130553 -2.819691)', '2026-07-08 14:01:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13064 -2.819724)'), GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.819691)'))) / (select extract(epoch from '2026-07-08 14:01:38'::timestamp) - extract(epoch from '2026-07-08 14:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13064 -2.819724)'), GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.819691)'))) / (select extract(epoch from '2026-07-08 14:01:38'::timestamp) - extract(epoch from '2026-07-08 14:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130449 -2.819636)', '2026-07-08 14:01:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.819691)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.819636)'))) / (select extract(epoch from '2026-07-08 14:01:48'::timestamp) - extract(epoch from '2026-07-08 14:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.819691)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.819636)'))) / (select extract(epoch from '2026-07-08 14:01:48'::timestamp) - extract(epoch from '2026-07-08 14:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130366 -2.819597)', '2026-07-08 14:01:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.819636)'), GeomFromEWKT('SRID=4674;POINT (-40.130366 -2.819597)'))) / (select extract(epoch from '2026-07-08 14:01:56'::timestamp) - extract(epoch from '2026-07-08 14:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.819636)'), GeomFromEWKT('SRID=4674;POINT (-40.130366 -2.819597)'))) / (select extract(epoch from '2026-07-08 14:01:56'::timestamp) - extract(epoch from '2026-07-08 14:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130261 -2.81956)', '2026-07-08 14:02:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130366 -2.819597)'), GeomFromEWKT('SRID=4674;POINT (-40.130261 -2.81956)'))) / (select extract(epoch from '2026-07-08 14:02:04'::timestamp) - extract(epoch from '2026-07-08 14:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130366 -2.819597)'), GeomFromEWKT('SRID=4674;POINT (-40.130261 -2.81956)'))) / (select extract(epoch from '2026-07-08 14:02:04'::timestamp) - extract(epoch from '2026-07-08 14:01: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'), 47631, 'SRID=4674;POINT (-40.130144 -2.819535)', '2026-07-08 14:02:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130261 -2.81956)'), GeomFromEWKT('SRID=4674;POINT (-40.130144 -2.819535)'))) / (select extract(epoch from '2026-07-08 14:02:12'::timestamp) - extract(epoch from '2026-07-08 14:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130261 -2.81956)'), GeomFromEWKT('SRID=4674;POINT (-40.130144 -2.819535)'))) / (select extract(epoch from '2026-07-08 14:02:12'::timestamp) - extract(epoch from '2026-07-08 14:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130038 -2.819508)', '2026-07-08 14:02:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130144 -2.819535)'), GeomFromEWKT('SRID=4674;POINT (-40.130038 -2.819508)'))) / (select extract(epoch from '2026-07-08 14:02:21'::timestamp) - extract(epoch from '2026-07-08 14:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130144 -2.819535)'), GeomFromEWKT('SRID=4674;POINT (-40.130038 -2.819508)'))) / (select extract(epoch from '2026-07-08 14:02:21'::timestamp) - extract(epoch from '2026-07-08 14:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129939 -2.819478)', '2026-07-08 14:02:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130038 -2.819508)'), GeomFromEWKT('SRID=4674;POINT (-40.129939 -2.819478)'))) / (select extract(epoch from '2026-07-08 14:02:30'::timestamp) - extract(epoch from '2026-07-08 14:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130038 -2.819508)'), GeomFromEWKT('SRID=4674;POINT (-40.129939 -2.819478)'))) / (select extract(epoch from '2026-07-08 14:02:30'::timestamp) - extract(epoch from '2026-07-08 14:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129859 -2.819445)', '2026-07-08 14:02:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129939 -2.819478)'), GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.819445)'))) / (select extract(epoch from '2026-07-08 14:02:38'::timestamp) - extract(epoch from '2026-07-08 14:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129939 -2.819478)'), GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.819445)'))) / (select extract(epoch from '2026-07-08 14:02:38'::timestamp) - extract(epoch from '2026-07-08 14:02: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'), 47631, 'SRID=4674;POINT (-40.12981 -2.81942)', '2026-07-08 14:02:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.819445)'), GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.81942)'))) / (select extract(epoch from '2026-07-08 14:02:45'::timestamp) - extract(epoch from '2026-07-08 14:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.819445)'), GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.81942)'))) / (select extract(epoch from '2026-07-08 14:02:45'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.129732 -2.819387)', '2026-07-08 14:02:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.81942)'), GeomFromEWKT('SRID=4674;POINT (-40.129732 -2.819387)'))) / (select extract(epoch from '2026-07-08 14:02:52'::timestamp) - extract(epoch from '2026-07-08 14:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.81942)'), GeomFromEWKT('SRID=4674;POINT (-40.129732 -2.819387)'))) / (select extract(epoch from '2026-07-08 14:02:52'::timestamp) - extract(epoch from '2026-07-08 14:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129626 -2.819375)', '2026-07-08 14:03:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129732 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.129626 -2.819375)'))) / (select extract(epoch from '2026-07-08 14:03:01'::timestamp) - extract(epoch from '2026-07-08 14:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129732 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.129626 -2.819375)'))) / (select extract(epoch from '2026-07-08 14:03:01'::timestamp) - extract(epoch from '2026-07-08 14:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129545 -2.819387)', '2026-07-08 14:03:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129626 -2.819375)'), GeomFromEWKT('SRID=4674;POINT (-40.129545 -2.819387)'))) / (select extract(epoch from '2026-07-08 14:03:08'::timestamp) - extract(epoch from '2026-07-08 14:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129626 -2.819375)'), GeomFromEWKT('SRID=4674;POINT (-40.129545 -2.819387)'))) / (select extract(epoch from '2026-07-08 14:03:08'::timestamp) - extract(epoch from '2026-07-08 14:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129428 -2.819403)', '2026-07-08 14:03:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129545 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.819403)'))) / (select extract(epoch from '2026-07-08 14:03:17'::timestamp) - extract(epoch from '2026-07-08 14:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129545 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.819403)'))) / (select extract(epoch from '2026-07-08 14:03:17'::timestamp) - extract(epoch from '2026-07-08 14:03: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'), 47631, 'SRID=4674;POINT (-40.129329 -2.819407)', '2026-07-08 14:03:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.819403)'), GeomFromEWKT('SRID=4674;POINT (-40.129329 -2.819407)'))) / (select extract(epoch from '2026-07-08 14:03:25'::timestamp) - extract(epoch from '2026-07-08 14:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.819403)'), GeomFromEWKT('SRID=4674;POINT (-40.129329 -2.819407)'))) / (select extract(epoch from '2026-07-08 14:03:25'::timestamp) - extract(epoch from '2026-07-08 14:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129238 -2.819414)', '2026-07-08 14:03:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129329 -2.819407)'), GeomFromEWKT('SRID=4674;POINT (-40.129238 -2.819414)'))) / (select extract(epoch from '2026-07-08 14:03:32'::timestamp) - extract(epoch from '2026-07-08 14:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129329 -2.819407)'), GeomFromEWKT('SRID=4674;POINT (-40.129238 -2.819414)'))) / (select extract(epoch from '2026-07-08 14:03:32'::timestamp) - extract(epoch from '2026-07-08 14:03: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'), 47631, 'SRID=4674;POINT (-40.129144 -2.819416)', '2026-07-08 14:03:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129238 -2.819414)'), GeomFromEWKT('SRID=4674;POINT (-40.129144 -2.819416)'))) / (select extract(epoch from '2026-07-08 14:03:40'::timestamp) - extract(epoch from '2026-07-08 14:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129238 -2.819414)'), GeomFromEWKT('SRID=4674;POINT (-40.129144 -2.819416)'))) / (select extract(epoch from '2026-07-08 14:03:40'::timestamp) - extract(epoch from '2026-07-08 14:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129022 -2.819427)', '2026-07-08 14:03:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129144 -2.819416)'), GeomFromEWKT('SRID=4674;POINT (-40.129022 -2.819427)'))) / (select extract(epoch from '2026-07-08 14:03:49'::timestamp) - extract(epoch from '2026-07-08 14:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129144 -2.819416)'), GeomFromEWKT('SRID=4674;POINT (-40.129022 -2.819427)'))) / (select extract(epoch from '2026-07-08 14:03:49'::timestamp) - extract(epoch from '2026-07-08 14:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128949 -2.819426)', '2026-07-08 14:03:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129022 -2.819427)'), GeomFromEWKT('SRID=4674;POINT (-40.128949 -2.819426)'))) / (select extract(epoch from '2026-07-08 14:03:55'::timestamp) - extract(epoch from '2026-07-08 14:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129022 -2.819427)'), GeomFromEWKT('SRID=4674;POINT (-40.128949 -2.819426)'))) / (select extract(epoch from '2026-07-08 14:03:55'::timestamp) - extract(epoch from '2026-07-08 14:03: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'), 47631, 'SRID=4674;POINT (-40.128869 -2.819434)', '2026-07-08 14:04:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128949 -2.819426)'), GeomFromEWKT('SRID=4674;POINT (-40.128869 -2.819434)'))) / (select extract(epoch from '2026-07-08 14:04:02'::timestamp) - extract(epoch from '2026-07-08 14:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128949 -2.819426)'), GeomFromEWKT('SRID=4674;POINT (-40.128869 -2.819434)'))) / (select extract(epoch from '2026-07-08 14:04:02'::timestamp) - extract(epoch from '2026-07-08 14:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128735 -2.819456)', '2026-07-08 14:04:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128869 -2.819434)'), GeomFromEWKT('SRID=4674;POINT (-40.128735 -2.819456)'))) / (select extract(epoch from '2026-07-08 14:04:12'::timestamp) - extract(epoch from '2026-07-08 14:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128869 -2.819434)'), GeomFromEWKT('SRID=4674;POINT (-40.128735 -2.819456)'))) / (select extract(epoch from '2026-07-08 14:04:12'::timestamp) - extract(epoch from '2026-07-08 14:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128626 -2.819468)', '2026-07-08 14:04:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128735 -2.819456)'), GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.819468)'))) / (select extract(epoch from '2026-07-08 14:04:21'::timestamp) - extract(epoch from '2026-07-08 14:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128735 -2.819456)'), GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.819468)'))) / (select extract(epoch from '2026-07-08 14:04:21'::timestamp) - extract(epoch from '2026-07-08 14:04: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'), 47631, 'SRID=4674;POINT (-40.128519 -2.819462)', '2026-07-08 14:04:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.819468)'), GeomFromEWKT('SRID=4674;POINT (-40.128519 -2.819462)'))) / (select extract(epoch from '2026-07-08 14:04:30'::timestamp) - extract(epoch from '2026-07-08 14:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.819468)'), GeomFromEWKT('SRID=4674;POINT (-40.128519 -2.819462)'))) / (select extract(epoch from '2026-07-08 14:04:30'::timestamp) - extract(epoch from '2026-07-08 14:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128419 -2.819428)', '2026-07-08 14:04:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128519 -2.819462)'), GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.819428)'))) / (select extract(epoch from '2026-07-08 14:04:40'::timestamp) - extract(epoch from '2026-07-08 14:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128519 -2.819462)'), GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.819428)'))) / (select extract(epoch from '2026-07-08 14:04:40'::timestamp) - extract(epoch from '2026-07-08 14:04: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'), 47631, 'SRID=4674;POINT (-40.128303 -2.819431)', '2026-07-08 14:04:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.819428)'), GeomFromEWKT('SRID=4674;POINT (-40.128303 -2.819431)'))) / (select extract(epoch from '2026-07-08 14:04:49'::timestamp) - extract(epoch from '2026-07-08 14:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.819428)'), GeomFromEWKT('SRID=4674;POINT (-40.128303 -2.819431)'))) / (select extract(epoch from '2026-07-08 14:04:49'::timestamp) - extract(epoch from '2026-07-08 14:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.1282 -2.819452)', '2026-07-08 14:04:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128303 -2.819431)'), GeomFromEWKT('SRID=4674;POINT (-40.1282 -2.819452)'))) / (select extract(epoch from '2026-07-08 14:04:58'::timestamp) - extract(epoch from '2026-07-08 14:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128303 -2.819431)'), GeomFromEWKT('SRID=4674;POINT (-40.1282 -2.819452)'))) / (select extract(epoch from '2026-07-08 14:04:58'::timestamp) - extract(epoch from '2026-07-08 14:04: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'), 47631, 'SRID=4674;POINT (-40.128107 -2.819454)', '2026-07-08 14:05:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1282 -2.819452)'), GeomFromEWKT('SRID=4674;POINT (-40.128107 -2.819454)'))) / (select extract(epoch from '2026-07-08 14:05:07'::timestamp) - extract(epoch from '2026-07-08 14:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1282 -2.819452)'), GeomFromEWKT('SRID=4674;POINT (-40.128107 -2.819454)'))) / (select extract(epoch from '2026-07-08 14:05:07'::timestamp) - extract(epoch from '2026-07-08 14:04: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'), 47631, 'SRID=4674;POINT (-40.128009 -2.819438)', '2026-07-08 14:05:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128107 -2.819454)'), GeomFromEWKT('SRID=4674;POINT (-40.128009 -2.819438)'))) / (select extract(epoch from '2026-07-08 14:05:15'::timestamp) - extract(epoch from '2026-07-08 14:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128107 -2.819454)'), GeomFromEWKT('SRID=4674;POINT (-40.128009 -2.819438)'))) / (select extract(epoch from '2026-07-08 14:05:15'::timestamp) - extract(epoch from '2026-07-08 14:05: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'), 47631, 'SRID=4674;POINT (-40.127934 -2.819424)', '2026-07-08 14:05:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128009 -2.819438)'), GeomFromEWKT('SRID=4674;POINT (-40.127934 -2.819424)'))) / (select extract(epoch from '2026-07-08 14:05:22'::timestamp) - extract(epoch from '2026-07-08 14:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128009 -2.819438)'), GeomFromEWKT('SRID=4674;POINT (-40.127934 -2.819424)'))) / (select extract(epoch from '2026-07-08 14:05:22'::timestamp) - extract(epoch from '2026-07-08 14:05: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'), 47631, 'SRID=4674;POINT (-40.127856 -2.819398)', '2026-07-08 14:05:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127934 -2.819424)'), GeomFromEWKT('SRID=4674;POINT (-40.127856 -2.819398)'))) / (select extract(epoch from '2026-07-08 14:05:30'::timestamp) - extract(epoch from '2026-07-08 14:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127934 -2.819424)'), GeomFromEWKT('SRID=4674;POINT (-40.127856 -2.819398)'))) / (select extract(epoch from '2026-07-08 14:05:30'::timestamp) - extract(epoch from '2026-07-08 14:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12776 -2.819394)', '2026-07-08 14:05:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127856 -2.819398)'), GeomFromEWKT('SRID=4674;POINT (-40.12776 -2.819394)'))) / (select extract(epoch from '2026-07-08 14:05:39'::timestamp) - extract(epoch from '2026-07-08 14:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127856 -2.819398)'), GeomFromEWKT('SRID=4674;POINT (-40.12776 -2.819394)'))) / (select extract(epoch from '2026-07-08 14:05:39'::timestamp) - extract(epoch from '2026-07-08 14:05: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'), 47631, 'SRID=4674;POINT (-40.127715 -2.819389)', '2026-07-08 14:05:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12776 -2.819394)'), GeomFromEWKT('SRID=4674;POINT (-40.127715 -2.819389)'))) / (select extract(epoch from '2026-07-08 14:05:44'::timestamp) - extract(epoch from '2026-07-08 14:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12776 -2.819394)'), GeomFromEWKT('SRID=4674;POINT (-40.127715 -2.819389)'))) / (select extract(epoch from '2026-07-08 14:05:44'::timestamp) - extract(epoch from '2026-07-08 14:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127695 -2.819391)', '2026-07-08 14:05:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127715 -2.819389)'), GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.819391)'))) / (select extract(epoch from '2026-07-08 14:05:46'::timestamp) - extract(epoch from '2026-07-08 14:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127715 -2.819389)'), GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.819391)'))) / (select extract(epoch from '2026-07-08 14:05:46'::timestamp) - extract(epoch from '2026-07-08 14:05: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'), 47631, 'SRID=4674;POINT (-40.127619 -2.8194)', '2026-07-08 14:05:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.819391)'), GeomFromEWKT('SRID=4674;POINT (-40.127619 -2.8194)'))) / (select extract(epoch from '2026-07-08 14:05:53'::timestamp) - extract(epoch from '2026-07-08 14:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.819391)'), GeomFromEWKT('SRID=4674;POINT (-40.127619 -2.8194)'))) / (select extract(epoch from '2026-07-08 14:05:53'::timestamp) - extract(epoch from '2026-07-08 14:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127521 -2.819408)', '2026-07-08 14:06:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127619 -2.8194)'), GeomFromEWKT('SRID=4674;POINT (-40.127521 -2.819408)'))) / (select extract(epoch from '2026-07-08 14:06:02'::timestamp) - extract(epoch from '2026-07-08 14:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127619 -2.8194)'), GeomFromEWKT('SRID=4674;POINT (-40.127521 -2.819408)'))) / (select extract(epoch from '2026-07-08 14:06:02'::timestamp) - extract(epoch from '2026-07-08 14:05: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'), 47631, 'SRID=4674;POINT (-40.127419 -2.819405)', '2026-07-08 14:06:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127521 -2.819408)'), GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.819405)'))) / (select extract(epoch from '2026-07-08 14:06:10'::timestamp) - extract(epoch from '2026-07-08 14:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127521 -2.819408)'), GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.819405)'))) / (select extract(epoch from '2026-07-08 14:06:10'::timestamp) - extract(epoch from '2026-07-08 14:06: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'), 47631, 'SRID=4674;POINT (-40.127319 -2.819415)', '2026-07-08 14:06:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.819405)'), GeomFromEWKT('SRID=4674;POINT (-40.127319 -2.819415)'))) / (select extract(epoch from '2026-07-08 14:06:18'::timestamp) - extract(epoch from '2026-07-08 14:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.819405)'), GeomFromEWKT('SRID=4674;POINT (-40.127319 -2.819415)'))) / (select extract(epoch from '2026-07-08 14:06:18'::timestamp) - extract(epoch from '2026-07-08 14:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127259 -2.819436)', '2026-07-08 14:06:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127319 -2.819415)'), GeomFromEWKT('SRID=4674;POINT (-40.127259 -2.819436)'))) / (select extract(epoch from '2026-07-08 14:06:25'::timestamp) - extract(epoch from '2026-07-08 14:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127319 -2.819415)'), GeomFromEWKT('SRID=4674;POINT (-40.127259 -2.819436)'))) / (select extract(epoch from '2026-07-08 14:06:25'::timestamp) - extract(epoch from '2026-07-08 14:06: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'), 47631, 'SRID=4674;POINT (-40.12718 -2.819432)', '2026-07-08 14:06:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127259 -2.819436)'), GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.819432)'))) / (select extract(epoch from '2026-07-08 14:06:33'::timestamp) - extract(epoch from '2026-07-08 14:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127259 -2.819436)'), GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.819432)'))) / (select extract(epoch from '2026-07-08 14:06:33'::timestamp) - extract(epoch from '2026-07-08 14:06: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'), 47631, 'SRID=4674;POINT (-40.127095 -2.81941)', '2026-07-08 14:06:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.819432)'), GeomFromEWKT('SRID=4674;POINT (-40.127095 -2.81941)'))) / (select extract(epoch from '2026-07-08 14:06:41'::timestamp) - extract(epoch from '2026-07-08 14:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.819432)'), GeomFromEWKT('SRID=4674;POINT (-40.127095 -2.81941)'))) / (select extract(epoch from '2026-07-08 14:06:41'::timestamp) - extract(epoch from '2026-07-08 14:06: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'), 47631, 'SRID=4674;POINT (-40.127002 -2.819377)', '2026-07-08 14:06:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127095 -2.81941)'), GeomFromEWKT('SRID=4674;POINT (-40.127002 -2.819377)'))) / (select extract(epoch from '2026-07-08 14:06:49'::timestamp) - extract(epoch from '2026-07-08 14:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127095 -2.81941)'), GeomFromEWKT('SRID=4674;POINT (-40.127002 -2.819377)'))) / (select extract(epoch from '2026-07-08 14:06:49'::timestamp) - extract(epoch from '2026-07-08 14:06: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'), 47631, 'SRID=4674;POINT (-40.126911 -2.819342)', '2026-07-08 14:06:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127002 -2.819377)'), GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.819342)'))) / (select extract(epoch from '2026-07-08 14:06:57'::timestamp) - extract(epoch from '2026-07-08 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127002 -2.819377)'), GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.819342)'))) / (select extract(epoch from '2026-07-08 14:06:57'::timestamp) - extract(epoch from '2026-07-08 14:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126817 -2.819326)', '2026-07-08 14:07:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.819342)'), GeomFromEWKT('SRID=4674;POINT (-40.126817 -2.819326)'))) / (select extract(epoch from '2026-07-08 14:07:06'::timestamp) - extract(epoch from '2026-07-08 14:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.819342)'), GeomFromEWKT('SRID=4674;POINT (-40.126817 -2.819326)'))) / (select extract(epoch from '2026-07-08 14:07:06'::timestamp) - extract(epoch from '2026-07-08 14:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126671 -2.819331)', '2026-07-08 14:07:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126817 -2.819326)'), GeomFromEWKT('SRID=4674;POINT (-40.126671 -2.819331)'))) / (select extract(epoch from '2026-07-08 14:07:17'::timestamp) - extract(epoch from '2026-07-08 14:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126817 -2.819326)'), GeomFromEWKT('SRID=4674;POINT (-40.126671 -2.819331)'))) / (select extract(epoch from '2026-07-08 14:07:17'::timestamp) - extract(epoch from '2026-07-08 14:07: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'), 47631, 'SRID=4674;POINT (-40.126551 -2.819322)', '2026-07-08 14:07:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126671 -2.819331)'), GeomFromEWKT('SRID=4674;POINT (-40.126551 -2.819322)'))) / (select extract(epoch from '2026-07-08 14:07:28'::timestamp) - extract(epoch from '2026-07-08 14:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126671 -2.819331)'), GeomFromEWKT('SRID=4674;POINT (-40.126551 -2.819322)'))) / (select extract(epoch from '2026-07-08 14:07:28'::timestamp) - extract(epoch from '2026-07-08 14:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126433 -2.819295)', '2026-07-08 14:07:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126551 -2.819322)'), GeomFromEWKT('SRID=4674;POINT (-40.126433 -2.819295)'))) / (select extract(epoch from '2026-07-08 14:07:38'::timestamp) - extract(epoch from '2026-07-08 14:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126551 -2.819322)'), GeomFromEWKT('SRID=4674;POINT (-40.126433 -2.819295)'))) / (select extract(epoch from '2026-07-08 14:07:38'::timestamp) - extract(epoch from '2026-07-08 14:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126315 -2.819273)', '2026-07-08 14:07:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126433 -2.819295)'), GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.819273)'))) / (select extract(epoch from '2026-07-08 14:07:48'::timestamp) - extract(epoch from '2026-07-08 14:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126433 -2.819295)'), GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.819273)'))) / (select extract(epoch from '2026-07-08 14:07:48'::timestamp) - extract(epoch from '2026-07-08 14:07: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'), 47631, 'SRID=4674;POINT (-40.126192 -2.819242)', '2026-07-08 14:07:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.126192 -2.819242)'))) / (select extract(epoch from '2026-07-08 14:07:58'::timestamp) - extract(epoch from '2026-07-08 14:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.126192 -2.819242)'))) / (select extract(epoch from '2026-07-08 14:07:58'::timestamp) - extract(epoch from '2026-07-08 14:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126075 -2.819217)', '2026-07-08 14:08:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126192 -2.819242)'), GeomFromEWKT('SRID=4674;POINT (-40.126075 -2.819217)'))) / (select extract(epoch from '2026-07-08 14:08:08'::timestamp) - extract(epoch from '2026-07-08 14:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126192 -2.819242)'), GeomFromEWKT('SRID=4674;POINT (-40.126075 -2.819217)'))) / (select extract(epoch from '2026-07-08 14:08:08'::timestamp) - extract(epoch from '2026-07-08 14:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125959 -2.819205)', '2026-07-08 14:08:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126075 -2.819217)'), GeomFromEWKT('SRID=4674;POINT (-40.125959 -2.819205)'))) / (select extract(epoch from '2026-07-08 14:08:17'::timestamp) - extract(epoch from '2026-07-08 14:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126075 -2.819217)'), GeomFromEWKT('SRID=4674;POINT (-40.125959 -2.819205)'))) / (select extract(epoch from '2026-07-08 14:08:17'::timestamp) - extract(epoch from '2026-07-08 14:08: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'), 47631, 'SRID=4674;POINT (-40.125873 -2.819186)', '2026-07-08 14:08:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125959 -2.819205)'), GeomFromEWKT('SRID=4674;POINT (-40.125873 -2.819186)'))) / (select extract(epoch from '2026-07-08 14:08:26'::timestamp) - extract(epoch from '2026-07-08 14:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125959 -2.819205)'), GeomFromEWKT('SRID=4674;POINT (-40.125873 -2.819186)'))) / (select extract(epoch from '2026-07-08 14:08:26'::timestamp) - extract(epoch from '2026-07-08 14:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125781 -2.819177)', '2026-07-08 14:08:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125873 -2.819186)'), GeomFromEWKT('SRID=4674;POINT (-40.125781 -2.819177)'))) / (select extract(epoch from '2026-07-08 14:08:34'::timestamp) - extract(epoch from '2026-07-08 14:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125873 -2.819186)'), GeomFromEWKT('SRID=4674;POINT (-40.125781 -2.819177)'))) / (select extract(epoch from '2026-07-08 14:08:34'::timestamp) - extract(epoch from '2026-07-08 14:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125657 -2.819199)', '2026-07-08 14:08:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125781 -2.819177)'), GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.819199)'))) / (select extract(epoch from '2026-07-08 14:08:44'::timestamp) - extract(epoch from '2026-07-08 14:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125781 -2.819177)'), GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.819199)'))) / (select extract(epoch from '2026-07-08 14:08:44'::timestamp) - extract(epoch from '2026-07-08 14:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125576 -2.819207)', '2026-07-08 14:08:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.819199)'), GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819207)'))) / (select extract(epoch from '2026-07-08 14:08:51'::timestamp) - extract(epoch from '2026-07-08 14:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.819199)'), GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819207)'))) / (select extract(epoch from '2026-07-08 14:08:51'::timestamp) - extract(epoch from '2026-07-08 14:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125472 -2.819216)', '2026-07-08 14:08:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819207)'), GeomFromEWKT('SRID=4674;POINT (-40.125472 -2.819216)'))) / (select extract(epoch from '2026-07-08 14:08:59'::timestamp) - extract(epoch from '2026-07-08 14:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819207)'), GeomFromEWKT('SRID=4674;POINT (-40.125472 -2.819216)'))) / (select extract(epoch from '2026-07-08 14:08:59'::timestamp) - extract(epoch from '2026-07-08 14:08: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'), 47631, 'SRID=4674;POINT (-40.125342 -2.819208)', '2026-07-08 14:09:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125472 -2.819216)'), GeomFromEWKT('SRID=4674;POINT (-40.125342 -2.819208)'))) / (select extract(epoch from '2026-07-08 14:09:09'::timestamp) - extract(epoch from '2026-07-08 14:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125472 -2.819216)'), GeomFromEWKT('SRID=4674;POINT (-40.125342 -2.819208)'))) / (select extract(epoch from '2026-07-08 14:09:09'::timestamp) - extract(epoch from '2026-07-08 14:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125208 -2.819176)', '2026-07-08 14:09:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125342 -2.819208)'), GeomFromEWKT('SRID=4674;POINT (-40.125208 -2.819176)'))) / (select extract(epoch from '2026-07-08 14:09:20'::timestamp) - extract(epoch from '2026-07-08 14:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125342 -2.819208)'), GeomFromEWKT('SRID=4674;POINT (-40.125208 -2.819176)'))) / (select extract(epoch from '2026-07-08 14:09:20'::timestamp) - extract(epoch from '2026-07-08 14:09: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'), 47631, 'SRID=4674;POINT (-40.125117 -2.819165)', '2026-07-08 14:09:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125208 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.125117 -2.819165)'))) / (select extract(epoch from '2026-07-08 14:09:27'::timestamp) - extract(epoch from '2026-07-08 14:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125208 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.125117 -2.819165)'))) / (select extract(epoch from '2026-07-08 14:09:27'::timestamp) - extract(epoch from '2026-07-08 14:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125013 -2.819167)', '2026-07-08 14:09:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125117 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.125013 -2.819167)'))) / (select extract(epoch from '2026-07-08 14:09:35'::timestamp) - extract(epoch from '2026-07-08 14:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125117 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.125013 -2.819167)'))) / (select extract(epoch from '2026-07-08 14:09:35'::timestamp) - extract(epoch from '2026-07-08 14:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124919 -2.819172)', '2026-07-08 14:09:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125013 -2.819167)'), GeomFromEWKT('SRID=4674;POINT (-40.124919 -2.819172)'))) / (select extract(epoch from '2026-07-08 14:09:42'::timestamp) - extract(epoch from '2026-07-08 14:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125013 -2.819167)'), GeomFromEWKT('SRID=4674;POINT (-40.124919 -2.819172)'))) / (select extract(epoch from '2026-07-08 14:09:42'::timestamp) - extract(epoch from '2026-07-08 14:09: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'), 47631, 'SRID=4674;POINT (-40.124817 -2.819192)', '2026-07-08 14:09:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124919 -2.819172)'), GeomFromEWKT('SRID=4674;POINT (-40.124817 -2.819192)'))) / (select extract(epoch from '2026-07-08 14:09:51'::timestamp) - extract(epoch from '2026-07-08 14:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124919 -2.819172)'), GeomFromEWKT('SRID=4674;POINT (-40.124817 -2.819192)'))) / (select extract(epoch from '2026-07-08 14:09:51'::timestamp) - extract(epoch from '2026-07-08 14:09: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'), 47631, 'SRID=4674;POINT (-40.1247 -2.819198)', '2026-07-08 14:10:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124817 -2.819192)'), GeomFromEWKT('SRID=4674;POINT (-40.1247 -2.819198)'))) / (select extract(epoch from '2026-07-08 14:10:00'::timestamp) - extract(epoch from '2026-07-08 14:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124817 -2.819192)'), GeomFromEWKT('SRID=4674;POINT (-40.1247 -2.819198)'))) / (select extract(epoch from '2026-07-08 14:10:00'::timestamp) - extract(epoch from '2026-07-08 14:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124573 -2.819191)', '2026-07-08 14:10:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1247 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.124573 -2.819191)'))) / (select extract(epoch from '2026-07-08 14:10:08'::timestamp) - extract(epoch from '2026-07-08 14:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1247 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.124573 -2.819191)'))) / (select extract(epoch from '2026-07-08 14:10:08'::timestamp) - extract(epoch from '2026-07-08 14:10: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'), 47631, 'SRID=4674;POINT (-40.124467 -2.819205)', '2026-07-08 14:10:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124573 -2.819191)'), GeomFromEWKT('SRID=4674;POINT (-40.124467 -2.819205)'))) / (select extract(epoch from '2026-07-08 14:10:17'::timestamp) - extract(epoch from '2026-07-08 14:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124573 -2.819191)'), GeomFromEWKT('SRID=4674;POINT (-40.124467 -2.819205)'))) / (select extract(epoch from '2026-07-08 14:10:17'::timestamp) - extract(epoch from '2026-07-08 14:10: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'), 47631, 'SRID=4674;POINT (-40.124382 -2.819202)', '2026-07-08 14:10:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124467 -2.819205)'), GeomFromEWKT('SRID=4674;POINT (-40.124382 -2.819202)'))) / (select extract(epoch from '2026-07-08 14:10:25'::timestamp) - extract(epoch from '2026-07-08 14:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124467 -2.819205)'), GeomFromEWKT('SRID=4674;POINT (-40.124382 -2.819202)'))) / (select extract(epoch from '2026-07-08 14:10:25'::timestamp) - extract(epoch from '2026-07-08 14:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124277 -2.819209)', '2026-07-08 14:10:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124382 -2.819202)'), GeomFromEWKT('SRID=4674;POINT (-40.124277 -2.819209)'))) / (select extract(epoch from '2026-07-08 14:10:34'::timestamp) - extract(epoch from '2026-07-08 14:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124382 -2.819202)'), GeomFromEWKT('SRID=4674;POINT (-40.124277 -2.819209)'))) / (select extract(epoch from '2026-07-08 14:10:34'::timestamp) - extract(epoch from '2026-07-08 14:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124174 -2.819214)', '2026-07-08 14:10:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124277 -2.819209)'), GeomFromEWKT('SRID=4674;POINT (-40.124174 -2.819214)'))) / (select extract(epoch from '2026-07-08 14:10:44'::timestamp) - extract(epoch from '2026-07-08 14:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124277 -2.819209)'), GeomFromEWKT('SRID=4674;POINT (-40.124174 -2.819214)'))) / (select extract(epoch from '2026-07-08 14:10:44'::timestamp) - extract(epoch from '2026-07-08 14:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124074 -2.819213)', '2026-07-08 14:10:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124174 -2.819214)'), GeomFromEWKT('SRID=4674;POINT (-40.124074 -2.819213)'))) / (select extract(epoch from '2026-07-08 14:10:52'::timestamp) - extract(epoch from '2026-07-08 14:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124174 -2.819214)'), GeomFromEWKT('SRID=4674;POINT (-40.124074 -2.819213)'))) / (select extract(epoch from '2026-07-08 14:10:52'::timestamp) - extract(epoch from '2026-07-08 14:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123977 -2.819227)', '2026-07-08 14:11:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124074 -2.819213)'), GeomFromEWKT('SRID=4674;POINT (-40.123977 -2.819227)'))) / (select extract(epoch from '2026-07-08 14:11:00'::timestamp) - extract(epoch from '2026-07-08 14:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124074 -2.819213)'), GeomFromEWKT('SRID=4674;POINT (-40.123977 -2.819227)'))) / (select extract(epoch from '2026-07-08 14:11:00'::timestamp) - extract(epoch from '2026-07-08 14:10: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'), 47631, 'SRID=4674;POINT (-40.123884 -2.81922)', '2026-07-08 14:11:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123977 -2.819227)'), GeomFromEWKT('SRID=4674;POINT (-40.123884 -2.81922)'))) / (select extract(epoch from '2026-07-08 14:11:08'::timestamp) - extract(epoch from '2026-07-08 14:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123977 -2.819227)'), GeomFromEWKT('SRID=4674;POINT (-40.123884 -2.81922)'))) / (select extract(epoch from '2026-07-08 14:11:08'::timestamp) - extract(epoch from '2026-07-08 14:11: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'), 47631, 'SRID=4674;POINT (-40.12378 -2.81923)', '2026-07-08 14:11:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123884 -2.81922)'), GeomFromEWKT('SRID=4674;POINT (-40.12378 -2.81923)'))) / (select extract(epoch from '2026-07-08 14:11:16'::timestamp) - extract(epoch from '2026-07-08 14:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123884 -2.81922)'), GeomFromEWKT('SRID=4674;POINT (-40.12378 -2.81923)'))) / (select extract(epoch from '2026-07-08 14:11:16'::timestamp) - extract(epoch from '2026-07-08 14:11: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'), 47631, 'SRID=4674;POINT (-40.123684 -2.819239)', '2026-07-08 14:11:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12378 -2.81923)'), GeomFromEWKT('SRID=4674;POINT (-40.123684 -2.819239)'))) / (select extract(epoch from '2026-07-08 14:11:23'::timestamp) - extract(epoch from '2026-07-08 14:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12378 -2.81923)'), GeomFromEWKT('SRID=4674;POINT (-40.123684 -2.819239)'))) / (select extract(epoch from '2026-07-08 14:11:23'::timestamp) - extract(epoch from '2026-07-08 14:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123606 -2.819258)', '2026-07-08 14:11:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123684 -2.819239)'), GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.819258)'))) / (select extract(epoch from '2026-07-08 14:11:30'::timestamp) - extract(epoch from '2026-07-08 14:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123684 -2.819239)'), GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.819258)'))) / (select extract(epoch from '2026-07-08 14:11:30'::timestamp) - extract(epoch from '2026-07-08 14:11: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'), 47631, 'SRID=4674;POINT (-40.123505 -2.819268)', '2026-07-08 14:11:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.819258)'), GeomFromEWKT('SRID=4674;POINT (-40.123505 -2.819268)'))) / (select extract(epoch from '2026-07-08 14:11:38'::timestamp) - extract(epoch from '2026-07-08 14:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.819258)'), GeomFromEWKT('SRID=4674;POINT (-40.123505 -2.819268)'))) / (select extract(epoch from '2026-07-08 14:11:38'::timestamp) - extract(epoch from '2026-07-08 14:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123394 -2.819273)', '2026-07-08 14:11:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123505 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.819273)'))) / (select extract(epoch from '2026-07-08 14:11:46'::timestamp) - extract(epoch from '2026-07-08 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123505 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.819273)'))) / (select extract(epoch from '2026-07-08 14:11:46'::timestamp) - extract(epoch from '2026-07-08 14:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123285 -2.819279)', '2026-07-08 14:11:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.123285 -2.819279)'))) / (select extract(epoch from '2026-07-08 14:11:55'::timestamp) - extract(epoch from '2026-07-08 14:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.123285 -2.819279)'))) / (select extract(epoch from '2026-07-08 14:11:55'::timestamp) - extract(epoch from '2026-07-08 14:11: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'), 47631, 'SRID=4674;POINT (-40.123167 -2.819269)', '2026-07-08 14:12:06', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123285 -2.819279)'), GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.819269)'))) / (select extract(epoch from '2026-07-08 14:12:06'::timestamp) - extract(epoch from '2026-07-08 14:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123285 -2.819279)'), GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.819269)'))) / (select extract(epoch from '2026-07-08 14:12:06'::timestamp) - extract(epoch from '2026-07-08 14:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123082 -2.81928)', '2026-07-08 14:12:14', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.819269)'), GeomFromEWKT('SRID=4674;POINT (-40.123082 -2.81928)'))) / (select extract(epoch from '2026-07-08 14:12:14'::timestamp) - extract(epoch from '2026-07-08 14:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.819269)'), GeomFromEWKT('SRID=4674;POINT (-40.123082 -2.81928)'))) / (select extract(epoch from '2026-07-08 14:12:14'::timestamp) - extract(epoch from '2026-07-08 14:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122969 -2.819305)', '2026-07-08 14:12:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123082 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.122969 -2.819305)'))) / (select extract(epoch from '2026-07-08 14:12:24'::timestamp) - extract(epoch from '2026-07-08 14:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123082 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.122969 -2.819305)'))) / (select extract(epoch from '2026-07-08 14:12:24'::timestamp) - extract(epoch from '2026-07-08 14:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122869 -2.81935)', '2026-07-08 14:12:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122969 -2.819305)'), GeomFromEWKT('SRID=4674;POINT (-40.122869 -2.81935)'))) / (select extract(epoch from '2026-07-08 14:12:34'::timestamp) - extract(epoch from '2026-07-08 14:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122969 -2.819305)'), GeomFromEWKT('SRID=4674;POINT (-40.122869 -2.81935)'))) / (select extract(epoch from '2026-07-08 14:12:34'::timestamp) - extract(epoch from '2026-07-08 14:12: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'), 47631, 'SRID=4674;POINT (-40.122775 -2.81938)', '2026-07-08 14:12:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122869 -2.81935)'), GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.81938)'))) / (select extract(epoch from '2026-07-08 14:12:42'::timestamp) - extract(epoch from '2026-07-08 14:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122869 -2.81935)'), GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.81938)'))) / (select extract(epoch from '2026-07-08 14:12:42'::timestamp) - extract(epoch from '2026-07-08 14:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122683 -2.819383)', '2026-07-08 14:12:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.81938)'), GeomFromEWKT('SRID=4674;POINT (-40.122683 -2.819383)'))) / (select extract(epoch from '2026-07-08 14:12:49'::timestamp) - extract(epoch from '2026-07-08 14:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.81938)'), GeomFromEWKT('SRID=4674;POINT (-40.122683 -2.819383)'))) / (select extract(epoch from '2026-07-08 14:12:49'::timestamp) - extract(epoch from '2026-07-08 14:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122547 -2.819358)', '2026-07-08 14:12:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122683 -2.819383)'), GeomFromEWKT('SRID=4674;POINT (-40.122547 -2.819358)'))) / (select extract(epoch from '2026-07-08 14:12:59'::timestamp) - extract(epoch from '2026-07-08 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122683 -2.819383)'), GeomFromEWKT('SRID=4674;POINT (-40.122547 -2.819358)'))) / (select extract(epoch from '2026-07-08 14:12:59'::timestamp) - extract(epoch from '2026-07-08 14:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122435 -2.819309)', '2026-07-08 14:13:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122547 -2.819358)'), GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.819309)'))) / (select extract(epoch from '2026-07-08 14:13:07'::timestamp) - extract(epoch from '2026-07-08 14:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122547 -2.819358)'), GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.819309)'))) / (select extract(epoch from '2026-07-08 14:13:07'::timestamp) - extract(epoch from '2026-07-08 14:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122342 -2.819275)', '2026-07-08 14:13:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.819309)'), GeomFromEWKT('SRID=4674;POINT (-40.122342 -2.819275)'))) / (select extract(epoch from '2026-07-08 14:13:16'::timestamp) - extract(epoch from '2026-07-08 14:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.819309)'), GeomFromEWKT('SRID=4674;POINT (-40.122342 -2.819275)'))) / (select extract(epoch from '2026-07-08 14:13:16'::timestamp) - extract(epoch from '2026-07-08 14:13: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'), 47631, 'SRID=4674;POINT (-40.122236 -2.819265)', '2026-07-08 14:13:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122342 -2.819275)'), GeomFromEWKT('SRID=4674;POINT (-40.122236 -2.819265)'))) / (select extract(epoch from '2026-07-08 14:13:24'::timestamp) - extract(epoch from '2026-07-08 14:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122342 -2.819275)'), GeomFromEWKT('SRID=4674;POINT (-40.122236 -2.819265)'))) / (select extract(epoch from '2026-07-08 14:13:24'::timestamp) - extract(epoch from '2026-07-08 14:13: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'), 47631, 'SRID=4674;POINT (-40.122091 -2.819305)', '2026-07-08 14:13:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122236 -2.819265)'), GeomFromEWKT('SRID=4674;POINT (-40.122091 -2.819305)'))) / (select extract(epoch from '2026-07-08 14:13:35'::timestamp) - extract(epoch from '2026-07-08 14:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122236 -2.819265)'), GeomFromEWKT('SRID=4674;POINT (-40.122091 -2.819305)'))) / (select extract(epoch from '2026-07-08 14:13:35'::timestamp) - extract(epoch from '2026-07-08 14:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121992 -2.819333)', '2026-07-08 14:13:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122091 -2.819305)'), GeomFromEWKT('SRID=4674;POINT (-40.121992 -2.819333)'))) / (select extract(epoch from '2026-07-08 14:13:43'::timestamp) - extract(epoch from '2026-07-08 14:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122091 -2.819305)'), GeomFromEWKT('SRID=4674;POINT (-40.121992 -2.819333)'))) / (select extract(epoch from '2026-07-08 14:13:43'::timestamp) - extract(epoch from '2026-07-08 14:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121893 -2.819356)', '2026-07-08 14:13:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121992 -2.819333)'), GeomFromEWKT('SRID=4674;POINT (-40.121893 -2.819356)'))) / (select extract(epoch from '2026-07-08 14:13:52'::timestamp) - extract(epoch from '2026-07-08 14:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121992 -2.819333)'), GeomFromEWKT('SRID=4674;POINT (-40.121893 -2.819356)'))) / (select extract(epoch from '2026-07-08 14:13:52'::timestamp) - extract(epoch from '2026-07-08 14:13: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'), 47631, 'SRID=4674;POINT (-40.121777 -2.819361)', '2026-07-08 14:14:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121893 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.121777 -2.819361)'))) / (select extract(epoch from '2026-07-08 14:14:02'::timestamp) - extract(epoch from '2026-07-08 14:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121893 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.121777 -2.819361)'))) / (select extract(epoch from '2026-07-08 14:14:02'::timestamp) - extract(epoch from '2026-07-08 14:13: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'), 47631, 'SRID=4674;POINT (-40.121687 -2.81935)', '2026-07-08 14:14:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121777 -2.819361)'), GeomFromEWKT('SRID=4674;POINT (-40.121687 -2.81935)'))) / (select extract(epoch from '2026-07-08 14:14:10'::timestamp) - extract(epoch from '2026-07-08 14:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121777 -2.819361)'), GeomFromEWKT('SRID=4674;POINT (-40.121687 -2.81935)'))) / (select extract(epoch from '2026-07-08 14:14:10'::timestamp) - extract(epoch from '2026-07-08 14:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121654 -2.819335)', '2026-07-08 14:14:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121687 -2.81935)'), GeomFromEWKT('SRID=4674;POINT (-40.121654 -2.819335)'))) / (select extract(epoch from '2026-07-08 14:14:14'::timestamp) - extract(epoch from '2026-07-08 14:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121687 -2.81935)'), GeomFromEWKT('SRID=4674;POINT (-40.121654 -2.819335)'))) / (select extract(epoch from '2026-07-08 14:14:14'::timestamp) - extract(epoch from '2026-07-08 14:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121648 -2.81933)', '2026-07-08 14:14:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121654 -2.819335)'), GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.81933)'))) / (select extract(epoch from '2026-07-08 14:14:17'::timestamp) - extract(epoch from '2026-07-08 14:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121654 -2.819335)'), GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.81933)'))) / (select extract(epoch from '2026-07-08 14:14:17'::timestamp) - extract(epoch from '2026-07-08 14:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121725 -2.819302)', '2026-07-08 14:14:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.81933)'), GeomFromEWKT('SRID=4674;POINT (-40.121725 -2.819302)'))) / (select extract(epoch from '2026-07-08 14:14:38'::timestamp) - extract(epoch from '2026-07-08 14:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.81933)'), GeomFromEWKT('SRID=4674;POINT (-40.121725 -2.819302)'))) / (select extract(epoch from '2026-07-08 14:14:38'::timestamp) - extract(epoch from '2026-07-08 14:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121823 -2.819312)', '2026-07-08 14:14:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121725 -2.819302)'), GeomFromEWKT('SRID=4674;POINT (-40.121823 -2.819312)'))) / (select extract(epoch from '2026-07-08 14:14:52'::timestamp) - extract(epoch from '2026-07-08 14:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121725 -2.819302)'), GeomFromEWKT('SRID=4674;POINT (-40.121823 -2.819312)'))) / (select extract(epoch from '2026-07-08 14:14:52'::timestamp) - extract(epoch from '2026-07-08 14:14: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'), 47631, 'SRID=4674;POINT (-40.121909 -2.819334)', '2026-07-08 14:15:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121823 -2.819312)'), GeomFromEWKT('SRID=4674;POINT (-40.121909 -2.819334)'))) / (select extract(epoch from '2026-07-08 14:15:09'::timestamp) - extract(epoch from '2026-07-08 14:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121823 -2.819312)'), GeomFromEWKT('SRID=4674;POINT (-40.121909 -2.819334)'))) / (select extract(epoch from '2026-07-08 14:15:09'::timestamp) - extract(epoch from '2026-07-08 14:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121991 -2.819348)', '2026-07-08 14:15:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121909 -2.819334)'), GeomFromEWKT('SRID=4674;POINT (-40.121991 -2.819348)'))) / (select extract(epoch from '2026-07-08 14:15:25'::timestamp) - extract(epoch from '2026-07-08 14:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121909 -2.819334)'), GeomFromEWKT('SRID=4674;POINT (-40.121991 -2.819348)'))) / (select extract(epoch from '2026-07-08 14:15:25'::timestamp) - extract(epoch from '2026-07-08 14:15: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'), 47631, 'SRID=4674;POINT (-40.12207 -2.819369)', '2026-07-08 14:15:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121991 -2.819348)'), GeomFromEWKT('SRID=4674;POINT (-40.12207 -2.819369)'))) / (select extract(epoch from '2026-07-08 14:15:41'::timestamp) - extract(epoch from '2026-07-08 14:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121991 -2.819348)'), GeomFromEWKT('SRID=4674;POINT (-40.12207 -2.819369)'))) / (select extract(epoch from '2026-07-08 14:15:41'::timestamp) - extract(epoch from '2026-07-08 14:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122183 -2.819393)', '2026-07-08 14:16:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12207 -2.819369)'), GeomFromEWKT('SRID=4674;POINT (-40.122183 -2.819393)'))) / (select extract(epoch from '2026-07-08 14:16:00'::timestamp) - extract(epoch from '2026-07-08 14:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12207 -2.819369)'), GeomFromEWKT('SRID=4674;POINT (-40.122183 -2.819393)'))) / (select extract(epoch from '2026-07-08 14:16:00'::timestamp) - extract(epoch from '2026-07-08 14:15: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'), 47631, 'SRID=4674;POINT (-40.122263 -2.81942)', '2026-07-08 14:16:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122183 -2.819393)'), GeomFromEWKT('SRID=4674;POINT (-40.122263 -2.81942)'))) / (select extract(epoch from '2026-07-08 14:16:18'::timestamp) - extract(epoch from '2026-07-08 14:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122183 -2.819393)'), GeomFromEWKT('SRID=4674;POINT (-40.122263 -2.81942)'))) / (select extract(epoch from '2026-07-08 14:16:18'::timestamp) - extract(epoch from '2026-07-08 14:16: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'), 47631, 'SRID=4674;POINT (-40.122349 -2.819443)', '2026-07-08 14:16:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122263 -2.81942)'), GeomFromEWKT('SRID=4674;POINT (-40.122349 -2.819443)'))) / (select extract(epoch from '2026-07-08 14:16:37'::timestamp) - extract(epoch from '2026-07-08 14:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122263 -2.81942)'), GeomFromEWKT('SRID=4674;POINT (-40.122349 -2.819443)'))) / (select extract(epoch from '2026-07-08 14:16:37'::timestamp) - extract(epoch from '2026-07-08 14:16: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'), 47631, 'SRID=4674;POINT (-40.122434 -2.819482)', '2026-07-08 14:16:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122349 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.122434 -2.819482)'))) / (select extract(epoch from '2026-07-08 14:16:54'::timestamp) - extract(epoch from '2026-07-08 14:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122349 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.122434 -2.819482)'))) / (select extract(epoch from '2026-07-08 14:16:54'::timestamp) - extract(epoch from '2026-07-08 14:16: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'), 47631, 'SRID=4674;POINT (-40.122503 -2.819514)', '2026-07-08 14:17:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122434 -2.819482)'), GeomFromEWKT('SRID=4674;POINT (-40.122503 -2.819514)'))) / (select extract(epoch from '2026-07-08 14:17:10'::timestamp) - extract(epoch from '2026-07-08 14:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122434 -2.819482)'), GeomFromEWKT('SRID=4674;POINT (-40.122503 -2.819514)'))) / (select extract(epoch from '2026-07-08 14:17:10'::timestamp) - extract(epoch from '2026-07-08 14:16: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'), 47631, 'SRID=4674;POINT (-40.122587 -2.81955)', '2026-07-08 14:17:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122503 -2.819514)'), GeomFromEWKT('SRID=4674;POINT (-40.122587 -2.81955)'))) / (select extract(epoch from '2026-07-08 14:17:26'::timestamp) - extract(epoch from '2026-07-08 14:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122503 -2.819514)'), GeomFromEWKT('SRID=4674;POINT (-40.122587 -2.81955)'))) / (select extract(epoch from '2026-07-08 14:17:26'::timestamp) - extract(epoch from '2026-07-08 14:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122682 -2.819578)', '2026-07-08 14:17:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122587 -2.81955)'), GeomFromEWKT('SRID=4674;POINT (-40.122682 -2.819578)'))) / (select extract(epoch from '2026-07-08 14:17:43'::timestamp) - extract(epoch from '2026-07-08 14:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122587 -2.81955)'), GeomFromEWKT('SRID=4674;POINT (-40.122682 -2.819578)'))) / (select extract(epoch from '2026-07-08 14:17:43'::timestamp) - extract(epoch from '2026-07-08 14:17: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'), 47631, 'SRID=4674;POINT (-40.122752 -2.819609)', '2026-07-08 14:17:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122682 -2.819578)'), GeomFromEWKT('SRID=4674;POINT (-40.122752 -2.819609)'))) / (select extract(epoch from '2026-07-08 14:17:58'::timestamp) - extract(epoch from '2026-07-08 14:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122682 -2.819578)'), GeomFromEWKT('SRID=4674;POINT (-40.122752 -2.819609)'))) / (select extract(epoch from '2026-07-08 14:17:58'::timestamp) - extract(epoch from '2026-07-08 14:17: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'), 47631, 'SRID=4674;POINT (-40.122824 -2.819667)', '2026-07-08 14:18:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122752 -2.819609)'), GeomFromEWKT('SRID=4674;POINT (-40.122824 -2.819667)'))) / (select extract(epoch from '2026-07-08 14:18:14'::timestamp) - extract(epoch from '2026-07-08 14:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122752 -2.819609)'), GeomFromEWKT('SRID=4674;POINT (-40.122824 -2.819667)'))) / (select extract(epoch from '2026-07-08 14:18:14'::timestamp) - extract(epoch from '2026-07-08 14:17: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'), 47631, 'SRID=4674;POINT (-40.12291 -2.819706)', '2026-07-08 14:18:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122824 -2.819667)'), GeomFromEWKT('SRID=4674;POINT (-40.12291 -2.819706)'))) / (select extract(epoch from '2026-07-08 14:18:31'::timestamp) - extract(epoch from '2026-07-08 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122824 -2.819667)'), GeomFromEWKT('SRID=4674;POINT (-40.12291 -2.819706)'))) / (select extract(epoch from '2026-07-08 14:18:31'::timestamp) - extract(epoch from '2026-07-08 14:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
