 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.486367 -2.786932)', '2026-07-09 11:54:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486254 -2.786982)'), GeomFromEWKT('SRID=4674;POINT (-40.486367 -2.786932)'))) / (select extract(epoch from '2026-07-09 11:54:01'::timestamp) - extract(epoch from '2026-07-09 11:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486254 -2.786982)'), GeomFromEWKT('SRID=4674;POINT (-40.486367 -2.786932)'))) / (select extract(epoch from '2026-07-09 11:54:01'::timestamp) - extract(epoch from '2026-07-09 11:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.486497 -2.786872)', '2026-07-09 11:54:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486367 -2.786932)'), GeomFromEWKT('SRID=4674;POINT (-40.486497 -2.786872)'))) / (select extract(epoch from '2026-07-09 11:54:07'::timestamp) - extract(epoch from '2026-07-09 11:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486367 -2.786932)'), GeomFromEWKT('SRID=4674;POINT (-40.486497 -2.786872)'))) / (select extract(epoch from '2026-07-09 11:54:07'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.486641 -2.7868)', '2026-07-09 11:54:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486497 -2.786872)'), GeomFromEWKT('SRID=4674;POINT (-40.486641 -2.7868)'))) / (select extract(epoch from '2026-07-09 11:54:14'::timestamp) - extract(epoch from '2026-07-09 11:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486497 -2.786872)'), GeomFromEWKT('SRID=4674;POINT (-40.486641 -2.7868)'))) / (select extract(epoch from '2026-07-09 11:54:14'::timestamp) - extract(epoch from '2026-07-09 11:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.486736 -2.786752)', '2026-07-09 11:54:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486641 -2.7868)'), GeomFromEWKT('SRID=4674;POINT (-40.486736 -2.786752)'))) / (select extract(epoch from '2026-07-09 11:54:19'::timestamp) - extract(epoch from '2026-07-09 11:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486641 -2.7868)'), GeomFromEWKT('SRID=4674;POINT (-40.486736 -2.786752)'))) / (select extract(epoch from '2026-07-09 11:54:19'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.486854 -2.786691)', '2026-07-09 11:54:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486736 -2.786752)'), GeomFromEWKT('SRID=4674;POINT (-40.486854 -2.786691)'))) / (select extract(epoch from '2026-07-09 11:54:25'::timestamp) - extract(epoch from '2026-07-09 11:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486736 -2.786752)'), GeomFromEWKT('SRID=4674;POINT (-40.486854 -2.786691)'))) / (select extract(epoch from '2026-07-09 11:54:25'::timestamp) - extract(epoch from '2026-07-09 11:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.486902 -2.786678)', '2026-07-09 11:54:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486854 -2.786691)'), GeomFromEWKT('SRID=4674;POINT (-40.486902 -2.786678)'))) / (select extract(epoch from '2026-07-09 11:54:27'::timestamp) - extract(epoch from '2026-07-09 11:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486854 -2.786691)'), GeomFromEWKT('SRID=4674;POINT (-40.486902 -2.786678)'))) / (select extract(epoch from '2026-07-09 11:54:27'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.486958 -2.786643)', '2026-07-09 11:54:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486902 -2.786678)'), GeomFromEWKT('SRID=4674;POINT (-40.486958 -2.786643)'))) / (select extract(epoch from '2026-07-09 11:54:30'::timestamp) - extract(epoch from '2026-07-09 11:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486902 -2.786678)'), GeomFromEWKT('SRID=4674;POINT (-40.486958 -2.786643)'))) / (select extract(epoch from '2026-07-09 11:54:30'::timestamp) - extract(epoch from '2026-07-09 11:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.487034 -2.786607)', '2026-07-09 11:54:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486958 -2.786643)'), GeomFromEWKT('SRID=4674;POINT (-40.487034 -2.786607)'))) / (select extract(epoch from '2026-07-09 11:54:33'::timestamp) - extract(epoch from '2026-07-09 11:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486958 -2.786643)'), GeomFromEWKT('SRID=4674;POINT (-40.487034 -2.786607)'))) / (select extract(epoch from '2026-07-09 11:54:33'::timestamp) - extract(epoch from '2026-07-09 11:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.487062 -2.786582)', '2026-07-09 11:54:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487034 -2.786607)'), GeomFromEWKT('SRID=4674;POINT (-40.487062 -2.786582)'))) / (select extract(epoch from '2026-07-09 11:54:35'::timestamp) - extract(epoch from '2026-07-09 11:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487034 -2.786607)'), GeomFromEWKT('SRID=4674;POINT (-40.487062 -2.786582)'))) / (select extract(epoch from '2026-07-09 11:54:35'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.487115 -2.78656)', '2026-07-09 11:54:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487062 -2.786582)'), GeomFromEWKT('SRID=4674;POINT (-40.487115 -2.78656)'))) / (select extract(epoch from '2026-07-09 11:54:37'::timestamp) - extract(epoch from '2026-07-09 11:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487062 -2.786582)'), GeomFromEWKT('SRID=4674;POINT (-40.487115 -2.78656)'))) / (select extract(epoch from '2026-07-09 11:54:37'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.487134 -2.78654)', '2026-07-09 11:54:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487115 -2.78656)'), GeomFromEWKT('SRID=4674;POINT (-40.487134 -2.78654)'))) / (select extract(epoch from '2026-07-09 11:54:38'::timestamp) - extract(epoch from '2026-07-09 11:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487115 -2.78656)'), GeomFromEWKT('SRID=4674;POINT (-40.487134 -2.78654)'))) / (select extract(epoch from '2026-07-09 11:54:38'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.487164 -2.78651)', '2026-07-09 11:54:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487134 -2.78654)'), GeomFromEWKT('SRID=4674;POINT (-40.487164 -2.78651)'))) / (select extract(epoch from '2026-07-09 11:54:40'::timestamp) - extract(epoch from '2026-07-09 11:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487134 -2.78654)'), GeomFromEWKT('SRID=4674;POINT (-40.487164 -2.78651)'))) / (select extract(epoch from '2026-07-09 11:54:40'::timestamp) - extract(epoch from '2026-07-09 11:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.487207 -2.786487)', '2026-07-09 11:54:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487164 -2.78651)'), GeomFromEWKT('SRID=4674;POINT (-40.487207 -2.786487)'))) / (select extract(epoch from '2026-07-09 11:54:42'::timestamp) - extract(epoch from '2026-07-09 11:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487164 -2.78651)'), GeomFromEWKT('SRID=4674;POINT (-40.487207 -2.786487)'))) / (select extract(epoch from '2026-07-09 11:54:42'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.487292 -2.786425)', '2026-07-09 11:54:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487207 -2.786487)'), GeomFromEWKT('SRID=4674;POINT (-40.487292 -2.786425)'))) / (select extract(epoch from '2026-07-09 11:54:47'::timestamp) - extract(epoch from '2026-07-09 11:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487207 -2.786487)'), GeomFromEWKT('SRID=4674;POINT (-40.487292 -2.786425)'))) / (select extract(epoch from '2026-07-09 11:54:47'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.487394 -2.786389)', '2026-07-09 11:54:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487292 -2.786425)'), GeomFromEWKT('SRID=4674;POINT (-40.487394 -2.786389)'))) / (select extract(epoch from '2026-07-09 11:54:52'::timestamp) - extract(epoch from '2026-07-09 11:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487292 -2.786425)'), GeomFromEWKT('SRID=4674;POINT (-40.487394 -2.786389)'))) / (select extract(epoch from '2026-07-09 11:54:52'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.487523 -2.786343)', '2026-07-09 11:54:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487394 -2.786389)'), GeomFromEWKT('SRID=4674;POINT (-40.487523 -2.786343)'))) / (select extract(epoch from '2026-07-09 11:54:58'::timestamp) - extract(epoch from '2026-07-09 11:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487394 -2.786389)'), GeomFromEWKT('SRID=4674;POINT (-40.487523 -2.786343)'))) / (select extract(epoch from '2026-07-09 11:54:58'::timestamp) - extract(epoch from '2026-07-09 11:54: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'), 47642, 'SRID=4674;POINT (-40.487633 -2.786316)', '2026-07-09 11:55:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487523 -2.786343)'), GeomFromEWKT('SRID=4674;POINT (-40.487633 -2.786316)'))) / (select extract(epoch from '2026-07-09 11:55:03'::timestamp) - extract(epoch from '2026-07-09 11:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487523 -2.786343)'), GeomFromEWKT('SRID=4674;POINT (-40.487633 -2.786316)'))) / (select extract(epoch from '2026-07-09 11:55:03'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.487741 -2.786285)', '2026-07-09 11:55:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487633 -2.786316)'), GeomFromEWKT('SRID=4674;POINT (-40.487741 -2.786285)'))) / (select extract(epoch from '2026-07-09 11:55:08'::timestamp) - extract(epoch from '2026-07-09 11:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487633 -2.786316)'), GeomFromEWKT('SRID=4674;POINT (-40.487741 -2.786285)'))) / (select extract(epoch from '2026-07-09 11:55:08'::timestamp) - extract(epoch from '2026-07-09 11:55: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'), 47642, 'SRID=4674;POINT (-40.487852 -2.786255)', '2026-07-09 11:55:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487741 -2.786285)'), GeomFromEWKT('SRID=4674;POINT (-40.487852 -2.786255)'))) / (select extract(epoch from '2026-07-09 11:55:13'::timestamp) - extract(epoch from '2026-07-09 11:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487741 -2.786285)'), GeomFromEWKT('SRID=4674;POINT (-40.487852 -2.786255)'))) / (select extract(epoch from '2026-07-09 11:55:13'::timestamp) - extract(epoch from '2026-07-09 11:55: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'), 47642, 'SRID=4674;POINT (-40.487969 -2.786224)', '2026-07-09 11:55:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487852 -2.786255)'), GeomFromEWKT('SRID=4674;POINT (-40.487969 -2.786224)'))) / (select extract(epoch from '2026-07-09 11:55:18'::timestamp) - extract(epoch from '2026-07-09 11:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487852 -2.786255)'), GeomFromEWKT('SRID=4674;POINT (-40.487969 -2.786224)'))) / (select extract(epoch from '2026-07-09 11:55:18'::timestamp) - extract(epoch from '2026-07-09 11:55: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'), 47642, 'SRID=4674;POINT (-40.488143 -2.786178)', '2026-07-09 11:55:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487969 -2.786224)'), GeomFromEWKT('SRID=4674;POINT (-40.488143 -2.786178)'))) / (select extract(epoch from '2026-07-09 11:55:26'::timestamp) - extract(epoch from '2026-07-09 11:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487969 -2.786224)'), GeomFromEWKT('SRID=4674;POINT (-40.488143 -2.786178)'))) / (select extract(epoch from '2026-07-09 11:55:26'::timestamp) - extract(epoch from '2026-07-09 11:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.488275 -2.78614)', '2026-07-09 11:55:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488143 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.488275 -2.78614)'))) / (select extract(epoch from '2026-07-09 11:55:32'::timestamp) - extract(epoch from '2026-07-09 11:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488143 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.488275 -2.78614)'))) / (select extract(epoch from '2026-07-09 11:55:32'::timestamp) - extract(epoch from '2026-07-09 11:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.488409 -2.786101)', '2026-07-09 11:55:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488275 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.488409 -2.786101)'))) / (select extract(epoch from '2026-07-09 11:55:38'::timestamp) - extract(epoch from '2026-07-09 11:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488275 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.488409 -2.786101)'))) / (select extract(epoch from '2026-07-09 11:55:38'::timestamp) - extract(epoch from '2026-07-09 11:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.488546 -2.786053)', '2026-07-09 11:55:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488409 -2.786101)'), GeomFromEWKT('SRID=4674;POINT (-40.488546 -2.786053)'))) / (select extract(epoch from '2026-07-09 11:55:44'::timestamp) - extract(epoch from '2026-07-09 11:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488409 -2.786101)'), GeomFromEWKT('SRID=4674;POINT (-40.488546 -2.786053)'))) / (select extract(epoch from '2026-07-09 11:55:44'::timestamp) - extract(epoch from '2026-07-09 11:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.488661 -2.786013)', '2026-07-09 11:55:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488546 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.488661 -2.786013)'))) / (select extract(epoch from '2026-07-09 11:55:49'::timestamp) - extract(epoch from '2026-07-09 11:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488546 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.488661 -2.786013)'))) / (select extract(epoch from '2026-07-09 11:55:49'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.488785 -2.785969)', '2026-07-09 11:55:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488661 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.488785 -2.785969)'))) / (select extract(epoch from '2026-07-09 11:55:55'::timestamp) - extract(epoch from '2026-07-09 11:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488661 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.488785 -2.785969)'))) / (select extract(epoch from '2026-07-09 11:55:55'::timestamp) - extract(epoch from '2026-07-09 11:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.488895 -2.78594)', '2026-07-09 11:56:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488785 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.488895 -2.78594)'))) / (select extract(epoch from '2026-07-09 11:56:00'::timestamp) - extract(epoch from '2026-07-09 11:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488785 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.488895 -2.78594)'))) / (select extract(epoch from '2026-07-09 11:56:00'::timestamp) - extract(epoch from '2026-07-09 11:55: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'), 47642, 'SRID=4674;POINT (-40.489008 -2.785908)', '2026-07-09 11:56:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488895 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.489008 -2.785908)'))) / (select extract(epoch from '2026-07-09 11:56:05'::timestamp) - extract(epoch from '2026-07-09 11:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488895 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.489008 -2.785908)'))) / (select extract(epoch from '2026-07-09 11:56:05'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489153 -2.785874)', '2026-07-09 11:56:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489008 -2.785908)'), GeomFromEWKT('SRID=4674;POINT (-40.489153 -2.785874)'))) / (select extract(epoch from '2026-07-09 11:56:12'::timestamp) - extract(epoch from '2026-07-09 11:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489008 -2.785908)'), GeomFromEWKT('SRID=4674;POINT (-40.489153 -2.785874)'))) / (select extract(epoch from '2026-07-09 11:56:12'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489259 -2.785851)', '2026-07-09 11:56:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489153 -2.785874)'), GeomFromEWKT('SRID=4674;POINT (-40.489259 -2.785851)'))) / (select extract(epoch from '2026-07-09 11:56:17'::timestamp) - extract(epoch from '2026-07-09 11:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489153 -2.785874)'), GeomFromEWKT('SRID=4674;POINT (-40.489259 -2.785851)'))) / (select extract(epoch from '2026-07-09 11:56:17'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489368 -2.785829)', '2026-07-09 11:56:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489259 -2.785851)'), GeomFromEWKT('SRID=4674;POINT (-40.489368 -2.785829)'))) / (select extract(epoch from '2026-07-09 11:56:22'::timestamp) - extract(epoch from '2026-07-09 11:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489259 -2.785851)'), GeomFromEWKT('SRID=4674;POINT (-40.489368 -2.785829)'))) / (select extract(epoch from '2026-07-09 11:56:22'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489479 -2.785805)', '2026-07-09 11:56:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489368 -2.785829)'), GeomFromEWKT('SRID=4674;POINT (-40.489479 -2.785805)'))) / (select extract(epoch from '2026-07-09 11:56:27'::timestamp) - extract(epoch from '2026-07-09 11:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489368 -2.785829)'), GeomFromEWKT('SRID=4674;POINT (-40.489479 -2.785805)'))) / (select extract(epoch from '2026-07-09 11:56:27'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.489585 -2.785774)', '2026-07-09 11:56:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489479 -2.785805)'), GeomFromEWKT('SRID=4674;POINT (-40.489585 -2.785774)'))) / (select extract(epoch from '2026-07-09 11:56:32'::timestamp) - extract(epoch from '2026-07-09 11:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489479 -2.785805)'), GeomFromEWKT('SRID=4674;POINT (-40.489585 -2.785774)'))) / (select extract(epoch from '2026-07-09 11:56:32'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489754 -2.785727)', '2026-07-09 11:56:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489585 -2.785774)'), GeomFromEWKT('SRID=4674;POINT (-40.489754 -2.785727)'))) / (select extract(epoch from '2026-07-09 11:56:39'::timestamp) - extract(epoch from '2026-07-09 11:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489585 -2.785774)'), GeomFromEWKT('SRID=4674;POINT (-40.489754 -2.785727)'))) / (select extract(epoch from '2026-07-09 11:56:39'::timestamp) - extract(epoch from '2026-07-09 11:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.489841 -2.785689)', '2026-07-09 11:56:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489754 -2.785727)'), GeomFromEWKT('SRID=4674;POINT (-40.489841 -2.785689)'))) / (select extract(epoch from '2026-07-09 11:56:43'::timestamp) - extract(epoch from '2026-07-09 11:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489754 -2.785727)'), GeomFromEWKT('SRID=4674;POINT (-40.489841 -2.785689)'))) / (select extract(epoch from '2026-07-09 11:56:43'::timestamp) - extract(epoch from '2026-07-09 11:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.489899 -2.785682)', '2026-07-09 11:56:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489841 -2.785689)'), GeomFromEWKT('SRID=4674;POINT (-40.489899 -2.785682)'))) / (select extract(epoch from '2026-07-09 11:56:45'::timestamp) - extract(epoch from '2026-07-09 11:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489841 -2.785689)'), GeomFromEWKT('SRID=4674;POINT (-40.489899 -2.785682)'))) / (select extract(epoch from '2026-07-09 11:56:45'::timestamp) - extract(epoch from '2026-07-09 11:56: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'), 47642, 'SRID=4674;POINT (-40.489935 -2.785657)', '2026-07-09 11:56:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489899 -2.785682)'), GeomFromEWKT('SRID=4674;POINT (-40.489935 -2.785657)'))) / (select extract(epoch from '2026-07-09 11:56:47'::timestamp) - extract(epoch from '2026-07-09 11:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489899 -2.785682)'), GeomFromEWKT('SRID=4674;POINT (-40.489935 -2.785657)'))) / (select extract(epoch from '2026-07-09 11:56:47'::timestamp) - extract(epoch from '2026-07-09 11:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.490045 -2.785609)', '2026-07-09 11:56:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489935 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.490045 -2.785609)'))) / (select extract(epoch from '2026-07-09 11:56:52'::timestamp) - extract(epoch from '2026-07-09 11:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489935 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.490045 -2.785609)'))) / (select extract(epoch from '2026-07-09 11:56:52'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.490109 -2.785583)', '2026-07-09 11:56:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490045 -2.785609)'), GeomFromEWKT('SRID=4674;POINT (-40.490109 -2.785583)'))) / (select extract(epoch from '2026-07-09 11:56:55'::timestamp) - extract(epoch from '2026-07-09 11:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490045 -2.785609)'), GeomFromEWKT('SRID=4674;POINT (-40.490109 -2.785583)'))) / (select extract(epoch from '2026-07-09 11:56:55'::timestamp) - extract(epoch from '2026-07-09 11:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.490128 -2.785571)', '2026-07-09 11:56:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490109 -2.785583)'), GeomFromEWKT('SRID=4674;POINT (-40.490128 -2.785571)'))) / (select extract(epoch from '2026-07-09 11:56:56'::timestamp) - extract(epoch from '2026-07-09 11:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490109 -2.785583)'), GeomFromEWKT('SRID=4674;POINT (-40.490128 -2.785571)'))) / (select extract(epoch from '2026-07-09 11:56:56'::timestamp) - extract(epoch from '2026-07-09 11:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.49025 -2.78551)', '2026-07-09 11:57:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490128 -2.785571)'), GeomFromEWKT('SRID=4674;POINT (-40.49025 -2.78551)'))) / (select extract(epoch from '2026-07-09 11:57:02'::timestamp) - extract(epoch from '2026-07-09 11:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490128 -2.785571)'), GeomFromEWKT('SRID=4674;POINT (-40.49025 -2.78551)'))) / (select extract(epoch from '2026-07-09 11:57:02'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.490364 -2.78546)', '2026-07-09 11:57:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49025 -2.78551)'), GeomFromEWKT('SRID=4674;POINT (-40.490364 -2.78546)'))) / (select extract(epoch from '2026-07-09 11:57:08'::timestamp) - extract(epoch from '2026-07-09 11:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49025 -2.78551)'), GeomFromEWKT('SRID=4674;POINT (-40.490364 -2.78546)'))) / (select extract(epoch from '2026-07-09 11:57:08'::timestamp) - extract(epoch from '2026-07-09 11:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.490464 -2.785424)', '2026-07-09 11:57:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490364 -2.78546)'), GeomFromEWKT('SRID=4674;POINT (-40.490464 -2.785424)'))) / (select extract(epoch from '2026-07-09 11:57:13'::timestamp) - extract(epoch from '2026-07-09 11:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490364 -2.78546)'), GeomFromEWKT('SRID=4674;POINT (-40.490464 -2.785424)'))) / (select extract(epoch from '2026-07-09 11:57:13'::timestamp) - extract(epoch from '2026-07-09 11:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.490601 -2.785372)', '2026-07-09 11:57:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490464 -2.785424)'), GeomFromEWKT('SRID=4674;POINT (-40.490601 -2.785372)'))) / (select extract(epoch from '2026-07-09 11:57:20'::timestamp) - extract(epoch from '2026-07-09 11:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490464 -2.785424)'), GeomFromEWKT('SRID=4674;POINT (-40.490601 -2.785372)'))) / (select extract(epoch from '2026-07-09 11:57:20'::timestamp) - extract(epoch from '2026-07-09 11:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.490735 -2.785326)', '2026-07-09 11:57:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490601 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.490735 -2.785326)'))) / (select extract(epoch from '2026-07-09 11:57:27'::timestamp) - extract(epoch from '2026-07-09 11:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490601 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.490735 -2.785326)'))) / (select extract(epoch from '2026-07-09 11:57:27'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.490872 -2.785284)', '2026-07-09 11:57:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490735 -2.785326)'), GeomFromEWKT('SRID=4674;POINT (-40.490872 -2.785284)'))) / (select extract(epoch from '2026-07-09 11:57:34'::timestamp) - extract(epoch from '2026-07-09 11:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490735 -2.785326)'), GeomFromEWKT('SRID=4674;POINT (-40.490872 -2.785284)'))) / (select extract(epoch from '2026-07-09 11:57:34'::timestamp) - extract(epoch from '2026-07-09 11:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.491009 -2.785248)', '2026-07-09 11:57:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490872 -2.785284)'), GeomFromEWKT('SRID=4674;POINT (-40.491009 -2.785248)'))) / (select extract(epoch from '2026-07-09 11:57:41'::timestamp) - extract(epoch from '2026-07-09 11:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490872 -2.785284)'), GeomFromEWKT('SRID=4674;POINT (-40.491009 -2.785248)'))) / (select extract(epoch from '2026-07-09 11:57:41'::timestamp) - extract(epoch from '2026-07-09 11:57: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'), 47642, 'SRID=4674;POINT (-40.491136 -2.785224)', '2026-07-09 11:57:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491009 -2.785248)'), GeomFromEWKT('SRID=4674;POINT (-40.491136 -2.785224)'))) / (select extract(epoch from '2026-07-09 11:57:48'::timestamp) - extract(epoch from '2026-07-09 11:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491009 -2.785248)'), GeomFromEWKT('SRID=4674;POINT (-40.491136 -2.785224)'))) / (select extract(epoch from '2026-07-09 11:57:48'::timestamp) - extract(epoch from '2026-07-09 11:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.491258 -2.785203)', '2026-07-09 11:57:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491136 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-40.491258 -2.785203)'))) / (select extract(epoch from '2026-07-09 11:57:54'::timestamp) - extract(epoch from '2026-07-09 11:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491136 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-40.491258 -2.785203)'))) / (select extract(epoch from '2026-07-09 11:57:54'::timestamp) - extract(epoch from '2026-07-09 11:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.491392 -2.785171)', '2026-07-09 11:58:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491258 -2.785203)'), GeomFromEWKT('SRID=4674;POINT (-40.491392 -2.785171)'))) / (select extract(epoch from '2026-07-09 11:58:00'::timestamp) - extract(epoch from '2026-07-09 11:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491258 -2.785203)'), GeomFromEWKT('SRID=4674;POINT (-40.491392 -2.785171)'))) / (select extract(epoch from '2026-07-09 11:58:00'::timestamp) - extract(epoch from '2026-07-09 11:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.491498 -2.785145)', '2026-07-09 11:58:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491392 -2.785171)'), GeomFromEWKT('SRID=4674;POINT (-40.491498 -2.785145)'))) / (select extract(epoch from '2026-07-09 11:58:05'::timestamp) - extract(epoch from '2026-07-09 11:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491392 -2.785171)'), GeomFromEWKT('SRID=4674;POINT (-40.491498 -2.785145)'))) / (select extract(epoch from '2026-07-09 11:58:05'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.491604 -2.785115)', '2026-07-09 11:58:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491498 -2.785145)'), GeomFromEWKT('SRID=4674;POINT (-40.491604 -2.785115)'))) / (select extract(epoch from '2026-07-09 11:58:10'::timestamp) - extract(epoch from '2026-07-09 11:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491498 -2.785145)'), GeomFromEWKT('SRID=4674;POINT (-40.491604 -2.785115)'))) / (select extract(epoch from '2026-07-09 11:58:10'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.491757 -2.785073)', '2026-07-09 11:58:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491604 -2.785115)'), GeomFromEWKT('SRID=4674;POINT (-40.491757 -2.785073)'))) / (select extract(epoch from '2026-07-09 11:58:17'::timestamp) - extract(epoch from '2026-07-09 11:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491604 -2.785115)'), GeomFromEWKT('SRID=4674;POINT (-40.491757 -2.785073)'))) / (select extract(epoch from '2026-07-09 11:58:17'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.491864 -2.785035)', '2026-07-09 11:58:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491757 -2.785073)'), GeomFromEWKT('SRID=4674;POINT (-40.491864 -2.785035)'))) / (select extract(epoch from '2026-07-09 11:58:22'::timestamp) - extract(epoch from '2026-07-09 11:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491757 -2.785073)'), GeomFromEWKT('SRID=4674;POINT (-40.491864 -2.785035)'))) / (select extract(epoch from '2026-07-09 11:58:22'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.491991 -2.784979)', '2026-07-09 11:58:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491864 -2.785035)'), GeomFromEWKT('SRID=4674;POINT (-40.491991 -2.784979)'))) / (select extract(epoch from '2026-07-09 11:58:28'::timestamp) - extract(epoch from '2026-07-09 11:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491864 -2.785035)'), GeomFromEWKT('SRID=4674;POINT (-40.491991 -2.784979)'))) / (select extract(epoch from '2026-07-09 11:58:28'::timestamp) - extract(epoch from '2026-07-09 11:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.492138 -2.784918)', '2026-07-09 11:58:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491991 -2.784979)'), GeomFromEWKT('SRID=4674;POINT (-40.492138 -2.784918)'))) / (select extract(epoch from '2026-07-09 11:58:35'::timestamp) - extract(epoch from '2026-07-09 11:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491991 -2.784979)'), GeomFromEWKT('SRID=4674;POINT (-40.492138 -2.784918)'))) / (select extract(epoch from '2026-07-09 11:58:35'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.492239 -2.784864)', '2026-07-09 11:58:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492138 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-40.492239 -2.784864)'))) / (select extract(epoch from '2026-07-09 11:58:40'::timestamp) - extract(epoch from '2026-07-09 11:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492138 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-40.492239 -2.784864)'))) / (select extract(epoch from '2026-07-09 11:58:40'::timestamp) - extract(epoch from '2026-07-09 11:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.492372 -2.784815)', '2026-07-09 11:58:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492239 -2.784864)'), GeomFromEWKT('SRID=4674;POINT (-40.492372 -2.784815)'))) / (select extract(epoch from '2026-07-09 11:58:46'::timestamp) - extract(epoch from '2026-07-09 11:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492239 -2.784864)'), GeomFromEWKT('SRID=4674;POINT (-40.492372 -2.784815)'))) / (select extract(epoch from '2026-07-09 11:58:46'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.49248 -2.784783)', '2026-07-09 11:58:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492372 -2.784815)'), GeomFromEWKT('SRID=4674;POINT (-40.49248 -2.784783)'))) / (select extract(epoch from '2026-07-09 11:58:51'::timestamp) - extract(epoch from '2026-07-09 11:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492372 -2.784815)'), GeomFromEWKT('SRID=4674;POINT (-40.49248 -2.784783)'))) / (select extract(epoch from '2026-07-09 11:58:51'::timestamp) - extract(epoch from '2026-07-09 11:58: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'), 47642, 'SRID=4674;POINT (-40.492612 -2.784746)', '2026-07-09 11:58:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49248 -2.784783)'), GeomFromEWKT('SRID=4674;POINT (-40.492612 -2.784746)'))) / (select extract(epoch from '2026-07-09 11:58:57'::timestamp) - extract(epoch from '2026-07-09 11:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49248 -2.784783)'), GeomFromEWKT('SRID=4674;POINT (-40.492612 -2.784746)'))) / (select extract(epoch from '2026-07-09 11:58:57'::timestamp) - extract(epoch from '2026-07-09 11:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.492723 -2.784722)', '2026-07-09 11:59:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492612 -2.784746)'), GeomFromEWKT('SRID=4674;POINT (-40.492723 -2.784722)'))) / (select extract(epoch from '2026-07-09 11:59:02'::timestamp) - extract(epoch from '2026-07-09 11:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492612 -2.784746)'), GeomFromEWKT('SRID=4674;POINT (-40.492723 -2.784722)'))) / (select extract(epoch from '2026-07-09 11:59:02'::timestamp) - extract(epoch from '2026-07-09 11:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.492869 -2.784671)', '2026-07-09 11:59:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492723 -2.784722)'), GeomFromEWKT('SRID=4674;POINT (-40.492869 -2.784671)'))) / (select extract(epoch from '2026-07-09 11:59:09'::timestamp) - extract(epoch from '2026-07-09 11:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492723 -2.784722)'), GeomFromEWKT('SRID=4674;POINT (-40.492869 -2.784671)'))) / (select extract(epoch from '2026-07-09 11:59:09'::timestamp) - extract(epoch from '2026-07-09 11:59: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'), 47642, 'SRID=4674;POINT (-40.492954 -2.784651)', '2026-07-09 11:59:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492869 -2.784671)'), GeomFromEWKT('SRID=4674;POINT (-40.492954 -2.784651)'))) / (select extract(epoch from '2026-07-09 11:59:13'::timestamp) - extract(epoch from '2026-07-09 11:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492869 -2.784671)'), GeomFromEWKT('SRID=4674;POINT (-40.492954 -2.784651)'))) / (select extract(epoch from '2026-07-09 11:59:13'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.493081 -2.784622)', '2026-07-09 11:59:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492954 -2.784651)'), GeomFromEWKT('SRID=4674;POINT (-40.493081 -2.784622)'))) / (select extract(epoch from '2026-07-09 11:59:20'::timestamp) - extract(epoch from '2026-07-09 11:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.492954 -2.784651)'), GeomFromEWKT('SRID=4674;POINT (-40.493081 -2.784622)'))) / (select extract(epoch from '2026-07-09 11:59:20'::timestamp) - extract(epoch from '2026-07-09 11:59:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.493171 -2.784607)', '2026-07-09 11:59:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493081 -2.784622)'), GeomFromEWKT('SRID=4674;POINT (-40.493171 -2.784607)'))) / (select extract(epoch from '2026-07-09 11:59:25'::timestamp) - extract(epoch from '2026-07-09 11:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493081 -2.784622)'), GeomFromEWKT('SRID=4674;POINT (-40.493171 -2.784607)'))) / (select extract(epoch from '2026-07-09 11:59:25'::timestamp) - extract(epoch from '2026-07-09 11:59: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'), 47642, 'SRID=4674;POINT (-40.493267 -2.784583)', '2026-07-09 11:59:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493171 -2.784607)'), GeomFromEWKT('SRID=4674;POINT (-40.493267 -2.784583)'))) / (select extract(epoch from '2026-07-09 11:59:30'::timestamp) - extract(epoch from '2026-07-09 11:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493171 -2.784607)'), GeomFromEWKT('SRID=4674;POINT (-40.493267 -2.784583)'))) / (select extract(epoch from '2026-07-09 11:59:30'::timestamp) - extract(epoch from '2026-07-09 11:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.493374 -2.784568)', '2026-07-09 11:59:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493267 -2.784583)'), GeomFromEWKT('SRID=4674;POINT (-40.493374 -2.784568)'))) / (select extract(epoch from '2026-07-09 11:59:35'::timestamp) - extract(epoch from '2026-07-09 11:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493267 -2.784583)'), GeomFromEWKT('SRID=4674;POINT (-40.493374 -2.784568)'))) / (select extract(epoch from '2026-07-09 11:59:35'::timestamp) - extract(epoch from '2026-07-09 11:59: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'), 47642, 'SRID=4674;POINT (-40.493401 -2.784562)', '2026-07-09 11:59:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493374 -2.784568)'), GeomFromEWKT('SRID=4674;POINT (-40.493401 -2.784562)'))) / (select extract(epoch from '2026-07-09 11:59:36'::timestamp) - extract(epoch from '2026-07-09 11:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493374 -2.784568)'), GeomFromEWKT('SRID=4674;POINT (-40.493401 -2.784562)'))) / (select extract(epoch from '2026-07-09 11:59:36'::timestamp) - extract(epoch from '2026-07-09 11:59: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'), 47642, 'SRID=4674;POINT (-40.493441 -2.784535)', '2026-07-09 11:59:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493401 -2.784562)'), GeomFromEWKT('SRID=4674;POINT (-40.493441 -2.784535)'))) / (select extract(epoch from '2026-07-09 11:59:38'::timestamp) - extract(epoch from '2026-07-09 11:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493401 -2.784562)'), GeomFromEWKT('SRID=4674;POINT (-40.493441 -2.784535)'))) / (select extract(epoch from '2026-07-09 11:59:38'::timestamp) - extract(epoch from '2026-07-09 11:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.493466 -2.784528)', '2026-07-09 11:59:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493441 -2.784535)'), GeomFromEWKT('SRID=4674;POINT (-40.493466 -2.784528)'))) / (select extract(epoch from '2026-07-09 11:59:39'::timestamp) - extract(epoch from '2026-07-09 11:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493441 -2.784535)'), GeomFromEWKT('SRID=4674;POINT (-40.493466 -2.784528)'))) / (select extract(epoch from '2026-07-09 11:59:39'::timestamp) - extract(epoch from '2026-07-09 11:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.49354 -2.784507)', '2026-07-09 11:59:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493466 -2.784528)'), GeomFromEWKT('SRID=4674;POINT (-40.49354 -2.784507)'))) / (select extract(epoch from '2026-07-09 11:59:42'::timestamp) - extract(epoch from '2026-07-09 11:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493466 -2.784528)'), GeomFromEWKT('SRID=4674;POINT (-40.49354 -2.784507)'))) / (select extract(epoch from '2026-07-09 11:59:42'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.493656 -2.78446)', '2026-07-09 11:59:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49354 -2.784507)'), GeomFromEWKT('SRID=4674;POINT (-40.493656 -2.78446)'))) / (select extract(epoch from '2026-07-09 11:59:47'::timestamp) - extract(epoch from '2026-07-09 11:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49354 -2.784507)'), GeomFromEWKT('SRID=4674;POINT (-40.493656 -2.78446)'))) / (select extract(epoch from '2026-07-09 11:59:47'::timestamp) - extract(epoch from '2026-07-09 11:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.493768 -2.784423)', '2026-07-09 11:59:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493656 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.493768 -2.784423)'))) / (select extract(epoch from '2026-07-09 11:59:52'::timestamp) - extract(epoch from '2026-07-09 11:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493656 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.493768 -2.784423)'))) / (select extract(epoch from '2026-07-09 11:59:52'::timestamp) - extract(epoch from '2026-07-09 11:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.493905 -2.784367)', '2026-07-09 11:59:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493768 -2.784423)'), GeomFromEWKT('SRID=4674;POINT (-40.493905 -2.784367)'))) / (select extract(epoch from '2026-07-09 11:59:58'::timestamp) - extract(epoch from '2026-07-09 11:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493768 -2.784423)'), GeomFromEWKT('SRID=4674;POINT (-40.493905 -2.784367)'))) / (select extract(epoch from '2026-07-09 11:59:58'::timestamp) - extract(epoch from '2026-07-09 11:59: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'), 47642, 'SRID=4674;POINT (-40.49402 -2.784319)', '2026-07-09 12:00:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493905 -2.784367)'), GeomFromEWKT('SRID=4674;POINT (-40.49402 -2.784319)'))) / (select extract(epoch from '2026-07-09 12:00:03'::timestamp) - extract(epoch from '2026-07-09 11:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.493905 -2.784367)'), GeomFromEWKT('SRID=4674;POINT (-40.49402 -2.784319)'))) / (select extract(epoch from '2026-07-09 12:00:03'::timestamp) - extract(epoch from '2026-07-09 11: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'), 47642, 'SRID=4674;POINT (-40.494158 -2.78427)', '2026-07-09 12:00:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49402 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.494158 -2.78427)'))) / (select extract(epoch from '2026-07-09 12:00:09'::timestamp) - extract(epoch from '2026-07-09 12:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49402 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.494158 -2.78427)'))) / (select extract(epoch from '2026-07-09 12:00:09'::timestamp) - extract(epoch from '2026-07-09 12:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494335 -2.784191)', '2026-07-09 12:00:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494158 -2.78427)'), GeomFromEWKT('SRID=4674;POINT (-40.494335 -2.784191)'))) / (select extract(epoch from '2026-07-09 12:00:17'::timestamp) - extract(epoch from '2026-07-09 12:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494158 -2.78427)'), GeomFromEWKT('SRID=4674;POINT (-40.494335 -2.784191)'))) / (select extract(epoch from '2026-07-09 12:00:17'::timestamp) - extract(epoch from '2026-07-09 12:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494471 -2.78414)', '2026-07-09 12:00:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494335 -2.784191)'), GeomFromEWKT('SRID=4674;POINT (-40.494471 -2.78414)'))) / (select extract(epoch from '2026-07-09 12:00:23'::timestamp) - extract(epoch from '2026-07-09 12:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494335 -2.784191)'), GeomFromEWKT('SRID=4674;POINT (-40.494471 -2.78414)'))) / (select extract(epoch from '2026-07-09 12:00:23'::timestamp) - extract(epoch from '2026-07-09 12:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494587 -2.7841)', '2026-07-09 12:00:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494471 -2.78414)'), GeomFromEWKT('SRID=4674;POINT (-40.494587 -2.7841)'))) / (select extract(epoch from '2026-07-09 12:00:28'::timestamp) - extract(epoch from '2026-07-09 12:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494471 -2.78414)'), GeomFromEWKT('SRID=4674;POINT (-40.494587 -2.7841)'))) / (select extract(epoch from '2026-07-09 12:00:28'::timestamp) - extract(epoch from '2026-07-09 12:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494707 -2.784067)', '2026-07-09 12:00:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494587 -2.7841)'), GeomFromEWKT('SRID=4674;POINT (-40.494707 -2.784067)'))) / (select extract(epoch from '2026-07-09 12:00:33'::timestamp) - extract(epoch from '2026-07-09 12:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494587 -2.7841)'), GeomFromEWKT('SRID=4674;POINT (-40.494707 -2.784067)'))) / (select extract(epoch from '2026-07-09 12:00:33'::timestamp) - extract(epoch from '2026-07-09 12:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494827 -2.784039)', '2026-07-09 12:00:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494707 -2.784067)'), GeomFromEWKT('SRID=4674;POINT (-40.494827 -2.784039)'))) / (select extract(epoch from '2026-07-09 12:00:38'::timestamp) - extract(epoch from '2026-07-09 12:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494707 -2.784067)'), GeomFromEWKT('SRID=4674;POINT (-40.494827 -2.784039)'))) / (select extract(epoch from '2026-07-09 12:00:38'::timestamp) - extract(epoch from '2026-07-09 12:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.494912 -2.784011)', '2026-07-09 12:00:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494827 -2.784039)'), GeomFromEWKT('SRID=4674;POINT (-40.494912 -2.784011)'))) / (select extract(epoch from '2026-07-09 12:00:42'::timestamp) - extract(epoch from '2026-07-09 12:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494827 -2.784039)'), GeomFromEWKT('SRID=4674;POINT (-40.494912 -2.784011)'))) / (select extract(epoch from '2026-07-09 12:00:42'::timestamp) - extract(epoch from '2026-07-09 12:00: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'), 47642, 'SRID=4674;POINT (-40.49503 -2.78398)', '2026-07-09 12:00:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494912 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.49503 -2.78398)'))) / (select extract(epoch from '2026-07-09 12:00:47'::timestamp) - extract(epoch from '2026-07-09 12:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.494912 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.49503 -2.78398)'))) / (select extract(epoch from '2026-07-09 12:00:47'::timestamp) - extract(epoch from '2026-07-09 12:00: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'), 47642, 'SRID=4674;POINT (-40.495146 -2.783954)', '2026-07-09 12:00:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49503 -2.78398)'), GeomFromEWKT('SRID=4674;POINT (-40.495146 -2.783954)'))) / (select extract(epoch from '2026-07-09 12:00:52'::timestamp) - extract(epoch from '2026-07-09 12:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49503 -2.78398)'), GeomFromEWKT('SRID=4674;POINT (-40.495146 -2.783954)'))) / (select extract(epoch from '2026-07-09 12:00:52'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.495255 -2.783931)', '2026-07-09 12:00:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495146 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.495255 -2.783931)'))) / (select extract(epoch from '2026-07-09 12:00:57'::timestamp) - extract(epoch from '2026-07-09 12:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495146 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.495255 -2.783931)'))) / (select extract(epoch from '2026-07-09 12:00:57'::timestamp) - extract(epoch from '2026-07-09 12:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.495345 -2.783907)', '2026-07-09 12:01:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495255 -2.783931)'), GeomFromEWKT('SRID=4674;POINT (-40.495345 -2.783907)'))) / (select extract(epoch from '2026-07-09 12:01:01'::timestamp) - extract(epoch from '2026-07-09 12:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495255 -2.783931)'), GeomFromEWKT('SRID=4674;POINT (-40.495345 -2.783907)'))) / (select extract(epoch from '2026-07-09 12:01:01'::timestamp) - extract(epoch from '2026-07-09 12:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.495399 -2.783905)', '2026-07-09 12:01:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495345 -2.783907)'), GeomFromEWKT('SRID=4674;POINT (-40.495399 -2.783905)'))) / (select extract(epoch from '2026-07-09 12:01:03'::timestamp) - extract(epoch from '2026-07-09 12:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495345 -2.783907)'), GeomFromEWKT('SRID=4674;POINT (-40.495399 -2.783905)'))) / (select extract(epoch from '2026-07-09 12:01:03'::timestamp) - extract(epoch from '2026-07-09 12:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.495446 -2.783883)', '2026-07-09 12:01:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495399 -2.783905)'), GeomFromEWKT('SRID=4674;POINT (-40.495446 -2.783883)'))) / (select extract(epoch from '2026-07-09 12:01:05'::timestamp) - extract(epoch from '2026-07-09 12:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495399 -2.783905)'), GeomFromEWKT('SRID=4674;POINT (-40.495446 -2.783883)'))) / (select extract(epoch from '2026-07-09 12:01:05'::timestamp) - extract(epoch from '2026-07-09 12:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.495587 -2.783838)', '2026-07-09 12:01:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495446 -2.783883)'), GeomFromEWKT('SRID=4674;POINT (-40.495587 -2.783838)'))) / (select extract(epoch from '2026-07-09 12:01:11'::timestamp) - extract(epoch from '2026-07-09 12:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495446 -2.783883)'), GeomFromEWKT('SRID=4674;POINT (-40.495587 -2.783838)'))) / (select extract(epoch from '2026-07-09 12:01:11'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.495731 -2.783792)', '2026-07-09 12:01:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495587 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.495731 -2.783792)'))) / (select extract(epoch from '2026-07-09 12:01:17'::timestamp) - extract(epoch from '2026-07-09 12:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495587 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.495731 -2.783792)'))) / (select extract(epoch from '2026-07-09 12:01:17'::timestamp) - extract(epoch from '2026-07-09 12:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.49589 -2.783721)', '2026-07-09 12:01:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495731 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.49589 -2.783721)'))) / (select extract(epoch from '2026-07-09 12:01:24'::timestamp) - extract(epoch from '2026-07-09 12:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.495731 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.49589 -2.783721)'))) / (select extract(epoch from '2026-07-09 12:01:24'::timestamp) - extract(epoch from '2026-07-09 12:01: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'), 47642, 'SRID=4674;POINT (-40.496009 -2.783669)', '2026-07-09 12:01:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49589 -2.783721)'), GeomFromEWKT('SRID=4674;POINT (-40.496009 -2.783669)'))) / (select extract(epoch from '2026-07-09 12:01:29'::timestamp) - extract(epoch from '2026-07-09 12:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49589 -2.783721)'), GeomFromEWKT('SRID=4674;POINT (-40.496009 -2.783669)'))) / (select extract(epoch from '2026-07-09 12:01:29'::timestamp) - extract(epoch from '2026-07-09 12:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.496136 -2.783636)', '2026-07-09 12:01:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496009 -2.783669)'), GeomFromEWKT('SRID=4674;POINT (-40.496136 -2.783636)'))) / (select extract(epoch from '2026-07-09 12:01:34'::timestamp) - extract(epoch from '2026-07-09 12:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496009 -2.783669)'), GeomFromEWKT('SRID=4674;POINT (-40.496136 -2.783636)'))) / (select extract(epoch from '2026-07-09 12:01:34'::timestamp) - extract(epoch from '2026-07-09 12:01: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'), 47642, 'SRID=4674;POINT (-40.496242 -2.783624)', '2026-07-09 12:01:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496136 -2.783636)'), GeomFromEWKT('SRID=4674;POINT (-40.496242 -2.783624)'))) / (select extract(epoch from '2026-07-09 12:01:38'::timestamp) - extract(epoch from '2026-07-09 12:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496136 -2.783636)'), GeomFromEWKT('SRID=4674;POINT (-40.496242 -2.783624)'))) / (select extract(epoch from '2026-07-09 12:01:38'::timestamp) - extract(epoch from '2026-07-09 12:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.496264 -2.783615)', '2026-07-09 12:01:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496242 -2.783624)'), GeomFromEWKT('SRID=4674;POINT (-40.496264 -2.783615)'))) / (select extract(epoch from '2026-07-09 12:01:39'::timestamp) - extract(epoch from '2026-07-09 12:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496242 -2.783624)'), GeomFromEWKT('SRID=4674;POINT (-40.496264 -2.783615)'))) / (select extract(epoch from '2026-07-09 12:01:39'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.496392 -2.783581)', '2026-07-09 12:01:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496264 -2.783615)'), GeomFromEWKT('SRID=4674;POINT (-40.496392 -2.783581)'))) / (select extract(epoch from '2026-07-09 12:01:44'::timestamp) - extract(epoch from '2026-07-09 12:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496264 -2.783615)'), GeomFromEWKT('SRID=4674;POINT (-40.496392 -2.783581)'))) / (select extract(epoch from '2026-07-09 12:01:44'::timestamp) - extract(epoch from '2026-07-09 12:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.496522 -2.783542)', '2026-07-09 12:01:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496392 -2.783581)'), GeomFromEWKT('SRID=4674;POINT (-40.496522 -2.783542)'))) / (select extract(epoch from '2026-07-09 12:01:49'::timestamp) - extract(epoch from '2026-07-09 12:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496392 -2.783581)'), GeomFromEWKT('SRID=4674;POINT (-40.496522 -2.783542)'))) / (select extract(epoch from '2026-07-09 12:01:49'::timestamp) - extract(epoch from '2026-07-09 12:01: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'), 47642, 'SRID=4674;POINT (-40.496682 -2.7835)', '2026-07-09 12:01:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496522 -2.783542)'), GeomFromEWKT('SRID=4674;POINT (-40.496682 -2.7835)'))) / (select extract(epoch from '2026-07-09 12:01:55'::timestamp) - extract(epoch from '2026-07-09 12:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496522 -2.783542)'), GeomFromEWKT('SRID=4674;POINT (-40.496682 -2.7835)'))) / (select extract(epoch from '2026-07-09 12:01:55'::timestamp) - extract(epoch from '2026-07-09 12:01: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'), 47642, 'SRID=4674;POINT (-40.496809 -2.783457)', '2026-07-09 12:02:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496682 -2.7835)'), GeomFromEWKT('SRID=4674;POINT (-40.496809 -2.783457)'))) / (select extract(epoch from '2026-07-09 12:02:00'::timestamp) - extract(epoch from '2026-07-09 12:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496682 -2.7835)'), GeomFromEWKT('SRID=4674;POINT (-40.496809 -2.783457)'))) / (select extract(epoch from '2026-07-09 12:02:00'::timestamp) - extract(epoch from '2026-07-09 12:01: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'), 47642, 'SRID=4674;POINT (-40.496952 -2.783408)', '2026-07-09 12:02:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496809 -2.783457)'), GeomFromEWKT('SRID=4674;POINT (-40.496952 -2.783408)'))) / (select extract(epoch from '2026-07-09 12:02:05'::timestamp) - extract(epoch from '2026-07-09 12:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496809 -2.783457)'), GeomFromEWKT('SRID=4674;POINT (-40.496952 -2.783408)'))) / (select extract(epoch from '2026-07-09 12:02:05'::timestamp) - extract(epoch from '2026-07-09 12:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.497113 -2.783368)', '2026-07-09 12:02:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496952 -2.783408)'), GeomFromEWKT('SRID=4674;POINT (-40.497113 -2.783368)'))) / (select extract(epoch from '2026-07-09 12:02:10'::timestamp) - extract(epoch from '2026-07-09 12:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.496952 -2.783408)'), GeomFromEWKT('SRID=4674;POINT (-40.497113 -2.783368)'))) / (select extract(epoch from '2026-07-09 12:02:10'::timestamp) - extract(epoch from '2026-07-09 12:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.497216 -2.78335)', '2026-07-09 12:02:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497113 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.497216 -2.78335)'))) / (select extract(epoch from '2026-07-09 12:02:14'::timestamp) - extract(epoch from '2026-07-09 12:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497113 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.497216 -2.78335)'))) / (select extract(epoch from '2026-07-09 12:02:14'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.497367 -2.783321)', '2026-07-09 12:02:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497216 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.497367 -2.783321)'))) / (select extract(epoch from '2026-07-09 12:02:19'::timestamp) - extract(epoch from '2026-07-09 12:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497216 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.497367 -2.783321)'))) / (select extract(epoch from '2026-07-09 12:02:19'::timestamp) - extract(epoch from '2026-07-09 12:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.497505 -2.783296)', '2026-07-09 12:02:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497367 -2.783321)'), GeomFromEWKT('SRID=4674;POINT (-40.497505 -2.783296)'))) / (select extract(epoch from '2026-07-09 12:02:24'::timestamp) - extract(epoch from '2026-07-09 12:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497367 -2.783321)'), GeomFromEWKT('SRID=4674;POINT (-40.497505 -2.783296)'))) / (select extract(epoch from '2026-07-09 12:02:24'::timestamp) - extract(epoch from '2026-07-09 12:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.497645 -2.783283)', '2026-07-09 12:02:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497505 -2.783296)'), GeomFromEWKT('SRID=4674;POINT (-40.497645 -2.783283)'))) / (select extract(epoch from '2026-07-09 12:02:29'::timestamp) - extract(epoch from '2026-07-09 12:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497505 -2.783296)'), GeomFromEWKT('SRID=4674;POINT (-40.497645 -2.783283)'))) / (select extract(epoch from '2026-07-09 12:02:29'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.49781 -2.783276)', '2026-07-09 12:02:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497645 -2.783283)'), GeomFromEWKT('SRID=4674;POINT (-40.49781 -2.783276)'))) / (select extract(epoch from '2026-07-09 12:02:35'::timestamp) - extract(epoch from '2026-07-09 12:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497645 -2.783283)'), GeomFromEWKT('SRID=4674;POINT (-40.49781 -2.783276)'))) / (select extract(epoch from '2026-07-09 12:02:35'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.497947 -2.783259)', '2026-07-09 12:02:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49781 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.497947 -2.783259)'))) / (select extract(epoch from '2026-07-09 12:02:40'::timestamp) - extract(epoch from '2026-07-09 12:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49781 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.497947 -2.783259)'))) / (select extract(epoch from '2026-07-09 12:02:40'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.498081 -2.78325)', '2026-07-09 12:02:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497947 -2.783259)'), GeomFromEWKT('SRID=4674;POINT (-40.498081 -2.78325)'))) / (select extract(epoch from '2026-07-09 12:02:45'::timestamp) - extract(epoch from '2026-07-09 12:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.497947 -2.783259)'), GeomFromEWKT('SRID=4674;POINT (-40.498081 -2.78325)'))) / (select extract(epoch from '2026-07-09 12:02:45'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.498223 -2.783257)', '2026-07-09 12:02:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498081 -2.78325)'), GeomFromEWKT('SRID=4674;POINT (-40.498223 -2.783257)'))) / (select extract(epoch from '2026-07-09 12:02:51'::timestamp) - extract(epoch from '2026-07-09 12:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498081 -2.78325)'), GeomFromEWKT('SRID=4674;POINT (-40.498223 -2.783257)'))) / (select extract(epoch from '2026-07-09 12:02:51'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.498369 -2.783271)', '2026-07-09 12:02:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498223 -2.783257)'), GeomFromEWKT('SRID=4674;POINT (-40.498369 -2.783271)'))) / (select extract(epoch from '2026-07-09 12:02:57'::timestamp) - extract(epoch from '2026-07-09 12:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498223 -2.783257)'), GeomFromEWKT('SRID=4674;POINT (-40.498369 -2.783271)'))) / (select extract(epoch from '2026-07-09 12:02:57'::timestamp) - extract(epoch from '2026-07-09 12:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.49853 -2.783272)', '2026-07-09 12:03:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498369 -2.783271)'), GeomFromEWKT('SRID=4674;POINT (-40.49853 -2.783272)'))) / (select extract(epoch from '2026-07-09 12:03:04'::timestamp) - extract(epoch from '2026-07-09 12:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498369 -2.783271)'), GeomFromEWKT('SRID=4674;POINT (-40.49853 -2.783272)'))) / (select extract(epoch from '2026-07-09 12:03:04'::timestamp) - extract(epoch from '2026-07-09 12:02: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'), 47642, 'SRID=4674;POINT (-40.498708 -2.783241)', '2026-07-09 12:03:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49853 -2.783272)'), GeomFromEWKT('SRID=4674;POINT (-40.498708 -2.783241)'))) / (select extract(epoch from '2026-07-09 12:03:11'::timestamp) - extract(epoch from '2026-07-09 12:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49853 -2.783272)'), GeomFromEWKT('SRID=4674;POINT (-40.498708 -2.783241)'))) / (select extract(epoch from '2026-07-09 12:03:11'::timestamp) - extract(epoch from '2026-07-09 12:03: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'), 47642, 'SRID=4674;POINT (-40.498875 -2.783205)', '2026-07-09 12:03:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498708 -2.783241)'), GeomFromEWKT('SRID=4674;POINT (-40.498875 -2.783205)'))) / (select extract(epoch from '2026-07-09 12:03:17'::timestamp) - extract(epoch from '2026-07-09 12:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498708 -2.783241)'), GeomFromEWKT('SRID=4674;POINT (-40.498875 -2.783205)'))) / (select extract(epoch from '2026-07-09 12:03:17'::timestamp) - extract(epoch from '2026-07-09 12:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.499014 -2.783162)', '2026-07-09 12:03:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498875 -2.783205)'), GeomFromEWKT('SRID=4674;POINT (-40.499014 -2.783162)'))) / (select extract(epoch from '2026-07-09 12:03:22'::timestamp) - extract(epoch from '2026-07-09 12:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.498875 -2.783205)'), GeomFromEWKT('SRID=4674;POINT (-40.499014 -2.783162)'))) / (select extract(epoch from '2026-07-09 12:03:22'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.499159 -2.783122)', '2026-07-09 12:03:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499014 -2.783162)'), GeomFromEWKT('SRID=4674;POINT (-40.499159 -2.783122)'))) / (select extract(epoch from '2026-07-09 12:03:27'::timestamp) - extract(epoch from '2026-07-09 12:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499014 -2.783162)'), GeomFromEWKT('SRID=4674;POINT (-40.499159 -2.783122)'))) / (select extract(epoch from '2026-07-09 12:03:27'::timestamp) - extract(epoch from '2026-07-09 12:03: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'), 47642, 'SRID=4674;POINT (-40.499328 -2.783082)', '2026-07-09 12:03:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499159 -2.783122)'), GeomFromEWKT('SRID=4674;POINT (-40.499328 -2.783082)'))) / (select extract(epoch from '2026-07-09 12:03:33'::timestamp) - extract(epoch from '2026-07-09 12:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499159 -2.783122)'), GeomFromEWKT('SRID=4674;POINT (-40.499328 -2.783082)'))) / (select extract(epoch from '2026-07-09 12:03:33'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.499465 -2.783052)', '2026-07-09 12:03:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499328 -2.783082)'), GeomFromEWKT('SRID=4674;POINT (-40.499465 -2.783052)'))) / (select extract(epoch from '2026-07-09 12:03:38'::timestamp) - extract(epoch from '2026-07-09 12:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499328 -2.783082)'), GeomFromEWKT('SRID=4674;POINT (-40.499465 -2.783052)'))) / (select extract(epoch from '2026-07-09 12:03:38'::timestamp) - extract(epoch from '2026-07-09 12:03: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'), 47642, 'SRID=4674;POINT (-40.499637 -2.783)', '2026-07-09 12:03:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499465 -2.783052)'), GeomFromEWKT('SRID=4674;POINT (-40.499637 -2.783)'))) / (select extract(epoch from '2026-07-09 12:03:44'::timestamp) - extract(epoch from '2026-07-09 12:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499465 -2.783052)'), GeomFromEWKT('SRID=4674;POINT (-40.499637 -2.783)'))) / (select extract(epoch from '2026-07-09 12:03:44'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.499778 -2.782948)', '2026-07-09 12:03:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499637 -2.783)'), GeomFromEWKT('SRID=4674;POINT (-40.499778 -2.782948)'))) / (select extract(epoch from '2026-07-09 12:03:49'::timestamp) - extract(epoch from '2026-07-09 12:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499637 -2.783)'), GeomFromEWKT('SRID=4674;POINT (-40.499778 -2.782948)'))) / (select extract(epoch from '2026-07-09 12:03:49'::timestamp) - extract(epoch from '2026-07-09 12:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.499918 -2.782912)', '2026-07-09 12:03:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499778 -2.782948)'), GeomFromEWKT('SRID=4674;POINT (-40.499918 -2.782912)'))) / (select extract(epoch from '2026-07-09 12:03:54'::timestamp) - extract(epoch from '2026-07-09 12:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499778 -2.782948)'), GeomFromEWKT('SRID=4674;POINT (-40.499918 -2.782912)'))) / (select extract(epoch from '2026-07-09 12:03:54'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.500096 -2.782884)', '2026-07-09 12:04:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499918 -2.782912)'), GeomFromEWKT('SRID=4674;POINT (-40.500096 -2.782884)'))) / (select extract(epoch from '2026-07-09 12:04:00'::timestamp) - extract(epoch from '2026-07-09 12:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.499918 -2.782912)'), GeomFromEWKT('SRID=4674;POINT (-40.500096 -2.782884)'))) / (select extract(epoch from '2026-07-09 12:04:00'::timestamp) - extract(epoch from '2026-07-09 12:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.500235 -2.782881)', '2026-07-09 12:04:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500096 -2.782884)'), GeomFromEWKT('SRID=4674;POINT (-40.500235 -2.782881)'))) / (select extract(epoch from '2026-07-09 12:04:05'::timestamp) - extract(epoch from '2026-07-09 12:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500096 -2.782884)'), GeomFromEWKT('SRID=4674;POINT (-40.500235 -2.782881)'))) / (select extract(epoch from '2026-07-09 12:04:05'::timestamp) - extract(epoch from '2026-07-09 12:04: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'), 47642, 'SRID=4674;POINT (-40.500366 -2.782891)', '2026-07-09 12:04:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500235 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.500366 -2.782891)'))) / (select extract(epoch from '2026-07-09 12:04:10'::timestamp) - extract(epoch from '2026-07-09 12:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500235 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.500366 -2.782891)'))) / (select extract(epoch from '2026-07-09 12:04:10'::timestamp) - extract(epoch from '2026-07-09 12:04: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'), 47642, 'SRID=4674;POINT (-40.500524 -2.782892)', '2026-07-09 12:04:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500366 -2.782891)'), GeomFromEWKT('SRID=4674;POINT (-40.500524 -2.782892)'))) / (select extract(epoch from '2026-07-09 12:04:16'::timestamp) - extract(epoch from '2026-07-09 12:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500366 -2.782891)'), GeomFromEWKT('SRID=4674;POINT (-40.500524 -2.782892)'))) / (select extract(epoch from '2026-07-09 12:04:16'::timestamp) - extract(epoch from '2026-07-09 12:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.500702 -2.782906)', '2026-07-09 12:04:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500524 -2.782892)'), GeomFromEWKT('SRID=4674;POINT (-40.500702 -2.782906)'))) / (select extract(epoch from '2026-07-09 12:04:23'::timestamp) - extract(epoch from '2026-07-09 12:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500524 -2.782892)'), GeomFromEWKT('SRID=4674;POINT (-40.500702 -2.782906)'))) / (select extract(epoch from '2026-07-09 12:04:23'::timestamp) - extract(epoch from '2026-07-09 12:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.500866 -2.782928)', '2026-07-09 12:04:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500702 -2.782906)'), GeomFromEWKT('SRID=4674;POINT (-40.500866 -2.782928)'))) / (select extract(epoch from '2026-07-09 12:04:30'::timestamp) - extract(epoch from '2026-07-09 12:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500702 -2.782906)'), GeomFromEWKT('SRID=4674;POINT (-40.500866 -2.782928)'))) / (select extract(epoch from '2026-07-09 12:04:30'::timestamp) - extract(epoch from '2026-07-09 12:04: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'), 47642, 'SRID=4674;POINT (-40.501033 -2.782955)', '2026-07-09 12:04:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500866 -2.782928)'), GeomFromEWKT('SRID=4674;POINT (-40.501033 -2.782955)'))) / (select extract(epoch from '2026-07-09 12:04:38'::timestamp) - extract(epoch from '2026-07-09 12:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.500866 -2.782928)'), GeomFromEWKT('SRID=4674;POINT (-40.501033 -2.782955)'))) / (select extract(epoch from '2026-07-09 12:04:38'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.501194 -2.782988)', '2026-07-09 12:04:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501033 -2.782955)'), GeomFromEWKT('SRID=4674;POINT (-40.501194 -2.782988)'))) / (select extract(epoch from '2026-07-09 12:04:45'::timestamp) - extract(epoch from '2026-07-09 12:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501033 -2.782955)'), GeomFromEWKT('SRID=4674;POINT (-40.501194 -2.782988)'))) / (select extract(epoch from '2026-07-09 12:04:45'::timestamp) - extract(epoch from '2026-07-09 12:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.501337 -2.783038)', '2026-07-09 12:04:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501194 -2.782988)'), GeomFromEWKT('SRID=4674;POINT (-40.501337 -2.783038)'))) / (select extract(epoch from '2026-07-09 12:04:51'::timestamp) - extract(epoch from '2026-07-09 12:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501194 -2.782988)'), GeomFromEWKT('SRID=4674;POINT (-40.501337 -2.783038)'))) / (select extract(epoch from '2026-07-09 12:04:51'::timestamp) - extract(epoch from '2026-07-09 12:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.501458 -2.783117)', '2026-07-09 12:04:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501337 -2.783038)'), GeomFromEWKT('SRID=4674;POINT (-40.501458 -2.783117)'))) / (select extract(epoch from '2026-07-09 12:04:56'::timestamp) - extract(epoch from '2026-07-09 12:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501337 -2.783038)'), GeomFromEWKT('SRID=4674;POINT (-40.501458 -2.783117)'))) / (select extract(epoch from '2026-07-09 12:04:56'::timestamp) - extract(epoch from '2026-07-09 12:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.501574 -2.783185)', '2026-07-09 12:05:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501458 -2.783117)'), GeomFromEWKT('SRID=4674;POINT (-40.501574 -2.783185)'))) / (select extract(epoch from '2026-07-09 12:05:01'::timestamp) - extract(epoch from '2026-07-09 12:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501458 -2.783117)'), GeomFromEWKT('SRID=4674;POINT (-40.501574 -2.783185)'))) / (select extract(epoch from '2026-07-09 12:05:01'::timestamp) - extract(epoch from '2026-07-09 12:04: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'), 47642, 'SRID=4674;POINT (-40.501722 -2.783237)', '2026-07-09 12:05:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501574 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.501722 -2.783237)'))) / (select extract(epoch from '2026-07-09 12:05:07'::timestamp) - extract(epoch from '2026-07-09 12:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501574 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.501722 -2.783237)'))) / (select extract(epoch from '2026-07-09 12:05:07'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.501915 -2.783275)', '2026-07-09 12:05:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501722 -2.783237)'), GeomFromEWKT('SRID=4674;POINT (-40.501915 -2.783275)'))) / (select extract(epoch from '2026-07-09 12:05:15'::timestamp) - extract(epoch from '2026-07-09 12:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501722 -2.783237)'), GeomFromEWKT('SRID=4674;POINT (-40.501915 -2.783275)'))) / (select extract(epoch from '2026-07-09 12:05:15'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.5021 -2.783342)', '2026-07-09 12:05:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501915 -2.783275)'), GeomFromEWKT('SRID=4674;POINT (-40.5021 -2.783342)'))) / (select extract(epoch from '2026-07-09 12:05:23'::timestamp) - extract(epoch from '2026-07-09 12:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.501915 -2.783275)'), GeomFromEWKT('SRID=4674;POINT (-40.5021 -2.783342)'))) / (select extract(epoch from '2026-07-09 12:05:23'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.502237 -2.783369)', '2026-07-09 12:05:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5021 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.502237 -2.783369)'))) / (select extract(epoch from '2026-07-09 12:05:29'::timestamp) - extract(epoch from '2026-07-09 12:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5021 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.502237 -2.783369)'))) / (select extract(epoch from '2026-07-09 12:05:29'::timestamp) - extract(epoch from '2026-07-09 12:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.502366 -2.783399)', '2026-07-09 12:05:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502237 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.502366 -2.783399)'))) / (select extract(epoch from '2026-07-09 12:05:35'::timestamp) - extract(epoch from '2026-07-09 12:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502237 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.502366 -2.783399)'))) / (select extract(epoch from '2026-07-09 12:05:35'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.50246 -2.783425)', '2026-07-09 12:05:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502366 -2.783399)'), GeomFromEWKT('SRID=4674;POINT (-40.50246 -2.783425)'))) / (select extract(epoch from '2026-07-09 12:05:39'::timestamp) - extract(epoch from '2026-07-09 12:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502366 -2.783399)'), GeomFromEWKT('SRID=4674;POINT (-40.50246 -2.783425)'))) / (select extract(epoch from '2026-07-09 12:05:39'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.502478 -2.783422)', '2026-07-09 12:05:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50246 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.502478 -2.783422)'))) / (select extract(epoch from '2026-07-09 12:05:40'::timestamp) - extract(epoch from '2026-07-09 12:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50246 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.502478 -2.783422)'))) / (select extract(epoch from '2026-07-09 12:05:40'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.502496 -2.783422)', '2026-07-09 12:05:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502478 -2.783422)'), GeomFromEWKT('SRID=4674;POINT (-40.502496 -2.783422)'))) / (select extract(epoch from '2026-07-09 12:05:41'::timestamp) - extract(epoch from '2026-07-09 12:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502478 -2.783422)'), GeomFromEWKT('SRID=4674;POINT (-40.502496 -2.783422)'))) / (select extract(epoch from '2026-07-09 12:05:41'::timestamp) - extract(epoch from '2026-07-09 12:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.502571 -2.783444)', '2026-07-09 12:05:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502496 -2.783422)'), GeomFromEWKT('SRID=4674;POINT (-40.502571 -2.783444)'))) / (select extract(epoch from '2026-07-09 12:05:44'::timestamp) - extract(epoch from '2026-07-09 12:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502496 -2.783422)'), GeomFromEWKT('SRID=4674;POINT (-40.502571 -2.783444)'))) / (select extract(epoch from '2026-07-09 12:05:44'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.502726 -2.783475)', '2026-07-09 12:05:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502571 -2.783444)'), GeomFromEWKT('SRID=4674;POINT (-40.502726 -2.783475)'))) / (select extract(epoch from '2026-07-09 12:05:51'::timestamp) - extract(epoch from '2026-07-09 12:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502571 -2.783444)'), GeomFromEWKT('SRID=4674;POINT (-40.502726 -2.783475)'))) / (select extract(epoch from '2026-07-09 12:05:51'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.502879 -2.783508)', '2026-07-09 12:05:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502726 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.502879 -2.783508)'))) / (select extract(epoch from '2026-07-09 12:05:58'::timestamp) - extract(epoch from '2026-07-09 12:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502726 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.502879 -2.783508)'))) / (select extract(epoch from '2026-07-09 12:05:58'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.503032 -2.783536)', '2026-07-09 12:06:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502879 -2.783508)'), GeomFromEWKT('SRID=4674;POINT (-40.503032 -2.783536)'))) / (select extract(epoch from '2026-07-09 12:06:05'::timestamp) - extract(epoch from '2026-07-09 12:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.502879 -2.783508)'), GeomFromEWKT('SRID=4674;POINT (-40.503032 -2.783536)'))) / (select extract(epoch from '2026-07-09 12:06:05'::timestamp) - extract(epoch from '2026-07-09 12:05: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'), 47642, 'SRID=4674;POINT (-40.50317 -2.783573)', '2026-07-09 12:06:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503032 -2.783536)'), GeomFromEWKT('SRID=4674;POINT (-40.50317 -2.783573)'))) / (select extract(epoch from '2026-07-09 12:06:11'::timestamp) - extract(epoch from '2026-07-09 12:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503032 -2.783536)'), GeomFromEWKT('SRID=4674;POINT (-40.50317 -2.783573)'))) / (select extract(epoch from '2026-07-09 12:06:11'::timestamp) - extract(epoch from '2026-07-09 12:06: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'), 47642, 'SRID=4674;POINT (-40.503308 -2.783609)', '2026-07-09 12:06:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50317 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.503308 -2.783609)'))) / (select extract(epoch from '2026-07-09 12:06:17'::timestamp) - extract(epoch from '2026-07-09 12:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50317 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.503308 -2.783609)'))) / (select extract(epoch from '2026-07-09 12:06:17'::timestamp) - extract(epoch from '2026-07-09 12:06: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'), 47642, 'SRID=4674;POINT (-40.50347 -2.783653)', '2026-07-09 12:06:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503308 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.50347 -2.783653)'))) / (select extract(epoch from '2026-07-09 12:06:24'::timestamp) - extract(epoch from '2026-07-09 12:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503308 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.50347 -2.783653)'))) / (select extract(epoch from '2026-07-09 12:06:24'::timestamp) - extract(epoch from '2026-07-09 12:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.503639 -2.7837)', '2026-07-09 12:06:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50347 -2.783653)'), GeomFromEWKT('SRID=4674;POINT (-40.503639 -2.7837)'))) / (select extract(epoch from '2026-07-09 12:06:31'::timestamp) - extract(epoch from '2026-07-09 12:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50347 -2.783653)'), GeomFromEWKT('SRID=4674;POINT (-40.503639 -2.7837)'))) / (select extract(epoch from '2026-07-09 12:06:31'::timestamp) - extract(epoch from '2026-07-09 12:06: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'), 47642, 'SRID=4674;POINT (-40.503799 -2.783749)', '2026-07-09 12:06:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503639 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.503799 -2.783749)'))) / (select extract(epoch from '2026-07-09 12:06:38'::timestamp) - extract(epoch from '2026-07-09 12:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503639 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.503799 -2.783749)'))) / (select extract(epoch from '2026-07-09 12:06:38'::timestamp) - extract(epoch from '2026-07-09 12:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.503962 -2.783807)', '2026-07-09 12:06:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503799 -2.783749)'), GeomFromEWKT('SRID=4674;POINT (-40.503962 -2.783807)'))) / (select extract(epoch from '2026-07-09 12:06:45'::timestamp) - extract(epoch from '2026-07-09 12:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503799 -2.783749)'), GeomFromEWKT('SRID=4674;POINT (-40.503962 -2.783807)'))) / (select extract(epoch from '2026-07-09 12:06:45'::timestamp) - extract(epoch from '2026-07-09 12:06: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'), 47642, 'SRID=4674;POINT (-40.504154 -2.783856)', '2026-07-09 12:06:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503962 -2.783807)'), GeomFromEWKT('SRID=4674;POINT (-40.504154 -2.783856)'))) / (select extract(epoch from '2026-07-09 12:06:53'::timestamp) - extract(epoch from '2026-07-09 12:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.503962 -2.783807)'), GeomFromEWKT('SRID=4674;POINT (-40.504154 -2.783856)'))) / (select extract(epoch from '2026-07-09 12:06:53'::timestamp) - extract(epoch from '2026-07-09 12:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.504302 -2.783905)', '2026-07-09 12:06:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504154 -2.783856)'), GeomFromEWKT('SRID=4674;POINT (-40.504302 -2.783905)'))) / (select extract(epoch from '2026-07-09 12:06:59'::timestamp) - extract(epoch from '2026-07-09 12:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504154 -2.783856)'), GeomFromEWKT('SRID=4674;POINT (-40.504302 -2.783905)'))) / (select extract(epoch from '2026-07-09 12:06:59'::timestamp) - extract(epoch from '2026-07-09 12:06: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'), 47642, 'SRID=4674;POINT (-40.504472 -2.783958)', '2026-07-09 12:07:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504302 -2.783905)'), GeomFromEWKT('SRID=4674;POINT (-40.504472 -2.783958)'))) / (select extract(epoch from '2026-07-09 12:07:06'::timestamp) - extract(epoch from '2026-07-09 12:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504302 -2.783905)'), GeomFromEWKT('SRID=4674;POINT (-40.504472 -2.783958)'))) / (select extract(epoch from '2026-07-09 12:07:06'::timestamp) - extract(epoch from '2026-07-09 12:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.504653 -2.784012)', '2026-07-09 12:07:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504472 -2.783958)'), GeomFromEWKT('SRID=4674;POINT (-40.504653 -2.784012)'))) / (select extract(epoch from '2026-07-09 12:07:13'::timestamp) - extract(epoch from '2026-07-09 12:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504472 -2.783958)'), GeomFromEWKT('SRID=4674;POINT (-40.504653 -2.784012)'))) / (select extract(epoch from '2026-07-09 12:07:13'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.504808 -2.784075)', '2026-07-09 12:07:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504653 -2.784012)'), GeomFromEWKT('SRID=4674;POINT (-40.504808 -2.784075)'))) / (select extract(epoch from '2026-07-09 12:07:19'::timestamp) - extract(epoch from '2026-07-09 12:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504653 -2.784012)'), GeomFromEWKT('SRID=4674;POINT (-40.504808 -2.784075)'))) / (select extract(epoch from '2026-07-09 12:07:19'::timestamp) - extract(epoch from '2026-07-09 12:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.504965 -2.784118)', '2026-07-09 12:07:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504808 -2.784075)'), GeomFromEWKT('SRID=4674;POINT (-40.504965 -2.784118)'))) / (select extract(epoch from '2026-07-09 12:07:25'::timestamp) - extract(epoch from '2026-07-09 12:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504808 -2.784075)'), GeomFromEWKT('SRID=4674;POINT (-40.504965 -2.784118)'))) / (select extract(epoch from '2026-07-09 12:07:25'::timestamp) - extract(epoch from '2026-07-09 12:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.505134 -2.784176)', '2026-07-09 12:07:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504965 -2.784118)'), GeomFromEWKT('SRID=4674;POINT (-40.505134 -2.784176)'))) / (select extract(epoch from '2026-07-09 12:07:32'::timestamp) - extract(epoch from '2026-07-09 12:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.504965 -2.784118)'), GeomFromEWKT('SRID=4674;POINT (-40.505134 -2.784176)'))) / (select extract(epoch from '2026-07-09 12:07:32'::timestamp) - extract(epoch from '2026-07-09 12:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.505323 -2.784238)', '2026-07-09 12:07:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505134 -2.784176)'), GeomFromEWKT('SRID=4674;POINT (-40.505323 -2.784238)'))) / (select extract(epoch from '2026-07-09 12:07:39'::timestamp) - extract(epoch from '2026-07-09 12:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505134 -2.784176)'), GeomFromEWKT('SRID=4674;POINT (-40.505323 -2.784238)'))) / (select extract(epoch from '2026-07-09 12:07:39'::timestamp) - extract(epoch from '2026-07-09 12:07: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'), 47642, 'SRID=4674;POINT (-40.505484 -2.784281)', '2026-07-09 12:07:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505323 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.505484 -2.784281)'))) / (select extract(epoch from '2026-07-09 12:07:45'::timestamp) - extract(epoch from '2026-07-09 12:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505323 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.505484 -2.784281)'))) / (select extract(epoch from '2026-07-09 12:07:45'::timestamp) - extract(epoch from '2026-07-09 12:07: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'), 47642, 'SRID=4674;POINT (-40.505612 -2.784317)', '2026-07-09 12:07:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505484 -2.784281)'), GeomFromEWKT('SRID=4674;POINT (-40.505612 -2.784317)'))) / (select extract(epoch from '2026-07-09 12:07:50'::timestamp) - extract(epoch from '2026-07-09 12:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505484 -2.784281)'), GeomFromEWKT('SRID=4674;POINT (-40.505612 -2.784317)'))) / (select extract(epoch from '2026-07-09 12:07:50'::timestamp) - extract(epoch from '2026-07-09 12:07: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'), 47642, 'SRID=4674;POINT (-40.505751 -2.784353)', '2026-07-09 12:07:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505612 -2.784317)'), GeomFromEWKT('SRID=4674;POINT (-40.505751 -2.784353)'))) / (select extract(epoch from '2026-07-09 12:07:55'::timestamp) - extract(epoch from '2026-07-09 12:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505612 -2.784317)'), GeomFromEWKT('SRID=4674;POINT (-40.505751 -2.784353)'))) / (select extract(epoch from '2026-07-09 12:07:55'::timestamp) - extract(epoch from '2026-07-09 12:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.505885 -2.784378)', '2026-07-09 12:08:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505751 -2.784353)'), GeomFromEWKT('SRID=4674;POINT (-40.505885 -2.784378)'))) / (select extract(epoch from '2026-07-09 12:08:00'::timestamp) - extract(epoch from '2026-07-09 12:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505751 -2.784353)'), GeomFromEWKT('SRID=4674;POINT (-40.505885 -2.784378)'))) / (select extract(epoch from '2026-07-09 12:08:00'::timestamp) - extract(epoch from '2026-07-09 12:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.50604 -2.784425)', '2026-07-09 12:08:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505885 -2.784378)'), GeomFromEWKT('SRID=4674;POINT (-40.50604 -2.784425)'))) / (select extract(epoch from '2026-07-09 12:08:06'::timestamp) - extract(epoch from '2026-07-09 12:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.505885 -2.784378)'), GeomFromEWKT('SRID=4674;POINT (-40.50604 -2.784425)'))) / (select extract(epoch from '2026-07-09 12:08:06'::timestamp) - extract(epoch from '2026-07-09 12:08: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'), 47642, 'SRID=4674;POINT (-40.506242 -2.784472)', '2026-07-09 12:08:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50604 -2.784425)'), GeomFromEWKT('SRID=4674;POINT (-40.506242 -2.784472)'))) / (select extract(epoch from '2026-07-09 12:08:14'::timestamp) - extract(epoch from '2026-07-09 12:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50604 -2.784425)'), GeomFromEWKT('SRID=4674;POINT (-40.506242 -2.784472)'))) / (select extract(epoch from '2026-07-09 12:08:14'::timestamp) - extract(epoch from '2026-07-09 12:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.506395 -2.784517)', '2026-07-09 12:08:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506242 -2.784472)'), GeomFromEWKT('SRID=4674;POINT (-40.506395 -2.784517)'))) / (select extract(epoch from '2026-07-09 12:08:20'::timestamp) - extract(epoch from '2026-07-09 12:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506242 -2.784472)'), GeomFromEWKT('SRID=4674;POINT (-40.506395 -2.784517)'))) / (select extract(epoch from '2026-07-09 12:08:20'::timestamp) - extract(epoch from '2026-07-09 12:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.50655 -2.784552)', '2026-07-09 12:08:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506395 -2.784517)'), GeomFromEWKT('SRID=4674;POINT (-40.50655 -2.784552)'))) / (select extract(epoch from '2026-07-09 12:08:26'::timestamp) - extract(epoch from '2026-07-09 12:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506395 -2.784517)'), GeomFromEWKT('SRID=4674;POINT (-40.50655 -2.784552)'))) / (select extract(epoch from '2026-07-09 12:08:26'::timestamp) - extract(epoch from '2026-07-09 12:08: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'), 47642, 'SRID=4674;POINT (-40.506732 -2.784606)', '2026-07-09 12:08:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50655 -2.784552)'), GeomFromEWKT('SRID=4674;POINT (-40.506732 -2.784606)'))) / (select extract(epoch from '2026-07-09 12:08:33'::timestamp) - extract(epoch from '2026-07-09 12:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50655 -2.784552)'), GeomFromEWKT('SRID=4674;POINT (-40.506732 -2.784606)'))) / (select extract(epoch from '2026-07-09 12:08:33'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.506924 -2.784661)', '2026-07-09 12:08:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506732 -2.784606)'), GeomFromEWKT('SRID=4674;POINT (-40.506924 -2.784661)'))) / (select extract(epoch from '2026-07-09 12:08:40'::timestamp) - extract(epoch from '2026-07-09 12:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506732 -2.784606)'), GeomFromEWKT('SRID=4674;POINT (-40.506924 -2.784661)'))) / (select extract(epoch from '2026-07-09 12:08:40'::timestamp) - extract(epoch from '2026-07-09 12:08: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'), 47642, 'SRID=4674;POINT (-40.507066 -2.784713)', '2026-07-09 12:08:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506924 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.507066 -2.784713)'))) / (select extract(epoch from '2026-07-09 12:08:45'::timestamp) - extract(epoch from '2026-07-09 12:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.506924 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.507066 -2.784713)'))) / (select extract(epoch from '2026-07-09 12:08:45'::timestamp) - extract(epoch from '2026-07-09 12:08: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'), 47642, 'SRID=4674;POINT (-40.507207 -2.784739)', '2026-07-09 12:08:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507066 -2.784713)'), GeomFromEWKT('SRID=4674;POINT (-40.507207 -2.784739)'))) / (select extract(epoch from '2026-07-09 12:08:50'::timestamp) - extract(epoch from '2026-07-09 12:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507066 -2.784713)'), GeomFromEWKT('SRID=4674;POINT (-40.507207 -2.784739)'))) / (select extract(epoch from '2026-07-09 12:08:50'::timestamp) - extract(epoch from '2026-07-09 12:08: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'), 47642, 'SRID=4674;POINT (-40.507354 -2.784794)', '2026-07-09 12:08:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507207 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.507354 -2.784794)'))) / (select extract(epoch from '2026-07-09 12:08:56'::timestamp) - extract(epoch from '2026-07-09 12:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507207 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.507354 -2.784794)'))) / (select extract(epoch from '2026-07-09 12:08:56'::timestamp) - extract(epoch from '2026-07-09 12:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.507507 -2.784853)', '2026-07-09 12:09:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507354 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.507507 -2.784853)'))) / (select extract(epoch from '2026-07-09 12:09:02'::timestamp) - extract(epoch from '2026-07-09 12:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507354 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.507507 -2.784853)'))) / (select extract(epoch from '2026-07-09 12:09:02'::timestamp) - extract(epoch from '2026-07-09 12:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.507682 -2.784909)', '2026-07-09 12:09:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507507 -2.784853)'), GeomFromEWKT('SRID=4674;POINT (-40.507682 -2.784909)'))) / (select extract(epoch from '2026-07-09 12:09:09'::timestamp) - extract(epoch from '2026-07-09 12:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507507 -2.784853)'), GeomFromEWKT('SRID=4674;POINT (-40.507682 -2.784909)'))) / (select extract(epoch from '2026-07-09 12:09:09'::timestamp) - extract(epoch from '2026-07-09 12:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.50783 -2.784971)', '2026-07-09 12:09:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507682 -2.784909)'), GeomFromEWKT('SRID=4674;POINT (-40.50783 -2.784971)'))) / (select extract(epoch from '2026-07-09 12:09:15'::timestamp) - extract(epoch from '2026-07-09 12:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.507682 -2.784909)'), GeomFromEWKT('SRID=4674;POINT (-40.50783 -2.784971)'))) / (select extract(epoch from '2026-07-09 12:09:15'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.508017 -2.785021)', '2026-07-09 12:09:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50783 -2.784971)'), GeomFromEWKT('SRID=4674;POINT (-40.508017 -2.785021)'))) / (select extract(epoch from '2026-07-09 12:09:21'::timestamp) - extract(epoch from '2026-07-09 12:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50783 -2.784971)'), GeomFromEWKT('SRID=4674;POINT (-40.508017 -2.785021)'))) / (select extract(epoch from '2026-07-09 12:09:21'::timestamp) - extract(epoch from '2026-07-09 12:09: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'), 47642, 'SRID=4674;POINT (-40.508214 -2.78507)', '2026-07-09 12:09:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508017 -2.785021)'), GeomFromEWKT('SRID=4674;POINT (-40.508214 -2.78507)'))) / (select extract(epoch from '2026-07-09 12:09:28'::timestamp) - extract(epoch from '2026-07-09 12:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508017 -2.785021)'), GeomFromEWKT('SRID=4674;POINT (-40.508214 -2.78507)'))) / (select extract(epoch from '2026-07-09 12:09:28'::timestamp) - extract(epoch from '2026-07-09 12:09: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'), 47642, 'SRID=4674;POINT (-40.50839 -2.785117)', '2026-07-09 12:09:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508214 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.50839 -2.785117)'))) / (select extract(epoch from '2026-07-09 12:09:34'::timestamp) - extract(epoch from '2026-07-09 12:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508214 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.50839 -2.785117)'))) / (select extract(epoch from '2026-07-09 12:09:34'::timestamp) - extract(epoch from '2026-07-09 12:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.508508 -2.785146)', '2026-07-09 12:09:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50839 -2.785117)'), GeomFromEWKT('SRID=4674;POINT (-40.508508 -2.785146)'))) / (select extract(epoch from '2026-07-09 12:09:39'::timestamp) - extract(epoch from '2026-07-09 12:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.50839 -2.785117)'), GeomFromEWKT('SRID=4674;POINT (-40.508508 -2.785146)'))) / (select extract(epoch from '2026-07-09 12:09:39'::timestamp) - extract(epoch from '2026-07-09 12:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.508687 -2.785203)', '2026-07-09 12:09:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508508 -2.785146)'), GeomFromEWKT('SRID=4674;POINT (-40.508687 -2.785203)'))) / (select extract(epoch from '2026-07-09 12:09:46'::timestamp) - extract(epoch from '2026-07-09 12:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508508 -2.785146)'), GeomFromEWKT('SRID=4674;POINT (-40.508687 -2.785203)'))) / (select extract(epoch from '2026-07-09 12:09:46'::timestamp) - extract(epoch from '2026-07-09 12:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.508921 -2.785272)', '2026-07-09 12:09:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508687 -2.785203)'), GeomFromEWKT('SRID=4674;POINT (-40.508921 -2.785272)'))) / (select extract(epoch from '2026-07-09 12:09:55'::timestamp) - extract(epoch from '2026-07-09 12:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508687 -2.785203)'), GeomFromEWKT('SRID=4674;POINT (-40.508921 -2.785272)'))) / (select extract(epoch from '2026-07-09 12:09:55'::timestamp) - extract(epoch from '2026-07-09 12:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.509104 -2.785327)', '2026-07-09 12:10:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508921 -2.785272)'), GeomFromEWKT('SRID=4674;POINT (-40.509104 -2.785327)'))) / (select extract(epoch from '2026-07-09 12:10:02'::timestamp) - extract(epoch from '2026-07-09 12:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.508921 -2.785272)'), GeomFromEWKT('SRID=4674;POINT (-40.509104 -2.785327)'))) / (select extract(epoch from '2026-07-09 12:10:02'::timestamp) - extract(epoch from '2026-07-09 12:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.509277 -2.785383)', '2026-07-09 12:10:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509104 -2.785327)'), GeomFromEWKT('SRID=4674;POINT (-40.509277 -2.785383)'))) / (select extract(epoch from '2026-07-09 12:10:09'::timestamp) - extract(epoch from '2026-07-09 12:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509104 -2.785327)'), GeomFromEWKT('SRID=4674;POINT (-40.509277 -2.785383)'))) / (select extract(epoch from '2026-07-09 12:10:09'::timestamp) - extract(epoch from '2026-07-09 12:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.509458 -2.785442)', '2026-07-09 12:10:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509277 -2.785383)'), GeomFromEWKT('SRID=4674;POINT (-40.509458 -2.785442)'))) / (select extract(epoch from '2026-07-09 12:10:17'::timestamp) - extract(epoch from '2026-07-09 12:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509277 -2.785383)'), GeomFromEWKT('SRID=4674;POINT (-40.509458 -2.785442)'))) / (select extract(epoch from '2026-07-09 12:10:17'::timestamp) - extract(epoch from '2026-07-09 12:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.509605 -2.785483)', '2026-07-09 12:10:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509458 -2.785442)'), GeomFromEWKT('SRID=4674;POINT (-40.509605 -2.785483)'))) / (select extract(epoch from '2026-07-09 12:10:23'::timestamp) - extract(epoch from '2026-07-09 12:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509458 -2.785442)'), GeomFromEWKT('SRID=4674;POINT (-40.509605 -2.785483)'))) / (select extract(epoch from '2026-07-09 12:10:23'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.509748 -2.785534)', '2026-07-09 12:10:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509605 -2.785483)'), GeomFromEWKT('SRID=4674;POINT (-40.509748 -2.785534)'))) / (select extract(epoch from '2026-07-09 12:10:29'::timestamp) - extract(epoch from '2026-07-09 12:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509605 -2.785483)'), GeomFromEWKT('SRID=4674;POINT (-40.509748 -2.785534)'))) / (select extract(epoch from '2026-07-09 12:10:29'::timestamp) - extract(epoch from '2026-07-09 12:10: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'), 47642, 'SRID=4674;POINT (-40.509895 -2.785584)', '2026-07-09 12:10:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509748 -2.785534)'), GeomFromEWKT('SRID=4674;POINT (-40.509895 -2.785584)'))) / (select extract(epoch from '2026-07-09 12:10:35'::timestamp) - extract(epoch from '2026-07-09 12:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509748 -2.785534)'), GeomFromEWKT('SRID=4674;POINT (-40.509895 -2.785584)'))) / (select extract(epoch from '2026-07-09 12:10:35'::timestamp) - extract(epoch from '2026-07-09 12:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.510044 -2.78562)', '2026-07-09 12:10:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509895 -2.785584)'), GeomFromEWKT('SRID=4674;POINT (-40.510044 -2.78562)'))) / (select extract(epoch from '2026-07-09 12:10:41'::timestamp) - extract(epoch from '2026-07-09 12:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.509895 -2.785584)'), GeomFromEWKT('SRID=4674;POINT (-40.510044 -2.78562)'))) / (select extract(epoch from '2026-07-09 12:10:41'::timestamp) - extract(epoch from '2026-07-09 12:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.510192 -2.785657)', '2026-07-09 12:10:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510044 -2.78562)'), GeomFromEWKT('SRID=4674;POINT (-40.510192 -2.785657)'))) / (select extract(epoch from '2026-07-09 12:10:47'::timestamp) - extract(epoch from '2026-07-09 12:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510044 -2.78562)'), GeomFromEWKT('SRID=4674;POINT (-40.510192 -2.785657)'))) / (select extract(epoch from '2026-07-09 12:10:47'::timestamp) - extract(epoch from '2026-07-09 12:10: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'), 47642, 'SRID=4674;POINT (-40.510365 -2.785693)', '2026-07-09 12:10:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510192 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.510365 -2.785693)'))) / (select extract(epoch from '2026-07-09 12:10:54'::timestamp) - extract(epoch from '2026-07-09 12:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510192 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.510365 -2.785693)'))) / (select extract(epoch from '2026-07-09 12:10:54'::timestamp) - extract(epoch from '2026-07-09 12:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.510489 -2.785731)', '2026-07-09 12:10:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510365 -2.785693)'), GeomFromEWKT('SRID=4674;POINT (-40.510489 -2.785731)'))) / (select extract(epoch from '2026-07-09 12:10:59'::timestamp) - extract(epoch from '2026-07-09 12:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510365 -2.785693)'), GeomFromEWKT('SRID=4674;POINT (-40.510489 -2.785731)'))) / (select extract(epoch from '2026-07-09 12:10:59'::timestamp) - extract(epoch from '2026-07-09 12:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.5106 -2.785761)', '2026-07-09 12:11:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510489 -2.785731)'), GeomFromEWKT('SRID=4674;POINT (-40.5106 -2.785761)'))) / (select extract(epoch from '2026-07-09 12:11:04'::timestamp) - extract(epoch from '2026-07-09 12:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510489 -2.785731)'), GeomFromEWKT('SRID=4674;POINT (-40.5106 -2.785761)'))) / (select extract(epoch from '2026-07-09 12:11:04'::timestamp) - extract(epoch from '2026-07-09 12:10: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'), 47642, 'SRID=4674;POINT (-40.510743 -2.785787)', '2026-07-09 12:11:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5106 -2.785761)'), GeomFromEWKT('SRID=4674;POINT (-40.510743 -2.785787)'))) / (select extract(epoch from '2026-07-09 12:11:10'::timestamp) - extract(epoch from '2026-07-09 12:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5106 -2.785761)'), GeomFromEWKT('SRID=4674;POINT (-40.510743 -2.785787)'))) / (select extract(epoch from '2026-07-09 12:11:10'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.510889 -2.785824)', '2026-07-09 12:11:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510743 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-40.510889 -2.785824)'))) / (select extract(epoch from '2026-07-09 12:11:16'::timestamp) - extract(epoch from '2026-07-09 12:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510743 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-40.510889 -2.785824)'))) / (select extract(epoch from '2026-07-09 12:11:16'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.511058 -2.785876)', '2026-07-09 12:11:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510889 -2.785824)'), GeomFromEWKT('SRID=4674;POINT (-40.511058 -2.785876)'))) / (select extract(epoch from '2026-07-09 12:11:23'::timestamp) - extract(epoch from '2026-07-09 12:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.510889 -2.785824)'), GeomFromEWKT('SRID=4674;POINT (-40.511058 -2.785876)'))) / (select extract(epoch from '2026-07-09 12:11:23'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.511253 -2.785941)', '2026-07-09 12:11:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511058 -2.785876)'), GeomFromEWKT('SRID=4674;POINT (-40.511253 -2.785941)'))) / (select extract(epoch from '2026-07-09 12:11:31'::timestamp) - extract(epoch from '2026-07-09 12:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511058 -2.785876)'), GeomFromEWKT('SRID=4674;POINT (-40.511253 -2.785941)'))) / (select extract(epoch from '2026-07-09 12:11:31'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.511422 -2.785994)', '2026-07-09 12:11:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511253 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.511422 -2.785994)'))) / (select extract(epoch from '2026-07-09 12:11:38'::timestamp) - extract(epoch from '2026-07-09 12:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511253 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.511422 -2.785994)'))) / (select extract(epoch from '2026-07-09 12:11:38'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.5116 -2.786044)', '2026-07-09 12:11:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511422 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.5116 -2.786044)'))) / (select extract(epoch from '2026-07-09 12:11:45'::timestamp) - extract(epoch from '2026-07-09 12:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511422 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.5116 -2.786044)'))) / (select extract(epoch from '2026-07-09 12:11:45'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.511751 -2.786079)', '2026-07-09 12:11:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5116 -2.786044)'), GeomFromEWKT('SRID=4674;POINT (-40.511751 -2.786079)'))) / (select extract(epoch from '2026-07-09 12:11:51'::timestamp) - extract(epoch from '2026-07-09 12:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5116 -2.786044)'), GeomFromEWKT('SRID=4674;POINT (-40.511751 -2.786079)'))) / (select extract(epoch from '2026-07-09 12:11:51'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.511888 -2.78612)', '2026-07-09 12:11:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511751 -2.786079)'), GeomFromEWKT('SRID=4674;POINT (-40.511888 -2.78612)'))) / (select extract(epoch from '2026-07-09 12:11:56'::timestamp) - extract(epoch from '2026-07-09 12:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511751 -2.786079)'), GeomFromEWKT('SRID=4674;POINT (-40.511888 -2.78612)'))) / (select extract(epoch from '2026-07-09 12:11:56'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.512046 -2.786177)', '2026-07-09 12:12:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511888 -2.78612)'), GeomFromEWKT('SRID=4674;POINT (-40.512046 -2.786177)'))) / (select extract(epoch from '2026-07-09 12:12:02'::timestamp) - extract(epoch from '2026-07-09 12:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.511888 -2.78612)'), GeomFromEWKT('SRID=4674;POINT (-40.512046 -2.786177)'))) / (select extract(epoch from '2026-07-09 12:12:02'::timestamp) - extract(epoch from '2026-07-09 12:11: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'), 47642, 'SRID=4674;POINT (-40.512169 -2.786212)', '2026-07-09 12:12:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512046 -2.786177)'), GeomFromEWKT('SRID=4674;POINT (-40.512169 -2.786212)'))) / (select extract(epoch from '2026-07-09 12:12:07'::timestamp) - extract(epoch from '2026-07-09 12:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512046 -2.786177)'), GeomFromEWKT('SRID=4674;POINT (-40.512169 -2.786212)'))) / (select extract(epoch from '2026-07-09 12:12:07'::timestamp) - extract(epoch from '2026-07-09 12:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.512324 -2.786252)', '2026-07-09 12:12:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512169 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.512324 -2.786252)'))) / (select extract(epoch from '2026-07-09 12:12:13'::timestamp) - extract(epoch from '2026-07-09 12:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512169 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.512324 -2.786252)'))) / (select extract(epoch from '2026-07-09 12:12:13'::timestamp) - extract(epoch from '2026-07-09 12:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.512475 -2.786302)', '2026-07-09 12:12:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512324 -2.786252)'), GeomFromEWKT('SRID=4674;POINT (-40.512475 -2.786302)'))) / (select extract(epoch from '2026-07-09 12:12:19'::timestamp) - extract(epoch from '2026-07-09 12:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512324 -2.786252)'), GeomFromEWKT('SRID=4674;POINT (-40.512475 -2.786302)'))) / (select extract(epoch from '2026-07-09 12:12:19'::timestamp) - extract(epoch from '2026-07-09 12:12: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'), 47642, 'SRID=4674;POINT (-40.512674 -2.786373)', '2026-07-09 12:12:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512475 -2.786302)'), GeomFromEWKT('SRID=4674;POINT (-40.512674 -2.786373)'))) / (select extract(epoch from '2026-07-09 12:12:27'::timestamp) - extract(epoch from '2026-07-09 12:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512475 -2.786302)'), GeomFromEWKT('SRID=4674;POINT (-40.512674 -2.786373)'))) / (select extract(epoch from '2026-07-09 12:12:27'::timestamp) - extract(epoch from '2026-07-09 12:12: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'), 47642, 'SRID=4674;POINT (-40.512861 -2.786436)', '2026-07-09 12:12:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512674 -2.786373)'), GeomFromEWKT('SRID=4674;POINT (-40.512861 -2.786436)'))) / (select extract(epoch from '2026-07-09 12:12:34'::timestamp) - extract(epoch from '2026-07-09 12:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512674 -2.786373)'), GeomFromEWKT('SRID=4674;POINT (-40.512861 -2.786436)'))) / (select extract(epoch from '2026-07-09 12:12:34'::timestamp) - extract(epoch from '2026-07-09 12:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.513038 -2.786492)', '2026-07-09 12:12:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512861 -2.786436)'), GeomFromEWKT('SRID=4674;POINT (-40.513038 -2.786492)'))) / (select extract(epoch from '2026-07-09 12:12:41'::timestamp) - extract(epoch from '2026-07-09 12:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.512861 -2.786436)'), GeomFromEWKT('SRID=4674;POINT (-40.513038 -2.786492)'))) / (select extract(epoch from '2026-07-09 12:12:41'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.513211 -2.786569)', '2026-07-09 12:12:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513038 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.513211 -2.786569)'))) / (select extract(epoch from '2026-07-09 12:12:48'::timestamp) - extract(epoch from '2026-07-09 12:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513038 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.513211 -2.786569)'))) / (select extract(epoch from '2026-07-09 12:12:48'::timestamp) - extract(epoch from '2026-07-09 12:12: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'), 47642, 'SRID=4674;POINT (-40.51339 -2.786645)', '2026-07-09 12:12:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513211 -2.786569)'), GeomFromEWKT('SRID=4674;POINT (-40.51339 -2.786645)'))) / (select extract(epoch from '2026-07-09 12:12:55'::timestamp) - extract(epoch from '2026-07-09 12:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513211 -2.786569)'), GeomFromEWKT('SRID=4674;POINT (-40.51339 -2.786645)'))) / (select extract(epoch from '2026-07-09 12:12:55'::timestamp) - extract(epoch from '2026-07-09 12:12: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'), 47642, 'SRID=4674;POINT (-40.513587 -2.786695)', '2026-07-09 12:13:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51339 -2.786645)'), GeomFromEWKT('SRID=4674;POINT (-40.513587 -2.786695)'))) / (select extract(epoch from '2026-07-09 12:13:03'::timestamp) - extract(epoch from '2026-07-09 12:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51339 -2.786645)'), GeomFromEWKT('SRID=4674;POINT (-40.513587 -2.786695)'))) / (select extract(epoch from '2026-07-09 12:13:03'::timestamp) - extract(epoch from '2026-07-09 12:12: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'), 47642, 'SRID=4674;POINT (-40.513734 -2.786742)', '2026-07-09 12:13:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513587 -2.786695)'), GeomFromEWKT('SRID=4674;POINT (-40.513734 -2.786742)'))) / (select extract(epoch from '2026-07-09 12:13:09'::timestamp) - extract(epoch from '2026-07-09 12:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513587 -2.786695)'), GeomFromEWKT('SRID=4674;POINT (-40.513734 -2.786742)'))) / (select extract(epoch from '2026-07-09 12:13:09'::timestamp) - extract(epoch from '2026-07-09 12:13: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'), 47642, 'SRID=4674;POINT (-40.513959 -2.786807)', '2026-07-09 12:13:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513734 -2.786742)'), GeomFromEWKT('SRID=4674;POINT (-40.513959 -2.786807)'))) / (select extract(epoch from '2026-07-09 12:13:18'::timestamp) - extract(epoch from '2026-07-09 12:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513734 -2.786742)'), GeomFromEWKT('SRID=4674;POINT (-40.513959 -2.786807)'))) / (select extract(epoch from '2026-07-09 12:13:18'::timestamp) - extract(epoch from '2026-07-09 12:13: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'), 47642, 'SRID=4674;POINT (-40.514108 -2.786863)', '2026-07-09 12:13:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513959 -2.786807)'), GeomFromEWKT('SRID=4674;POINT (-40.514108 -2.786863)'))) / (select extract(epoch from '2026-07-09 12:13:24'::timestamp) - extract(epoch from '2026-07-09 12:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.513959 -2.786807)'), GeomFromEWKT('SRID=4674;POINT (-40.514108 -2.786863)'))) / (select extract(epoch from '2026-07-09 12:13:24'::timestamp) - extract(epoch from '2026-07-09 12:13: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'), 47642, 'SRID=4674;POINT (-40.514221 -2.786906)', '2026-07-09 12:13:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514108 -2.786863)'), GeomFromEWKT('SRID=4674;POINT (-40.514221 -2.786906)'))) / (select extract(epoch from '2026-07-09 12:13:28'::timestamp) - extract(epoch from '2026-07-09 12:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514108 -2.786863)'), GeomFromEWKT('SRID=4674;POINT (-40.514221 -2.786906)'))) / (select extract(epoch from '2026-07-09 12:13:28'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.514411 -2.786951)', '2026-07-09 12:13:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514221 -2.786906)'), GeomFromEWKT('SRID=4674;POINT (-40.514411 -2.786951)'))) / (select extract(epoch from '2026-07-09 12:13:35'::timestamp) - extract(epoch from '2026-07-09 12:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514221 -2.786906)'), GeomFromEWKT('SRID=4674;POINT (-40.514411 -2.786951)'))) / (select extract(epoch from '2026-07-09 12:13:35'::timestamp) - extract(epoch from '2026-07-09 12:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.514564 -2.786986)', '2026-07-09 12:13:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514411 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.514564 -2.786986)'))) / (select extract(epoch from '2026-07-09 12:13:41'::timestamp) - extract(epoch from '2026-07-09 12:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514411 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.514564 -2.786986)'))) / (select extract(epoch from '2026-07-09 12:13:41'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.51474 -2.787034)', '2026-07-09 12:13:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514564 -2.786986)'), GeomFromEWKT('SRID=4674;POINT (-40.51474 -2.787034)'))) / (select extract(epoch from '2026-07-09 12:13:48'::timestamp) - extract(epoch from '2026-07-09 12:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514564 -2.786986)'), GeomFromEWKT('SRID=4674;POINT (-40.51474 -2.787034)'))) / (select extract(epoch from '2026-07-09 12:13:48'::timestamp) - extract(epoch from '2026-07-09 12:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.514919 -2.787093)', '2026-07-09 12:13:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51474 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.514919 -2.787093)'))) / (select extract(epoch from '2026-07-09 12:13:55'::timestamp) - extract(epoch from '2026-07-09 12:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51474 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.514919 -2.787093)'))) / (select extract(epoch from '2026-07-09 12:13:55'::timestamp) - extract(epoch from '2026-07-09 12:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.515065 -2.787135)', '2026-07-09 12:14:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514919 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.515065 -2.787135)'))) / (select extract(epoch from '2026-07-09 12:14:01'::timestamp) - extract(epoch from '2026-07-09 12:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.514919 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.515065 -2.787135)'))) / (select extract(epoch from '2026-07-09 12:14:01'::timestamp) - extract(epoch from '2026-07-09 12:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.51518 -2.787169)', '2026-07-09 12:14:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515065 -2.787135)'), GeomFromEWKT('SRID=4674;POINT (-40.51518 -2.787169)'))) / (select extract(epoch from '2026-07-09 12:14:06'::timestamp) - extract(epoch from '2026-07-09 12:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515065 -2.787135)'), GeomFromEWKT('SRID=4674;POINT (-40.51518 -2.787169)'))) / (select extract(epoch from '2026-07-09 12:14:06'::timestamp) - extract(epoch from '2026-07-09 12:14: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'), 47642, 'SRID=4674;POINT (-40.515317 -2.787217)', '2026-07-09 12:14:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51518 -2.787169)'), GeomFromEWKT('SRID=4674;POINT (-40.515317 -2.787217)'))) / (select extract(epoch from '2026-07-09 12:14:12'::timestamp) - extract(epoch from '2026-07-09 12:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51518 -2.787169)'), GeomFromEWKT('SRID=4674;POINT (-40.515317 -2.787217)'))) / (select extract(epoch from '2026-07-09 12:14:12'::timestamp) - extract(epoch from '2026-07-09 12:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.515451 -2.78727)', '2026-07-09 12:14:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515317 -2.787217)'), GeomFromEWKT('SRID=4674;POINT (-40.515451 -2.78727)'))) / (select extract(epoch from '2026-07-09 12:14:18'::timestamp) - extract(epoch from '2026-07-09 12:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515317 -2.787217)'), GeomFromEWKT('SRID=4674;POINT (-40.515451 -2.78727)'))) / (select extract(epoch from '2026-07-09 12:14:18'::timestamp) - extract(epoch from '2026-07-09 12:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.515595 -2.787314)', '2026-07-09 12:14:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515451 -2.78727)'), GeomFromEWKT('SRID=4674;POINT (-40.515595 -2.787314)'))) / (select extract(epoch from '2026-07-09 12:14:24'::timestamp) - extract(epoch from '2026-07-09 12:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515451 -2.78727)'), GeomFromEWKT('SRID=4674;POINT (-40.515595 -2.787314)'))) / (select extract(epoch from '2026-07-09 12:14:24'::timestamp) - extract(epoch from '2026-07-09 12:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.515729 -2.787366)', '2026-07-09 12:14:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515595 -2.787314)'), GeomFromEWKT('SRID=4674;POINT (-40.515729 -2.787366)'))) / (select extract(epoch from '2026-07-09 12:14:29'::timestamp) - extract(epoch from '2026-07-09 12:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515595 -2.787314)'), GeomFromEWKT('SRID=4674;POINT (-40.515729 -2.787366)'))) / (select extract(epoch from '2026-07-09 12:14:29'::timestamp) - extract(epoch from '2026-07-09 12:14: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'), 47642, 'SRID=4674;POINT (-40.515847 -2.78741)', '2026-07-09 12:14:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515729 -2.787366)'), GeomFromEWKT('SRID=4674;POINT (-40.515847 -2.78741)'))) / (select extract(epoch from '2026-07-09 12:14:34'::timestamp) - extract(epoch from '2026-07-09 12:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515729 -2.787366)'), GeomFromEWKT('SRID=4674;POINT (-40.515847 -2.78741)'))) / (select extract(epoch from '2026-07-09 12:14:34'::timestamp) - extract(epoch from '2026-07-09 12:14: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'), 47642, 'SRID=4674;POINT (-40.515974 -2.787448)', '2026-07-09 12:14:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515847 -2.78741)'), GeomFromEWKT('SRID=4674;POINT (-40.515974 -2.787448)'))) / (select extract(epoch from '2026-07-09 12:14:39'::timestamp) - extract(epoch from '2026-07-09 12:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515847 -2.78741)'), GeomFromEWKT('SRID=4674;POINT (-40.515974 -2.787448)'))) / (select extract(epoch from '2026-07-09 12:14:39'::timestamp) - extract(epoch from '2026-07-09 12:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.516141 -2.78751)', '2026-07-09 12:14:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515974 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.516141 -2.78751)'))) / (select extract(epoch from '2026-07-09 12:14:45'::timestamp) - extract(epoch from '2026-07-09 12:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.515974 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.516141 -2.78751)'))) / (select extract(epoch from '2026-07-09 12:14:45'::timestamp) - extract(epoch from '2026-07-09 12:14: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'), 47642, 'SRID=4674;POINT (-40.516324 -2.787569)', '2026-07-09 12:14:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516141 -2.78751)'), GeomFromEWKT('SRID=4674;POINT (-40.516324 -2.787569)'))) / (select extract(epoch from '2026-07-09 12:14:52'::timestamp) - extract(epoch from '2026-07-09 12:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516141 -2.78751)'), GeomFromEWKT('SRID=4674;POINT (-40.516324 -2.787569)'))) / (select extract(epoch from '2026-07-09 12:14:52'::timestamp) - extract(epoch from '2026-07-09 12:14: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'), 47642, 'SRID=4674;POINT (-40.516481 -2.787638)', '2026-07-09 12:14:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516324 -2.787569)'), GeomFromEWKT('SRID=4674;POINT (-40.516481 -2.787638)'))) / (select extract(epoch from '2026-07-09 12:14:58'::timestamp) - extract(epoch from '2026-07-09 12:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516324 -2.787569)'), GeomFromEWKT('SRID=4674;POINT (-40.516481 -2.787638)'))) / (select extract(epoch from '2026-07-09 12:14:58'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.516665 -2.787715)', '2026-07-09 12:15:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516481 -2.787638)'), GeomFromEWKT('SRID=4674;POINT (-40.516665 -2.787715)'))) / (select extract(epoch from '2026-07-09 12:15:05'::timestamp) - extract(epoch from '2026-07-09 12:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516481 -2.787638)'), GeomFromEWKT('SRID=4674;POINT (-40.516665 -2.787715)'))) / (select extract(epoch from '2026-07-09 12:15:05'::timestamp) - extract(epoch from '2026-07-09 12:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.51683 -2.787768)', '2026-07-09 12:15:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516665 -2.787715)'), GeomFromEWKT('SRID=4674;POINT (-40.51683 -2.787768)'))) / (select extract(epoch from '2026-07-09 12:15:11'::timestamp) - extract(epoch from '2026-07-09 12:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.516665 -2.787715)'), GeomFromEWKT('SRID=4674;POINT (-40.51683 -2.787768)'))) / (select extract(epoch from '2026-07-09 12:15:11'::timestamp) - extract(epoch from '2026-07-09 12:15: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'), 47642, 'SRID=4674;POINT (-40.517048 -2.787832)', '2026-07-09 12:15:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51683 -2.787768)'), GeomFromEWKT('SRID=4674;POINT (-40.517048 -2.787832)'))) / (select extract(epoch from '2026-07-09 12:15:19'::timestamp) - extract(epoch from '2026-07-09 12:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51683 -2.787768)'), GeomFromEWKT('SRID=4674;POINT (-40.517048 -2.787832)'))) / (select extract(epoch from '2026-07-09 12:15:19'::timestamp) - extract(epoch from '2026-07-09 12:15: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'), 47642, 'SRID=4674;POINT (-40.517264 -2.787924)', '2026-07-09 12:15:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517048 -2.787832)'), GeomFromEWKT('SRID=4674;POINT (-40.517264 -2.787924)'))) / (select extract(epoch from '2026-07-09 12:15:27'::timestamp) - extract(epoch from '2026-07-09 12:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517048 -2.787832)'), GeomFromEWKT('SRID=4674;POINT (-40.517264 -2.787924)'))) / (select extract(epoch from '2026-07-09 12:15:27'::timestamp) - extract(epoch from '2026-07-09 12:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.517435 -2.788007)', '2026-07-09 12:15:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517264 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.517435 -2.788007)'))) / (select extract(epoch from '2026-07-09 12:15:34'::timestamp) - extract(epoch from '2026-07-09 12:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517264 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.517435 -2.788007)'))) / (select extract(epoch from '2026-07-09 12:15:34'::timestamp) - extract(epoch from '2026-07-09 12:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.517612 -2.788093)', '2026-07-09 12:15:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517435 -2.788007)'), GeomFromEWKT('SRID=4674;POINT (-40.517612 -2.788093)'))) / (select extract(epoch from '2026-07-09 12:15:41'::timestamp) - extract(epoch from '2026-07-09 12:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517435 -2.788007)'), GeomFromEWKT('SRID=4674;POINT (-40.517612 -2.788093)'))) / (select extract(epoch from '2026-07-09 12:15:41'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.517805 -2.788181)', '2026-07-09 12:15:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517612 -2.788093)'), GeomFromEWKT('SRID=4674;POINT (-40.517805 -2.788181)'))) / (select extract(epoch from '2026-07-09 12:15:49'::timestamp) - extract(epoch from '2026-07-09 12:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517612 -2.788093)'), GeomFromEWKT('SRID=4674;POINT (-40.517805 -2.788181)'))) / (select extract(epoch from '2026-07-09 12:15:49'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.517952 -2.788246)', '2026-07-09 12:15:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517805 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-40.517952 -2.788246)'))) / (select extract(epoch from '2026-07-09 12:15:55'::timestamp) - extract(epoch from '2026-07-09 12:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517805 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-40.517952 -2.788246)'))) / (select extract(epoch from '2026-07-09 12:15:55'::timestamp) - extract(epoch from '2026-07-09 12:15: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'), 47642, 'SRID=4674;POINT (-40.518165 -2.788314)', '2026-07-09 12:16:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517952 -2.788246)'), GeomFromEWKT('SRID=4674;POINT (-40.518165 -2.788314)'))) / (select extract(epoch from '2026-07-09 12:16:03'::timestamp) - extract(epoch from '2026-07-09 12:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.517952 -2.788246)'), GeomFromEWKT('SRID=4674;POINT (-40.518165 -2.788314)'))) / (select extract(epoch from '2026-07-09 12:16:03'::timestamp) - extract(epoch from '2026-07-09 12:15: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'), 47642, 'SRID=4674;POINT (-40.518337 -2.788376)', '2026-07-09 12:16:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518165 -2.788314)'), GeomFromEWKT('SRID=4674;POINT (-40.518337 -2.788376)'))) / (select extract(epoch from '2026-07-09 12:16:09'::timestamp) - extract(epoch from '2026-07-09 12:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518165 -2.788314)'), GeomFromEWKT('SRID=4674;POINT (-40.518337 -2.788376)'))) / (select extract(epoch from '2026-07-09 12:16:09'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.518498 -2.788428)', '2026-07-09 12:16:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518337 -2.788376)'), GeomFromEWKT('SRID=4674;POINT (-40.518498 -2.788428)'))) / (select extract(epoch from '2026-07-09 12:16:15'::timestamp) - extract(epoch from '2026-07-09 12:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518337 -2.788376)'), GeomFromEWKT('SRID=4674;POINT (-40.518498 -2.788428)'))) / (select extract(epoch from '2026-07-09 12:16:15'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.518658 -2.788488)', '2026-07-09 12:16:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518498 -2.788428)'), GeomFromEWKT('SRID=4674;POINT (-40.518658 -2.788488)'))) / (select extract(epoch from '2026-07-09 12:16:21'::timestamp) - extract(epoch from '2026-07-09 12:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518498 -2.788428)'), GeomFromEWKT('SRID=4674;POINT (-40.518658 -2.788488)'))) / (select extract(epoch from '2026-07-09 12:16:21'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.51885 -2.788553)', '2026-07-09 12:16:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518658 -2.788488)'), GeomFromEWKT('SRID=4674;POINT (-40.51885 -2.788553)'))) / (select extract(epoch from '2026-07-09 12:16:28'::timestamp) - extract(epoch from '2026-07-09 12:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.518658 -2.788488)'), GeomFromEWKT('SRID=4674;POINT (-40.51885 -2.788553)'))) / (select extract(epoch from '2026-07-09 12:16:28'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.519015 -2.788617)', '2026-07-09 12:16:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51885 -2.788553)'), GeomFromEWKT('SRID=4674;POINT (-40.519015 -2.788617)'))) / (select extract(epoch from '2026-07-09 12:16:34'::timestamp) - extract(epoch from '2026-07-09 12:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.51885 -2.788553)'), GeomFromEWKT('SRID=4674;POINT (-40.519015 -2.788617)'))) / (select extract(epoch from '2026-07-09 12:16:34'::timestamp) - extract(epoch from '2026-07-09 12:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.519149 -2.788679)', '2026-07-09 12:16:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519015 -2.788617)'), GeomFromEWKT('SRID=4674;POINT (-40.519149 -2.788679)'))) / (select extract(epoch from '2026-07-09 12:16:39'::timestamp) - extract(epoch from '2026-07-09 12:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519015 -2.788617)'), GeomFromEWKT('SRID=4674;POINT (-40.519149 -2.788679)'))) / (select extract(epoch from '2026-07-09 12:16:39'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.519267 -2.788712)', '2026-07-09 12:16:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519149 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.519267 -2.788712)'))) / (select extract(epoch from '2026-07-09 12:16:44'::timestamp) - extract(epoch from '2026-07-09 12:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519149 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.519267 -2.788712)'))) / (select extract(epoch from '2026-07-09 12:16:44'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.519388 -2.788759)', '2026-07-09 12:16:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519267 -2.788712)'), GeomFromEWKT('SRID=4674;POINT (-40.519388 -2.788759)'))) / (select extract(epoch from '2026-07-09 12:16:49'::timestamp) - extract(epoch from '2026-07-09 12:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519267 -2.788712)'), GeomFromEWKT('SRID=4674;POINT (-40.519388 -2.788759)'))) / (select extract(epoch from '2026-07-09 12:16:49'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.519522 -2.788802)', '2026-07-09 12:16:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519388 -2.788759)'), GeomFromEWKT('SRID=4674;POINT (-40.519522 -2.788802)'))) / (select extract(epoch from '2026-07-09 12:16:54'::timestamp) - extract(epoch from '2026-07-09 12:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519388 -2.788759)'), GeomFromEWKT('SRID=4674;POINT (-40.519522 -2.788802)'))) / (select extract(epoch from '2026-07-09 12:16:54'::timestamp) - extract(epoch from '2026-07-09 12:16: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'), 47642, 'SRID=4674;POINT (-40.519684 -2.788842)', '2026-07-09 12:17:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519522 -2.788802)'), GeomFromEWKT('SRID=4674;POINT (-40.519684 -2.788842)'))) / (select extract(epoch from '2026-07-09 12:17:00'::timestamp) - extract(epoch from '2026-07-09 12:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519522 -2.788802)'), GeomFromEWKT('SRID=4674;POINT (-40.519684 -2.788842)'))) / (select extract(epoch from '2026-07-09 12:17:00'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.519868 -2.788899)', '2026-07-09 12:17:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519684 -2.788842)'), GeomFromEWKT('SRID=4674;POINT (-40.519868 -2.788899)'))) / (select extract(epoch from '2026-07-09 12:17:07'::timestamp) - extract(epoch from '2026-07-09 12:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519684 -2.788842)'), GeomFromEWKT('SRID=4674;POINT (-40.519868 -2.788899)'))) / (select extract(epoch from '2026-07-09 12:17:07'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.520066 -2.788993)', '2026-07-09 12:17:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519868 -2.788899)'), GeomFromEWKT('SRID=4674;POINT (-40.520066 -2.788993)'))) / (select extract(epoch from '2026-07-09 12:17:15'::timestamp) - extract(epoch from '2026-07-09 12:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.519868 -2.788899)'), GeomFromEWKT('SRID=4674;POINT (-40.520066 -2.788993)'))) / (select extract(epoch from '2026-07-09 12:17:15'::timestamp) - extract(epoch from '2026-07-09 12:17: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'), 47642, 'SRID=4674;POINT (-40.520286 -2.789092)', '2026-07-09 12:17:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520066 -2.788993)'), GeomFromEWKT('SRID=4674;POINT (-40.520286 -2.789092)'))) / (select extract(epoch from '2026-07-09 12:17:23'::timestamp) - extract(epoch from '2026-07-09 12:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520066 -2.788993)'), GeomFromEWKT('SRID=4674;POINT (-40.520286 -2.789092)'))) / (select extract(epoch from '2026-07-09 12:17:23'::timestamp) - extract(epoch from '2026-07-09 12:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.520495 -2.789208)', '2026-07-09 12:17:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520286 -2.789092)'), GeomFromEWKT('SRID=4674;POINT (-40.520495 -2.789208)'))) / (select extract(epoch from '2026-07-09 12:17:31'::timestamp) - extract(epoch from '2026-07-09 12:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520286 -2.789092)'), GeomFromEWKT('SRID=4674;POINT (-40.520495 -2.789208)'))) / (select extract(epoch from '2026-07-09 12:17:31'::timestamp) - extract(epoch from '2026-07-09 12:17: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'), 47642, 'SRID=4674;POINT (-40.52065 -2.789288)', '2026-07-09 12:17:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520495 -2.789208)'), GeomFromEWKT('SRID=4674;POINT (-40.52065 -2.789288)'))) / (select extract(epoch from '2026-07-09 12:17:37'::timestamp) - extract(epoch from '2026-07-09 12:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520495 -2.789208)'), GeomFromEWKT('SRID=4674;POINT (-40.52065 -2.789288)'))) / (select extract(epoch from '2026-07-09 12:17:37'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.52082 -2.789373)', '2026-07-09 12:17:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52065 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.52082 -2.789373)'))) / (select extract(epoch from '2026-07-09 12:17:44'::timestamp) - extract(epoch from '2026-07-09 12:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52065 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.52082 -2.789373)'))) / (select extract(epoch from '2026-07-09 12:17:44'::timestamp) - extract(epoch from '2026-07-09 12:17: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'), 47642, 'SRID=4674;POINT (-40.520968 -2.789475)', '2026-07-09 12:17:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52082 -2.789373)'), GeomFromEWKT('SRID=4674;POINT (-40.520968 -2.789475)'))) / (select extract(epoch from '2026-07-09 12:17:50'::timestamp) - extract(epoch from '2026-07-09 12:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52082 -2.789373)'), GeomFromEWKT('SRID=4674;POINT (-40.520968 -2.789475)'))) / (select extract(epoch from '2026-07-09 12:17:50'::timestamp) - extract(epoch from '2026-07-09 12:17: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'), 47642, 'SRID=4674;POINT (-40.521138 -2.789567)', '2026-07-09 12:17:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520968 -2.789475)'), GeomFromEWKT('SRID=4674;POINT (-40.521138 -2.789567)'))) / (select extract(epoch from '2026-07-09 12:17:57'::timestamp) - extract(epoch from '2026-07-09 12:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.520968 -2.789475)'), GeomFromEWKT('SRID=4674;POINT (-40.521138 -2.789567)'))) / (select extract(epoch from '2026-07-09 12:17:57'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.521264 -2.789642)', '2026-07-09 12:18:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521138 -2.789567)'), GeomFromEWKT('SRID=4674;POINT (-40.521264 -2.789642)'))) / (select extract(epoch from '2026-07-09 12:18:02'::timestamp) - extract(epoch from '2026-07-09 12:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521138 -2.789567)'), GeomFromEWKT('SRID=4674;POINT (-40.521264 -2.789642)'))) / (select extract(epoch from '2026-07-09 12:18:02'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.521349 -2.789684)', '2026-07-09 12:18:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521264 -2.789642)'), GeomFromEWKT('SRID=4674;POINT (-40.521349 -2.789684)'))) / (select extract(epoch from '2026-07-09 12:18:06'::timestamp) - extract(epoch from '2026-07-09 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521264 -2.789642)'), GeomFromEWKT('SRID=4674;POINT (-40.521349 -2.789684)'))) / (select extract(epoch from '2026-07-09 12:18:06'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.521496 -2.789771)', '2026-07-09 12:18:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521349 -2.789684)'), GeomFromEWKT('SRID=4674;POINT (-40.521496 -2.789771)'))) / (select extract(epoch from '2026-07-09 12:18:11'::timestamp) - extract(epoch from '2026-07-09 12:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521349 -2.789684)'), GeomFromEWKT('SRID=4674;POINT (-40.521496 -2.789771)'))) / (select extract(epoch from '2026-07-09 12:18:11'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.521732 -2.789896)', '2026-07-09 12:18:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521496 -2.789771)'), GeomFromEWKT('SRID=4674;POINT (-40.521732 -2.789896)'))) / (select extract(epoch from '2026-07-09 12:18:20'::timestamp) - extract(epoch from '2026-07-09 12:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521496 -2.789771)'), GeomFromEWKT('SRID=4674;POINT (-40.521732 -2.789896)'))) / (select extract(epoch from '2026-07-09 12:18:20'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.521897 -2.789996)', '2026-07-09 12:18:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521732 -2.789896)'), GeomFromEWKT('SRID=4674;POINT (-40.521897 -2.789996)'))) / (select extract(epoch from '2026-07-09 12:18:27'::timestamp) - extract(epoch from '2026-07-09 12:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521732 -2.789896)'), GeomFromEWKT('SRID=4674;POINT (-40.521897 -2.789996)'))) / (select extract(epoch from '2026-07-09 12:18:27'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.52204 -2.790097)', '2026-07-09 12:18:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521897 -2.789996)'), GeomFromEWKT('SRID=4674;POINT (-40.52204 -2.790097)'))) / (select extract(epoch from '2026-07-09 12:18:34'::timestamp) - extract(epoch from '2026-07-09 12:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.521897 -2.789996)'), GeomFromEWKT('SRID=4674;POINT (-40.52204 -2.790097)'))) / (select extract(epoch from '2026-07-09 12:18:34'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.522203 -2.790204)', '2026-07-09 12:18:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52204 -2.790097)'), GeomFromEWKT('SRID=4674;POINT (-40.522203 -2.790204)'))) / (select extract(epoch from '2026-07-09 12:18:42'::timestamp) - extract(epoch from '2026-07-09 12:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52204 -2.790097)'), GeomFromEWKT('SRID=4674;POINT (-40.522203 -2.790204)'))) / (select extract(epoch from '2026-07-09 12:18:42'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.522376 -2.790307)', '2026-07-09 12:18:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522203 -2.790204)'), GeomFromEWKT('SRID=4674;POINT (-40.522376 -2.790307)'))) / (select extract(epoch from '2026-07-09 12:18:50'::timestamp) - extract(epoch from '2026-07-09 12:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522203 -2.790204)'), GeomFromEWKT('SRID=4674;POINT (-40.522376 -2.790307)'))) / (select extract(epoch from '2026-07-09 12:18:50'::timestamp) - extract(epoch from '2026-07-09 12:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.522501 -2.790382)', '2026-07-09 12:18:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522376 -2.790307)'), GeomFromEWKT('SRID=4674;POINT (-40.522501 -2.790382)'))) / (select extract(epoch from '2026-07-09 12:18:55'::timestamp) - extract(epoch from '2026-07-09 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522376 -2.790307)'), GeomFromEWKT('SRID=4674;POINT (-40.522501 -2.790382)'))) / (select extract(epoch from '2026-07-09 12:18:55'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.522698 -2.790488)', '2026-07-09 12:19:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522501 -2.790382)'), GeomFromEWKT('SRID=4674;POINT (-40.522698 -2.790488)'))) / (select extract(epoch from '2026-07-09 12:19:03'::timestamp) - extract(epoch from '2026-07-09 12:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522501 -2.790382)'), GeomFromEWKT('SRID=4674;POINT (-40.522698 -2.790488)'))) / (select extract(epoch from '2026-07-09 12:19:03'::timestamp) - extract(epoch from '2026-07-09 12:18: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'), 47642, 'SRID=4674;POINT (-40.522839 -2.790554)', '2026-07-09 12:19:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522698 -2.790488)'), GeomFromEWKT('SRID=4674;POINT (-40.522839 -2.790554)'))) / (select extract(epoch from '2026-07-09 12:19:09'::timestamp) - extract(epoch from '2026-07-09 12:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522698 -2.790488)'), GeomFromEWKT('SRID=4674;POINT (-40.522839 -2.790554)'))) / (select extract(epoch from '2026-07-09 12:19:09'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.523058 -2.790669)', '2026-07-09 12:19:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522839 -2.790554)'), GeomFromEWKT('SRID=4674;POINT (-40.523058 -2.790669)'))) / (select extract(epoch from '2026-07-09 12:19:18'::timestamp) - extract(epoch from '2026-07-09 12:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.522839 -2.790554)'), GeomFromEWKT('SRID=4674;POINT (-40.523058 -2.790669)'))) / (select extract(epoch from '2026-07-09 12:19:18'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.523258 -2.790784)', '2026-07-09 12:19:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523058 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.523258 -2.790784)'))) / (select extract(epoch from '2026-07-09 12:19:26'::timestamp) - extract(epoch from '2026-07-09 12:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523058 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.523258 -2.790784)'))) / (select extract(epoch from '2026-07-09 12:19:26'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.523446 -2.790869)', '2026-07-09 12:19:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523258 -2.790784)'), GeomFromEWKT('SRID=4674;POINT (-40.523446 -2.790869)'))) / (select extract(epoch from '2026-07-09 12:19:33'::timestamp) - extract(epoch from '2026-07-09 12:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523258 -2.790784)'), GeomFromEWKT('SRID=4674;POINT (-40.523446 -2.790869)'))) / (select extract(epoch from '2026-07-09 12:19:33'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.523603 -2.790954)', '2026-07-09 12:19:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523446 -2.790869)'), GeomFromEWKT('SRID=4674;POINT (-40.523603 -2.790954)'))) / (select extract(epoch from '2026-07-09 12:19:38'::timestamp) - extract(epoch from '2026-07-09 12:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523446 -2.790869)'), GeomFromEWKT('SRID=4674;POINT (-40.523603 -2.790954)'))) / (select extract(epoch from '2026-07-09 12:19:38'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.523795 -2.791065)', '2026-07-09 12:19:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523603 -2.790954)'), GeomFromEWKT('SRID=4674;POINT (-40.523795 -2.791065)'))) / (select extract(epoch from '2026-07-09 12:19:47'::timestamp) - extract(epoch from '2026-07-09 12:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523603 -2.790954)'), GeomFromEWKT('SRID=4674;POINT (-40.523795 -2.791065)'))) / (select extract(epoch from '2026-07-09 12:19:47'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.524027 -2.791235)', '2026-07-09 12:19:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523795 -2.791065)'), GeomFromEWKT('SRID=4674;POINT (-40.524027 -2.791235)'))) / (select extract(epoch from '2026-07-09 12:19:57'::timestamp) - extract(epoch from '2026-07-09 12:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.523795 -2.791065)'), GeomFromEWKT('SRID=4674;POINT (-40.524027 -2.791235)'))) / (select extract(epoch from '2026-07-09 12:19:57'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.524262 -2.791398)', '2026-07-09 12:20:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524027 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.524262 -2.791398)'))) / (select extract(epoch from '2026-07-09 12:20:06'::timestamp) - extract(epoch from '2026-07-09 12:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524027 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.524262 -2.791398)'))) / (select extract(epoch from '2026-07-09 12:20:06'::timestamp) - extract(epoch from '2026-07-09 12:19: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'), 47642, 'SRID=4674;POINT (-40.524449 -2.791515)', '2026-07-09 12:20:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524262 -2.791398)'), GeomFromEWKT('SRID=4674;POINT (-40.524449 -2.791515)'))) / (select extract(epoch from '2026-07-09 12:20:15'::timestamp) - extract(epoch from '2026-07-09 12:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524262 -2.791398)'), GeomFromEWKT('SRID=4674;POINT (-40.524449 -2.791515)'))) / (select extract(epoch from '2026-07-09 12:20:15'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.524695 -2.79166)', '2026-07-09 12:20:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524449 -2.791515)'), GeomFromEWKT('SRID=4674;POINT (-40.524695 -2.79166)'))) / (select extract(epoch from '2026-07-09 12:20:24'::timestamp) - extract(epoch from '2026-07-09 12:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524449 -2.791515)'), GeomFromEWKT('SRID=4674;POINT (-40.524695 -2.79166)'))) / (select extract(epoch from '2026-07-09 12:20:24'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.524898 -2.791786)', '2026-07-09 12:20:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524695 -2.79166)'), GeomFromEWKT('SRID=4674;POINT (-40.524898 -2.791786)'))) / (select extract(epoch from '2026-07-09 12:20:32'::timestamp) - extract(epoch from '2026-07-09 12:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524695 -2.79166)'), GeomFromEWKT('SRID=4674;POINT (-40.524898 -2.791786)'))) / (select extract(epoch from '2026-07-09 12:20:32'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.52508 -2.791891)', '2026-07-09 12:20:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524898 -2.791786)'), GeomFromEWKT('SRID=4674;POINT (-40.52508 -2.791891)'))) / (select extract(epoch from '2026-07-09 12:20:40'::timestamp) - extract(epoch from '2026-07-09 12:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.524898 -2.791786)'), GeomFromEWKT('SRID=4674;POINT (-40.52508 -2.791891)'))) / (select extract(epoch from '2026-07-09 12:20:40'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.525308 -2.792046)', '2026-07-09 12:20:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52508 -2.791891)'), GeomFromEWKT('SRID=4674;POINT (-40.525308 -2.792046)'))) / (select extract(epoch from '2026-07-09 12:20:48'::timestamp) - extract(epoch from '2026-07-09 12:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52508 -2.791891)'), GeomFromEWKT('SRID=4674;POINT (-40.525308 -2.792046)'))) / (select extract(epoch from '2026-07-09 12:20:48'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.525569 -2.792199)', '2026-07-09 12:20:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525308 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.525569 -2.792199)'))) / (select extract(epoch from '2026-07-09 12:20:58'::timestamp) - extract(epoch from '2026-07-09 12:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525308 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.525569 -2.792199)'))) / (select extract(epoch from '2026-07-09 12:20:58'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.525766 -2.792298)', '2026-07-09 12:21:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525569 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.525766 -2.792298)'))) / (select extract(epoch from '2026-07-09 12:21:05'::timestamp) - extract(epoch from '2026-07-09 12:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525569 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.525766 -2.792298)'))) / (select extract(epoch from '2026-07-09 12:21:05'::timestamp) - extract(epoch from '2026-07-09 12:20: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'), 47642, 'SRID=4674;POINT (-40.525948 -2.792385)', '2026-07-09 12:21:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525766 -2.792298)'), GeomFromEWKT('SRID=4674;POINT (-40.525948 -2.792385)'))) / (select extract(epoch from '2026-07-09 12:21:12'::timestamp) - extract(epoch from '2026-07-09 12:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525766 -2.792298)'), GeomFromEWKT('SRID=4674;POINT (-40.525948 -2.792385)'))) / (select extract(epoch from '2026-07-09 12:21:12'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.526088 -2.792443)', '2026-07-09 12:21:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525948 -2.792385)'), GeomFromEWKT('SRID=4674;POINT (-40.526088 -2.792443)'))) / (select extract(epoch from '2026-07-09 12:21:18'::timestamp) - extract(epoch from '2026-07-09 12:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.525948 -2.792385)'), GeomFromEWKT('SRID=4674;POINT (-40.526088 -2.792443)'))) / (select extract(epoch from '2026-07-09 12:21:18'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.5262 -2.792502)', '2026-07-09 12:21:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526088 -2.792443)'), GeomFromEWKT('SRID=4674;POINT (-40.5262 -2.792502)'))) / (select extract(epoch from '2026-07-09 12:21:23'::timestamp) - extract(epoch from '2026-07-09 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526088 -2.792443)'), GeomFromEWKT('SRID=4674;POINT (-40.5262 -2.792502)'))) / (select extract(epoch from '2026-07-09 12:21:23'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.526352 -2.792576)', '2026-07-09 12:21:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5262 -2.792502)'), GeomFromEWKT('SRID=4674;POINT (-40.526352 -2.792576)'))) / (select extract(epoch from '2026-07-09 12:21:29'::timestamp) - extract(epoch from '2026-07-09 12:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5262 -2.792502)'), GeomFromEWKT('SRID=4674;POINT (-40.526352 -2.792576)'))) / (select extract(epoch from '2026-07-09 12:21:29'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.526598 -2.792724)', '2026-07-09 12:21:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526352 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.526598 -2.792724)'))) / (select extract(epoch from '2026-07-09 12:21:38'::timestamp) - extract(epoch from '2026-07-09 12:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526352 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.526598 -2.792724)'))) / (select extract(epoch from '2026-07-09 12:21:38'::timestamp) - extract(epoch from '2026-07-09 12:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.526843 -2.792899)', '2026-07-09 12:21:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526598 -2.792724)'), GeomFromEWKT('SRID=4674;POINT (-40.526843 -2.792899)'))) / (select extract(epoch from '2026-07-09 12:21:49'::timestamp) - extract(epoch from '2026-07-09 12:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526598 -2.792724)'), GeomFromEWKT('SRID=4674;POINT (-40.526843 -2.792899)'))) / (select extract(epoch from '2026-07-09 12:21:49'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.52699 -2.792976)', '2026-07-09 12:21:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526843 -2.792899)'), GeomFromEWKT('SRID=4674;POINT (-40.52699 -2.792976)'))) / (select extract(epoch from '2026-07-09 12:21:55'::timestamp) - extract(epoch from '2026-07-09 12:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.526843 -2.792899)'), GeomFromEWKT('SRID=4674;POINT (-40.52699 -2.792976)'))) / (select extract(epoch from '2026-07-09 12:21:55'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.527188 -2.793074)', '2026-07-09 12:22:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52699 -2.792976)'), GeomFromEWKT('SRID=4674;POINT (-40.527188 -2.793074)'))) / (select extract(epoch from '2026-07-09 12:22:03'::timestamp) - extract(epoch from '2026-07-09 12:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52699 -2.792976)'), GeomFromEWKT('SRID=4674;POINT (-40.527188 -2.793074)'))) / (select extract(epoch from '2026-07-09 12:22:03'::timestamp) - extract(epoch from '2026-07-09 12:21: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'), 47642, 'SRID=4674;POINT (-40.527367 -2.793172)', '2026-07-09 12:22:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527188 -2.793074)'), GeomFromEWKT('SRID=4674;POINT (-40.527367 -2.793172)'))) / (select extract(epoch from '2026-07-09 12:22:10'::timestamp) - extract(epoch from '2026-07-09 12:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527188 -2.793074)'), GeomFromEWKT('SRID=4674;POINT (-40.527367 -2.793172)'))) / (select extract(epoch from '2026-07-09 12:22:10'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.527515 -2.793269)', '2026-07-09 12:22:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527367 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.527515 -2.793269)'))) / (select extract(epoch from '2026-07-09 12:22:18'::timestamp) - extract(epoch from '2026-07-09 12:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527367 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.527515 -2.793269)'))) / (select extract(epoch from '2026-07-09 12:22:18'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.527673 -2.793372)', '2026-07-09 12:22:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527515 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.527673 -2.793372)'))) / (select extract(epoch from '2026-07-09 12:22:24'::timestamp) - extract(epoch from '2026-07-09 12:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527515 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.527673 -2.793372)'))) / (select extract(epoch from '2026-07-09 12:22:24'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.527814 -2.793467)', '2026-07-09 12:22:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527673 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.527814 -2.793467)'))) / (select extract(epoch from '2026-07-09 12:22:31'::timestamp) - extract(epoch from '2026-07-09 12:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527673 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.527814 -2.793467)'))) / (select extract(epoch from '2026-07-09 12:22:31'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.527978 -2.793579)', '2026-07-09 12:22:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527814 -2.793467)'), GeomFromEWKT('SRID=4674;POINT (-40.527978 -2.793579)'))) / (select extract(epoch from '2026-07-09 12:22:38'::timestamp) - extract(epoch from '2026-07-09 12:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527814 -2.793467)'), GeomFromEWKT('SRID=4674;POINT (-40.527978 -2.793579)'))) / (select extract(epoch from '2026-07-09 12:22:38'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.528111 -2.793671)', '2026-07-09 12:22:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527978 -2.793579)'), GeomFromEWKT('SRID=4674;POINT (-40.528111 -2.793671)'))) / (select extract(epoch from '2026-07-09 12:22:44'::timestamp) - extract(epoch from '2026-07-09 12:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.527978 -2.793579)'), GeomFromEWKT('SRID=4674;POINT (-40.528111 -2.793671)'))) / (select extract(epoch from '2026-07-09 12:22:44'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.528201 -2.793734)', '2026-07-09 12:22:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528111 -2.793671)'), GeomFromEWKT('SRID=4674;POINT (-40.528201 -2.793734)'))) / (select extract(epoch from '2026-07-09 12:22:49'::timestamp) - extract(epoch from '2026-07-09 12:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528111 -2.793671)'), GeomFromEWKT('SRID=4674;POINT (-40.528201 -2.793734)'))) / (select extract(epoch from '2026-07-09 12:22:49'::timestamp) - extract(epoch from '2026-07-09 12:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.528352 -2.793843)', '2026-07-09 12:22:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528201 -2.793734)'), GeomFromEWKT('SRID=4674;POINT (-40.528352 -2.793843)'))) / (select extract(epoch from '2026-07-09 12:22:54'::timestamp) - extract(epoch from '2026-07-09 12:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528201 -2.793734)'), GeomFromEWKT('SRID=4674;POINT (-40.528352 -2.793843)'))) / (select extract(epoch from '2026-07-09 12:22:54'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.5285 -2.793952)', '2026-07-09 12:23:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528352 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.5285 -2.793952)'))) / (select extract(epoch from '2026-07-09 12:23:00'::timestamp) - extract(epoch from '2026-07-09 12:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528352 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.5285 -2.793952)'))) / (select extract(epoch from '2026-07-09 12:23:00'::timestamp) - extract(epoch from '2026-07-09 12:22: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'), 47642, 'SRID=4674;POINT (-40.528647 -2.794033)', '2026-07-09 12:23:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5285 -2.793952)'), GeomFromEWKT('SRID=4674;POINT (-40.528647 -2.794033)'))) / (select extract(epoch from '2026-07-09 12:23:06'::timestamp) - extract(epoch from '2026-07-09 12:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5285 -2.793952)'), GeomFromEWKT('SRID=4674;POINT (-40.528647 -2.794033)'))) / (select extract(epoch from '2026-07-09 12:23:06'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.52878 -2.794114)', '2026-07-09 12:23:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528647 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.52878 -2.794114)'))) / (select extract(epoch from '2026-07-09 12:23:12'::timestamp) - extract(epoch from '2026-07-09 12:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528647 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.52878 -2.794114)'))) / (select extract(epoch from '2026-07-09 12:23:12'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.528944 -2.794242)', '2026-07-09 12:23:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52878 -2.794114)'), GeomFromEWKT('SRID=4674;POINT (-40.528944 -2.794242)'))) / (select extract(epoch from '2026-07-09 12:23:20'::timestamp) - extract(epoch from '2026-07-09 12:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.52878 -2.794114)'), GeomFromEWKT('SRID=4674;POINT (-40.528944 -2.794242)'))) / (select extract(epoch from '2026-07-09 12:23:20'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529125 -2.794399)', '2026-07-09 12:23:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528944 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.529125 -2.794399)'))) / (select extract(epoch from '2026-07-09 12:23:30'::timestamp) - extract(epoch from '2026-07-09 12:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.528944 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.529125 -2.794399)'))) / (select extract(epoch from '2026-07-09 12:23:30'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529255 -2.794507)', '2026-07-09 12:23:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529125 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.529255 -2.794507)'))) / (select extract(epoch from '2026-07-09 12:23:37'::timestamp) - extract(epoch from '2026-07-09 12:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529125 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.529255 -2.794507)'))) / (select extract(epoch from '2026-07-09 12:23:37'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529401 -2.794619)', '2026-07-09 12:23:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529255 -2.794507)'), GeomFromEWKT('SRID=4674;POINT (-40.529401 -2.794619)'))) / (select extract(epoch from '2026-07-09 12:23:44'::timestamp) - extract(epoch from '2026-07-09 12:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529255 -2.794507)'), GeomFromEWKT('SRID=4674;POINT (-40.529401 -2.794619)'))) / (select extract(epoch from '2026-07-09 12:23:44'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529561 -2.794707)', '2026-07-09 12:23:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529401 -2.794619)'), GeomFromEWKT('SRID=4674;POINT (-40.529561 -2.794707)'))) / (select extract(epoch from '2026-07-09 12:23:51'::timestamp) - extract(epoch from '2026-07-09 12:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529401 -2.794619)'), GeomFromEWKT('SRID=4674;POINT (-40.529561 -2.794707)'))) / (select extract(epoch from '2026-07-09 12:23:51'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529708 -2.794777)', '2026-07-09 12:23:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529561 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.529708 -2.794777)'))) / (select extract(epoch from '2026-07-09 12:23:58'::timestamp) - extract(epoch from '2026-07-09 12:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529561 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.529708 -2.794777)'))) / (select extract(epoch from '2026-07-09 12:23:58'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.529858 -2.794838)', '2026-07-09 12:24:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529708 -2.794777)'), GeomFromEWKT('SRID=4674;POINT (-40.529858 -2.794838)'))) / (select extract(epoch from '2026-07-09 12:24:05'::timestamp) - extract(epoch from '2026-07-09 12:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529708 -2.794777)'), GeomFromEWKT('SRID=4674;POINT (-40.529858 -2.794838)'))) / (select extract(epoch from '2026-07-09 12:24:05'::timestamp) - extract(epoch from '2026-07-09 12:23: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'), 47642, 'SRID=4674;POINT (-40.530001 -2.794899)', '2026-07-09 12:24:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529858 -2.794838)'), GeomFromEWKT('SRID=4674;POINT (-40.530001 -2.794899)'))) / (select extract(epoch from '2026-07-09 12:24:12'::timestamp) - extract(epoch from '2026-07-09 12:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.529858 -2.794838)'), GeomFromEWKT('SRID=4674;POINT (-40.530001 -2.794899)'))) / (select extract(epoch from '2026-07-09 12:24:12'::timestamp) - extract(epoch from '2026-07-09 12:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.530133 -2.794965)', '2026-07-09 12:24:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530001 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.530133 -2.794965)'))) / (select extract(epoch from '2026-07-09 12:24:18'::timestamp) - extract(epoch from '2026-07-09 12:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530001 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.530133 -2.794965)'))) / (select extract(epoch from '2026-07-09 12:24:18'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.53032 -2.795056)', '2026-07-09 12:24:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530133 -2.794965)'), GeomFromEWKT('SRID=4674;POINT (-40.53032 -2.795056)'))) / (select extract(epoch from '2026-07-09 12:24:26'::timestamp) - extract(epoch from '2026-07-09 12:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530133 -2.794965)'), GeomFromEWKT('SRID=4674;POINT (-40.53032 -2.795056)'))) / (select extract(epoch from '2026-07-09 12:24:26'::timestamp) - extract(epoch from '2026-07-09 12:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.530452 -2.795106)', '2026-07-09 12:24:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53032 -2.795056)'), GeomFromEWKT('SRID=4674;POINT (-40.530452 -2.795106)'))) / (select extract(epoch from '2026-07-09 12:24:32'::timestamp) - extract(epoch from '2026-07-09 12:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53032 -2.795056)'), GeomFromEWKT('SRID=4674;POINT (-40.530452 -2.795106)'))) / (select extract(epoch from '2026-07-09 12:24:32'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.530623 -2.795181)', '2026-07-09 12:24:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530452 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.530623 -2.795181)'))) / (select extract(epoch from '2026-07-09 12:24:40'::timestamp) - extract(epoch from '2026-07-09 12:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530452 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.530623 -2.795181)'))) / (select extract(epoch from '2026-07-09 12:24:40'::timestamp) - extract(epoch from '2026-07-09 12:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.530749 -2.795237)', '2026-07-09 12:24:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530623 -2.795181)'), GeomFromEWKT('SRID=4674;POINT (-40.530749 -2.795237)'))) / (select extract(epoch from '2026-07-09 12:24:46'::timestamp) - extract(epoch from '2026-07-09 12:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530623 -2.795181)'), GeomFromEWKT('SRID=4674;POINT (-40.530749 -2.795237)'))) / (select extract(epoch from '2026-07-09 12:24:46'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.530874 -2.795284)', '2026-07-09 12:24:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530749 -2.795237)'), GeomFromEWKT('SRID=4674;POINT (-40.530874 -2.795284)'))) / (select extract(epoch from '2026-07-09 12:24:52'::timestamp) - extract(epoch from '2026-07-09 12:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530749 -2.795237)'), GeomFromEWKT('SRID=4674;POINT (-40.530874 -2.795284)'))) / (select extract(epoch from '2026-07-09 12:24:52'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.530981 -2.795323)', '2026-07-09 12:24:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530874 -2.795284)'), GeomFromEWKT('SRID=4674;POINT (-40.530981 -2.795323)'))) / (select extract(epoch from '2026-07-09 12:24:57'::timestamp) - extract(epoch from '2026-07-09 12:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530874 -2.795284)'), GeomFromEWKT('SRID=4674;POINT (-40.530981 -2.795323)'))) / (select extract(epoch from '2026-07-09 12:24:57'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.531173 -2.795399)', '2026-07-09 12:25:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530981 -2.795323)'), GeomFromEWKT('SRID=4674;POINT (-40.531173 -2.795399)'))) / (select extract(epoch from '2026-07-09 12:25:06'::timestamp) - extract(epoch from '2026-07-09 12:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.530981 -2.795323)'), GeomFromEWKT('SRID=4674;POINT (-40.531173 -2.795399)'))) / (select extract(epoch from '2026-07-09 12:25:06'::timestamp) - extract(epoch from '2026-07-09 12:24: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'), 47642, 'SRID=4674;POINT (-40.531293 -2.795467)', '2026-07-09 12:25:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531173 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.531293 -2.795467)'))) / (select extract(epoch from '2026-07-09 12:25:11'::timestamp) - extract(epoch from '2026-07-09 12:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531173 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.531293 -2.795467)'))) / (select extract(epoch from '2026-07-09 12:25:11'::timestamp) - extract(epoch from '2026-07-09 12:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.531455 -2.795562)', '2026-07-09 12:25:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531293 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.531455 -2.795562)'))) / (select extract(epoch from '2026-07-09 12:25:18'::timestamp) - extract(epoch from '2026-07-09 12:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531293 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.531455 -2.795562)'))) / (select extract(epoch from '2026-07-09 12:25:18'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.531632 -2.795666)', '2026-07-09 12:25:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531455 -2.795562)'), GeomFromEWKT('SRID=4674;POINT (-40.531632 -2.795666)'))) / (select extract(epoch from '2026-07-09 12:25:25'::timestamp) - extract(epoch from '2026-07-09 12:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531455 -2.795562)'), GeomFromEWKT('SRID=4674;POINT (-40.531632 -2.795666)'))) / (select extract(epoch from '2026-07-09 12:25:25'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.531744 -2.795736)', '2026-07-09 12:25:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531632 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.531744 -2.795736)'))) / (select extract(epoch from '2026-07-09 12:25:30'::timestamp) - extract(epoch from '2026-07-09 12:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531632 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.531744 -2.795736)'))) / (select extract(epoch from '2026-07-09 12:25:30'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.531897 -2.795829)', '2026-07-09 12:25:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531744 -2.795736)'), GeomFromEWKT('SRID=4674;POINT (-40.531897 -2.795829)'))) / (select extract(epoch from '2026-07-09 12:25:35'::timestamp) - extract(epoch from '2026-07-09 12:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531744 -2.795736)'), GeomFromEWKT('SRID=4674;POINT (-40.531897 -2.795829)'))) / (select extract(epoch from '2026-07-09 12:25:35'::timestamp) - extract(epoch from '2026-07-09 12:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.532091 -2.795923)', '2026-07-09 12:25:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531897 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.532091 -2.795923)'))) / (select extract(epoch from '2026-07-09 12:25:42'::timestamp) - extract(epoch from '2026-07-09 12:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.531897 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.532091 -2.795923)'))) / (select extract(epoch from '2026-07-09 12:25:42'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.532294 -2.796003)', '2026-07-09 12:25:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532091 -2.795923)'), GeomFromEWKT('SRID=4674;POINT (-40.532294 -2.796003)'))) / (select extract(epoch from '2026-07-09 12:25:49'::timestamp) - extract(epoch from '2026-07-09 12:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532091 -2.795923)'), GeomFromEWKT('SRID=4674;POINT (-40.532294 -2.796003)'))) / (select extract(epoch from '2026-07-09 12:25:49'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.532432 -2.796085)', '2026-07-09 12:25:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532294 -2.796003)'), GeomFromEWKT('SRID=4674;POINT (-40.532432 -2.796085)'))) / (select extract(epoch from '2026-07-09 12:25:55'::timestamp) - extract(epoch from '2026-07-09 12:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532294 -2.796003)'), GeomFromEWKT('SRID=4674;POINT (-40.532432 -2.796085)'))) / (select extract(epoch from '2026-07-09 12:25:55'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.5326 -2.796204)', '2026-07-09 12:26:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532432 -2.796085)'), GeomFromEWKT('SRID=4674;POINT (-40.5326 -2.796204)'))) / (select extract(epoch from '2026-07-09 12:26:01'::timestamp) - extract(epoch from '2026-07-09 12:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532432 -2.796085)'), GeomFromEWKT('SRID=4674;POINT (-40.5326 -2.796204)'))) / (select extract(epoch from '2026-07-09 12:26:01'::timestamp) - extract(epoch from '2026-07-09 12:25: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'), 47642, 'SRID=4674;POINT (-40.532748 -2.796308)', '2026-07-09 12:26:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5326 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.532748 -2.796308)'))) / (select extract(epoch from '2026-07-09 12:26:07'::timestamp) - extract(epoch from '2026-07-09 12:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5326 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.532748 -2.796308)'))) / (select extract(epoch from '2026-07-09 12:26:07'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.532908 -2.796443)', '2026-07-09 12:26:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532748 -2.796308)'), GeomFromEWKT('SRID=4674;POINT (-40.532908 -2.796443)'))) / (select extract(epoch from '2026-07-09 12:26:15'::timestamp) - extract(epoch from '2026-07-09 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532748 -2.796308)'), GeomFromEWKT('SRID=4674;POINT (-40.532908 -2.796443)'))) / (select extract(epoch from '2026-07-09 12:26:15'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533089 -2.796629)', '2026-07-09 12:26:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532908 -2.796443)'), GeomFromEWKT('SRID=4674;POINT (-40.533089 -2.796629)'))) / (select extract(epoch from '2026-07-09 12:26:24'::timestamp) - extract(epoch from '2026-07-09 12:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.532908 -2.796443)'), GeomFromEWKT('SRID=4674;POINT (-40.533089 -2.796629)'))) / (select extract(epoch from '2026-07-09 12:26:24'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533234 -2.796735)', '2026-07-09 12:26:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533089 -2.796629)'), GeomFromEWKT('SRID=4674;POINT (-40.533234 -2.796735)'))) / (select extract(epoch from '2026-07-09 12:26:31'::timestamp) - extract(epoch from '2026-07-09 12:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533089 -2.796629)'), GeomFromEWKT('SRID=4674;POINT (-40.533234 -2.796735)'))) / (select extract(epoch from '2026-07-09 12:26:31'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533353 -2.796839)', '2026-07-09 12:26:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533234 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.533353 -2.796839)'))) / (select extract(epoch from '2026-07-09 12:26:36'::timestamp) - extract(epoch from '2026-07-09 12:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533234 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.533353 -2.796839)'))) / (select extract(epoch from '2026-07-09 12:26:36'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533447 -2.796921)', '2026-07-09 12:26:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533353 -2.796839)'), GeomFromEWKT('SRID=4674;POINT (-40.533447 -2.796921)'))) / (select extract(epoch from '2026-07-09 12:26:41'::timestamp) - extract(epoch from '2026-07-09 12:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533353 -2.796839)'), GeomFromEWKT('SRID=4674;POINT (-40.533447 -2.796921)'))) / (select extract(epoch from '2026-07-09 12:26:41'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533476 -2.79695)', '2026-07-09 12:26:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533447 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.533476 -2.79695)'))) / (select extract(epoch from '2026-07-09 12:26:42'::timestamp) - extract(epoch from '2026-07-09 12:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533447 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.533476 -2.79695)'))) / (select extract(epoch from '2026-07-09 12:26:42'::timestamp) - extract(epoch from '2026-07-09 12:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.533541 -2.797022)', '2026-07-09 12:26:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533476 -2.79695)'), GeomFromEWKT('SRID=4674;POINT (-40.533541 -2.797022)'))) / (select extract(epoch from '2026-07-09 12:26:45'::timestamp) - extract(epoch from '2026-07-09 12:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533476 -2.79695)'), GeomFromEWKT('SRID=4674;POINT (-40.533541 -2.797022)'))) / (select extract(epoch from '2026-07-09 12:26:45'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533603 -2.797091)', '2026-07-09 12:26:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533541 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.533603 -2.797091)'))) / (select extract(epoch from '2026-07-09 12:26:49'::timestamp) - extract(epoch from '2026-07-09 12:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533541 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.533603 -2.797091)'))) / (select extract(epoch from '2026-07-09 12:26:49'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533683 -2.797186)', '2026-07-09 12:26:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533603 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.533683 -2.797186)'))) / (select extract(epoch from '2026-07-09 12:26:54'::timestamp) - extract(epoch from '2026-07-09 12:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533603 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.533683 -2.797186)'))) / (select extract(epoch from '2026-07-09 12:26:54'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533751 -2.79729)', '2026-07-09 12:26:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533683 -2.797186)'), GeomFromEWKT('SRID=4674;POINT (-40.533751 -2.79729)'))) / (select extract(epoch from '2026-07-09 12:26:59'::timestamp) - extract(epoch from '2026-07-09 12:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533683 -2.797186)'), GeomFromEWKT('SRID=4674;POINT (-40.533751 -2.79729)'))) / (select extract(epoch from '2026-07-09 12:26:59'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533807 -2.797375)', '2026-07-09 12:27:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533751 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.533807 -2.797375)'))) / (select extract(epoch from '2026-07-09 12:27:04'::timestamp) - extract(epoch from '2026-07-09 12:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533751 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.533807 -2.797375)'))) / (select extract(epoch from '2026-07-09 12:27:04'::timestamp) - extract(epoch from '2026-07-09 12:26: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'), 47642, 'SRID=4674;POINT (-40.533866 -2.797503)', '2026-07-09 12:27:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533807 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.533866 -2.797503)'))) / (select extract(epoch from '2026-07-09 12:27:10'::timestamp) - extract(epoch from '2026-07-09 12:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533807 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.533866 -2.797503)'))) / (select extract(epoch from '2026-07-09 12:27:10'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.533919 -2.797626)', '2026-07-09 12:27:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533866 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.533919 -2.797626)'))) / (select extract(epoch from '2026-07-09 12:27:16'::timestamp) - extract(epoch from '2026-07-09 12:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533866 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.533919 -2.797626)'))) / (select extract(epoch from '2026-07-09 12:27:16'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.533985 -2.797752)', '2026-07-09 12:27:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533919 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.533985 -2.797752)'))) / (select extract(epoch from '2026-07-09 12:27:22'::timestamp) - extract(epoch from '2026-07-09 12:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533919 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.533985 -2.797752)'))) / (select extract(epoch from '2026-07-09 12:27:22'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534044 -2.797865)', '2026-07-09 12:27:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533985 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.534044 -2.797865)'))) / (select extract(epoch from '2026-07-09 12:27:27'::timestamp) - extract(epoch from '2026-07-09 12:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.533985 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.534044 -2.797865)'))) / (select extract(epoch from '2026-07-09 12:27:27'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534101 -2.797973)', '2026-07-09 12:27:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534044 -2.797865)'), GeomFromEWKT('SRID=4674;POINT (-40.534101 -2.797973)'))) / (select extract(epoch from '2026-07-09 12:27:32'::timestamp) - extract(epoch from '2026-07-09 12:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534044 -2.797865)'), GeomFromEWKT('SRID=4674;POINT (-40.534101 -2.797973)'))) / (select extract(epoch from '2026-07-09 12:27:32'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534156 -2.798077)', '2026-07-09 12:27:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534101 -2.797973)'), GeomFromEWKT('SRID=4674;POINT (-40.534156 -2.798077)'))) / (select extract(epoch from '2026-07-09 12:27:37'::timestamp) - extract(epoch from '2026-07-09 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534101 -2.797973)'), GeomFromEWKT('SRID=4674;POINT (-40.534156 -2.798077)'))) / (select extract(epoch from '2026-07-09 12:27:37'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534209 -2.798181)', '2026-07-09 12:27:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534156 -2.798077)'), GeomFromEWKT('SRID=4674;POINT (-40.534209 -2.798181)'))) / (select extract(epoch from '2026-07-09 12:27:42'::timestamp) - extract(epoch from '2026-07-09 12:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534156 -2.798077)'), GeomFromEWKT('SRID=4674;POINT (-40.534209 -2.798181)'))) / (select extract(epoch from '2026-07-09 12:27:42'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.53426 -2.79828)', '2026-07-09 12:27:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534209 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.53426 -2.79828)'))) / (select extract(epoch from '2026-07-09 12:27:47'::timestamp) - extract(epoch from '2026-07-09 12:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534209 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.53426 -2.79828)'))) / (select extract(epoch from '2026-07-09 12:27:47'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534325 -2.79837)', '2026-07-09 12:27:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53426 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.534325 -2.79837)'))) / (select extract(epoch from '2026-07-09 12:27:52'::timestamp) - extract(epoch from '2026-07-09 12:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53426 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.534325 -2.79837)'))) / (select extract(epoch from '2026-07-09 12:27:52'::timestamp) - extract(epoch from '2026-07-09 12:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.534417 -2.798512)', '2026-07-09 12:28:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534325 -2.79837)'), GeomFromEWKT('SRID=4674;POINT (-40.534417 -2.798512)'))) / (select extract(epoch from '2026-07-09 12:28:00'::timestamp) - extract(epoch from '2026-07-09 12:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534325 -2.79837)'), GeomFromEWKT('SRID=4674;POINT (-40.534417 -2.798512)'))) / (select extract(epoch from '2026-07-09 12:28:00'::timestamp) - extract(epoch from '2026-07-09 12:27: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'), 47642, 'SRID=4674;POINT (-40.534466 -2.798624)', '2026-07-09 12:28:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534417 -2.798512)'), GeomFromEWKT('SRID=4674;POINT (-40.534466 -2.798624)'))) / (select extract(epoch from '2026-07-09 12:28:06'::timestamp) - extract(epoch from '2026-07-09 12:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534417 -2.798512)'), GeomFromEWKT('SRID=4674;POINT (-40.534466 -2.798624)'))) / (select extract(epoch from '2026-07-09 12:28:06'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534498 -2.798758)', '2026-07-09 12:28:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534466 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.534498 -2.798758)'))) / (select extract(epoch from '2026-07-09 12:28:13'::timestamp) - extract(epoch from '2026-07-09 12:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534466 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.534498 -2.798758)'))) / (select extract(epoch from '2026-07-09 12:28:13'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534505 -2.798794)', '2026-07-09 12:28:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534498 -2.798758)'), GeomFromEWKT('SRID=4674;POINT (-40.534505 -2.798794)'))) / (select extract(epoch from '2026-07-09 12:28:15'::timestamp) - extract(epoch from '2026-07-09 12:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534498 -2.798758)'), GeomFromEWKT('SRID=4674;POINT (-40.534505 -2.798794)'))) / (select extract(epoch from '2026-07-09 12:28:15'::timestamp) - extract(epoch from '2026-07-09 12:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.534522 -2.798852)', '2026-07-09 12:28:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534505 -2.798794)'), GeomFromEWKT('SRID=4674;POINT (-40.534522 -2.798852)'))) / (select extract(epoch from '2026-07-09 12:28:18'::timestamp) - extract(epoch from '2026-07-09 12:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534505 -2.798794)'), GeomFromEWKT('SRID=4674;POINT (-40.534522 -2.798852)'))) / (select extract(epoch from '2026-07-09 12:28:18'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.53455 -2.798932)', '2026-07-09 12:28:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534522 -2.798852)'), GeomFromEWKT('SRID=4674;POINT (-40.53455 -2.798932)'))) / (select extract(epoch from '2026-07-09 12:28:22'::timestamp) - extract(epoch from '2026-07-09 12:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534522 -2.798852)'), GeomFromEWKT('SRID=4674;POINT (-40.53455 -2.798932)'))) / (select extract(epoch from '2026-07-09 12:28:22'::timestamp) - extract(epoch from '2026-07-09 12:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.534587 -2.799015)', '2026-07-09 12:28:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53455 -2.798932)'), GeomFromEWKT('SRID=4674;POINT (-40.534587 -2.799015)'))) / (select extract(epoch from '2026-07-09 12:28:27'::timestamp) - extract(epoch from '2026-07-09 12:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53455 -2.798932)'), GeomFromEWKT('SRID=4674;POINT (-40.534587 -2.799015)'))) / (select extract(epoch from '2026-07-09 12:28:27'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534626 -2.799164)', '2026-07-09 12:28:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534587 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.534626 -2.799164)'))) / (select extract(epoch from '2026-07-09 12:28:34'::timestamp) - extract(epoch from '2026-07-09 12:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534587 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.534626 -2.799164)'))) / (select extract(epoch from '2026-07-09 12:28:34'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534652 -2.799289)', '2026-07-09 12:28:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534626 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.534652 -2.799289)'))) / (select extract(epoch from '2026-07-09 12:28:40'::timestamp) - extract(epoch from '2026-07-09 12:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534626 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.534652 -2.799289)'))) / (select extract(epoch from '2026-07-09 12:28:40'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534698 -2.799426)', '2026-07-09 12:28:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534652 -2.799289)'), GeomFromEWKT('SRID=4674;POINT (-40.534698 -2.799426)'))) / (select extract(epoch from '2026-07-09 12:28:47'::timestamp) - extract(epoch from '2026-07-09 12:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534652 -2.799289)'), GeomFromEWKT('SRID=4674;POINT (-40.534698 -2.799426)'))) / (select extract(epoch from '2026-07-09 12:28:47'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534742 -2.799533)', '2026-07-09 12:28:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534698 -2.799426)'), GeomFromEWKT('SRID=4674;POINT (-40.534742 -2.799533)'))) / (select extract(epoch from '2026-07-09 12:28:52'::timestamp) - extract(epoch from '2026-07-09 12:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534698 -2.799426)'), GeomFromEWKT('SRID=4674;POINT (-40.534742 -2.799533)'))) / (select extract(epoch from '2026-07-09 12:28:52'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534783 -2.799649)', '2026-07-09 12:28:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534742 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.534783 -2.799649)'))) / (select extract(epoch from '2026-07-09 12:28:58'::timestamp) - extract(epoch from '2026-07-09 12:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534742 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.534783 -2.799649)'))) / (select extract(epoch from '2026-07-09 12:28:58'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534838 -2.799756)', '2026-07-09 12:29:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534783 -2.799649)'), GeomFromEWKT('SRID=4674;POINT (-40.534838 -2.799756)'))) / (select extract(epoch from '2026-07-09 12:29:04'::timestamp) - extract(epoch from '2026-07-09 12:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534783 -2.799649)'), GeomFromEWKT('SRID=4674;POINT (-40.534838 -2.799756)'))) / (select extract(epoch from '2026-07-09 12:29:04'::timestamp) - extract(epoch from '2026-07-09 12:28: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'), 47642, 'SRID=4674;POINT (-40.534898 -2.79988)', '2026-07-09 12:29:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534838 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.534898 -2.79988)'))) / (select extract(epoch from '2026-07-09 12:29:10'::timestamp) - extract(epoch from '2026-07-09 12:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534838 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.534898 -2.79988)'))) / (select extract(epoch from '2026-07-09 12:29:10'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.534939 -2.799976)', '2026-07-09 12:29:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534898 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.534939 -2.799976)'))) / (select extract(epoch from '2026-07-09 12:29:15'::timestamp) - extract(epoch from '2026-07-09 12:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534898 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.534939 -2.799976)'))) / (select extract(epoch from '2026-07-09 12:29:15'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.534991 -2.800126)', '2026-07-09 12:29:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534939 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.534991 -2.800126)'))) / (select extract(epoch from '2026-07-09 12:29:22'::timestamp) - extract(epoch from '2026-07-09 12:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534939 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.534991 -2.800126)'))) / (select extract(epoch from '2026-07-09 12:29:22'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535021 -2.800234)', '2026-07-09 12:29:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534991 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.535021 -2.800234)'))) / (select extract(epoch from '2026-07-09 12:29:27'::timestamp) - extract(epoch from '2026-07-09 12:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.534991 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.535021 -2.800234)'))) / (select extract(epoch from '2026-07-09 12:29:27'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535048 -2.800354)', '2026-07-09 12:29:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535021 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.535048 -2.800354)'))) / (select extract(epoch from '2026-07-09 12:29:33'::timestamp) - extract(epoch from '2026-07-09 12:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535021 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.535048 -2.800354)'))) / (select extract(epoch from '2026-07-09 12:29:33'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535075 -2.800461)', '2026-07-09 12:29:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535048 -2.800354)'), GeomFromEWKT('SRID=4674;POINT (-40.535075 -2.800461)'))) / (select extract(epoch from '2026-07-09 12:29:39'::timestamp) - extract(epoch from '2026-07-09 12:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535048 -2.800354)'), GeomFromEWKT('SRID=4674;POINT (-40.535075 -2.800461)'))) / (select extract(epoch from '2026-07-09 12:29:39'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535101 -2.800551)', '2026-07-09 12:29:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535075 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.535101 -2.800551)'))) / (select extract(epoch from '2026-07-09 12:29:44'::timestamp) - extract(epoch from '2026-07-09 12:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535075 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.535101 -2.800551)'))) / (select extract(epoch from '2026-07-09 12:29:44'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535131 -2.800635)', '2026-07-09 12:29:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535101 -2.800551)'), GeomFromEWKT('SRID=4674;POINT (-40.535131 -2.800635)'))) / (select extract(epoch from '2026-07-09 12:29:48'::timestamp) - extract(epoch from '2026-07-09 12:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535101 -2.800551)'), GeomFromEWKT('SRID=4674;POINT (-40.535131 -2.800635)'))) / (select extract(epoch from '2026-07-09 12:29:48'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535174 -2.800753)', '2026-07-09 12:29:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535131 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.535174 -2.800753)'))) / (select extract(epoch from '2026-07-09 12:29:54'::timestamp) - extract(epoch from '2026-07-09 12:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535131 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.535174 -2.800753)'))) / (select extract(epoch from '2026-07-09 12:29:54'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535239 -2.800914)', '2026-07-09 12:30:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535174 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.535239 -2.800914)'))) / (select extract(epoch from '2026-07-09 12:30:01'::timestamp) - extract(epoch from '2026-07-09 12:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535174 -2.800753)'), GeomFromEWKT('SRID=4674;POINT (-40.535239 -2.800914)'))) / (select extract(epoch from '2026-07-09 12:30:01'::timestamp) - extract(epoch from '2026-07-09 12:29: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'), 47642, 'SRID=4674;POINT (-40.535303 -2.801056)', '2026-07-09 12:30:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535239 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.535303 -2.801056)'))) / (select extract(epoch from '2026-07-09 12:30:07'::timestamp) - extract(epoch from '2026-07-09 12:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535239 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.535303 -2.801056)'))) / (select extract(epoch from '2026-07-09 12:30:07'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.53538 -2.801223)', '2026-07-09 12:30:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535303 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.53538 -2.801223)'))) / (select extract(epoch from '2026-07-09 12:30:14'::timestamp) - extract(epoch from '2026-07-09 12:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535303 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.53538 -2.801223)'))) / (select extract(epoch from '2026-07-09 12:30:14'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535444 -2.801395)', '2026-07-09 12:30:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53538 -2.801223)'), GeomFromEWKT('SRID=4674;POINT (-40.535444 -2.801395)'))) / (select extract(epoch from '2026-07-09 12:30:21'::timestamp) - extract(epoch from '2026-07-09 12:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53538 -2.801223)'), GeomFromEWKT('SRID=4674;POINT (-40.535444 -2.801395)'))) / (select extract(epoch from '2026-07-09 12:30:21'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535476 -2.801488)', '2026-07-09 12:30:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535444 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.535476 -2.801488)'))) / (select extract(epoch from '2026-07-09 12:30:25'::timestamp) - extract(epoch from '2026-07-09 12:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535444 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.535476 -2.801488)'))) / (select extract(epoch from '2026-07-09 12:30:25'::timestamp) - extract(epoch from '2026-07-09 12:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.535525 -2.801659)', '2026-07-09 12:30:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535476 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.535525 -2.801659)'))) / (select extract(epoch from '2026-07-09 12:30:32'::timestamp) - extract(epoch from '2026-07-09 12:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535476 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.535525 -2.801659)'))) / (select extract(epoch from '2026-07-09 12:30:32'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535556 -2.801834)', '2026-07-09 12:30:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535525 -2.801659)'), GeomFromEWKT('SRID=4674;POINT (-40.535556 -2.801834)'))) / (select extract(epoch from '2026-07-09 12:30:39'::timestamp) - extract(epoch from '2026-07-09 12:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535525 -2.801659)'), GeomFromEWKT('SRID=4674;POINT (-40.535556 -2.801834)'))) / (select extract(epoch from '2026-07-09 12:30:39'::timestamp) - extract(epoch from '2026-07-09 12:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.535593 -2.801983)', '2026-07-09 12:30:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535556 -2.801834)'), GeomFromEWKT('SRID=4674;POINT (-40.535593 -2.801983)'))) / (select extract(epoch from '2026-07-09 12:30:46'::timestamp) - extract(epoch from '2026-07-09 12:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535556 -2.801834)'), GeomFromEWKT('SRID=4674;POINT (-40.535593 -2.801983)'))) / (select extract(epoch from '2026-07-09 12:30:46'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535633 -2.802123)', '2026-07-09 12:30:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535593 -2.801983)'), GeomFromEWKT('SRID=4674;POINT (-40.535633 -2.802123)'))) / (select extract(epoch from '2026-07-09 12:30:52'::timestamp) - extract(epoch from '2026-07-09 12:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535593 -2.801983)'), GeomFromEWKT('SRID=4674;POINT (-40.535633 -2.802123)'))) / (select extract(epoch from '2026-07-09 12:30:52'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535658 -2.802275)', '2026-07-09 12:30:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535633 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.535658 -2.802275)'))) / (select extract(epoch from '2026-07-09 12:30:58'::timestamp) - extract(epoch from '2026-07-09 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535633 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.535658 -2.802275)'))) / (select extract(epoch from '2026-07-09 12:30:58'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.535674 -2.802421)', '2026-07-09 12:31:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535658 -2.802275)'), GeomFromEWKT('SRID=4674;POINT (-40.535674 -2.802421)'))) / (select extract(epoch from '2026-07-09 12:31:05'::timestamp) - extract(epoch from '2026-07-09 12:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535658 -2.802275)'), GeomFromEWKT('SRID=4674;POINT (-40.535674 -2.802421)'))) / (select extract(epoch from '2026-07-09 12:31:05'::timestamp) - extract(epoch from '2026-07-09 12:30: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'), 47642, 'SRID=4674;POINT (-40.53573 -2.802604)', '2026-07-09 12:31:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535674 -2.802421)'), GeomFromEWKT('SRID=4674;POINT (-40.53573 -2.802604)'))) / (select extract(epoch from '2026-07-09 12:31:14'::timestamp) - extract(epoch from '2026-07-09 12:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535674 -2.802421)'), GeomFromEWKT('SRID=4674;POINT (-40.53573 -2.802604)'))) / (select extract(epoch from '2026-07-09 12:31:14'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.535783 -2.802744)', '2026-07-09 12:31:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53573 -2.802604)'), GeomFromEWKT('SRID=4674;POINT (-40.535783 -2.802744)'))) / (select extract(epoch from '2026-07-09 12:31:21'::timestamp) - extract(epoch from '2026-07-09 12:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53573 -2.802604)'), GeomFromEWKT('SRID=4674;POINT (-40.535783 -2.802744)'))) / (select extract(epoch from '2026-07-09 12:31:21'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.535856 -2.802862)', '2026-07-09 12:31:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535783 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.535856 -2.802862)'))) / (select extract(epoch from '2026-07-09 12:31:27'::timestamp) - extract(epoch from '2026-07-09 12:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535783 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.535856 -2.802862)'))) / (select extract(epoch from '2026-07-09 12:31:27'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.535917 -2.802957)', '2026-07-09 12:31:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535856 -2.802862)'), GeomFromEWKT('SRID=4674;POINT (-40.535917 -2.802957)'))) / (select extract(epoch from '2026-07-09 12:31:32'::timestamp) - extract(epoch from '2026-07-09 12:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535856 -2.802862)'), GeomFromEWKT('SRID=4674;POINT (-40.535917 -2.802957)'))) / (select extract(epoch from '2026-07-09 12:31:32'::timestamp) - extract(epoch from '2026-07-09 12:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.535994 -2.803072)', '2026-07-09 12:31:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535917 -2.802957)'), GeomFromEWKT('SRID=4674;POINT (-40.535994 -2.803072)'))) / (select extract(epoch from '2026-07-09 12:31:38'::timestamp) - extract(epoch from '2026-07-09 12:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535917 -2.802957)'), GeomFromEWKT('SRID=4674;POINT (-40.535994 -2.803072)'))) / (select extract(epoch from '2026-07-09 12:31:38'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.536075 -2.803192)', '2026-07-09 12:31:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535994 -2.803072)'), GeomFromEWKT('SRID=4674;POINT (-40.536075 -2.803192)'))) / (select extract(epoch from '2026-07-09 12:31:44'::timestamp) - extract(epoch from '2026-07-09 12:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.535994 -2.803072)'), GeomFromEWKT('SRID=4674;POINT (-40.536075 -2.803192)'))) / (select extract(epoch from '2026-07-09 12:31:44'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.536129 -2.803281)', '2026-07-09 12:31:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536075 -2.803192)'), GeomFromEWKT('SRID=4674;POINT (-40.536129 -2.803281)'))) / (select extract(epoch from '2026-07-09 12:31:49'::timestamp) - extract(epoch from '2026-07-09 12:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536075 -2.803192)'), GeomFromEWKT('SRID=4674;POINT (-40.536129 -2.803281)'))) / (select extract(epoch from '2026-07-09 12:31:49'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.536187 -2.803378)', '2026-07-09 12:31:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536129 -2.803281)'), GeomFromEWKT('SRID=4674;POINT (-40.536187 -2.803378)'))) / (select extract(epoch from '2026-07-09 12:31:54'::timestamp) - extract(epoch from '2026-07-09 12:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536129 -2.803281)'), GeomFromEWKT('SRID=4674;POINT (-40.536187 -2.803378)'))) / (select extract(epoch from '2026-07-09 12:31:54'::timestamp) - extract(epoch from '2026-07-09 12:31: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'), 47642, 'SRID=4674;POINT (-40.536277 -2.803527)', '2026-07-09 12:32:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536187 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.536277 -2.803527)'))) / (select extract(epoch from '2026-07-09 12:32:01'::timestamp) - extract(epoch from '2026-07-09 12:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536187 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.536277 -2.803527)'))) / (select extract(epoch from '2026-07-09 12:32:01'::timestamp) - extract(epoch from '2026-07-09 12:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.536406 -2.8037)', '2026-07-09 12:32:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536277 -2.803527)'), GeomFromEWKT('SRID=4674;POINT (-40.536406 -2.8037)'))) / (select extract(epoch from '2026-07-09 12:32:09'::timestamp) - extract(epoch from '2026-07-09 12:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536277 -2.803527)'), GeomFromEWKT('SRID=4674;POINT (-40.536406 -2.8037)'))) / (select extract(epoch from '2026-07-09 12:32:09'::timestamp) - extract(epoch from '2026-07-09 12:32: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'), 47642, 'SRID=4674;POINT (-40.536473 -2.803822)', '2026-07-09 12:32:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536406 -2.8037)'), GeomFromEWKT('SRID=4674;POINT (-40.536473 -2.803822)'))) / (select extract(epoch from '2026-07-09 12:32:14'::timestamp) - extract(epoch from '2026-07-09 12:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536406 -2.8037)'), GeomFromEWKT('SRID=4674;POINT (-40.536473 -2.803822)'))) / (select extract(epoch from '2026-07-09 12:32:14'::timestamp) - extract(epoch from '2026-07-09 12:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.536562 -2.803994)', '2026-07-09 12:32:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536473 -2.803822)'), GeomFromEWKT('SRID=4674;POINT (-40.536562 -2.803994)'))) / (select extract(epoch from '2026-07-09 12:32:21'::timestamp) - extract(epoch from '2026-07-09 12:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536473 -2.803822)'), GeomFromEWKT('SRID=4674;POINT (-40.536562 -2.803994)'))) / (select extract(epoch from '2026-07-09 12:32:21'::timestamp) - extract(epoch from '2026-07-09 12:32: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'), 47642, 'SRID=4674;POINT (-40.536666 -2.804108)', '2026-07-09 12:32:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536562 -2.803994)'), GeomFromEWKT('SRID=4674;POINT (-40.536666 -2.804108)'))) / (select extract(epoch from '2026-07-09 12:32:27'::timestamp) - extract(epoch from '2026-07-09 12:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536562 -2.803994)'), GeomFromEWKT('SRID=4674;POINT (-40.536666 -2.804108)'))) / (select extract(epoch from '2026-07-09 12:32:27'::timestamp) - extract(epoch from '2026-07-09 12:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.536772 -2.804232)', '2026-07-09 12:32:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536666 -2.804108)'), GeomFromEWKT('SRID=4674;POINT (-40.536772 -2.804232)'))) / (select extract(epoch from '2026-07-09 12:32:33'::timestamp) - extract(epoch from '2026-07-09 12:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536666 -2.804108)'), GeomFromEWKT('SRID=4674;POINT (-40.536772 -2.804232)'))) / (select extract(epoch from '2026-07-09 12:32:33'::timestamp) - extract(epoch from '2026-07-09 12:32: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'), 47642, 'SRID=4674;POINT (-40.536888 -2.804372)', '2026-07-09 12:32:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536772 -2.804232)'), GeomFromEWKT('SRID=4674;POINT (-40.536888 -2.804372)'))) / (select extract(epoch from '2026-07-09 12:32:40'::timestamp) - extract(epoch from '2026-07-09 12:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536772 -2.804232)'), GeomFromEWKT('SRID=4674;POINT (-40.536888 -2.804372)'))) / (select extract(epoch from '2026-07-09 12:32:40'::timestamp) - extract(epoch from '2026-07-09 12:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.537009 -2.804549)', '2026-07-09 12:32:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536888 -2.804372)'), GeomFromEWKT('SRID=4674;POINT (-40.537009 -2.804549)'))) / (select extract(epoch from '2026-07-09 12:32:48'::timestamp) - extract(epoch from '2026-07-09 12:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.536888 -2.804372)'), GeomFromEWKT('SRID=4674;POINT (-40.537009 -2.804549)'))) / (select extract(epoch from '2026-07-09 12:32:48'::timestamp) - extract(epoch from '2026-07-09 12:32: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'), 47642, 'SRID=4674;POINT (-40.537082 -2.804716)', '2026-07-09 12:32:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537009 -2.804549)'), GeomFromEWKT('SRID=4674;POINT (-40.537082 -2.804716)'))) / (select extract(epoch from '2026-07-09 12:32:55'::timestamp) - extract(epoch from '2026-07-09 12:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537009 -2.804549)'), GeomFromEWKT('SRID=4674;POINT (-40.537082 -2.804716)'))) / (select extract(epoch from '2026-07-09 12:32:55'::timestamp) - extract(epoch from '2026-07-09 12:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.537141 -2.804877)', '2026-07-09 12:33:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537082 -2.804716)'), GeomFromEWKT('SRID=4674;POINT (-40.537141 -2.804877)'))) / (select extract(epoch from '2026-07-09 12:33:02'::timestamp) - extract(epoch from '2026-07-09 12:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537082 -2.804716)'), GeomFromEWKT('SRID=4674;POINT (-40.537141 -2.804877)'))) / (select extract(epoch from '2026-07-09 12:33:02'::timestamp) - extract(epoch from '2026-07-09 12:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.537179 -2.804993)', '2026-07-09 12:33:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537141 -2.804877)'), GeomFromEWKT('SRID=4674;POINT (-40.537179 -2.804993)'))) / (select extract(epoch from '2026-07-09 12:33:07'::timestamp) - extract(epoch from '2026-07-09 12:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537141 -2.804877)'), GeomFromEWKT('SRID=4674;POINT (-40.537179 -2.804993)'))) / (select extract(epoch from '2026-07-09 12:33:07'::timestamp) - extract(epoch from '2026-07-09 12:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.53722 -2.805107)', '2026-07-09 12:33:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537179 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.53722 -2.805107)'))) / (select extract(epoch from '2026-07-09 12:33:12'::timestamp) - extract(epoch from '2026-07-09 12:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537179 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.53722 -2.805107)'))) / (select extract(epoch from '2026-07-09 12:33:12'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537266 -2.805261)', '2026-07-09 12:33:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53722 -2.805107)'), GeomFromEWKT('SRID=4674;POINT (-40.537266 -2.805261)'))) / (select extract(epoch from '2026-07-09 12:33:18'::timestamp) - extract(epoch from '2026-07-09 12:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53722 -2.805107)'), GeomFromEWKT('SRID=4674;POINT (-40.537266 -2.805261)'))) / (select extract(epoch from '2026-07-09 12:33:18'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537293 -2.805372)', '2026-07-09 12:33:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537266 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.537293 -2.805372)'))) / (select extract(epoch from '2026-07-09 12:33:23'::timestamp) - extract(epoch from '2026-07-09 12:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537266 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.537293 -2.805372)'))) / (select extract(epoch from '2026-07-09 12:33:23'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537331 -2.805513)', '2026-07-09 12:33:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537293 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.537331 -2.805513)'))) / (select extract(epoch from '2026-07-09 12:33:29'::timestamp) - extract(epoch from '2026-07-09 12:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537293 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.537331 -2.805513)'))) / (select extract(epoch from '2026-07-09 12:33:29'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537361 -2.805669)', '2026-07-09 12:33:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537331 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.537361 -2.805669)'))) / (select extract(epoch from '2026-07-09 12:33:36'::timestamp) - extract(epoch from '2026-07-09 12:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537331 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.537361 -2.805669)'))) / (select extract(epoch from '2026-07-09 12:33:36'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537396 -2.805796)', '2026-07-09 12:33:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537361 -2.805669)'), GeomFromEWKT('SRID=4674;POINT (-40.537396 -2.805796)'))) / (select extract(epoch from '2026-07-09 12:33:42'::timestamp) - extract(epoch from '2026-07-09 12:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537361 -2.805669)'), GeomFromEWKT('SRID=4674;POINT (-40.537396 -2.805796)'))) / (select extract(epoch from '2026-07-09 12:33:42'::timestamp) - extract(epoch from '2026-07-09 12:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.537446 -2.805914)', '2026-07-09 12:33:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537396 -2.805796)'), GeomFromEWKT('SRID=4674;POINT (-40.537446 -2.805914)'))) / (select extract(epoch from '2026-07-09 12:33:48'::timestamp) - extract(epoch from '2026-07-09 12:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537396 -2.805796)'), GeomFromEWKT('SRID=4674;POINT (-40.537446 -2.805914)'))) / (select extract(epoch from '2026-07-09 12:33:48'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.5375 -2.806024)', '2026-07-09 12:33:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537446 -2.805914)'), GeomFromEWKT('SRID=4674;POINT (-40.5375 -2.806024)'))) / (select extract(epoch from '2026-07-09 12:33:54'::timestamp) - extract(epoch from '2026-07-09 12:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537446 -2.805914)'), GeomFromEWKT('SRID=4674;POINT (-40.5375 -2.806024)'))) / (select extract(epoch from '2026-07-09 12:33:54'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537579 -2.806163)', '2026-07-09 12:34:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5375 -2.806024)'), GeomFromEWKT('SRID=4674;POINT (-40.537579 -2.806163)'))) / (select extract(epoch from '2026-07-09 12:34:01'::timestamp) - extract(epoch from '2026-07-09 12:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5375 -2.806024)'), GeomFromEWKT('SRID=4674;POINT (-40.537579 -2.806163)'))) / (select extract(epoch from '2026-07-09 12:34:01'::timestamp) - extract(epoch from '2026-07-09 12:33: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'), 47642, 'SRID=4674;POINT (-40.537657 -2.80628)', '2026-07-09 12:34:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537579 -2.806163)'), GeomFromEWKT('SRID=4674;POINT (-40.537657 -2.80628)'))) / (select extract(epoch from '2026-07-09 12:34:07'::timestamp) - extract(epoch from '2026-07-09 12:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537579 -2.806163)'), GeomFromEWKT('SRID=4674;POINT (-40.537657 -2.80628)'))) / (select extract(epoch from '2026-07-09 12:34:07'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.537757 -2.806431)', '2026-07-09 12:34:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537657 -2.80628)'), GeomFromEWKT('SRID=4674;POINT (-40.537757 -2.806431)'))) / (select extract(epoch from '2026-07-09 12:34:15'::timestamp) - extract(epoch from '2026-07-09 12:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537657 -2.80628)'), GeomFromEWKT('SRID=4674;POINT (-40.537757 -2.806431)'))) / (select extract(epoch from '2026-07-09 12:34:15'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.537822 -2.80654)', '2026-07-09 12:34:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537757 -2.806431)'), GeomFromEWKT('SRID=4674;POINT (-40.537822 -2.80654)'))) / (select extract(epoch from '2026-07-09 12:34:20'::timestamp) - extract(epoch from '2026-07-09 12:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537757 -2.806431)'), GeomFromEWKT('SRID=4674;POINT (-40.537822 -2.80654)'))) / (select extract(epoch from '2026-07-09 12:34:20'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.537902 -2.806647)', '2026-07-09 12:34:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537822 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.537902 -2.806647)'))) / (select extract(epoch from '2026-07-09 12:34:26'::timestamp) - extract(epoch from '2026-07-09 12:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537822 -2.80654)'), GeomFromEWKT('SRID=4674;POINT (-40.537902 -2.806647)'))) / (select extract(epoch from '2026-07-09 12:34:26'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.538003 -2.806768)', '2026-07-09 12:34:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537902 -2.806647)'), GeomFromEWKT('SRID=4674;POINT (-40.538003 -2.806768)'))) / (select extract(epoch from '2026-07-09 12:34:32'::timestamp) - extract(epoch from '2026-07-09 12:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.537902 -2.806647)'), GeomFromEWKT('SRID=4674;POINT (-40.538003 -2.806768)'))) / (select extract(epoch from '2026-07-09 12:34:32'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.538156 -2.806902)', '2026-07-09 12:34:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538003 -2.806768)'), GeomFromEWKT('SRID=4674;POINT (-40.538156 -2.806902)'))) / (select extract(epoch from '2026-07-09 12:34:40'::timestamp) - extract(epoch from '2026-07-09 12:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538003 -2.806768)'), GeomFromEWKT('SRID=4674;POINT (-40.538156 -2.806902)'))) / (select extract(epoch from '2026-07-09 12:34:40'::timestamp) - extract(epoch from '2026-07-09 12:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.538264 -2.807004)', '2026-07-09 12:34:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538156 -2.806902)'), GeomFromEWKT('SRID=4674;POINT (-40.538264 -2.807004)'))) / (select extract(epoch from '2026-07-09 12:34:46'::timestamp) - extract(epoch from '2026-07-09 12:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538156 -2.806902)'), GeomFromEWKT('SRID=4674;POINT (-40.538264 -2.807004)'))) / (select extract(epoch from '2026-07-09 12:34:46'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.53838 -2.8071)', '2026-07-09 12:34:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538264 -2.807004)'), GeomFromEWKT('SRID=4674;POINT (-40.53838 -2.8071)'))) / (select extract(epoch from '2026-07-09 12:34:52'::timestamp) - extract(epoch from '2026-07-09 12:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538264 -2.807004)'), GeomFromEWKT('SRID=4674;POINT (-40.53838 -2.8071)'))) / (select extract(epoch from '2026-07-09 12:34:52'::timestamp) - extract(epoch from '2026-07-09 12:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.538533 -2.807205)', '2026-07-09 12:34:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53838 -2.8071)'), GeomFromEWKT('SRID=4674;POINT (-40.538533 -2.807205)'))) / (select extract(epoch from '2026-07-09 12:34:59'::timestamp) - extract(epoch from '2026-07-09 12:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53838 -2.8071)'), GeomFromEWKT('SRID=4674;POINT (-40.538533 -2.807205)'))) / (select extract(epoch from '2026-07-09 12:34:59'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.538683 -2.807324)', '2026-07-09 12:35:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538533 -2.807205)'), GeomFromEWKT('SRID=4674;POINT (-40.538683 -2.807324)'))) / (select extract(epoch from '2026-07-09 12:35:06'::timestamp) - extract(epoch from '2026-07-09 12:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538533 -2.807205)'), GeomFromEWKT('SRID=4674;POINT (-40.538683 -2.807324)'))) / (select extract(epoch from '2026-07-09 12:35:06'::timestamp) - extract(epoch from '2026-07-09 12:34: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'), 47642, 'SRID=4674;POINT (-40.538863 -2.807437)', '2026-07-09 12:35:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538683 -2.807324)'), GeomFromEWKT('SRID=4674;POINT (-40.538863 -2.807437)'))) / (select extract(epoch from '2026-07-09 12:35:14'::timestamp) - extract(epoch from '2026-07-09 12:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538683 -2.807324)'), GeomFromEWKT('SRID=4674;POINT (-40.538863 -2.807437)'))) / (select extract(epoch from '2026-07-09 12:35:14'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539012 -2.80755)', '2026-07-09 12:35:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538863 -2.807437)'), GeomFromEWKT('SRID=4674;POINT (-40.539012 -2.80755)'))) / (select extract(epoch from '2026-07-09 12:35:21'::timestamp) - extract(epoch from '2026-07-09 12:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.538863 -2.807437)'), GeomFromEWKT('SRID=4674;POINT (-40.539012 -2.80755)'))) / (select extract(epoch from '2026-07-09 12:35:21'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539186 -2.807655)', '2026-07-09 12:35:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539012 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.539186 -2.807655)'))) / (select extract(epoch from '2026-07-09 12:35:29'::timestamp) - extract(epoch from '2026-07-09 12:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539012 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.539186 -2.807655)'))) / (select extract(epoch from '2026-07-09 12:35:29'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539343 -2.807753)', '2026-07-09 12:35:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539186 -2.807655)'), GeomFromEWKT('SRID=4674;POINT (-40.539343 -2.807753)'))) / (select extract(epoch from '2026-07-09 12:35:35'::timestamp) - extract(epoch from '2026-07-09 12:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539186 -2.807655)'), GeomFromEWKT('SRID=4674;POINT (-40.539343 -2.807753)'))) / (select extract(epoch from '2026-07-09 12:35:35'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.53948 -2.807844)', '2026-07-09 12:35:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539343 -2.807753)'), GeomFromEWKT('SRID=4674;POINT (-40.53948 -2.807844)'))) / (select extract(epoch from '2026-07-09 12:35:41'::timestamp) - extract(epoch from '2026-07-09 12:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539343 -2.807753)'), GeomFromEWKT('SRID=4674;POINT (-40.53948 -2.807844)'))) / (select extract(epoch from '2026-07-09 12:35:41'::timestamp) - extract(epoch from '2026-07-09 12:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.539607 -2.80793)', '2026-07-09 12:35:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53948 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.539607 -2.80793)'))) / (select extract(epoch from '2026-07-09 12:35:47'::timestamp) - extract(epoch from '2026-07-09 12:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.53948 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.539607 -2.80793)'))) / (select extract(epoch from '2026-07-09 12:35:47'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539728 -2.808028)', '2026-07-09 12:35:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539607 -2.80793)'), GeomFromEWKT('SRID=4674;POINT (-40.539728 -2.808028)'))) / (select extract(epoch from '2026-07-09 12:35:53'::timestamp) - extract(epoch from '2026-07-09 12:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539607 -2.80793)'), GeomFromEWKT('SRID=4674;POINT (-40.539728 -2.808028)'))) / (select extract(epoch from '2026-07-09 12:35:53'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539839 -2.80809)', '2026-07-09 12:35:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539728 -2.808028)'), GeomFromEWKT('SRID=4674;POINT (-40.539839 -2.80809)'))) / (select extract(epoch from '2026-07-09 12:35:58'::timestamp) - extract(epoch from '2026-07-09 12:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539728 -2.808028)'), GeomFromEWKT('SRID=4674;POINT (-40.539839 -2.80809)'))) / (select extract(epoch from '2026-07-09 12:35:58'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.539985 -2.808179)', '2026-07-09 12:36:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539839 -2.80809)'), GeomFromEWKT('SRID=4674;POINT (-40.539985 -2.808179)'))) / (select extract(epoch from '2026-07-09 12:36:04'::timestamp) - extract(epoch from '2026-07-09 12:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539839 -2.80809)'), GeomFromEWKT('SRID=4674;POINT (-40.539985 -2.808179)'))) / (select extract(epoch from '2026-07-09 12:36:04'::timestamp) - extract(epoch from '2026-07-09 12:35: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'), 47642, 'SRID=4674;POINT (-40.540125 -2.808283)', '2026-07-09 12:36:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539985 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.540125 -2.808283)'))) / (select extract(epoch from '2026-07-09 12:36:10'::timestamp) - extract(epoch from '2026-07-09 12:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.539985 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.540125 -2.808283)'))) / (select extract(epoch from '2026-07-09 12:36:10'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.540286 -2.808424)', '2026-07-09 12:36:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540125 -2.808283)'), GeomFromEWKT('SRID=4674;POINT (-40.540286 -2.808424)'))) / (select extract(epoch from '2026-07-09 12:36:18'::timestamp) - extract(epoch from '2026-07-09 12:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540125 -2.808283)'), GeomFromEWKT('SRID=4674;POINT (-40.540286 -2.808424)'))) / (select extract(epoch from '2026-07-09 12:36:18'::timestamp) - extract(epoch from '2026-07-09 12:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.540433 -2.808551)', '2026-07-09 12:36:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540286 -2.808424)'), GeomFromEWKT('SRID=4674;POINT (-40.540433 -2.808551)'))) / (select extract(epoch from '2026-07-09 12:36:24'::timestamp) - extract(epoch from '2026-07-09 12:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540286 -2.808424)'), GeomFromEWKT('SRID=4674;POINT (-40.540433 -2.808551)'))) / (select extract(epoch from '2026-07-09 12:36:24'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.540548 -2.808654)', '2026-07-09 12:36:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540433 -2.808551)'), GeomFromEWKT('SRID=4674;POINT (-40.540548 -2.808654)'))) / (select extract(epoch from '2026-07-09 12:36:29'::timestamp) - extract(epoch from '2026-07-09 12:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540433 -2.808551)'), GeomFromEWKT('SRID=4674;POINT (-40.540548 -2.808654)'))) / (select extract(epoch from '2026-07-09 12:36:29'::timestamp) - extract(epoch from '2026-07-09 12:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.540723 -2.808796)', '2026-07-09 12:36:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540548 -2.808654)'), GeomFromEWKT('SRID=4674;POINT (-40.540723 -2.808796)'))) / (select extract(epoch from '2026-07-09 12:36:36'::timestamp) - extract(epoch from '2026-07-09 12:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540548 -2.808654)'), GeomFromEWKT('SRID=4674;POINT (-40.540723 -2.808796)'))) / (select extract(epoch from '2026-07-09 12:36:36'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.540866 -2.808899)', '2026-07-09 12:36:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540723 -2.808796)'), GeomFromEWKT('SRID=4674;POINT (-40.540866 -2.808899)'))) / (select extract(epoch from '2026-07-09 12:36:42'::timestamp) - extract(epoch from '2026-07-09 12:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540723 -2.808796)'), GeomFromEWKT('SRID=4674;POINT (-40.540866 -2.808899)'))) / (select extract(epoch from '2026-07-09 12:36:42'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.540998 -2.808981)', '2026-07-09 12:36:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540866 -2.808899)'), GeomFromEWKT('SRID=4674;POINT (-40.540998 -2.808981)'))) / (select extract(epoch from '2026-07-09 12:36:48'::timestamp) - extract(epoch from '2026-07-09 12:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540866 -2.808899)'), GeomFromEWKT('SRID=4674;POINT (-40.540998 -2.808981)'))) / (select extract(epoch from '2026-07-09 12:36:48'::timestamp) - extract(epoch from '2026-07-09 12:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.541237 -2.809122)', '2026-07-09 12:36:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540998 -2.808981)'), GeomFromEWKT('SRID=4674;POINT (-40.541237 -2.809122)'))) / (select extract(epoch from '2026-07-09 12:36:57'::timestamp) - extract(epoch from '2026-07-09 12:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.540998 -2.808981)'), GeomFromEWKT('SRID=4674;POINT (-40.541237 -2.809122)'))) / (select extract(epoch from '2026-07-09 12:36:57'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.5414 -2.809212)', '2026-07-09 12:37:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541237 -2.809122)'), GeomFromEWKT('SRID=4674;POINT (-40.5414 -2.809212)'))) / (select extract(epoch from '2026-07-09 12:37:03'::timestamp) - extract(epoch from '2026-07-09 12:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541237 -2.809122)'), GeomFromEWKT('SRID=4674;POINT (-40.5414 -2.809212)'))) / (select extract(epoch from '2026-07-09 12:37:03'::timestamp) - extract(epoch from '2026-07-09 12:36: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'), 47642, 'SRID=4674;POINT (-40.54159 -2.80932)', '2026-07-09 12:37:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5414 -2.809212)'), GeomFromEWKT('SRID=4674;POINT (-40.54159 -2.80932)'))) / (select extract(epoch from '2026-07-09 12:37:10'::timestamp) - extract(epoch from '2026-07-09 12:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5414 -2.809212)'), GeomFromEWKT('SRID=4674;POINT (-40.54159 -2.80932)'))) / (select extract(epoch from '2026-07-09 12:37:10'::timestamp) - extract(epoch from '2026-07-09 12:37: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'), 47642, 'SRID=4674;POINT (-40.541766 -2.809422)', '2026-07-09 12:37:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54159 -2.80932)'), GeomFromEWKT('SRID=4674;POINT (-40.541766 -2.809422)'))) / (select extract(epoch from '2026-07-09 12:37:17'::timestamp) - extract(epoch from '2026-07-09 12:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54159 -2.80932)'), GeomFromEWKT('SRID=4674;POINT (-40.541766 -2.809422)'))) / (select extract(epoch from '2026-07-09 12:37:17'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.541967 -2.809556)', '2026-07-09 12:37:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541766 -2.809422)'), GeomFromEWKT('SRID=4674;POINT (-40.541967 -2.809556)'))) / (select extract(epoch from '2026-07-09 12:37:25'::timestamp) - extract(epoch from '2026-07-09 12:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541766 -2.809422)'), GeomFromEWKT('SRID=4674;POINT (-40.541967 -2.809556)'))) / (select extract(epoch from '2026-07-09 12:37:25'::timestamp) - extract(epoch from '2026-07-09 12:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.542132 -2.809663)', '2026-07-09 12:37:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541967 -2.809556)'), GeomFromEWKT('SRID=4674;POINT (-40.542132 -2.809663)'))) / (select extract(epoch from '2026-07-09 12:37:32'::timestamp) - extract(epoch from '2026-07-09 12:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.541967 -2.809556)'), GeomFromEWKT('SRID=4674;POINT (-40.542132 -2.809663)'))) / (select extract(epoch from '2026-07-09 12:37:32'::timestamp) - extract(epoch from '2026-07-09 12:37: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'), 47642, 'SRID=4674;POINT (-40.542331 -2.809799)', '2026-07-09 12:37:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542132 -2.809663)'), GeomFromEWKT('SRID=4674;POINT (-40.542331 -2.809799)'))) / (select extract(epoch from '2026-07-09 12:37:41'::timestamp) - extract(epoch from '2026-07-09 12:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542132 -2.809663)'), GeomFromEWKT('SRID=4674;POINT (-40.542331 -2.809799)'))) / (select extract(epoch from '2026-07-09 12:37:41'::timestamp) - extract(epoch from '2026-07-09 12:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.542539 -2.80994)', '2026-07-09 12:37:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542331 -2.809799)'), GeomFromEWKT('SRID=4674;POINT (-40.542539 -2.80994)'))) / (select extract(epoch from '2026-07-09 12:37:50'::timestamp) - extract(epoch from '2026-07-09 12:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542331 -2.809799)'), GeomFromEWKT('SRID=4674;POINT (-40.542539 -2.80994)'))) / (select extract(epoch from '2026-07-09 12:37:50'::timestamp) - extract(epoch from '2026-07-09 12:37: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'), 47642, 'SRID=4674;POINT (-40.542745 -2.81008)', '2026-07-09 12:37:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542539 -2.80994)'), GeomFromEWKT('SRID=4674;POINT (-40.542745 -2.81008)'))) / (select extract(epoch from '2026-07-09 12:37:58'::timestamp) - extract(epoch from '2026-07-09 12:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542539 -2.80994)'), GeomFromEWKT('SRID=4674;POINT (-40.542745 -2.81008)'))) / (select extract(epoch from '2026-07-09 12:37:58'::timestamp) - extract(epoch from '2026-07-09 12:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.542885 -2.810163)', '2026-07-09 12:38:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542745 -2.81008)'), GeomFromEWKT('SRID=4674;POINT (-40.542885 -2.810163)'))) / (select extract(epoch from '2026-07-09 12:38:04'::timestamp) - extract(epoch from '2026-07-09 12:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542745 -2.81008)'), GeomFromEWKT('SRID=4674;POINT (-40.542885 -2.810163)'))) / (select extract(epoch from '2026-07-09 12:38:04'::timestamp) - extract(epoch from '2026-07-09 12: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'), 47642, 'SRID=4674;POINT (-40.543033 -2.810271)', '2026-07-09 12:38:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542885 -2.810163)'), GeomFromEWKT('SRID=4674;POINT (-40.543033 -2.810271)'))) / (select extract(epoch from '2026-07-09 12:38:09'::timestamp) - extract(epoch from '2026-07-09 12:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.542885 -2.810163)'), GeomFromEWKT('SRID=4674;POINT (-40.543033 -2.810271)'))) / (select extract(epoch from '2026-07-09 12:38:09'::timestamp) - extract(epoch from '2026-07-09 12:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.543187 -2.81036)', '2026-07-09 12:38:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543033 -2.810271)'), GeomFromEWKT('SRID=4674;POINT (-40.543187 -2.81036)'))) / (select extract(epoch from '2026-07-09 12:38:15'::timestamp) - extract(epoch from '2026-07-09 12:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543033 -2.810271)'), GeomFromEWKT('SRID=4674;POINT (-40.543187 -2.81036)'))) / (select extract(epoch from '2026-07-09 12:38:15'::timestamp) - extract(epoch from '2026-07-09 12:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.543333 -2.810462)', '2026-07-09 12:38:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543187 -2.81036)'), GeomFromEWKT('SRID=4674;POINT (-40.543333 -2.810462)'))) / (select extract(epoch from '2026-07-09 12:38:21'::timestamp) - extract(epoch from '2026-07-09 12:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543187 -2.81036)'), GeomFromEWKT('SRID=4674;POINT (-40.543333 -2.810462)'))) / (select extract(epoch from '2026-07-09 12:38:21'::timestamp) - extract(epoch from '2026-07-09 12:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.543466 -2.810549)', '2026-07-09 12:38:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543333 -2.810462)'), GeomFromEWKT('SRID=4674;POINT (-40.543466 -2.810549)'))) / (select extract(epoch from '2026-07-09 12:38:27'::timestamp) - extract(epoch from '2026-07-09 12:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543333 -2.810462)'), GeomFromEWKT('SRID=4674;POINT (-40.543466 -2.810549)'))) / (select extract(epoch from '2026-07-09 12:38:27'::timestamp) - extract(epoch from '2026-07-09 12:38: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'), 47642, 'SRID=4674;POINT (-40.543624 -2.810658)', '2026-07-09 12:38:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543466 -2.810549)'), GeomFromEWKT('SRID=4674;POINT (-40.543624 -2.810658)'))) / (select extract(epoch from '2026-07-09 12:38:34'::timestamp) - extract(epoch from '2026-07-09 12:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543466 -2.810549)'), GeomFromEWKT('SRID=4674;POINT (-40.543624 -2.810658)'))) / (select extract(epoch from '2026-07-09 12:38:34'::timestamp) - extract(epoch from '2026-07-09 12:38: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'), 47642, 'SRID=4674;POINT (-40.54382 -2.81077)', '2026-07-09 12:38:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543624 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.54382 -2.81077)'))) / (select extract(epoch from '2026-07-09 12:38:42'::timestamp) - extract(epoch from '2026-07-09 12:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543624 -2.810658)'), GeomFromEWKT('SRID=4674;POINT (-40.54382 -2.81077)'))) / (select extract(epoch from '2026-07-09 12:38:42'::timestamp) - extract(epoch from '2026-07-09 12:38: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'), 47642, 'SRID=4674;POINT (-40.543987 -2.810862)', '2026-07-09 12:38:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54382 -2.81077)'), GeomFromEWKT('SRID=4674;POINT (-40.543987 -2.810862)'))) / (select extract(epoch from '2026-07-09 12:38:49'::timestamp) - extract(epoch from '2026-07-09 12:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54382 -2.81077)'), GeomFromEWKT('SRID=4674;POINT (-40.543987 -2.810862)'))) / (select extract(epoch from '2026-07-09 12:38:49'::timestamp) - extract(epoch from '2026-07-09 12:38: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'), 47642, 'SRID=4674;POINT (-40.544192 -2.810987)', '2026-07-09 12:38:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543987 -2.810862)'), GeomFromEWKT('SRID=4674;POINT (-40.544192 -2.810987)'))) / (select extract(epoch from '2026-07-09 12:38:58'::timestamp) - extract(epoch from '2026-07-09 12:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.543987 -2.810862)'), GeomFromEWKT('SRID=4674;POINT (-40.544192 -2.810987)'))) / (select extract(epoch from '2026-07-09 12:38:58'::timestamp) - extract(epoch from '2026-07-09 12:38: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'), 47642, 'SRID=4674;POINT (-40.544345 -2.811085)', '2026-07-09 12:39:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544192 -2.810987)'), GeomFromEWKT('SRID=4674;POINT (-40.544345 -2.811085)'))) / (select extract(epoch from '2026-07-09 12:39:05'::timestamp) - extract(epoch from '2026-07-09 12:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544192 -2.810987)'), GeomFromEWKT('SRID=4674;POINT (-40.544345 -2.811085)'))) / (select extract(epoch from '2026-07-09 12:39:05'::timestamp) - extract(epoch from '2026-07-09 12:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.544468 -2.811163)', '2026-07-09 12:39:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544345 -2.811085)'), GeomFromEWKT('SRID=4674;POINT (-40.544468 -2.811163)'))) / (select extract(epoch from '2026-07-09 12:39:11'::timestamp) - extract(epoch from '2026-07-09 12:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544345 -2.811085)'), GeomFromEWKT('SRID=4674;POINT (-40.544468 -2.811163)'))) / (select extract(epoch from '2026-07-09 12:39:11'::timestamp) - extract(epoch from '2026-07-09 12:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.544577 -2.811243)', '2026-07-09 12:39:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544468 -2.811163)'), GeomFromEWKT('SRID=4674;POINT (-40.544577 -2.811243)'))) / (select extract(epoch from '2026-07-09 12:39:16'::timestamp) - extract(epoch from '2026-07-09 12:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544468 -2.811163)'), GeomFromEWKT('SRID=4674;POINT (-40.544577 -2.811243)'))) / (select extract(epoch from '2026-07-09 12:39:16'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.54467 -2.811328)', '2026-07-09 12:39:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544577 -2.811243)'), GeomFromEWKT('SRID=4674;POINT (-40.54467 -2.811328)'))) / (select extract(epoch from '2026-07-09 12:39:21'::timestamp) - extract(epoch from '2026-07-09 12:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544577 -2.811243)'), GeomFromEWKT('SRID=4674;POINT (-40.54467 -2.811328)'))) / (select extract(epoch from '2026-07-09 12:39:21'::timestamp) - extract(epoch from '2026-07-09 12:39: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'), 47642, 'SRID=4674;POINT (-40.54478 -2.811441)', '2026-07-09 12:39:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54467 -2.811328)'), GeomFromEWKT('SRID=4674;POINT (-40.54478 -2.811441)'))) / (select extract(epoch from '2026-07-09 12:39:27'::timestamp) - extract(epoch from '2026-07-09 12:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54467 -2.811328)'), GeomFromEWKT('SRID=4674;POINT (-40.54478 -2.811441)'))) / (select extract(epoch from '2026-07-09 12:39:27'::timestamp) - extract(epoch from '2026-07-09 12:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.544865 -2.81153)', '2026-07-09 12:39:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54478 -2.811441)'), GeomFromEWKT('SRID=4674;POINT (-40.544865 -2.81153)'))) / (select extract(epoch from '2026-07-09 12:39:32'::timestamp) - extract(epoch from '2026-07-09 12:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54478 -2.811441)'), GeomFromEWKT('SRID=4674;POINT (-40.544865 -2.81153)'))) / (select extract(epoch from '2026-07-09 12:39:32'::timestamp) - extract(epoch from '2026-07-09 12:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.544967 -2.811618)', '2026-07-09 12:39:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544865 -2.81153)'), GeomFromEWKT('SRID=4674;POINT (-40.544967 -2.811618)'))) / (select extract(epoch from '2026-07-09 12:39:37'::timestamp) - extract(epoch from '2026-07-09 12:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544865 -2.81153)'), GeomFromEWKT('SRID=4674;POINT (-40.544967 -2.811618)'))) / (select extract(epoch from '2026-07-09 12:39:37'::timestamp) - extract(epoch from '2026-07-09 12:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.54508 -2.811712)', '2026-07-09 12:39:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544967 -2.811618)'), GeomFromEWKT('SRID=4674;POINT (-40.54508 -2.811712)'))) / (select extract(epoch from '2026-07-09 12:39:42'::timestamp) - extract(epoch from '2026-07-09 12:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.544967 -2.811618)'), GeomFromEWKT('SRID=4674;POINT (-40.54508 -2.811712)'))) / (select extract(epoch from '2026-07-09 12:39:42'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.545178 -2.811781)', '2026-07-09 12:39:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54508 -2.811712)'), GeomFromEWKT('SRID=4674;POINT (-40.545178 -2.811781)'))) / (select extract(epoch from '2026-07-09 12:39:47'::timestamp) - extract(epoch from '2026-07-09 12:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54508 -2.811712)'), GeomFromEWKT('SRID=4674;POINT (-40.545178 -2.811781)'))) / (select extract(epoch from '2026-07-09 12:39:47'::timestamp) - extract(epoch from '2026-07-09 12:39: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'), 47642, 'SRID=4674;POINT (-40.545279 -2.811862)', '2026-07-09 12:39:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545178 -2.811781)'), GeomFromEWKT('SRID=4674;POINT (-40.545279 -2.811862)'))) / (select extract(epoch from '2026-07-09 12:39:52'::timestamp) - extract(epoch from '2026-07-09 12:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545178 -2.811781)'), GeomFromEWKT('SRID=4674;POINT (-40.545279 -2.811862)'))) / (select extract(epoch from '2026-07-09 12:39:52'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.545418 -2.811986)', '2026-07-09 12:39:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545279 -2.811862)'), GeomFromEWKT('SRID=4674;POINT (-40.545418 -2.811986)'))) / (select extract(epoch from '2026-07-09 12:39:59'::timestamp) - extract(epoch from '2026-07-09 12:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545279 -2.811862)'), GeomFromEWKT('SRID=4674;POINT (-40.545418 -2.811986)'))) / (select extract(epoch from '2026-07-09 12:39:59'::timestamp) - extract(epoch from '2026-07-09 12:39: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'), 47642, 'SRID=4674;POINT (-40.545564 -2.812106)', '2026-07-09 12:40:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545418 -2.811986)'), GeomFromEWKT('SRID=4674;POINT (-40.545564 -2.812106)'))) / (select extract(epoch from '2026-07-09 12:40:06'::timestamp) - extract(epoch from '2026-07-09 12:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545418 -2.811986)'), GeomFromEWKT('SRID=4674;POINT (-40.545564 -2.812106)'))) / (select extract(epoch from '2026-07-09 12:40:06'::timestamp) - extract(epoch from '2026-07-09 12:39: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'), 47642, 'SRID=4674;POINT (-40.545696 -2.812202)', '2026-07-09 12:40:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545564 -2.812106)'), GeomFromEWKT('SRID=4674;POINT (-40.545696 -2.812202)'))) / (select extract(epoch from '2026-07-09 12:40:12'::timestamp) - extract(epoch from '2026-07-09 12:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545564 -2.812106)'), GeomFromEWKT('SRID=4674;POINT (-40.545696 -2.812202)'))) / (select extract(epoch from '2026-07-09 12:40:12'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.545842 -2.812313)', '2026-07-09 12:40:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545696 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.545842 -2.812313)'))) / (select extract(epoch from '2026-07-09 12:40:19'::timestamp) - extract(epoch from '2026-07-09 12:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545696 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.545842 -2.812313)'))) / (select extract(epoch from '2026-07-09 12:40:19'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.545963 -2.812389)', '2026-07-09 12:40:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545842 -2.812313)'), GeomFromEWKT('SRID=4674;POINT (-40.545963 -2.812389)'))) / (select extract(epoch from '2026-07-09 12:40:25'::timestamp) - extract(epoch from '2026-07-09 12:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545842 -2.812313)'), GeomFromEWKT('SRID=4674;POINT (-40.545963 -2.812389)'))) / (select extract(epoch from '2026-07-09 12:40:25'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.546098 -2.812467)', '2026-07-09 12:40:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545963 -2.812389)'), GeomFromEWKT('SRID=4674;POINT (-40.546098 -2.812467)'))) / (select extract(epoch from '2026-07-09 12:40:31'::timestamp) - extract(epoch from '2026-07-09 12:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.545963 -2.812389)'), GeomFromEWKT('SRID=4674;POINT (-40.546098 -2.812467)'))) / (select extract(epoch from '2026-07-09 12:40:31'::timestamp) - extract(epoch from '2026-07-09 12:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.546256 -2.812558)', '2026-07-09 12:40:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546098 -2.812467)'), GeomFromEWKT('SRID=4674;POINT (-40.546256 -2.812558)'))) / (select extract(epoch from '2026-07-09 12:40:37'::timestamp) - extract(epoch from '2026-07-09 12:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546098 -2.812467)'), GeomFromEWKT('SRID=4674;POINT (-40.546256 -2.812558)'))) / (select extract(epoch from '2026-07-09 12:40:37'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.546294 -2.812574)', '2026-07-09 12:40:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546256 -2.812558)'), GeomFromEWKT('SRID=4674;POINT (-40.546294 -2.812574)'))) / (select extract(epoch from '2026-07-09 12:40:39'::timestamp) - extract(epoch from '2026-07-09 12:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546256 -2.812558)'), GeomFromEWKT('SRID=4674;POINT (-40.546294 -2.812574)'))) / (select extract(epoch from '2026-07-09 12:40:39'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.54634 -2.812611)', '2026-07-09 12:40:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546294 -2.812574)'), GeomFromEWKT('SRID=4674;POINT (-40.54634 -2.812611)'))) / (select extract(epoch from '2026-07-09 12:40:41'::timestamp) - extract(epoch from '2026-07-09 12:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546294 -2.812574)'), GeomFromEWKT('SRID=4674;POINT (-40.54634 -2.812611)'))) / (select extract(epoch from '2026-07-09 12:40:41'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.546476 -2.812676)', '2026-07-09 12:40:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54634 -2.812611)'), GeomFromEWKT('SRID=4674;POINT (-40.546476 -2.812676)'))) / (select extract(epoch from '2026-07-09 12:40:46'::timestamp) - extract(epoch from '2026-07-09 12:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54634 -2.812611)'), GeomFromEWKT('SRID=4674;POINT (-40.546476 -2.812676)'))) / (select extract(epoch from '2026-07-09 12:40:46'::timestamp) - extract(epoch from '2026-07-09 12:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.54658 -2.812752)', '2026-07-09 12:40:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546476 -2.812676)'), GeomFromEWKT('SRID=4674;POINT (-40.54658 -2.812752)'))) / (select extract(epoch from '2026-07-09 12:40:50'::timestamp) - extract(epoch from '2026-07-09 12:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546476 -2.812676)'), GeomFromEWKT('SRID=4674;POINT (-40.54658 -2.812752)'))) / (select extract(epoch from '2026-07-09 12:40:50'::timestamp) - extract(epoch from '2026-07-09 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'), 47642, 'SRID=4674;POINT (-40.546718 -2.812814)', '2026-07-09 12:40:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54658 -2.812752)'), GeomFromEWKT('SRID=4674;POINT (-40.546718 -2.812814)'))) / (select extract(epoch from '2026-07-09 12:40:55'::timestamp) - extract(epoch from '2026-07-09 12:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54658 -2.812752)'), GeomFromEWKT('SRID=4674;POINT (-40.546718 -2.812814)'))) / (select extract(epoch from '2026-07-09 12:40:55'::timestamp) - extract(epoch from '2026-07-09 12:40: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'), 47642, 'SRID=4674;POINT (-40.546857 -2.812901)', '2026-07-09 12:41:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546718 -2.812814)'), GeomFromEWKT('SRID=4674;POINT (-40.546857 -2.812901)'))) / (select extract(epoch from '2026-07-09 12:41:01'::timestamp) - extract(epoch from '2026-07-09 12:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546718 -2.812814)'), GeomFromEWKT('SRID=4674;POINT (-40.546857 -2.812901)'))) / (select extract(epoch from '2026-07-09 12:41:01'::timestamp) - extract(epoch from '2026-07-09 12:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
