BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367398 -2.800516)', '2026-06-21 05:44:43', 7, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367384 -2.800504)', '2026-06-21 05:44:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.367384 -2.800504)'))) / (select extract(epoch from '2026-06-21 05:44:56'::timestamp) - extract(epoch from '2026-06-21 05:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.367384 -2.800504)'))) / (select extract(epoch from '2026-06-21 05:44:56'::timestamp) - extract(epoch from '2026-06-21 05:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367378 -2.800483)', '2026-06-21 05:45:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367384 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.800483)'))) / (select extract(epoch from '2026-06-21 05:45:13'::timestamp) - extract(epoch from '2026-06-21 05:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367384 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.800483)'))) / (select extract(epoch from '2026-06-21 05:45:13'::timestamp) - extract(epoch from '2026-06-21 05:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367393 -2.8005)', '2026-06-21 05:45:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.800483)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.8005)'))) / (select extract(epoch from '2026-06-21 05:45:28'::timestamp) - extract(epoch from '2026-06-21 05:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.800483)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.8005)'))) / (select extract(epoch from '2026-06-21 05:45:28'::timestamp) - extract(epoch from '2026-06-21 05:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367402 -2.800504)', '2026-06-21 05:45:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800504)'))) / (select extract(epoch from '2026-06-21 05:45:43'::timestamp) - extract(epoch from '2026-06-21 05:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800504)'))) / (select extract(epoch from '2026-06-21 05:45:43'::timestamp) - extract(epoch from '2026-06-21 05:45: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'), 46736, 'SRID=4674;POINT (-40.367406 -2.80051)', '2026-06-21 05:45:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.80051)'))) / (select extract(epoch from '2026-06-21 05:45:52'::timestamp) - extract(epoch from '2026-06-21 05:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.80051)'))) / (select extract(epoch from '2026-06-21 05:45:52'::timestamp) - extract(epoch from '2026-06-21 05:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367407 -2.800506)', '2026-06-21 05:46:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.80051)'), GeomFromEWKT('SRID=4674;POINT (-40.367407 -2.800506)'))) / (select extract(epoch from '2026-06-21 05:46:02'::timestamp) - extract(epoch from '2026-06-21 05:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.80051)'), GeomFromEWKT('SRID=4674;POINT (-40.367407 -2.800506)'))) / (select extract(epoch from '2026-06-21 05:46:02'::timestamp) - extract(epoch from '2026-06-21 05:45: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'), 46736, 'SRID=4674;POINT (-40.36741 -2.800512)', '2026-06-21 05:46:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367407 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.800512)'))) / (select extract(epoch from '2026-06-21 05:46:16'::timestamp) - extract(epoch from '2026-06-21 05:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367407 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.800512)'))) / (select extract(epoch from '2026-06-21 05:46:16'::timestamp) - extract(epoch from '2026-06-21 05:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367409 -2.800514)', '2026-06-21 05:46:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.800514)'))) / (select extract(epoch from '2026-06-21 05:46:27'::timestamp) - extract(epoch from '2026-06-21 05:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.800514)'))) / (select extract(epoch from '2026-06-21 05:46:27'::timestamp) - extract(epoch from '2026-06-21 05:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367413 -2.800518)', '2026-06-21 05:46:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800518)'))) / (select extract(epoch from '2026-06-21 05:46:39'::timestamp) - extract(epoch from '2026-06-21 05:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800518)'))) / (select extract(epoch from '2026-06-21 05:46:39'::timestamp) - extract(epoch from '2026-06-21 05:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367413 -2.800523)', '2026-06-21 05:46:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800518)'), GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800523)'))) / (select extract(epoch from '2026-06-21 05:46:52'::timestamp) - extract(epoch from '2026-06-21 05:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800518)'), GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800523)'))) / (select extract(epoch from '2026-06-21 05:46:52'::timestamp) - extract(epoch from '2026-06-21 05:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367406 -2.800529)', '2026-06-21 05:47:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.800529)'))) / (select extract(epoch from '2026-06-21 05:47:05'::timestamp) - extract(epoch from '2026-06-21 05:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367413 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.800529)'))) / (select extract(epoch from '2026-06-21 05:47:05'::timestamp) - extract(epoch from '2026-06-21 05:46: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'), 46736, 'SRID=4674;POINT (-40.3674 -2.800548)', '2026-06-21 05:47:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.3674 -2.800548)'))) / (select extract(epoch from '2026-06-21 05:47:19'::timestamp) - extract(epoch from '2026-06-21 05:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.3674 -2.800548)'))) / (select extract(epoch from '2026-06-21 05:47:19'::timestamp) - extract(epoch from '2026-06-21 05:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367402 -2.800653)', '2026-06-21 05:47:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3674 -2.800548)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800653)'))) / (select extract(epoch from '2026-06-21 05:47:33'::timestamp) - extract(epoch from '2026-06-21 05:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3674 -2.800548)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800653)'))) / (select extract(epoch from '2026-06-21 05:47:33'::timestamp) - extract(epoch from '2026-06-21 05:47: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'), 46736, 'SRID=4674;POINT (-40.367404 -2.800722)', '2026-06-21 05:47:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800653)'), GeomFromEWKT('SRID=4674;POINT (-40.367404 -2.800722)'))) / (select extract(epoch from '2026-06-21 05:47:47'::timestamp) - extract(epoch from '2026-06-21 05:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.800653)'), GeomFromEWKT('SRID=4674;POINT (-40.367404 -2.800722)'))) / (select extract(epoch from '2026-06-21 05:47:47'::timestamp) - extract(epoch from '2026-06-21 05:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367397 -2.80074)', '2026-06-21 05:47:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367404 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.80074)'))) / (select extract(epoch from '2026-06-21 05:47:57'::timestamp) - extract(epoch from '2026-06-21 05:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367404 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.80074)'))) / (select extract(epoch from '2026-06-21 05:47:57'::timestamp) - extract(epoch from '2026-06-21 05:47: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'), 46736, 'SRID=4674;POINT (-40.367393 -2.80075)', '2026-06-21 05:48:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.80075)'))) / (select extract(epoch from '2026-06-21 05:48:09'::timestamp) - extract(epoch from '2026-06-21 05:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.80075)'))) / (select extract(epoch from '2026-06-21 05:48:09'::timestamp) - extract(epoch from '2026-06-21 05:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367397 -2.800759)', '2026-06-21 05:48:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800759)'))) / (select extract(epoch from '2026-06-21 05:48:24'::timestamp) - extract(epoch from '2026-06-21 05:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800759)'))) / (select extract(epoch from '2026-06-21 05:48:24'::timestamp) - extract(epoch from '2026-06-21 05:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367397 -2.800799)', '2026-06-21 05:48:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800799)'))) / (select extract(epoch from '2026-06-21 05:48:36'::timestamp) - extract(epoch from '2026-06-21 05:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800799)'))) / (select extract(epoch from '2026-06-21 05:48:36'::timestamp) - extract(epoch from '2026-06-21 05:48: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'), 46736, 'SRID=4674;POINT (-40.367371 -2.800833)', '2026-06-21 05:48:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.367371 -2.800833)'))) / (select extract(epoch from '2026-06-21 05:48:50'::timestamp) - extract(epoch from '2026-06-21 05:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.367371 -2.800833)'))) / (select extract(epoch from '2026-06-21 05:48:50'::timestamp) - extract(epoch from '2026-06-21 05:48: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'), 46736, 'SRID=4674;POINT (-40.367301 -2.800893)', '2026-06-21 05:49:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367371 -2.800833)'), GeomFromEWKT('SRID=4674;POINT (-40.367301 -2.800893)'))) / (select extract(epoch from '2026-06-21 05:49:05'::timestamp) - extract(epoch from '2026-06-21 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367371 -2.800833)'), GeomFromEWKT('SRID=4674;POINT (-40.367301 -2.800893)'))) / (select extract(epoch from '2026-06-21 05:49:05'::timestamp) - extract(epoch from '2026-06-21 05:48: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'), 46736, 'SRID=4674;POINT (-40.367263 -2.800926)', '2026-06-21 05:49:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367301 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.367263 -2.800926)'))) / (select extract(epoch from '2026-06-21 05:49:20'::timestamp) - extract(epoch from '2026-06-21 05:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367301 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.367263 -2.800926)'))) / (select extract(epoch from '2026-06-21 05:49:20'::timestamp) - extract(epoch from '2026-06-21 05:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36726 -2.800932)', '2026-06-21 05:49:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367263 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.36726 -2.800932)'))) / (select extract(epoch from '2026-06-21 05:49:35'::timestamp) - extract(epoch from '2026-06-21 05:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367263 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.36726 -2.800932)'))) / (select extract(epoch from '2026-06-21 05:49:35'::timestamp) - extract(epoch from '2026-06-21 05:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367255 -2.800965)', '2026-06-21 05:49:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36726 -2.800932)'), GeomFromEWKT('SRID=4674;POINT (-40.367255 -2.800965)'))) / (select extract(epoch from '2026-06-21 05:49:45'::timestamp) - extract(epoch from '2026-06-21 05:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36726 -2.800932)'), GeomFromEWKT('SRID=4674;POINT (-40.367255 -2.800965)'))) / (select extract(epoch from '2026-06-21 05:49:45'::timestamp) - extract(epoch from '2026-06-21 05:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367206 -2.801037)', '2026-06-21 05:50:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367255 -2.800965)'), GeomFromEWKT('SRID=4674;POINT (-40.367206 -2.801037)'))) / (select extract(epoch from '2026-06-21 05:50:00'::timestamp) - extract(epoch from '2026-06-21 05:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367255 -2.800965)'), GeomFromEWKT('SRID=4674;POINT (-40.367206 -2.801037)'))) / (select extract(epoch from '2026-06-21 05:50:00'::timestamp) - extract(epoch from '2026-06-21 05:49: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'), 46736, 'SRID=4674;POINT (-40.367149 -2.801073)', '2026-06-21 05:50:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367206 -2.801037)'), GeomFromEWKT('SRID=4674;POINT (-40.367149 -2.801073)'))) / (select extract(epoch from '2026-06-21 05:50:14'::timestamp) - extract(epoch from '2026-06-21 05:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367206 -2.801037)'), GeomFromEWKT('SRID=4674;POINT (-40.367149 -2.801073)'))) / (select extract(epoch from '2026-06-21 05:50:14'::timestamp) - extract(epoch from '2026-06-21 05:50: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'), 46736, 'SRID=4674;POINT (-40.367104 -2.801101)', '2026-06-21 05:50:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367149 -2.801073)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801101)'))) / (select extract(epoch from '2026-06-21 05:50:29'::timestamp) - extract(epoch from '2026-06-21 05:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367149 -2.801073)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801101)'))) / (select extract(epoch from '2026-06-21 05:50:29'::timestamp) - extract(epoch from '2026-06-21 05:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.367064 -2.801117)', '2026-06-21 05:50:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801101)'), GeomFromEWKT('SRID=4674;POINT (-40.367064 -2.801117)'))) / (select extract(epoch from '2026-06-21 05:50:43'::timestamp) - extract(epoch from '2026-06-21 05:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801101)'), GeomFromEWKT('SRID=4674;POINT (-40.367064 -2.801117)'))) / (select extract(epoch from '2026-06-21 05:50:43'::timestamp) - extract(epoch from '2026-06-21 05:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36699 -2.801121)', '2026-06-21 05:51:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367064 -2.801117)'), GeomFromEWKT('SRID=4674;POINT (-40.36699 -2.801121)'))) / (select extract(epoch from '2026-06-21 05:51:01'::timestamp) - extract(epoch from '2026-06-21 05:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367064 -2.801117)'), GeomFromEWKT('SRID=4674;POINT (-40.36699 -2.801121)'))) / (select extract(epoch from '2026-06-21 05:51:01'::timestamp) - extract(epoch from '2026-06-21 05:50: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'), 46736, 'SRID=4674;POINT (-40.366914 -2.801127)', '2026-06-21 05:51:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36699 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.366914 -2.801127)'))) / (select extract(epoch from '2026-06-21 05:51:20'::timestamp) - extract(epoch from '2026-06-21 05:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36699 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.366914 -2.801127)'))) / (select extract(epoch from '2026-06-21 05:51:20'::timestamp) - extract(epoch from '2026-06-21 05:51: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'), 46736, 'SRID=4674;POINT (-40.366873 -2.801123)', '2026-06-21 05:51:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366914 -2.801127)'), GeomFromEWKT('SRID=4674;POINT (-40.366873 -2.801123)'))) / (select extract(epoch from '2026-06-21 05:51:37'::timestamp) - extract(epoch from '2026-06-21 05:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366914 -2.801127)'), GeomFromEWKT('SRID=4674;POINT (-40.366873 -2.801123)'))) / (select extract(epoch from '2026-06-21 05:51:37'::timestamp) - extract(epoch from '2026-06-21 05:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366809 -2.801121)', '2026-06-21 05:51:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366873 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.366809 -2.801121)'))) / (select extract(epoch from '2026-06-21 05:51:56'::timestamp) - extract(epoch from '2026-06-21 05:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366873 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.366809 -2.801121)'))) / (select extract(epoch from '2026-06-21 05:51:56'::timestamp) - extract(epoch from '2026-06-21 05:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366709 -2.801109)', '2026-06-21 05:52:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366809 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.366709 -2.801109)'))) / (select extract(epoch from '2026-06-21 05:52:13'::timestamp) - extract(epoch from '2026-06-21 05:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366809 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.366709 -2.801109)'))) / (select extract(epoch from '2026-06-21 05:52:13'::timestamp) - extract(epoch from '2026-06-21 05:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366645 -2.801097)', '2026-06-21 05:52:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366709 -2.801109)'), GeomFromEWKT('SRID=4674;POINT (-40.366645 -2.801097)'))) / (select extract(epoch from '2026-06-21 05:52:29'::timestamp) - extract(epoch from '2026-06-21 05:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366709 -2.801109)'), GeomFromEWKT('SRID=4674;POINT (-40.366645 -2.801097)'))) / (select extract(epoch from '2026-06-21 05:52:29'::timestamp) - extract(epoch from '2026-06-21 05:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366555 -2.801084)', '2026-06-21 05:52:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366645 -2.801097)'), GeomFromEWKT('SRID=4674;POINT (-40.366555 -2.801084)'))) / (select extract(epoch from '2026-06-21 05:52:47'::timestamp) - extract(epoch from '2026-06-21 05:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366645 -2.801097)'), GeomFromEWKT('SRID=4674;POINT (-40.366555 -2.801084)'))) / (select extract(epoch from '2026-06-21 05:52:47'::timestamp) - extract(epoch from '2026-06-21 05:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366472 -2.801061)', '2026-06-21 05:53:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366555 -2.801084)'), GeomFromEWKT('SRID=4674;POINT (-40.366472 -2.801061)'))) / (select extract(epoch from '2026-06-21 05:53:03'::timestamp) - extract(epoch from '2026-06-21 05:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366555 -2.801084)'), GeomFromEWKT('SRID=4674;POINT (-40.366472 -2.801061)'))) / (select extract(epoch from '2026-06-21 05:53:03'::timestamp) - extract(epoch from '2026-06-21 05:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366424 -2.80104)', '2026-06-21 05:53:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366472 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.366424 -2.80104)'))) / (select extract(epoch from '2026-06-21 05:53:19'::timestamp) - extract(epoch from '2026-06-21 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366472 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.366424 -2.80104)'))) / (select extract(epoch from '2026-06-21 05:53:19'::timestamp) - extract(epoch from '2026-06-21 05:53: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'), 46736, 'SRID=4674;POINT (-40.366402 -2.801036)', '2026-06-21 05:53:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366424 -2.80104)'), GeomFromEWKT('SRID=4674;POINT (-40.366402 -2.801036)'))) / (select extract(epoch from '2026-06-21 05:53:35'::timestamp) - extract(epoch from '2026-06-21 05:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366424 -2.80104)'), GeomFromEWKT('SRID=4674;POINT (-40.366402 -2.801036)'))) / (select extract(epoch from '2026-06-21 05:53:35'::timestamp) - extract(epoch from '2026-06-21 05:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366377 -2.801025)', '2026-06-21 05:53:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366402 -2.801036)'), GeomFromEWKT('SRID=4674;POINT (-40.366377 -2.801025)'))) / (select extract(epoch from '2026-06-21 05:53:52'::timestamp) - extract(epoch from '2026-06-21 05:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366402 -2.801036)'), GeomFromEWKT('SRID=4674;POINT (-40.366377 -2.801025)'))) / (select extract(epoch from '2026-06-21 05:53:52'::timestamp) - extract(epoch from '2026-06-21 05:53: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'), 46736, 'SRID=4674;POINT (-40.366286 -2.800996)', '2026-06-21 05:54:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366377 -2.801025)'), GeomFromEWKT('SRID=4674;POINT (-40.366286 -2.800996)'))) / (select extract(epoch from '2026-06-21 05:54:06'::timestamp) - extract(epoch from '2026-06-21 05:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366377 -2.801025)'), GeomFromEWKT('SRID=4674;POINT (-40.366286 -2.800996)'))) / (select extract(epoch from '2026-06-21 05:54:06'::timestamp) - extract(epoch from '2026-06-21 05:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.366191 -2.80096)', '2026-06-21 05:54:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366286 -2.800996)'), GeomFromEWKT('SRID=4674;POINT (-40.366191 -2.80096)'))) / (select extract(epoch from '2026-06-21 05:54:25'::timestamp) - extract(epoch from '2026-06-21 05:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366286 -2.800996)'), GeomFromEWKT('SRID=4674;POINT (-40.366191 -2.80096)'))) / (select extract(epoch from '2026-06-21 05:54:25'::timestamp) - extract(epoch from '2026-06-21 05:54: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'), 46736, 'SRID=4674;POINT (-40.366111 -2.800929)', '2026-06-21 05:54:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366191 -2.80096)'), GeomFromEWKT('SRID=4674;POINT (-40.366111 -2.800929)'))) / (select extract(epoch from '2026-06-21 05:54:43'::timestamp) - extract(epoch from '2026-06-21 05:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366191 -2.80096)'), GeomFromEWKT('SRID=4674;POINT (-40.366111 -2.800929)'))) / (select extract(epoch from '2026-06-21 05:54:43'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.366008 -2.800878)', '2026-06-21 05:55:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366111 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.800878)'))) / (select extract(epoch from '2026-06-21 05:55:00'::timestamp) - extract(epoch from '2026-06-21 05:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366111 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.800878)'))) / (select extract(epoch from '2026-06-21 05:55:00'::timestamp) - extract(epoch from '2026-06-21 05:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36594 -2.800866)', '2026-06-21 05:55:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.36594 -2.800866)'))) / (select extract(epoch from '2026-06-21 05:55:16'::timestamp) - extract(epoch from '2026-06-21 05:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.36594 -2.800866)'))) / (select extract(epoch from '2026-06-21 05:55:16'::timestamp) - extract(epoch from '2026-06-21 05:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.365911 -2.800844)', '2026-06-21 05:55:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36594 -2.800866)'), GeomFromEWKT('SRID=4674;POINT (-40.365911 -2.800844)'))) / (select extract(epoch from '2026-06-21 05:55:32'::timestamp) - extract(epoch from '2026-06-21 05:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36594 -2.800866)'), GeomFromEWKT('SRID=4674;POINT (-40.365911 -2.800844)'))) / (select extract(epoch from '2026-06-21 05:55:32'::timestamp) - extract(epoch from '2026-06-21 05:55: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'), 46736, 'SRID=4674;POINT (-40.365835 -2.800854)', '2026-06-21 05:55:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365911 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.365835 -2.800854)'))) / (select extract(epoch from '2026-06-21 05:55:48'::timestamp) - extract(epoch from '2026-06-21 05:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365911 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.365835 -2.800854)'))) / (select extract(epoch from '2026-06-21 05:55:48'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.365759 -2.80087)', '2026-06-21 05:56:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365835 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.365759 -2.80087)'))) / (select extract(epoch from '2026-06-21 05:56:04'::timestamp) - extract(epoch from '2026-06-21 05:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365835 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.365759 -2.80087)'))) / (select extract(epoch from '2026-06-21 05:56:04'::timestamp) - extract(epoch from '2026-06-21 05:55: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'), 46736, 'SRID=4674;POINT (-40.365698 -2.800867)', '2026-06-21 05:56:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365759 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.800867)'))) / (select extract(epoch from '2026-06-21 05:56:24'::timestamp) - extract(epoch from '2026-06-21 05:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365759 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.800867)'))) / (select extract(epoch from '2026-06-21 05:56:24'::timestamp) - extract(epoch from '2026-06-21 05:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.365644 -2.800873)', '2026-06-21 05:56:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.365644 -2.800873)'))) / (select extract(epoch from '2026-06-21 05:56:39'::timestamp) - extract(epoch from '2026-06-21 05:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.365644 -2.800873)'))) / (select extract(epoch from '2026-06-21 05:56:39'::timestamp) - extract(epoch from '2026-06-21 05:56: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'), 46736, 'SRID=4674;POINT (-40.365572 -2.80088)', '2026-06-21 05:56:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365644 -2.800873)'), GeomFromEWKT('SRID=4674;POINT (-40.365572 -2.80088)'))) / (select extract(epoch from '2026-06-21 05:56:52'::timestamp) - extract(epoch from '2026-06-21 05:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365644 -2.800873)'), GeomFromEWKT('SRID=4674;POINT (-40.365572 -2.80088)'))) / (select extract(epoch from '2026-06-21 05:56:52'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.365519 -2.800881)', '2026-06-21 05:57:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365572 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.800881)'))) / (select extract(epoch from '2026-06-21 05:57:08'::timestamp) - extract(epoch from '2026-06-21 05:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365572 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.800881)'))) / (select extract(epoch from '2026-06-21 05:57:08'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.365503 -2.80088)', '2026-06-21 05:57:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.365503 -2.80088)'))) / (select extract(epoch from '2026-06-21 05:57:26'::timestamp) - extract(epoch from '2026-06-21 05:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365519 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.365503 -2.80088)'))) / (select extract(epoch from '2026-06-21 05:57:26'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.365449 -2.800886)', '2026-06-21 05:57:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365503 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.365449 -2.800886)'))) / (select extract(epoch from '2026-06-21 05:57:40'::timestamp) - extract(epoch from '2026-06-21 05:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365503 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.365449 -2.800886)'))) / (select extract(epoch from '2026-06-21 05:57:40'::timestamp) - extract(epoch from '2026-06-21 05:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36535 -2.800895)', '2026-06-21 05:57:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365449 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.36535 -2.800895)'))) / (select extract(epoch from '2026-06-21 05:57:59'::timestamp) - extract(epoch from '2026-06-21 05:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365449 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.36535 -2.800895)'))) / (select extract(epoch from '2026-06-21 05:57:59'::timestamp) - extract(epoch from '2026-06-21 05:57: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'), 46736, 'SRID=4674;POINT (-40.365321 -2.800895)', '2026-06-21 05:58:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36535 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.365321 -2.800895)'))) / (select extract(epoch from '2026-06-21 05:58:17'::timestamp) - extract(epoch from '2026-06-21 05:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36535 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.365321 -2.800895)'))) / (select extract(epoch from '2026-06-21 05:58:17'::timestamp) - extract(epoch from '2026-06-21 05:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.365288 -2.80091)', '2026-06-21 05:58:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365321 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.365288 -2.80091)'))) / (select extract(epoch from '2026-06-21 05:58:28'::timestamp) - extract(epoch from '2026-06-21 05:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365321 -2.800895)'), GeomFromEWKT('SRID=4674;POINT (-40.365288 -2.80091)'))) / (select extract(epoch from '2026-06-21 05:58:28'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.3652 -2.800903)', '2026-06-21 05:58:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365288 -2.80091)'), GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.800903)'))) / (select extract(epoch from '2026-06-21 05:58:44'::timestamp) - extract(epoch from '2026-06-21 05:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365288 -2.80091)'), GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.800903)'))) / (select extract(epoch from '2026-06-21 05:58:44'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.365105 -2.800881)', '2026-06-21 05:59:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.365105 -2.800881)'))) / (select extract(epoch from '2026-06-21 05:59:02'::timestamp) - extract(epoch from '2026-06-21 05:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.365105 -2.800881)'))) / (select extract(epoch from '2026-06-21 05:59:02'::timestamp) - extract(epoch from '2026-06-21 05:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.365042 -2.800872)', '2026-06-21 05:59:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365105 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.365042 -2.800872)'))) / (select extract(epoch from '2026-06-21 05:59:17'::timestamp) - extract(epoch from '2026-06-21 05:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365105 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.365042 -2.800872)'))) / (select extract(epoch from '2026-06-21 05:59:17'::timestamp) - extract(epoch from '2026-06-21 05: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'), 46736, 'SRID=4674;POINT (-40.364979 -2.80086)', '2026-06-21 05:59:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365042 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.364979 -2.80086)'))) / (select extract(epoch from '2026-06-21 05:59:32'::timestamp) - extract(epoch from '2026-06-21 05:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365042 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.364979 -2.80086)'))) / (select extract(epoch from '2026-06-21 05:59:32'::timestamp) - extract(epoch from '2026-06-21 05:59: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'), 46736, 'SRID=4674;POINT (-40.364919 -2.800843)', '2026-06-21 05:59:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364979 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.364919 -2.800843)'))) / (select extract(epoch from '2026-06-21 05:59:45'::timestamp) - extract(epoch from '2026-06-21 05:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364979 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.364919 -2.800843)'))) / (select extract(epoch from '2026-06-21 05:59:45'::timestamp) - extract(epoch from '2026-06-21 05:59: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'), 46736, 'SRID=4674;POINT (-40.36487 -2.800845)', '2026-06-21 05:59:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364919 -2.800843)'), GeomFromEWKT('SRID=4674;POINT (-40.36487 -2.800845)'))) / (select extract(epoch from '2026-06-21 05:59:59'::timestamp) - extract(epoch from '2026-06-21 05:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364919 -2.800843)'), GeomFromEWKT('SRID=4674;POINT (-40.36487 -2.800845)'))) / (select extract(epoch from '2026-06-21 05:59:59'::timestamp) - extract(epoch from '2026-06-21 05:59: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'), 46736, 'SRID=4674;POINT (-40.364775 -2.800848)', '2026-06-21 06:00:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36487 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.364775 -2.800848)'))) / (select extract(epoch from '2026-06-21 06:00:17'::timestamp) - extract(epoch from '2026-06-21 05:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36487 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.364775 -2.800848)'))) / (select extract(epoch from '2026-06-21 06:00:17'::timestamp) - extract(epoch from '2026-06-21 05:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36468 -2.800851)', '2026-06-21 06:00:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364775 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.36468 -2.800851)'))) / (select extract(epoch from '2026-06-21 06:00:33'::timestamp) - extract(epoch from '2026-06-21 06:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364775 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.36468 -2.800851)'))) / (select extract(epoch from '2026-06-21 06:00:33'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.364611 -2.800849)', '2026-06-21 06:00:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36468 -2.800851)'), GeomFromEWKT('SRID=4674;POINT (-40.364611 -2.800849)'))) / (select extract(epoch from '2026-06-21 06:00:47'::timestamp) - extract(epoch from '2026-06-21 06:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36468 -2.800851)'), GeomFromEWKT('SRID=4674;POINT (-40.364611 -2.800849)'))) / (select extract(epoch from '2026-06-21 06:00:47'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.364511 -2.800854)', '2026-06-21 06:01:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364611 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.364511 -2.800854)'))) / (select extract(epoch from '2026-06-21 06:01:05'::timestamp) - extract(epoch from '2026-06-21 06:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364611 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.364511 -2.800854)'))) / (select extract(epoch from '2026-06-21 06:01:05'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.364421 -2.80086)', '2026-06-21 06:01:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364511 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.364421 -2.80086)'))) / (select extract(epoch from '2026-06-21 06:01:19'::timestamp) - extract(epoch from '2026-06-21 06:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364511 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.364421 -2.80086)'))) / (select extract(epoch from '2026-06-21 06:01:19'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.364338 -2.800866)', '2026-06-21 06:01:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364421 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.364338 -2.800866)'))) / (select extract(epoch from '2026-06-21 06:01:35'::timestamp) - extract(epoch from '2026-06-21 06:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364421 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.364338 -2.800866)'))) / (select extract(epoch from '2026-06-21 06:01:35'::timestamp) - extract(epoch from '2026-06-21 06:01: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'), 46736, 'SRID=4674;POINT (-40.364263 -2.800885)', '2026-06-21 06:01:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364338 -2.800866)'), GeomFromEWKT('SRID=4674;POINT (-40.364263 -2.800885)'))) / (select extract(epoch from '2026-06-21 06:01:51'::timestamp) - extract(epoch from '2026-06-21 06:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364338 -2.800866)'), GeomFromEWKT('SRID=4674;POINT (-40.364263 -2.800885)'))) / (select extract(epoch from '2026-06-21 06:01:51'::timestamp) - extract(epoch from '2026-06-21 06:01: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'), 46736, 'SRID=4674;POINT (-40.364172 -2.800881)', '2026-06-21 06:02:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364263 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.364172 -2.800881)'))) / (select extract(epoch from '2026-06-21 06:02:05'::timestamp) - extract(epoch from '2026-06-21 06:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364263 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.364172 -2.800881)'))) / (select extract(epoch from '2026-06-21 06:02:05'::timestamp) - extract(epoch from '2026-06-21 06:01: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'), 46736, 'SRID=4674;POINT (-40.364091 -2.800897)', '2026-06-21 06:02:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364172 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.800897)'))) / (select extract(epoch from '2026-06-21 06:02:21'::timestamp) - extract(epoch from '2026-06-21 06:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364172 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.800897)'))) / (select extract(epoch from '2026-06-21 06:02:21'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.364015 -2.800902)', '2026-06-21 06:02:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.364015 -2.800902)'))) / (select extract(epoch from '2026-06-21 06:02:34'::timestamp) - extract(epoch from '2026-06-21 06:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.364015 -2.800902)'))) / (select extract(epoch from '2026-06-21 06:02:34'::timestamp) - extract(epoch from '2026-06-21 06:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.363922 -2.800901)', '2026-06-21 06:02:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364015 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.363922 -2.800901)'))) / (select extract(epoch from '2026-06-21 06:02:49'::timestamp) - extract(epoch from '2026-06-21 06:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364015 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.363922 -2.800901)'))) / (select extract(epoch from '2026-06-21 06:02:49'::timestamp) - extract(epoch from '2026-06-21 06:02: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'), 46736, 'SRID=4674;POINT (-40.363846 -2.800911)', '2026-06-21 06:03:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363922 -2.800901)'), GeomFromEWKT('SRID=4674;POINT (-40.363846 -2.800911)'))) / (select extract(epoch from '2026-06-21 06:03:04'::timestamp) - extract(epoch from '2026-06-21 06:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363922 -2.800901)'), GeomFromEWKT('SRID=4674;POINT (-40.363846 -2.800911)'))) / (select extract(epoch from '2026-06-21 06:03:04'::timestamp) - extract(epoch from '2026-06-21 06:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.363736 -2.800907)', '2026-06-21 06:03:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363846 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.800907)'))) / (select extract(epoch from '2026-06-21 06:03:19'::timestamp) - extract(epoch from '2026-06-21 06:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363846 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.800907)'))) / (select extract(epoch from '2026-06-21 06:03:19'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.36368 -2.800908)', '2026-06-21 06:03:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.36368 -2.800908)'))) / (select extract(epoch from '2026-06-21 06:03:35'::timestamp) - extract(epoch from '2026-06-21 06:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363736 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.36368 -2.800908)'))) / (select extract(epoch from '2026-06-21 06:03:35'::timestamp) - extract(epoch from '2026-06-21 06:03: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'), 46736, 'SRID=4674;POINT (-40.363641 -2.800899)', '2026-06-21 06:03:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36368 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.363641 -2.800899)'))) / (select extract(epoch from '2026-06-21 06:03:53'::timestamp) - extract(epoch from '2026-06-21 06:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36368 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.363641 -2.800899)'))) / (select extract(epoch from '2026-06-21 06:03:53'::timestamp) - extract(epoch from '2026-06-21 06:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.363538 -2.80089)', '2026-06-21 06:04:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363641 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.80089)'))) / (select extract(epoch from '2026-06-21 06:04:09'::timestamp) - extract(epoch from '2026-06-21 06:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363641 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.80089)'))) / (select extract(epoch from '2026-06-21 06:04:09'::timestamp) - extract(epoch from '2026-06-21 06:03: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'), 46736, 'SRID=4674;POINT (-40.363426 -2.800893)', '2026-06-21 06:04:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.80089)'), GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800893)'))) / (select extract(epoch from '2026-06-21 06:04:27'::timestamp) - extract(epoch from '2026-06-21 06:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363538 -2.80089)'), GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800893)'))) / (select extract(epoch from '2026-06-21 06:04:27'::timestamp) - extract(epoch from '2026-06-21 06:04: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'), 46736, 'SRID=4674;POINT (-40.363316 -2.800875)', '2026-06-21 06:04:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.800875)'))) / (select extract(epoch from '2026-06-21 06:04:43'::timestamp) - extract(epoch from '2026-06-21 06:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.800875)'))) / (select extract(epoch from '2026-06-21 06:04:43'::timestamp) - extract(epoch from '2026-06-21 06:04: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'), 46736, 'SRID=4674;POINT (-40.363242 -2.800868)', '2026-06-21 06:04:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.800875)'), GeomFromEWKT('SRID=4674;POINT (-40.363242 -2.800868)'))) / (select extract(epoch from '2026-06-21 06:04:59'::timestamp) - extract(epoch from '2026-06-21 06:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.800875)'), GeomFromEWKT('SRID=4674;POINT (-40.363242 -2.800868)'))) / (select extract(epoch from '2026-06-21 06:04:59'::timestamp) - extract(epoch from '2026-06-21 06:04: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'), 46736, 'SRID=4674;POINT (-40.36321 -2.800861)', '2026-06-21 06:05:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363242 -2.800868)'), GeomFromEWKT('SRID=4674;POINT (-40.36321 -2.800861)'))) / (select extract(epoch from '2026-06-21 06:05:14'::timestamp) - extract(epoch from '2026-06-21 06:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363242 -2.800868)'), GeomFromEWKT('SRID=4674;POINT (-40.36321 -2.800861)'))) / (select extract(epoch from '2026-06-21 06:05:14'::timestamp) - extract(epoch from '2026-06-21 06:04: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'), 46736, 'SRID=4674;POINT (-40.363116 -2.800839)', '2026-06-21 06:05:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36321 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.363116 -2.800839)'))) / (select extract(epoch from '2026-06-21 06:05:32'::timestamp) - extract(epoch from '2026-06-21 06:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36321 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.363116 -2.800839)'))) / (select extract(epoch from '2026-06-21 06:05:32'::timestamp) - extract(epoch from '2026-06-21 06:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.363027 -2.800835)', '2026-06-21 06:05:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363116 -2.800839)'), GeomFromEWKT('SRID=4674;POINT (-40.363027 -2.800835)'))) / (select extract(epoch from '2026-06-21 06:05:48'::timestamp) - extract(epoch from '2026-06-21 06:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363116 -2.800839)'), GeomFromEWKT('SRID=4674;POINT (-40.363027 -2.800835)'))) / (select extract(epoch from '2026-06-21 06:05:48'::timestamp) - extract(epoch from '2026-06-21 06:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362977 -2.800832)', '2026-06-21 06:06:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363027 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.800832)'))) / (select extract(epoch from '2026-06-21 06:06:04'::timestamp) - extract(epoch from '2026-06-21 06:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363027 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.800832)'))) / (select extract(epoch from '2026-06-21 06:06:04'::timestamp) - extract(epoch from '2026-06-21 06:05: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'), 46736, 'SRID=4674;POINT (-40.362957 -2.800819)', '2026-06-21 06:06:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.362957 -2.800819)'))) / (select extract(epoch from '2026-06-21 06:06:20'::timestamp) - extract(epoch from '2026-06-21 06:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.362957 -2.800819)'))) / (select extract(epoch from '2026-06-21 06:06:20'::timestamp) - extract(epoch from '2026-06-21 06:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362917 -2.800815)', '2026-06-21 06:06:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362957 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.800815)'))) / (select extract(epoch from '2026-06-21 06:06:36'::timestamp) - extract(epoch from '2026-06-21 06:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362957 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.800815)'))) / (select extract(epoch from '2026-06-21 06:06:36'::timestamp) - extract(epoch from '2026-06-21 06:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362874 -2.800808)', '2026-06-21 06:06:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.800815)'), GeomFromEWKT('SRID=4674;POINT (-40.362874 -2.800808)'))) / (select extract(epoch from '2026-06-21 06:06:48'::timestamp) - extract(epoch from '2026-06-21 06:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362917 -2.800815)'), GeomFromEWKT('SRID=4674;POINT (-40.362874 -2.800808)'))) / (select extract(epoch from '2026-06-21 06:06:48'::timestamp) - extract(epoch from '2026-06-21 06:06: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'), 46736, 'SRID=4674;POINT (-40.362846 -2.800807)', '2026-06-21 06:06:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362874 -2.800808)'), GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.800807)'))) / (select extract(epoch from '2026-06-21 06:06:59'::timestamp) - extract(epoch from '2026-06-21 06:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362874 -2.800808)'), GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.800807)'))) / (select extract(epoch from '2026-06-21 06:06:59'::timestamp) - extract(epoch from '2026-06-21 06:06: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'), 46736, 'SRID=4674;POINT (-40.362787 -2.800805)', '2026-06-21 06:07:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.362787 -2.800805)'))) / (select extract(epoch from '2026-06-21 06:07:14'::timestamp) - extract(epoch from '2026-06-21 06:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362846 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.362787 -2.800805)'))) / (select extract(epoch from '2026-06-21 06:07:14'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.362742 -2.800803)', '2026-06-21 06:07:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362787 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.800803)'))) / (select extract(epoch from '2026-06-21 06:07:31'::timestamp) - extract(epoch from '2026-06-21 06:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362787 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.800803)'))) / (select extract(epoch from '2026-06-21 06:07:31'::timestamp) - extract(epoch from '2026-06-21 06:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362662 -2.800795)', '2026-06-21 06:07:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.800803)'), GeomFromEWKT('SRID=4674;POINT (-40.362662 -2.800795)'))) / (select extract(epoch from '2026-06-21 06:07:46'::timestamp) - extract(epoch from '2026-06-21 06:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362742 -2.800803)'), GeomFromEWKT('SRID=4674;POINT (-40.362662 -2.800795)'))) / (select extract(epoch from '2026-06-21 06:07:46'::timestamp) - extract(epoch from '2026-06-21 06:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362547 -2.800788)', '2026-06-21 06:08:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362662 -2.800795)'), GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.800788)'))) / (select extract(epoch from '2026-06-21 06:08:07'::timestamp) - extract(epoch from '2026-06-21 06:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362662 -2.800795)'), GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.800788)'))) / (select extract(epoch from '2026-06-21 06:08:07'::timestamp) - extract(epoch from '2026-06-21 06:07: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'), 46736, 'SRID=4674;POINT (-40.362454 -2.800773)', '2026-06-21 06:08:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.800788)'), GeomFromEWKT('SRID=4674;POINT (-40.362454 -2.800773)'))) / (select extract(epoch from '2026-06-21 06:08:23'::timestamp) - extract(epoch from '2026-06-21 06:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.800788)'), GeomFromEWKT('SRID=4674;POINT (-40.362454 -2.800773)'))) / (select extract(epoch from '2026-06-21 06:08:23'::timestamp) - extract(epoch from '2026-06-21 06:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362399 -2.800761)', '2026-06-21 06:08:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362454 -2.800773)'), GeomFromEWKT('SRID=4674;POINT (-40.362399 -2.800761)'))) / (select extract(epoch from '2026-06-21 06:08:40'::timestamp) - extract(epoch from '2026-06-21 06:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362454 -2.800773)'), GeomFromEWKT('SRID=4674;POINT (-40.362399 -2.800761)'))) / (select extract(epoch from '2026-06-21 06:08:40'::timestamp) - extract(epoch from '2026-06-21 06:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362383 -2.80075)', '2026-06-21 06:08:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362399 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.362383 -2.80075)'))) / (select extract(epoch from '2026-06-21 06:08:58'::timestamp) - extract(epoch from '2026-06-21 06:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362399 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.362383 -2.80075)'))) / (select extract(epoch from '2026-06-21 06:08:58'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.362349 -2.80074)', '2026-06-21 06:09:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362383 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.362349 -2.80074)'))) / (select extract(epoch from '2026-06-21 06:09:17'::timestamp) - extract(epoch from '2026-06-21 06:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362383 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.362349 -2.80074)'))) / (select extract(epoch from '2026-06-21 06:09:17'::timestamp) - extract(epoch from '2026-06-21 06:08: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'), 46736, 'SRID=4674;POINT (-40.362313 -2.800734)', '2026-06-21 06:09:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362349 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.800734)'))) / (select extract(epoch from '2026-06-21 06:09:32'::timestamp) - extract(epoch from '2026-06-21 06:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362349 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.800734)'))) / (select extract(epoch from '2026-06-21 06:09:32'::timestamp) - extract(epoch from '2026-06-21 06:09: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'), 46736, 'SRID=4674;POINT (-40.362306 -2.800723)', '2026-06-21 06:09:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.362306 -2.800723)'))) / (select extract(epoch from '2026-06-21 06:09:46'::timestamp) - extract(epoch from '2026-06-21 06:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.362306 -2.800723)'))) / (select extract(epoch from '2026-06-21 06:09:46'::timestamp) - extract(epoch from '2026-06-21 06:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362295 -2.8007)', '2026-06-21 06:10:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362306 -2.800723)'), GeomFromEWKT('SRID=4674;POINT (-40.362295 -2.8007)'))) / (select extract(epoch from '2026-06-21 06:10:03'::timestamp) - extract(epoch from '2026-06-21 06:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362306 -2.800723)'), GeomFromEWKT('SRID=4674;POINT (-40.362295 -2.8007)'))) / (select extract(epoch from '2026-06-21 06:10:03'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.362268 -2.800701)', '2026-06-21 06:10:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362295 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.362268 -2.800701)'))) / (select extract(epoch from '2026-06-21 06:10:16'::timestamp) - extract(epoch from '2026-06-21 06:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362295 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.362268 -2.800701)'))) / (select extract(epoch from '2026-06-21 06:10:16'::timestamp) - extract(epoch from '2026-06-21 06:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.362175 -2.800703)', '2026-06-21 06:10:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362268 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.362175 -2.800703)'))) / (select extract(epoch from '2026-06-21 06:10:33'::timestamp) - extract(epoch from '2026-06-21 06:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362268 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.362175 -2.800703)'))) / (select extract(epoch from '2026-06-21 06:10:33'::timestamp) - extract(epoch from '2026-06-21 06:10: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'), 46736, 'SRID=4674;POINT (-40.362087 -2.80069)', '2026-06-21 06:10:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362175 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.362087 -2.80069)'))) / (select extract(epoch from '2026-06-21 06:10:51'::timestamp) - extract(epoch from '2026-06-21 06:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362175 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.362087 -2.80069)'))) / (select extract(epoch from '2026-06-21 06:10:51'::timestamp) - extract(epoch from '2026-06-21 06:10: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'), 46736, 'SRID=4674;POINT (-40.361997 -2.800681)', '2026-06-21 06:11:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362087 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.361997 -2.800681)'))) / (select extract(epoch from '2026-06-21 06:11:09'::timestamp) - extract(epoch from '2026-06-21 06:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362087 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.361997 -2.800681)'))) / (select extract(epoch from '2026-06-21 06:11:09'::timestamp) - extract(epoch from '2026-06-21 06:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361916 -2.800663)', '2026-06-21 06:11:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361997 -2.800681)'), GeomFromEWKT('SRID=4674;POINT (-40.361916 -2.800663)'))) / (select extract(epoch from '2026-06-21 06:11:28'::timestamp) - extract(epoch from '2026-06-21 06:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361997 -2.800681)'), GeomFromEWKT('SRID=4674;POINT (-40.361916 -2.800663)'))) / (select extract(epoch from '2026-06-21 06:11:28'::timestamp) - extract(epoch from '2026-06-21 06:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361834 -2.800633)', '2026-06-21 06:11:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361916 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.800633)'))) / (select extract(epoch from '2026-06-21 06:11:45'::timestamp) - extract(epoch from '2026-06-21 06:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361916 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.800633)'))) / (select extract(epoch from '2026-06-21 06:11:45'::timestamp) - extract(epoch from '2026-06-21 06:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361741 -2.80062)', '2026-06-21 06:12:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.361741 -2.80062)'))) / (select extract(epoch from '2026-06-21 06:12:00'::timestamp) - extract(epoch from '2026-06-21 06:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.361741 -2.80062)'))) / (select extract(epoch from '2026-06-21 06:12:00'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.361654 -2.800609)', '2026-06-21 06:12:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361741 -2.80062)'), GeomFromEWKT('SRID=4674;POINT (-40.361654 -2.800609)'))) / (select extract(epoch from '2026-06-21 06:12:18'::timestamp) - extract(epoch from '2026-06-21 06:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361741 -2.80062)'), GeomFromEWKT('SRID=4674;POINT (-40.361654 -2.800609)'))) / (select extract(epoch from '2026-06-21 06:12:18'::timestamp) - extract(epoch from '2026-06-21 06:12: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'), 46736, 'SRID=4674;POINT (-40.361583 -2.800583)', '2026-06-21 06:12:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361654 -2.800609)'), GeomFromEWKT('SRID=4674;POINT (-40.361583 -2.800583)'))) / (select extract(epoch from '2026-06-21 06:12:34'::timestamp) - extract(epoch from '2026-06-21 06:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361654 -2.800609)'), GeomFromEWKT('SRID=4674;POINT (-40.361583 -2.800583)'))) / (select extract(epoch from '2026-06-21 06:12:34'::timestamp) - extract(epoch from '2026-06-21 06:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361541 -2.800574)', '2026-06-21 06:12:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361583 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.361541 -2.800574)'))) / (select extract(epoch from '2026-06-21 06:12:50'::timestamp) - extract(epoch from '2026-06-21 06:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361583 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.361541 -2.800574)'))) / (select extract(epoch from '2026-06-21 06:12:50'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.361499 -2.800568)', '2026-06-21 06:13:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361541 -2.800574)'), GeomFromEWKT('SRID=4674;POINT (-40.361499 -2.800568)'))) / (select extract(epoch from '2026-06-21 06:13:04'::timestamp) - extract(epoch from '2026-06-21 06:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361541 -2.800574)'), GeomFromEWKT('SRID=4674;POINT (-40.361499 -2.800568)'))) / (select extract(epoch from '2026-06-21 06:13:04'::timestamp) - extract(epoch from '2026-06-21 06:12: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'), 46736, 'SRID=4674;POINT (-40.361425 -2.800525)', '2026-06-21 06:13:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361499 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.361425 -2.800525)'))) / (select extract(epoch from '2026-06-21 06:13:19'::timestamp) - extract(epoch from '2026-06-21 06:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361499 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.361425 -2.800525)'))) / (select extract(epoch from '2026-06-21 06:13:19'::timestamp) - extract(epoch from '2026-06-21 06:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361359 -2.800472)', '2026-06-21 06:13:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361425 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.361359 -2.800472)'))) / (select extract(epoch from '2026-06-21 06:13:34'::timestamp) - extract(epoch from '2026-06-21 06:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361425 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.361359 -2.800472)'))) / (select extract(epoch from '2026-06-21 06:13:34'::timestamp) - extract(epoch from '2026-06-21 06:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361245 -2.800442)', '2026-06-21 06:13:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361359 -2.800472)'), GeomFromEWKT('SRID=4674;POINT (-40.361245 -2.800442)'))) / (select extract(epoch from '2026-06-21 06:13:52'::timestamp) - extract(epoch from '2026-06-21 06:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361359 -2.800472)'), GeomFromEWKT('SRID=4674;POINT (-40.361245 -2.800442)'))) / (select extract(epoch from '2026-06-21 06:13:52'::timestamp) - extract(epoch from '2026-06-21 06:13: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'), 46736, 'SRID=4674;POINT (-40.361146 -2.800416)', '2026-06-21 06:14:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361245 -2.800442)'), GeomFromEWKT('SRID=4674;POINT (-40.361146 -2.800416)'))) / (select extract(epoch from '2026-06-21 06:14:11'::timestamp) - extract(epoch from '2026-06-21 06:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361245 -2.800442)'), GeomFromEWKT('SRID=4674;POINT (-40.361146 -2.800416)'))) / (select extract(epoch from '2026-06-21 06:14:11'::timestamp) - extract(epoch from '2026-06-21 06:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361109 -2.800398)', '2026-06-21 06:14:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361146 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.361109 -2.800398)'))) / (select extract(epoch from '2026-06-21 06:14:26'::timestamp) - extract(epoch from '2026-06-21 06:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361146 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.361109 -2.800398)'))) / (select extract(epoch from '2026-06-21 06:14:26'::timestamp) - extract(epoch from '2026-06-21 06:14: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'), 46736, 'SRID=4674;POINT (-40.361093 -2.80039)', '2026-06-21 06:14:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361109 -2.800398)'), GeomFromEWKT('SRID=4674;POINT (-40.361093 -2.80039)'))) / (select extract(epoch from '2026-06-21 06:14:37'::timestamp) - extract(epoch from '2026-06-21 06:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361109 -2.800398)'), GeomFromEWKT('SRID=4674;POINT (-40.361093 -2.80039)'))) / (select extract(epoch from '2026-06-21 06:14:37'::timestamp) - extract(epoch from '2026-06-21 06:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.361068 -2.800367)', '2026-06-21 06:14:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361093 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.361068 -2.800367)'))) / (select extract(epoch from '2026-06-21 06:14:52'::timestamp) - extract(epoch from '2026-06-21 06:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361093 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.361068 -2.800367)'))) / (select extract(epoch from '2026-06-21 06:14:52'::timestamp) - extract(epoch from '2026-06-21 06:14: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'), 46736, 'SRID=4674;POINT (-40.361069 -2.800357)', '2026-06-21 06:15:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361068 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.361069 -2.800357)'))) / (select extract(epoch from '2026-06-21 06:15:01'::timestamp) - extract(epoch from '2026-06-21 06:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361068 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.361069 -2.800357)'))) / (select extract(epoch from '2026-06-21 06:15:01'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.361078 -2.800333)', '2026-06-21 06:15:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361069 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.361078 -2.800333)'))) / (select extract(epoch from '2026-06-21 06:15:21'::timestamp) - extract(epoch from '2026-06-21 06:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361069 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.361078 -2.800333)'))) / (select extract(epoch from '2026-06-21 06:15:21'::timestamp) - extract(epoch from '2026-06-21 06:15: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'), 46736, 'SRID=4674;POINT (-40.36105 -2.800331)', '2026-06-21 06:15:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361078 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.36105 -2.800331)'))) / (select extract(epoch from '2026-06-21 06:15:29'::timestamp) - extract(epoch from '2026-06-21 06:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361078 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.36105 -2.800331)'))) / (select extract(epoch from '2026-06-21 06:15:29'::timestamp) - extract(epoch from '2026-06-21 06:15: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'), 46736, 'SRID=4674;POINT (-40.360993 -2.800304)', '2026-06-21 06:15:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36105 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.360993 -2.800304)'))) / (select extract(epoch from '2026-06-21 06:15:43'::timestamp) - extract(epoch from '2026-06-21 06:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36105 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.360993 -2.800304)'))) / (select extract(epoch from '2026-06-21 06:15:43'::timestamp) - extract(epoch from '2026-06-21 06:15: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'), 46736, 'SRID=4674;POINT (-40.360925 -2.800282)', '2026-06-21 06:15:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360993 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.360925 -2.800282)'))) / (select extract(epoch from '2026-06-21 06:15:57'::timestamp) - extract(epoch from '2026-06-21 06:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360993 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.360925 -2.800282)'))) / (select extract(epoch from '2026-06-21 06:15:57'::timestamp) - extract(epoch from '2026-06-21 06:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.36085 -2.800279)', '2026-06-21 06:16:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360925 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.36085 -2.800279)'))) / (select extract(epoch from '2026-06-21 06:16:11'::timestamp) - extract(epoch from '2026-06-21 06:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360925 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.36085 -2.800279)'))) / (select extract(epoch from '2026-06-21 06:16:11'::timestamp) - extract(epoch from '2026-06-21 06:15: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'), 46736, 'SRID=4674;POINT (-40.360757 -2.800266)', '2026-06-21 06:16:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36085 -2.800279)'), GeomFromEWKT('SRID=4674;POINT (-40.360757 -2.800266)'))) / (select extract(epoch from '2026-06-21 06:16:26'::timestamp) - extract(epoch from '2026-06-21 06:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36085 -2.800279)'), GeomFromEWKT('SRID=4674;POINT (-40.360757 -2.800266)'))) / (select extract(epoch from '2026-06-21 06:16:26'::timestamp) - extract(epoch from '2026-06-21 06:16: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'), 46736, 'SRID=4674;POINT (-40.360706 -2.800266)', '2026-06-21 06:16:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360757 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.360706 -2.800266)'))) / (select extract(epoch from '2026-06-21 06:16:42'::timestamp) - extract(epoch from '2026-06-21 06:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360757 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.360706 -2.800266)'))) / (select extract(epoch from '2026-06-21 06:16:42'::timestamp) - extract(epoch from '2026-06-21 06:16: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'), 46736, 'SRID=4674;POINT (-40.360626 -2.800251)', '2026-06-21 06:17:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360706 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.360626 -2.800251)'))) / (select extract(epoch from '2026-06-21 06:17:00'::timestamp) - extract(epoch from '2026-06-21 06:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360706 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.360626 -2.800251)'))) / (select extract(epoch from '2026-06-21 06:17:00'::timestamp) - extract(epoch from '2026-06-21 06:16: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'), 46736, 'SRID=4674;POINT (-40.360572 -2.800226)', '2026-06-21 06:17:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360626 -2.800251)'), GeomFromEWKT('SRID=4674;POINT (-40.360572 -2.800226)'))) / (select extract(epoch from '2026-06-21 06:17:16'::timestamp) - extract(epoch from '2026-06-21 06:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360626 -2.800251)'), GeomFromEWKT('SRID=4674;POINT (-40.360572 -2.800226)'))) / (select extract(epoch from '2026-06-21 06:17:16'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.360535 -2.80022)', '2026-06-21 06:17:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360572 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.360535 -2.80022)'))) / (select extract(epoch from '2026-06-21 06:17:29'::timestamp) - extract(epoch from '2026-06-21 06:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360572 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.360535 -2.80022)'))) / (select extract(epoch from '2026-06-21 06:17:29'::timestamp) - extract(epoch from '2026-06-21 06:17: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'), 46736, 'SRID=4674;POINT (-40.360541 -2.800202)', '2026-06-21 06:17:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360535 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.360541 -2.800202)'))) / (select extract(epoch from '2026-06-21 06:17:43'::timestamp) - extract(epoch from '2026-06-21 06:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360535 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.360541 -2.800202)'))) / (select extract(epoch from '2026-06-21 06:17:43'::timestamp) - extract(epoch from '2026-06-21 06:17: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'), 46736, 'SRID=4674;POINT (-40.360533 -2.800192)', '2026-06-21 06:17:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360541 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.360533 -2.800192)'))) / (select extract(epoch from '2026-06-21 06:17:53'::timestamp) - extract(epoch from '2026-06-21 06:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360541 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.360533 -2.800192)'))) / (select extract(epoch from '2026-06-21 06:17:53'::timestamp) - extract(epoch from '2026-06-21 06:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.360517 -2.800188)', '2026-06-21 06:18:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360533 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.360517 -2.800188)'))) / (select extract(epoch from '2026-06-21 06:18:01'::timestamp) - extract(epoch from '2026-06-21 06:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360533 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.360517 -2.800188)'))) / (select extract(epoch from '2026-06-21 06:18:01'::timestamp) - extract(epoch from '2026-06-21 06:17: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'), 46736, 'SRID=4674;POINT (-40.360452 -2.800171)', '2026-06-21 06:18:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360517 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.360452 -2.800171)'))) / (select extract(epoch from '2026-06-21 06:18:18'::timestamp) - extract(epoch from '2026-06-21 06:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360517 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.360452 -2.800171)'))) / (select extract(epoch from '2026-06-21 06:18:18'::timestamp) - extract(epoch from '2026-06-21 06:18: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'), 46736, 'SRID=4674;POINT (-40.360366 -2.800162)', '2026-06-21 06:18:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360452 -2.800171)'), GeomFromEWKT('SRID=4674;POINT (-40.360366 -2.800162)'))) / (select extract(epoch from '2026-06-21 06:18:37'::timestamp) - extract(epoch from '2026-06-21 06:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360452 -2.800171)'), GeomFromEWKT('SRID=4674;POINT (-40.360366 -2.800162)'))) / (select extract(epoch from '2026-06-21 06:18:37'::timestamp) - extract(epoch from '2026-06-21 06:18: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'), 46736, 'SRID=4674;POINT (-40.360285 -2.800167)', '2026-06-21 06:18:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360366 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.360285 -2.800167)'))) / (select extract(epoch from '2026-06-21 06:18:53'::timestamp) - extract(epoch from '2026-06-21 06:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360366 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.360285 -2.800167)'))) / (select extract(epoch from '2026-06-21 06:18:53'::timestamp) - extract(epoch from '2026-06-21 06:18: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'), 46736, 'SRID=4674;POINT (-40.360215 -2.800174)', '2026-06-21 06:19:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360285 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.360215 -2.800174)'))) / (select extract(epoch from '2026-06-21 06:19:09'::timestamp) - extract(epoch from '2026-06-21 06:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360285 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.360215 -2.800174)'))) / (select extract(epoch from '2026-06-21 06:19:09'::timestamp) - extract(epoch from '2026-06-21 06:18: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'), 46736, 'SRID=4674;POINT (-40.360167 -2.800186)', '2026-06-21 06:19:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360215 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.360167 -2.800186)'))) / (select extract(epoch from '2026-06-21 06:19:26'::timestamp) - extract(epoch from '2026-06-21 06:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360215 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.360167 -2.800186)'))) / (select extract(epoch from '2026-06-21 06:19:26'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.360098 -2.800183)', '2026-06-21 06:19:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360167 -2.800186)'), GeomFromEWKT('SRID=4674;POINT (-40.360098 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:19:41'::timestamp) - extract(epoch from '2026-06-21 06:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360167 -2.800186)'), GeomFromEWKT('SRID=4674;POINT (-40.360098 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:19:41'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.360039 -2.800186)', '2026-06-21 06:19:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360098 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.360039 -2.800186)'))) / (select extract(epoch from '2026-06-21 06:19:56'::timestamp) - extract(epoch from '2026-06-21 06:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360098 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.360039 -2.800186)'))) / (select extract(epoch from '2026-06-21 06:19:56'::timestamp) - extract(epoch from '2026-06-21 06:19: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'), 46736, 'SRID=4674;POINT (-40.359959 -2.800204)', '2026-06-21 06:20:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360039 -2.800186)'), GeomFromEWKT('SRID=4674;POINT (-40.359959 -2.800204)'))) / (select extract(epoch from '2026-06-21 06:20:11'::timestamp) - extract(epoch from '2026-06-21 06:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360039 -2.800186)'), GeomFromEWKT('SRID=4674;POINT (-40.359959 -2.800204)'))) / (select extract(epoch from '2026-06-21 06:20:11'::timestamp) - extract(epoch from '2026-06-21 06:19: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'), 46736, 'SRID=4674;POINT (-40.359874 -2.800204)', '2026-06-21 06:20:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359959 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.359874 -2.800204)'))) / (select extract(epoch from '2026-06-21 06:20:26'::timestamp) - extract(epoch from '2026-06-21 06:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359959 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.359874 -2.800204)'))) / (select extract(epoch from '2026-06-21 06:20:26'::timestamp) - extract(epoch from '2026-06-21 06:20: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'), 46736, 'SRID=4674;POINT (-40.359769 -2.800194)', '2026-06-21 06:20:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359874 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.359769 -2.800194)'))) / (select extract(epoch from '2026-06-21 06:20:43'::timestamp) - extract(epoch from '2026-06-21 06:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359874 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.359769 -2.800194)'))) / (select extract(epoch from '2026-06-21 06:20:43'::timestamp) - extract(epoch from '2026-06-21 06:20: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'), 46736, 'SRID=4674;POINT (-40.359693 -2.800193)', '2026-06-21 06:21:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359769 -2.800194)'), GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.800193)'))) / (select extract(epoch from '2026-06-21 06:21:01'::timestamp) - extract(epoch from '2026-06-21 06:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359769 -2.800194)'), GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.800193)'))) / (select extract(epoch from '2026-06-21 06:21:01'::timestamp) - extract(epoch from '2026-06-21 06:20: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'), 46736, 'SRID=4674;POINT (-40.359645 -2.800184)', '2026-06-21 06:21:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.359645 -2.800184)'))) / (select extract(epoch from '2026-06-21 06:21:21'::timestamp) - extract(epoch from '2026-06-21 06:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359693 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.359645 -2.800184)'))) / (select extract(epoch from '2026-06-21 06:21:21'::timestamp) - extract(epoch from '2026-06-21 06:21: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'), 46736, 'SRID=4674;POINT (-40.359628 -2.800179)', '2026-06-21 06:21:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359645 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.800179)'))) / (select extract(epoch from '2026-06-21 06:21:36'::timestamp) - extract(epoch from '2026-06-21 06:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359645 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.800179)'))) / (select extract(epoch from '2026-06-21 06:21:36'::timestamp) - extract(epoch from '2026-06-21 06:21: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'), 46736, 'SRID=4674;POINT (-40.359569 -2.80018)', '2026-06-21 06:21:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.800179)'), GeomFromEWKT('SRID=4674;POINT (-40.359569 -2.80018)'))) / (select extract(epoch from '2026-06-21 06:21:49'::timestamp) - extract(epoch from '2026-06-21 06:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.800179)'), GeomFromEWKT('SRID=4674;POINT (-40.359569 -2.80018)'))) / (select extract(epoch from '2026-06-21 06:21:49'::timestamp) - extract(epoch from '2026-06-21 06:21: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'), 46736, 'SRID=4674;POINT (-40.359477 -2.800174)', '2026-06-21 06:22:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359569 -2.80018)'), GeomFromEWKT('SRID=4674;POINT (-40.359477 -2.800174)'))) / (select extract(epoch from '2026-06-21 06:22:06'::timestamp) - extract(epoch from '2026-06-21 06:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359569 -2.80018)'), GeomFromEWKT('SRID=4674;POINT (-40.359477 -2.800174)'))) / (select extract(epoch from '2026-06-21 06:22:06'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.359405 -2.800183)', '2026-06-21 06:22:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359477 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.359405 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:22:23'::timestamp) - extract(epoch from '2026-06-21 06:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359477 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.359405 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:22:23'::timestamp) - extract(epoch from '2026-06-21 06:22: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'), 46736, 'SRID=4674;POINT (-40.359336 -2.800183)', '2026-06-21 06:22:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359405 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.359336 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:22:39'::timestamp) - extract(epoch from '2026-06-21 06:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359405 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.359336 -2.800183)'))) / (select extract(epoch from '2026-06-21 06:22:39'::timestamp) - extract(epoch from '2026-06-21 06:22: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'), 46736, 'SRID=4674;POINT (-40.359248 -2.800188)', '2026-06-21 06:22:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359336 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.359248 -2.800188)'))) / (select extract(epoch from '2026-06-21 06:22:58'::timestamp) - extract(epoch from '2026-06-21 06:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359336 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.359248 -2.800188)'))) / (select extract(epoch from '2026-06-21 06:22:58'::timestamp) - extract(epoch from '2026-06-21 06:22: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'), 46736, 'SRID=4674;POINT (-40.35918 -2.800185)', '2026-06-21 06:23:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359248 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.35918 -2.800185)'))) / (select extract(epoch from '2026-06-21 06:23:14'::timestamp) - extract(epoch from '2026-06-21 06:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359248 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.35918 -2.800185)'))) / (select extract(epoch from '2026-06-21 06:23:14'::timestamp) - extract(epoch from '2026-06-21 06:22: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'), 46736, 'SRID=4674;POINT (-40.359117 -2.800181)', '2026-06-21 06:23:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35918 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.359117 -2.800181)'))) / (select extract(epoch from '2026-06-21 06:23:29'::timestamp) - extract(epoch from '2026-06-21 06:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35918 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.359117 -2.800181)'))) / (select extract(epoch from '2026-06-21 06:23:29'::timestamp) - extract(epoch from '2026-06-21 06:23: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'), 46736, 'SRID=4674;POINT (-40.359035 -2.800173)', '2026-06-21 06:23:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359117 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.359035 -2.800173)'))) / (select extract(epoch from '2026-06-21 06:23:45'::timestamp) - extract(epoch from '2026-06-21 06:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359117 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.359035 -2.800173)'))) / (select extract(epoch from '2026-06-21 06:23:45'::timestamp) - extract(epoch from '2026-06-21 06:23: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'), 46736, 'SRID=4674;POINT (-40.358943 -2.800172)', '2026-06-21 06:24:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359035 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.358943 -2.800172)'))) / (select extract(epoch from '2026-06-21 06:24:00'::timestamp) - extract(epoch from '2026-06-21 06:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359035 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.358943 -2.800172)'))) / (select extract(epoch from '2026-06-21 06:24:00'::timestamp) - extract(epoch from '2026-06-21 06:23: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'), 46736, 'SRID=4674;POINT (-40.358835 -2.800179)', '2026-06-21 06:24:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358943 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.358835 -2.800179)'))) / (select extract(epoch from '2026-06-21 06:24:23'::timestamp) - extract(epoch from '2026-06-21 06:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358943 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.358835 -2.800179)'))) / (select extract(epoch from '2026-06-21 06:24:23'::timestamp) - extract(epoch from '2026-06-21 06:24: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'), 46736, 'SRID=4674;POINT (-40.358774 -2.800177)', '2026-06-21 06:24:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358835 -2.800179)'), GeomFromEWKT('SRID=4674;POINT (-40.358774 -2.800177)'))) / (select extract(epoch from '2026-06-21 06:24:39'::timestamp) - extract(epoch from '2026-06-21 06:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358835 -2.800179)'), GeomFromEWKT('SRID=4674;POINT (-40.358774 -2.800177)'))) / (select extract(epoch from '2026-06-21 06:24:39'::timestamp) - extract(epoch from '2026-06-21 06:24: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'), 46736, 'SRID=4674;POINT (-40.358706 -2.800165)', '2026-06-21 06:24:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358774 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.358706 -2.800165)'))) / (select extract(epoch from '2026-06-21 06:24:53'::timestamp) - extract(epoch from '2026-06-21 06:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358774 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.358706 -2.800165)'))) / (select extract(epoch from '2026-06-21 06:24:53'::timestamp) - extract(epoch from '2026-06-21 06:24: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'), 46736, 'SRID=4674;POINT (-40.358634 -2.800165)', '2026-06-21 06:25:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358706 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.358634 -2.800165)'))) / (select extract(epoch from '2026-06-21 06:25:10'::timestamp) - extract(epoch from '2026-06-21 06:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358706 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.358634 -2.800165)'))) / (select extract(epoch from '2026-06-21 06:25:10'::timestamp) - extract(epoch from '2026-06-21 06:24: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'), 46736, 'SRID=4674;POINT (-40.358544 -2.800154)', '2026-06-21 06:25:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358634 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.358544 -2.800154)'))) / (select extract(epoch from '2026-06-21 06:25:28'::timestamp) - extract(epoch from '2026-06-21 06:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358634 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.358544 -2.800154)'))) / (select extract(epoch from '2026-06-21 06:25:28'::timestamp) - extract(epoch from '2026-06-21 06:25: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'), 46736, 'SRID=4674;POINT (-40.358478 -2.800158)', '2026-06-21 06:25:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358544 -2.800154)'), GeomFromEWKT('SRID=4674;POINT (-40.358478 -2.800158)'))) / (select extract(epoch from '2026-06-21 06:25:41'::timestamp) - extract(epoch from '2026-06-21 06:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358544 -2.800154)'), GeomFromEWKT('SRID=4674;POINT (-40.358478 -2.800158)'))) / (select extract(epoch from '2026-06-21 06:25:41'::timestamp) - extract(epoch from '2026-06-21 06:25: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'), 46736, 'SRID=4674;POINT (-40.358387 -2.800161)', '2026-06-21 06:25:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358478 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.358387 -2.800161)'))) / (select extract(epoch from '2026-06-21 06:25:55'::timestamp) - extract(epoch from '2026-06-21 06:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358478 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.358387 -2.800161)'))) / (select extract(epoch from '2026-06-21 06:25:55'::timestamp) - extract(epoch from '2026-06-21 06:25: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'), 46736, 'SRID=4674;POINT (-40.358295 -2.800141)', '2026-06-21 06:26:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358387 -2.800161)'), GeomFromEWKT('SRID=4674;POINT (-40.358295 -2.800141)'))) / (select extract(epoch from '2026-06-21 06:26:09'::timestamp) - extract(epoch from '2026-06-21 06:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358387 -2.800161)'), GeomFromEWKT('SRID=4674;POINT (-40.358295 -2.800141)'))) / (select extract(epoch from '2026-06-21 06:26:09'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35817 -2.800134)', '2026-06-21 06:26:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358295 -2.800141)'), GeomFromEWKT('SRID=4674;POINT (-40.35817 -2.800134)'))) / (select extract(epoch from '2026-06-21 06:26:27'::timestamp) - extract(epoch from '2026-06-21 06:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358295 -2.800141)'), GeomFromEWKT('SRID=4674;POINT (-40.35817 -2.800134)'))) / (select extract(epoch from '2026-06-21 06:26:27'::timestamp) - extract(epoch from '2026-06-21 06:26: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'), 46736, 'SRID=4674;POINT (-40.358101 -2.800117)', '2026-06-21 06:26:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35817 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.358101 -2.800117)'))) / (select extract(epoch from '2026-06-21 06:26:42'::timestamp) - extract(epoch from '2026-06-21 06:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35817 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.358101 -2.800117)'))) / (select extract(epoch from '2026-06-21 06:26:42'::timestamp) - extract(epoch from '2026-06-21 06:26: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'), 46736, 'SRID=4674;POINT (-40.358072 -2.800101)', '2026-06-21 06:26:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358101 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.358072 -2.800101)'))) / (select extract(epoch from '2026-06-21 06:26:55'::timestamp) - extract(epoch from '2026-06-21 06:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358101 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.358072 -2.800101)'))) / (select extract(epoch from '2026-06-21 06:26:55'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.358028 -2.800093)', '2026-06-21 06:27:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358072 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.358028 -2.800093)'))) / (select extract(epoch from '2026-06-21 06:27:13'::timestamp) - extract(epoch from '2026-06-21 06:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358072 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.358028 -2.800093)'))) / (select extract(epoch from '2026-06-21 06:27:13'::timestamp) - extract(epoch from '2026-06-21 06:26: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'), 46736, 'SRID=4674;POINT (-40.357967 -2.800087)', '2026-06-21 06:27:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358028 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.357967 -2.800087)'))) / (select extract(epoch from '2026-06-21 06:27:27'::timestamp) - extract(epoch from '2026-06-21 06:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358028 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.357967 -2.800087)'))) / (select extract(epoch from '2026-06-21 06:27:27'::timestamp) - extract(epoch from '2026-06-21 06:27: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'), 46736, 'SRID=4674;POINT (-40.357892 -2.800068)', '2026-06-21 06:27:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357967 -2.800087)'), GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.800068)'))) / (select extract(epoch from '2026-06-21 06:27:44'::timestamp) - extract(epoch from '2026-06-21 06:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357967 -2.800087)'), GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.800068)'))) / (select extract(epoch from '2026-06-21 06:27:44'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.357807 -2.800066)', '2026-06-21 06:27:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.800066)'))) / (select extract(epoch from '2026-06-21 06:27:58'::timestamp) - extract(epoch from '2026-06-21 06:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.800066)'))) / (select extract(epoch from '2026-06-21 06:27:58'::timestamp) - extract(epoch from '2026-06-21 06:27: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'), 46736, 'SRID=4674;POINT (-40.357728 -2.800059)', '2026-06-21 06:28:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.357728 -2.800059)'))) / (select extract(epoch from '2026-06-21 06:28:11'::timestamp) - extract(epoch from '2026-06-21 06:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.357728 -2.800059)'))) / (select extract(epoch from '2026-06-21 06:28:11'::timestamp) - extract(epoch from '2026-06-21 06:27: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'), 46736, 'SRID=4674;POINT (-40.357659 -2.800053)', '2026-06-21 06:28:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357728 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.357659 -2.800053)'))) / (select extract(epoch from '2026-06-21 06:28:24'::timestamp) - extract(epoch from '2026-06-21 06:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357728 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.357659 -2.800053)'))) / (select extract(epoch from '2026-06-21 06:28:24'::timestamp) - extract(epoch from '2026-06-21 06:28: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'), 46736, 'SRID=4674;POINT (-40.357576 -2.800037)', '2026-06-21 06:28:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357659 -2.800053)'), GeomFromEWKT('SRID=4674;POINT (-40.357576 -2.800037)'))) / (select extract(epoch from '2026-06-21 06:28:41'::timestamp) - extract(epoch from '2026-06-21 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357659 -2.800053)'), GeomFromEWKT('SRID=4674;POINT (-40.357576 -2.800037)'))) / (select extract(epoch from '2026-06-21 06:28:41'::timestamp) - extract(epoch from '2026-06-21 06:28: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'), 46736, 'SRID=4674;POINT (-40.357495 -2.800013)', '2026-06-21 06:28:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357576 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.357495 -2.800013)'))) / (select extract(epoch from '2026-06-21 06:28:57'::timestamp) - extract(epoch from '2026-06-21 06:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357576 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.357495 -2.800013)'))) / (select extract(epoch from '2026-06-21 06:28:57'::timestamp) - extract(epoch from '2026-06-21 06:28: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'), 46736, 'SRID=4674;POINT (-40.357468 -2.800001)', '2026-06-21 06:29:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357495 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.357468 -2.800001)'))) / (select extract(epoch from '2026-06-21 06:29:13'::timestamp) - extract(epoch from '2026-06-21 06:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357495 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.357468 -2.800001)'))) / (select extract(epoch from '2026-06-21 06:29:13'::timestamp) - extract(epoch from '2026-06-21 06:28: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'), 46736, 'SRID=4674;POINT (-40.357444 -2.799987)', '2026-06-21 06:29:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357468 -2.800001)'), GeomFromEWKT('SRID=4674;POINT (-40.357444 -2.799987)'))) / (select extract(epoch from '2026-06-21 06:29:27'::timestamp) - extract(epoch from '2026-06-21 06:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357468 -2.800001)'), GeomFromEWKT('SRID=4674;POINT (-40.357444 -2.799987)'))) / (select extract(epoch from '2026-06-21 06:29:27'::timestamp) - extract(epoch from '2026-06-21 06:29: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'), 46736, 'SRID=4674;POINT (-40.357407 -2.799981)', '2026-06-21 06:29:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357444 -2.799987)'), GeomFromEWKT('SRID=4674;POINT (-40.357407 -2.799981)'))) / (select extract(epoch from '2026-06-21 06:29:38'::timestamp) - extract(epoch from '2026-06-21 06:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357444 -2.799987)'), GeomFromEWKT('SRID=4674;POINT (-40.357407 -2.799981)'))) / (select extract(epoch from '2026-06-21 06:29:38'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.357312 -2.799962)', '2026-06-21 06:29:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357407 -2.799981)'), GeomFromEWKT('SRID=4674;POINT (-40.357312 -2.799962)'))) / (select extract(epoch from '2026-06-21 06:29:54'::timestamp) - extract(epoch from '2026-06-21 06:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357407 -2.799981)'), GeomFromEWKT('SRID=4674;POINT (-40.357312 -2.799962)'))) / (select extract(epoch from '2026-06-21 06:29:54'::timestamp) - extract(epoch from '2026-06-21 06:29: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'), 46736, 'SRID=4674;POINT (-40.357211 -2.799939)', '2026-06-21 06:30:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357312 -2.799962)'), GeomFromEWKT('SRID=4674;POINT (-40.357211 -2.799939)'))) / (select extract(epoch from '2026-06-21 06:30:11'::timestamp) - extract(epoch from '2026-06-21 06:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357312 -2.799962)'), GeomFromEWKT('SRID=4674;POINT (-40.357211 -2.799939)'))) / (select extract(epoch from '2026-06-21 06:30:11'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.357131 -2.799925)', '2026-06-21 06:30:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357211 -2.799939)'), GeomFromEWKT('SRID=4674;POINT (-40.357131 -2.799925)'))) / (select extract(epoch from '2026-06-21 06:30:31'::timestamp) - extract(epoch from '2026-06-21 06:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357211 -2.799939)'), GeomFromEWKT('SRID=4674;POINT (-40.357131 -2.799925)'))) / (select extract(epoch from '2026-06-21 06:30:31'::timestamp) - extract(epoch from '2026-06-21 06:30: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'), 46736, 'SRID=4674;POINT (-40.357103 -2.79991)', '2026-06-21 06:30:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357131 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.357103 -2.79991)'))) / (select extract(epoch from '2026-06-21 06:30:42'::timestamp) - extract(epoch from '2026-06-21 06:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357131 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.357103 -2.79991)'))) / (select extract(epoch from '2026-06-21 06:30:42'::timestamp) - extract(epoch from '2026-06-21 06:30: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'), 46736, 'SRID=4674;POINT (-40.35704 -2.799895)', '2026-06-21 06:31:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357103 -2.79991)'), GeomFromEWKT('SRID=4674;POINT (-40.35704 -2.799895)'))) / (select extract(epoch from '2026-06-21 06:31:01'::timestamp) - extract(epoch from '2026-06-21 06:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357103 -2.79991)'), GeomFromEWKT('SRID=4674;POINT (-40.35704 -2.799895)'))) / (select extract(epoch from '2026-06-21 06:31:01'::timestamp) - extract(epoch from '2026-06-21 06:30: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'), 46736, 'SRID=4674;POINT (-40.356992 -2.799885)', '2026-06-21 06:31:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35704 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-40.356992 -2.799885)'))) / (select extract(epoch from '2026-06-21 06:31:16'::timestamp) - extract(epoch from '2026-06-21 06:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35704 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-40.356992 -2.799885)'))) / (select extract(epoch from '2026-06-21 06:31:16'::timestamp) - extract(epoch from '2026-06-21 06:31: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'), 46736, 'SRID=4674;POINT (-40.35692 -2.79986)', '2026-06-21 06:31:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356992 -2.799885)'), GeomFromEWKT('SRID=4674;POINT (-40.35692 -2.79986)'))) / (select extract(epoch from '2026-06-21 06:31:32'::timestamp) - extract(epoch from '2026-06-21 06:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356992 -2.799885)'), GeomFromEWKT('SRID=4674;POINT (-40.35692 -2.79986)'))) / (select extract(epoch from '2026-06-21 06:31:32'::timestamp) - extract(epoch from '2026-06-21 06:31: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'), 46736, 'SRID=4674;POINT (-40.356846 -2.799835)', '2026-06-21 06:31:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35692 -2.79986)'), GeomFromEWKT('SRID=4674;POINT (-40.356846 -2.799835)'))) / (select extract(epoch from '2026-06-21 06:31:47'::timestamp) - extract(epoch from '2026-06-21 06:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35692 -2.79986)'), GeomFromEWKT('SRID=4674;POINT (-40.356846 -2.799835)'))) / (select extract(epoch from '2026-06-21 06:31:47'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35677 -2.7998)', '2026-06-21 06:32:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356846 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.7998)'))) / (select extract(epoch from '2026-06-21 06:32:01'::timestamp) - extract(epoch from '2026-06-21 06:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356846 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.7998)'))) / (select extract(epoch from '2026-06-21 06:32:01'::timestamp) - extract(epoch from '2026-06-21 06:31: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'), 46736, 'SRID=4674;POINT (-40.35673 -2.799787)', '2026-06-21 06:32:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.35673 -2.799787)'))) / (select extract(epoch from '2026-06-21 06:32:15'::timestamp) - extract(epoch from '2026-06-21 06:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.35673 -2.799787)'))) / (select extract(epoch from '2026-06-21 06:32:15'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35668 -2.799771)', '2026-06-21 06:32:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35673 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.35668 -2.799771)'))) / (select extract(epoch from '2026-06-21 06:32:36'::timestamp) - extract(epoch from '2026-06-21 06:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35673 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.35668 -2.799771)'))) / (select extract(epoch from '2026-06-21 06:32:36'::timestamp) - extract(epoch from '2026-06-21 06:32: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'), 46736, 'SRID=4674;POINT (-40.356637 -2.799764)', '2026-06-21 06:32:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35668 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.799764)'))) / (select extract(epoch from '2026-06-21 06:32:50'::timestamp) - extract(epoch from '2026-06-21 06:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35668 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.799764)'))) / (select extract(epoch from '2026-06-21 06:32:50'::timestamp) - extract(epoch from '2026-06-21 06:32: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'), 46736, 'SRID=4674;POINT (-40.356616 -2.79975)', '2026-06-21 06:33:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.79975)'))) / (select extract(epoch from '2026-06-21 06:33:03'::timestamp) - extract(epoch from '2026-06-21 06:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.79975)'))) / (select extract(epoch from '2026-06-21 06:33:03'::timestamp) - extract(epoch from '2026-06-21 06:32: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'), 46736, 'SRID=4674;POINT (-40.35659 -2.799732)', '2026-06-21 06:33:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.79975)'), GeomFromEWKT('SRID=4674;POINT (-40.35659 -2.799732)'))) / (select extract(epoch from '2026-06-21 06:33:17'::timestamp) - extract(epoch from '2026-06-21 06:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.79975)'), GeomFromEWKT('SRID=4674;POINT (-40.35659 -2.799732)'))) / (select extract(epoch from '2026-06-21 06:33:17'::timestamp) - extract(epoch from '2026-06-21 06:33: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'), 46736, 'SRID=4674;POINT (-40.356562 -2.79971)', '2026-06-21 06:33:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35659 -2.799732)'), GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.79971)'))) / (select extract(epoch from '2026-06-21 06:33:32'::timestamp) - extract(epoch from '2026-06-21 06:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35659 -2.799732)'), GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.79971)'))) / (select extract(epoch from '2026-06-21 06:33:32'::timestamp) - extract(epoch from '2026-06-21 06:33: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'), 46736, 'SRID=4674;POINT (-40.356494 -2.799695)', '2026-06-21 06:33:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.356494 -2.799695)'))) / (select extract(epoch from '2026-06-21 06:33:47'::timestamp) - extract(epoch from '2026-06-21 06:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356562 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.356494 -2.799695)'))) / (select extract(epoch from '2026-06-21 06:33:47'::timestamp) - extract(epoch from '2026-06-21 06:33: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'), 46736, 'SRID=4674;POINT (-40.356413 -2.799678)', '2026-06-21 06:34:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356494 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.799678)'))) / (select extract(epoch from '2026-06-21 06:34:04'::timestamp) - extract(epoch from '2026-06-21 06:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356494 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.799678)'))) / (select extract(epoch from '2026-06-21 06:34:04'::timestamp) - extract(epoch from '2026-06-21 06:33: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'), 46736, 'SRID=4674;POINT (-40.356298 -2.799663)', '2026-06-21 06:34:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.356298 -2.799663)'))) / (select extract(epoch from '2026-06-21 06:34:23'::timestamp) - extract(epoch from '2026-06-21 06:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356413 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.356298 -2.799663)'))) / (select extract(epoch from '2026-06-21 06:34:23'::timestamp) - extract(epoch from '2026-06-21 06:34: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'), 46736, 'SRID=4674;POINT (-40.356263 -2.799636)', '2026-06-21 06:34:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356298 -2.799663)'), GeomFromEWKT('SRID=4674;POINT (-40.356263 -2.799636)'))) / (select extract(epoch from '2026-06-21 06:34:38'::timestamp) - extract(epoch from '2026-06-21 06:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356298 -2.799663)'), GeomFromEWKT('SRID=4674;POINT (-40.356263 -2.799636)'))) / (select extract(epoch from '2026-06-21 06:34:38'::timestamp) - extract(epoch from '2026-06-21 06:34: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'), 46736, 'SRID=4674;POINT (-40.356254 -2.799619)', '2026-06-21 06:34:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356263 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.356254 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:34:50'::timestamp) - extract(epoch from '2026-06-21 06:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356263 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.356254 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:34:50'::timestamp) - extract(epoch from '2026-06-21 06:34: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'), 46736, 'SRID=4674;POINT (-40.356241 -2.799619)', '2026-06-21 06:35:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356254 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.356241 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:35:00'::timestamp) - extract(epoch from '2026-06-21 06:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356254 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.356241 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:35:00'::timestamp) - extract(epoch from '2026-06-21 06:34: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'), 46736, 'SRID=4674;POINT (-40.356198 -2.799622)', '2026-06-21 06:35:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356241 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.356198 -2.799622)'))) / (select extract(epoch from '2026-06-21 06:35:13'::timestamp) - extract(epoch from '2026-06-21 06:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356241 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.356198 -2.799622)'))) / (select extract(epoch from '2026-06-21 06:35:13'::timestamp) - extract(epoch from '2026-06-21 06:35: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'), 46736, 'SRID=4674;POINT (-40.356126 -2.799621)', '2026-06-21 06:35:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356198 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.356126 -2.799621)'))) / (select extract(epoch from '2026-06-21 06:35:28'::timestamp) - extract(epoch from '2026-06-21 06:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356198 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.356126 -2.799621)'))) / (select extract(epoch from '2026-06-21 06:35:28'::timestamp) - extract(epoch from '2026-06-21 06:35: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'), 46736, 'SRID=4674;POINT (-40.356069 -2.799621)', '2026-06-21 06:35:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356126 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.356069 -2.799621)'))) / (select extract(epoch from '2026-06-21 06:35:43'::timestamp) - extract(epoch from '2026-06-21 06:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356126 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.356069 -2.799621)'))) / (select extract(epoch from '2026-06-21 06:35:43'::timestamp) - extract(epoch from '2026-06-21 06:35: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'), 46736, 'SRID=4674;POINT (-40.355994 -2.799623)', '2026-06-21 06:35:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356069 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.355994 -2.799623)'))) / (select extract(epoch from '2026-06-21 06:35:58'::timestamp) - extract(epoch from '2026-06-21 06:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356069 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.355994 -2.799623)'))) / (select extract(epoch from '2026-06-21 06:35:58'::timestamp) - extract(epoch from '2026-06-21 06:35: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'), 46736, 'SRID=4674;POINT (-40.355943 -2.799619)', '2026-06-21 06:36:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355994 -2.799623)'), GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:36:15'::timestamp) - extract(epoch from '2026-06-21 06:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355994 -2.799623)'), GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.799619)'))) / (select extract(epoch from '2026-06-21 06:36:15'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.355903 -2.799607)', '2026-06-21 06:36:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.355903 -2.799607)'))) / (select extract(epoch from '2026-06-21 06:36:33'::timestamp) - extract(epoch from '2026-06-21 06:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.355903 -2.799607)'))) / (select extract(epoch from '2026-06-21 06:36:33'::timestamp) - extract(epoch from '2026-06-21 06:36: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'), 46736, 'SRID=4674;POINT (-40.355833 -2.799611)', '2026-06-21 06:36:48', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355903 -2.799607)'), GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.799611)'))) / (select extract(epoch from '2026-06-21 06:36:48'::timestamp) - extract(epoch from '2026-06-21 06:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355903 -2.799607)'), GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.799611)'))) / (select extract(epoch from '2026-06-21 06:36:48'::timestamp) - extract(epoch from '2026-06-21 06:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.355734 -2.799608)', '2026-06-21 06:37:04', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.355734 -2.799608)'))) / (select extract(epoch from '2026-06-21 06:37:04'::timestamp) - extract(epoch from '2026-06-21 06:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355833 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.355734 -2.799608)'))) / (select extract(epoch from '2026-06-21 06:37:04'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35567 -2.799601)', '2026-06-21 06:37:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355734 -2.799608)'), GeomFromEWKT('SRID=4674;POINT (-40.35567 -2.799601)'))) / (select extract(epoch from '2026-06-21 06:37:20'::timestamp) - extract(epoch from '2026-06-21 06:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355734 -2.799608)'), GeomFromEWKT('SRID=4674;POINT (-40.35567 -2.799601)'))) / (select extract(epoch from '2026-06-21 06:37:20'::timestamp) - extract(epoch from '2026-06-21 06:37: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'), 46736, 'SRID=4674;POINT (-40.355584 -2.799611)', '2026-06-21 06:37:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35567 -2.799601)'), GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.799611)'))) / (select extract(epoch from '2026-06-21 06:37:39'::timestamp) - extract(epoch from '2026-06-21 06:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35567 -2.799601)'), GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.799611)'))) / (select extract(epoch from '2026-06-21 06:37:39'::timestamp) - extract(epoch from '2026-06-21 06:37: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'), 46736, 'SRID=4674;POINT (-40.355535 -2.7996)', '2026-06-21 06:37:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.355535 -2.7996)'))) / (select extract(epoch from '2026-06-21 06:37:56'::timestamp) - extract(epoch from '2026-06-21 06:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.355535 -2.7996)'))) / (select extract(epoch from '2026-06-21 06:37:56'::timestamp) - extract(epoch from '2026-06-21 06:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.355461 -2.79959)', '2026-06-21 06:38:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355535 -2.7996)'), GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.79959)'))) / (select extract(epoch from '2026-06-21 06:38:10'::timestamp) - extract(epoch from '2026-06-21 06:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355535 -2.7996)'), GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.79959)'))) / (select extract(epoch from '2026-06-21 06:38:10'::timestamp) - extract(epoch from '2026-06-21 06:37: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'), 46736, 'SRID=4674;POINT (-40.355391 -2.799585)', '2026-06-21 06:38:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.799585)'))) / (select extract(epoch from '2026-06-21 06:38:22'::timestamp) - extract(epoch from '2026-06-21 06:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.799585)'))) / (select extract(epoch from '2026-06-21 06:38:22'::timestamp) - extract(epoch from '2026-06-21 06:38: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'), 46736, 'SRID=4674;POINT (-40.355308 -2.799596)', '2026-06-21 06:38:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.355308 -2.799596)'))) / (select extract(epoch from '2026-06-21 06:38:37'::timestamp) - extract(epoch from '2026-06-21 06:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.355308 -2.799596)'))) / (select extract(epoch from '2026-06-21 06:38:37'::timestamp) - extract(epoch from '2026-06-21 06:38: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'), 46736, 'SRID=4674;POINT (-40.355228 -2.799622)', '2026-06-21 06:38:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355308 -2.799596)'), GeomFromEWKT('SRID=4674;POINT (-40.355228 -2.799622)'))) / (select extract(epoch from '2026-06-21 06:38:53'::timestamp) - extract(epoch from '2026-06-21 06:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355308 -2.799596)'), GeomFromEWKT('SRID=4674;POINT (-40.355228 -2.799622)'))) / (select extract(epoch from '2026-06-21 06:38:53'::timestamp) - extract(epoch from '2026-06-21 06:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.35518 -2.799659)', '2026-06-21 06:39:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355228 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.35518 -2.799659)'))) / (select extract(epoch from '2026-06-21 06:39:10'::timestamp) - extract(epoch from '2026-06-21 06:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355228 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.35518 -2.799659)'))) / (select extract(epoch from '2026-06-21 06:39:10'::timestamp) - extract(epoch from '2026-06-21 06:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.35513 -2.799699)', '2026-06-21 06:39:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35518 -2.799659)'), GeomFromEWKT('SRID=4674;POINT (-40.35513 -2.799699)'))) / (select extract(epoch from '2026-06-21 06:39:25'::timestamp) - extract(epoch from '2026-06-21 06:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35518 -2.799659)'), GeomFromEWKT('SRID=4674;POINT (-40.35513 -2.799699)'))) / (select extract(epoch from '2026-06-21 06:39:25'::timestamp) - extract(epoch from '2026-06-21 06:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.355099 -2.79972)', '2026-06-21 06:39:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35513 -2.799699)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.79972)'))) / (select extract(epoch from '2026-06-21 06:39:39'::timestamp) - extract(epoch from '2026-06-21 06:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35513 -2.799699)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.79972)'))) / (select extract(epoch from '2026-06-21 06:39:39'::timestamp) - extract(epoch from '2026-06-21 06:39: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'), 46736, 'SRID=4674;POINT (-40.355046 -2.799741)', '2026-06-21 06:39:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.79972)'), GeomFromEWKT('SRID=4674;POINT (-40.355046 -2.799741)'))) / (select extract(epoch from '2026-06-21 06:39:58'::timestamp) - extract(epoch from '2026-06-21 06:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.79972)'), GeomFromEWKT('SRID=4674;POINT (-40.355046 -2.799741)'))) / (select extract(epoch from '2026-06-21 06:39:58'::timestamp) - extract(epoch from '2026-06-21 06:39: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'), 46736, 'SRID=4674;POINT (-40.354997 -2.79974)', '2026-06-21 06:40:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355046 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.79974)'))) / (select extract(epoch from '2026-06-21 06:40:17'::timestamp) - extract(epoch from '2026-06-21 06:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355046 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.79974)'))) / (select extract(epoch from '2026-06-21 06:40:17'::timestamp) - extract(epoch from '2026-06-21 06:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354978 -2.79974)', '2026-06-21 06:40:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.79974)'), GeomFromEWKT('SRID=4674;POINT (-40.354978 -2.79974)'))) / (select extract(epoch from '2026-06-21 06:40:29'::timestamp) - extract(epoch from '2026-06-21 06:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.79974)'), GeomFromEWKT('SRID=4674;POINT (-40.354978 -2.79974)'))) / (select extract(epoch from '2026-06-21 06:40:29'::timestamp) - extract(epoch from '2026-06-21 06:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354958 -2.799738)', '2026-06-21 06:40:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354978 -2.79974)'), GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.799738)'))) / (select extract(epoch from '2026-06-21 06:40:48'::timestamp) - extract(epoch from '2026-06-21 06:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354978 -2.79974)'), GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.799738)'))) / (select extract(epoch from '2026-06-21 06:40:48'::timestamp) - extract(epoch from '2026-06-21 06:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354924 -2.799749)', '2026-06-21 06:40:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.354924 -2.799749)'))) / (select extract(epoch from '2026-06-21 06:40:59'::timestamp) - extract(epoch from '2026-06-21 06:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.354924 -2.799749)'))) / (select extract(epoch from '2026-06-21 06:40:59'::timestamp) - extract(epoch from '2026-06-21 06:40: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'), 46736, 'SRID=4674;POINT (-40.354834 -2.799761)', '2026-06-21 06:41:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354924 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.799761)'))) / (select extract(epoch from '2026-06-21 06:41:15'::timestamp) - extract(epoch from '2026-06-21 06:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354924 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.799761)'))) / (select extract(epoch from '2026-06-21 06:41:15'::timestamp) - extract(epoch from '2026-06-21 06:40: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'), 46736, 'SRID=4674;POINT (-40.354795 -2.79976)', '2026-06-21 06:41:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.799761)'), GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.79976)'))) / (select extract(epoch from '2026-06-21 06:41:29'::timestamp) - extract(epoch from '2026-06-21 06:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.799761)'), GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.79976)'))) / (select extract(epoch from '2026-06-21 06:41:29'::timestamp) - extract(epoch from '2026-06-21 06:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354736 -2.799775)', '2026-06-21 06:41:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.79976)'), GeomFromEWKT('SRID=4674;POINT (-40.354736 -2.799775)'))) / (select extract(epoch from '2026-06-21 06:41:42'::timestamp) - extract(epoch from '2026-06-21 06:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.79976)'), GeomFromEWKT('SRID=4674;POINT (-40.354736 -2.799775)'))) / (select extract(epoch from '2026-06-21 06:41:42'::timestamp) - extract(epoch from '2026-06-21 06:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354656 -2.799777)', '2026-06-21 06:42:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354736 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.354656 -2.799777)'))) / (select extract(epoch from '2026-06-21 06:42:02'::timestamp) - extract(epoch from '2026-06-21 06:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354736 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.354656 -2.799777)'))) / (select extract(epoch from '2026-06-21 06:42:02'::timestamp) - extract(epoch from '2026-06-21 06:41: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'), 46736, 'SRID=4674;POINT (-40.354622 -2.799778)', '2026-06-21 06:42:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354656 -2.799777)'), GeomFromEWKT('SRID=4674;POINT (-40.354622 -2.799778)'))) / (select extract(epoch from '2026-06-21 06:42:12'::timestamp) - extract(epoch from '2026-06-21 06:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354656 -2.799777)'), GeomFromEWKT('SRID=4674;POINT (-40.354622 -2.799778)'))) / (select extract(epoch from '2026-06-21 06:42:12'::timestamp) - extract(epoch from '2026-06-21 06:42: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'), 46736, 'SRID=4674;POINT (-40.354557 -2.799775)', '2026-06-21 06:42:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354622 -2.799778)'), GeomFromEWKT('SRID=4674;POINT (-40.354557 -2.799775)'))) / (select extract(epoch from '2026-06-21 06:42:28'::timestamp) - extract(epoch from '2026-06-21 06:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354622 -2.799778)'), GeomFromEWKT('SRID=4674;POINT (-40.354557 -2.799775)'))) / (select extract(epoch from '2026-06-21 06:42:28'::timestamp) - extract(epoch from '2026-06-21 06:42: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'), 46736, 'SRID=4674;POINT (-40.354538 -2.799752)', '2026-06-21 06:42:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354557 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.354538 -2.799752)'))) / (select extract(epoch from '2026-06-21 06:42:43'::timestamp) - extract(epoch from '2026-06-21 06:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354557 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.354538 -2.799752)'))) / (select extract(epoch from '2026-06-21 06:42:43'::timestamp) - extract(epoch from '2026-06-21 06:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354521 -2.799741)', '2026-06-21 06:42:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354538 -2.799752)'), GeomFromEWKT('SRID=4674;POINT (-40.354521 -2.799741)'))) / (select extract(epoch from '2026-06-21 06:42:56'::timestamp) - extract(epoch from '2026-06-21 06:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354538 -2.799752)'), GeomFromEWKT('SRID=4674;POINT (-40.354521 -2.799741)'))) / (select extract(epoch from '2026-06-21 06:42:56'::timestamp) - extract(epoch from '2026-06-21 06:42: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'), 46736, 'SRID=4674;POINT (-40.354527 -2.799726)', '2026-06-21 06:43:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354521 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.354527 -2.799726)'))) / (select extract(epoch from '2026-06-21 06:43:13'::timestamp) - extract(epoch from '2026-06-21 06:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354521 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.354527 -2.799726)'))) / (select extract(epoch from '2026-06-21 06:43:13'::timestamp) - extract(epoch from '2026-06-21 06:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354544 -2.799717)', '2026-06-21 06:43:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354527 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.354544 -2.799717)'))) / (select extract(epoch from '2026-06-21 06:43:27'::timestamp) - extract(epoch from '2026-06-21 06:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354527 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.354544 -2.799717)'))) / (select extract(epoch from '2026-06-21 06:43:27'::timestamp) - extract(epoch from '2026-06-21 06:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354562 -2.799701)', '2026-06-21 06:43:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354544 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.799701)'))) / (select extract(epoch from '2026-06-21 06:43:47'::timestamp) - extract(epoch from '2026-06-21 06:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354544 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.799701)'))) / (select extract(epoch from '2026-06-21 06:43:47'::timestamp) - extract(epoch from '2026-06-21 06:43: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'), 46736, 'SRID=4674;POINT (-40.354573 -2.799683)', '2026-06-21 06:44:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.799683)'))) / (select extract(epoch from '2026-06-21 06:44:08'::timestamp) - extract(epoch from '2026-06-21 06:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.799683)'))) / (select extract(epoch from '2026-06-21 06:44:08'::timestamp) - extract(epoch from '2026-06-21 06:43: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'), 46736, 'SRID=4674;POINT (-40.354596 -2.799663)', '2026-06-21 06:44:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.354596 -2.799663)'))) / (select extract(epoch from '2026-06-21 06:44:27'::timestamp) - extract(epoch from '2026-06-21 06:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.354596 -2.799663)'))) / (select extract(epoch from '2026-06-21 06:44:27'::timestamp) - extract(epoch from '2026-06-21 06:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354639 -2.799654)', '2026-06-21 06:44:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354596 -2.799663)'), GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.799654)'))) / (select extract(epoch from '2026-06-21 06:44:44'::timestamp) - extract(epoch from '2026-06-21 06:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354596 -2.799663)'), GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.799654)'))) / (select extract(epoch from '2026-06-21 06:44:44'::timestamp) - extract(epoch from '2026-06-21 06:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.35466 -2.799638)', '2026-06-21 06:44:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.35466 -2.799638)'))) / (select extract(epoch from '2026-06-21 06:44:59'::timestamp) - extract(epoch from '2026-06-21 06:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.35466 -2.799638)'))) / (select extract(epoch from '2026-06-21 06:44:59'::timestamp) - extract(epoch from '2026-06-21 06:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354672 -2.799626)', '2026-06-21 06:45:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35466 -2.799638)'), GeomFromEWKT('SRID=4674;POINT (-40.354672 -2.799626)'))) / (select extract(epoch from '2026-06-21 06:45:09'::timestamp) - extract(epoch from '2026-06-21 06:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35466 -2.799638)'), GeomFromEWKT('SRID=4674;POINT (-40.354672 -2.799626)'))) / (select extract(epoch from '2026-06-21 06:45:09'::timestamp) - extract(epoch from '2026-06-21 06:44: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'), 46736, 'SRID=4674;POINT (-40.354708 -2.799597)', '2026-06-21 06:45:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354672 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.354708 -2.799597)'))) / (select extract(epoch from '2026-06-21 06:45:28'::timestamp) - extract(epoch from '2026-06-21 06:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354672 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.354708 -2.799597)'))) / (select extract(epoch from '2026-06-21 06:45:28'::timestamp) - extract(epoch from '2026-06-21 06:45: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'), 46736, 'SRID=4674;POINT (-40.354723 -2.79958)', '2026-06-21 06:45:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354708 -2.799597)'), GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.79958)'))) / (select extract(epoch from '2026-06-21 06:45:41'::timestamp) - extract(epoch from '2026-06-21 06:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354708 -2.799597)'), GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.79958)'))) / (select extract(epoch from '2026-06-21 06:45:41'::timestamp) - extract(epoch from '2026-06-21 06:45: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'), 46736, 'SRID=4674;POINT (-40.354728 -2.799571)', '2026-06-21 06:45:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.354728 -2.799571)'))) / (select extract(epoch from '2026-06-21 06:45:53'::timestamp) - extract(epoch from '2026-06-21 06:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.354728 -2.799571)'))) / (select extract(epoch from '2026-06-21 06:45:53'::timestamp) - extract(epoch from '2026-06-21 06:45: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'), 46736, 'SRID=4674;POINT (-40.354731 -2.799569)', '2026-06-21 06:46:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354728 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.354731 -2.799569)'))) / (select extract(epoch from '2026-06-21 06:46:03'::timestamp) - extract(epoch from '2026-06-21 06:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354728 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.354731 -2.799569)'))) / (select extract(epoch from '2026-06-21 06:46:03'::timestamp) - extract(epoch from '2026-06-21 06:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354743 -2.799571)', '2026-06-21 06:46:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354731 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.799571)'))) / (select extract(epoch from '2026-06-21 06:46:17'::timestamp) - extract(epoch from '2026-06-21 06:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354731 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.799571)'))) / (select extract(epoch from '2026-06-21 06:46:17'::timestamp) - extract(epoch from '2026-06-21 06:46: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'), 46736, 'SRID=4674;POINT (-40.354756 -2.79957)', '2026-06-21 06:46:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.354756 -2.79957)'))) / (select extract(epoch from '2026-06-21 06:46:29'::timestamp) - extract(epoch from '2026-06-21 06:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.354756 -2.79957)'))) / (select extract(epoch from '2026-06-21 06:46:29'::timestamp) - extract(epoch from '2026-06-21 06:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354765 -2.799559)', '2026-06-21 06:46:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354756 -2.79957)'), GeomFromEWKT('SRID=4674;POINT (-40.354765 -2.799559)'))) / (select extract(epoch from '2026-06-21 06:46:42'::timestamp) - extract(epoch from '2026-06-21 06:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354756 -2.79957)'), GeomFromEWKT('SRID=4674;POINT (-40.354765 -2.799559)'))) / (select extract(epoch from '2026-06-21 06:46:42'::timestamp) - extract(epoch from '2026-06-21 06:46: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'), 46736, 'SRID=4674;POINT (-40.354778 -2.799548)', '2026-06-21 06:46:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354765 -2.799559)'), GeomFromEWKT('SRID=4674;POINT (-40.354778 -2.799548)'))) / (select extract(epoch from '2026-06-21 06:46:56'::timestamp) - extract(epoch from '2026-06-21 06:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354765 -2.799559)'), GeomFromEWKT('SRID=4674;POINT (-40.354778 -2.799548)'))) / (select extract(epoch from '2026-06-21 06:46:56'::timestamp) - extract(epoch from '2026-06-21 06:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354799 -2.799533)', '2026-06-21 06:47:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354778 -2.799548)'), GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.799533)'))) / (select extract(epoch from '2026-06-21 06:47:08'::timestamp) - extract(epoch from '2026-06-21 06:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354778 -2.799548)'), GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.799533)'))) / (select extract(epoch from '2026-06-21 06:47:08'::timestamp) - extract(epoch from '2026-06-21 06:46: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'), 46736, 'SRID=4674;POINT (-40.354808 -2.799525)', '2026-06-21 06:47:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.354808 -2.799525)'))) / (select extract(epoch from '2026-06-21 06:47:24'::timestamp) - extract(epoch from '2026-06-21 06:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.354808 -2.799525)'))) / (select extract(epoch from '2026-06-21 06:47:24'::timestamp) - extract(epoch from '2026-06-21 06:47: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'), 46736, 'SRID=4674;POINT (-40.354812 -2.799505)', '2026-06-21 06:47:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354808 -2.799525)'), GeomFromEWKT('SRID=4674;POINT (-40.354812 -2.799505)'))) / (select extract(epoch from '2026-06-21 06:47:40'::timestamp) - extract(epoch from '2026-06-21 06:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354808 -2.799525)'), GeomFromEWKT('SRID=4674;POINT (-40.354812 -2.799505)'))) / (select extract(epoch from '2026-06-21 06:47:40'::timestamp) - extract(epoch from '2026-06-21 06:47: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'), 46736, 'SRID=4674;POINT (-40.354797 -2.799477)', '2026-06-21 06:47:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354812 -2.799505)'), GeomFromEWKT('SRID=4674;POINT (-40.354797 -2.799477)'))) / (select extract(epoch from '2026-06-21 06:47:53'::timestamp) - extract(epoch from '2026-06-21 06:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354812 -2.799505)'), GeomFromEWKT('SRID=4674;POINT (-40.354797 -2.799477)'))) / (select extract(epoch from '2026-06-21 06:47:53'::timestamp) - extract(epoch from '2026-06-21 06:47: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'), 46736, 'SRID=4674;POINT (-40.354705 -2.799486)', '2026-06-21 06:48:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354797 -2.799477)'), GeomFromEWKT('SRID=4674;POINT (-40.354705 -2.799486)'))) / (select extract(epoch from '2026-06-21 06:48:02'::timestamp) - extract(epoch from '2026-06-21 06:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354797 -2.799477)'), GeomFromEWKT('SRID=4674;POINT (-40.354705 -2.799486)'))) / (select extract(epoch from '2026-06-21 06:48:02'::timestamp) - extract(epoch from '2026-06-21 06:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354569 -2.799572)', '2026-06-21 06:48:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354705 -2.799486)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.799572)'))) / (select extract(epoch from '2026-06-21 06:48:13'::timestamp) - extract(epoch from '2026-06-21 06:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354705 -2.799486)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.799572)'))) / (select extract(epoch from '2026-06-21 06:48:13'::timestamp) - extract(epoch from '2026-06-21 06:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354519 -2.799681)', '2026-06-21 06:48:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.354519 -2.799681)'))) / (select extract(epoch from '2026-06-21 06:48:20'::timestamp) - extract(epoch from '2026-06-21 06:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.354519 -2.799681)'))) / (select extract(epoch from '2026-06-21 06:48:20'::timestamp) - extract(epoch from '2026-06-21 06:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354488 -2.799803)', '2026-06-21 06:48:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354519 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.354488 -2.799803)'))) / (select extract(epoch from '2026-06-21 06:48:27'::timestamp) - extract(epoch from '2026-06-21 06:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354519 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.354488 -2.799803)'))) / (select extract(epoch from '2026-06-21 06:48:27'::timestamp) - extract(epoch from '2026-06-21 06:48: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'), 46736, 'SRID=4674;POINT (-40.354475 -2.799943)', '2026-06-21 06:48:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354488 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.799943)'))) / (select extract(epoch from '2026-06-21 06:48:35'::timestamp) - extract(epoch from '2026-06-21 06:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354488 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.799943)'))) / (select extract(epoch from '2026-06-21 06:48:35'::timestamp) - extract(epoch from '2026-06-21 06:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354482 -2.800068)', '2026-06-21 06:48:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.799943)'), GeomFromEWKT('SRID=4674;POINT (-40.354482 -2.800068)'))) / (select extract(epoch from '2026-06-21 06:48:42'::timestamp) - extract(epoch from '2026-06-21 06:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.799943)'), GeomFromEWKT('SRID=4674;POINT (-40.354482 -2.800068)'))) / (select extract(epoch from '2026-06-21 06:48:42'::timestamp) - extract(epoch from '2026-06-21 06:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354465 -2.800206)', '2026-06-21 06:48:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354482 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.800206)'))) / (select extract(epoch from '2026-06-21 06:48:49'::timestamp) - extract(epoch from '2026-06-21 06:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354482 -2.800068)'), GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.800206)'))) / (select extract(epoch from '2026-06-21 06:48:49'::timestamp) - extract(epoch from '2026-06-21 06:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354436 -2.800331)', '2026-06-21 06:48:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.354436 -2.800331)'))) / (select extract(epoch from '2026-06-21 06:48:56'::timestamp) - extract(epoch from '2026-06-21 06:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.354436 -2.800331)'))) / (select extract(epoch from '2026-06-21 06:48:56'::timestamp) - extract(epoch from '2026-06-21 06:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354422 -2.800515)', '2026-06-21 06:49:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354436 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.354422 -2.800515)'))) / (select extract(epoch from '2026-06-21 06:49:05'::timestamp) - extract(epoch from '2026-06-21 06:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354436 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.354422 -2.800515)'))) / (select extract(epoch from '2026-06-21 06:49:05'::timestamp) - extract(epoch from '2026-06-21 06:48: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'), 46736, 'SRID=4674;POINT (-40.35442 -2.800533)', '2026-06-21 06:49:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354422 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.800533)'))) / (select extract(epoch from '2026-06-21 06:49:06'::timestamp) - extract(epoch from '2026-06-21 06:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354422 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.800533)'))) / (select extract(epoch from '2026-06-21 06:49:06'::timestamp) - extract(epoch from '2026-06-21 06:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354391 -2.800704)', '2026-06-21 06:49:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.354391 -2.800704)'))) / (select extract(epoch from '2026-06-21 06:49:15'::timestamp) - extract(epoch from '2026-06-21 06:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.354391 -2.800704)'))) / (select extract(epoch from '2026-06-21 06:49:15'::timestamp) - extract(epoch from '2026-06-21 06:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354344 -2.800881)', '2026-06-21 06:49:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354391 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.354344 -2.800881)'))) / (select extract(epoch from '2026-06-21 06:49:24'::timestamp) - extract(epoch from '2026-06-21 06:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354391 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.354344 -2.800881)'))) / (select extract(epoch from '2026-06-21 06:49:24'::timestamp) - extract(epoch from '2026-06-21 06:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354306 -2.801059)', '2026-06-21 06:49:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354344 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.354306 -2.801059)'))) / (select extract(epoch from '2026-06-21 06:49:33'::timestamp) - extract(epoch from '2026-06-21 06:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354344 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.354306 -2.801059)'))) / (select extract(epoch from '2026-06-21 06:49:33'::timestamp) - extract(epoch from '2026-06-21 06:49: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'), 46736, 'SRID=4674;POINT (-40.354291 -2.801197)', '2026-06-21 06:49:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354306 -2.801059)'), GeomFromEWKT('SRID=4674;POINT (-40.354291 -2.801197)'))) / (select extract(epoch from '2026-06-21 06:49:40'::timestamp) - extract(epoch from '2026-06-21 06:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354306 -2.801059)'), GeomFromEWKT('SRID=4674;POINT (-40.354291 -2.801197)'))) / (select extract(epoch from '2026-06-21 06:49:40'::timestamp) - extract(epoch from '2026-06-21 06:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354323 -2.801331)', '2026-06-21 06:49:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354291 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.801331)'))) / (select extract(epoch from '2026-06-21 06:49:48'::timestamp) - extract(epoch from '2026-06-21 06:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354291 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.801331)'))) / (select extract(epoch from '2026-06-21 06:49:48'::timestamp) - extract(epoch from '2026-06-21 06:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354357 -2.801448)', '2026-06-21 06:49:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.354357 -2.801448)'))) / (select extract(epoch from '2026-06-21 06:49:55'::timestamp) - extract(epoch from '2026-06-21 06:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.354357 -2.801448)'))) / (select extract(epoch from '2026-06-21 06:49:55'::timestamp) - extract(epoch from '2026-06-21 06:49: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'), 46736, 'SRID=4674;POINT (-40.354365 -2.801565)', '2026-06-21 06:50:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354357 -2.801448)'), GeomFromEWKT('SRID=4674;POINT (-40.354365 -2.801565)'))) / (select extract(epoch from '2026-06-21 06:50:02'::timestamp) - extract(epoch from '2026-06-21 06:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354357 -2.801448)'), GeomFromEWKT('SRID=4674;POINT (-40.354365 -2.801565)'))) / (select extract(epoch from '2026-06-21 06:50:02'::timestamp) - extract(epoch from '2026-06-21 06:49: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'), 46736, 'SRID=4674;POINT (-40.354348 -2.801717)', '2026-06-21 06:50:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354365 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.801717)'))) / (select extract(epoch from '2026-06-21 06:50:11'::timestamp) - extract(epoch from '2026-06-21 06:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354365 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.801717)'))) / (select extract(epoch from '2026-06-21 06:50:11'::timestamp) - extract(epoch from '2026-06-21 06:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354331 -2.801865)', '2026-06-21 06:50:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.354331 -2.801865)'))) / (select extract(epoch from '2026-06-21 06:50:20'::timestamp) - extract(epoch from '2026-06-21 06:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.354331 -2.801865)'))) / (select extract(epoch from '2026-06-21 06:50:20'::timestamp) - extract(epoch from '2026-06-21 06:50: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'), 46736, 'SRID=4674;POINT (-40.354316 -2.801985)', '2026-06-21 06:50:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354331 -2.801865)'), GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.801985)'))) / (select extract(epoch from '2026-06-21 06:50:26'::timestamp) - extract(epoch from '2026-06-21 06:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354331 -2.801865)'), GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.801985)'))) / (select extract(epoch from '2026-06-21 06:50:26'::timestamp) - extract(epoch from '2026-06-21 06:50: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'), 46736, 'SRID=4674;POINT (-40.354301 -2.802097)', '2026-06-21 06:50:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.354301 -2.802097)'))) / (select extract(epoch from '2026-06-21 06:50:33'::timestamp) - extract(epoch from '2026-06-21 06:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.354301 -2.802097)'))) / (select extract(epoch from '2026-06-21 06:50:33'::timestamp) - extract(epoch from '2026-06-21 06:50: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'), 46736, 'SRID=4674;POINT (-40.354275 -2.80223)', '2026-06-21 06:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354301 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.354275 -2.80223)'))) / (select extract(epoch from '2026-06-21 06:50:41'::timestamp) - extract(epoch from '2026-06-21 06:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354301 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.354275 -2.80223)'))) / (select extract(epoch from '2026-06-21 06:50:41'::timestamp) - extract(epoch from '2026-06-21 06:50: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'), 46736, 'SRID=4674;POINT (-40.354262 -2.802367)', '2026-06-21 06:50:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354275 -2.80223)'), GeomFromEWKT('SRID=4674;POINT (-40.354262 -2.802367)'))) / (select extract(epoch from '2026-06-21 06:50:49'::timestamp) - extract(epoch from '2026-06-21 06:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354275 -2.80223)'), GeomFromEWKT('SRID=4674;POINT (-40.354262 -2.802367)'))) / (select extract(epoch from '2026-06-21 06:50:49'::timestamp) - extract(epoch from '2026-06-21 06:50: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'), 46736, 'SRID=4674;POINT (-40.354284 -2.802495)', '2026-06-21 06:50:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354262 -2.802367)'), GeomFromEWKT('SRID=4674;POINT (-40.354284 -2.802495)'))) / (select extract(epoch from '2026-06-21 06:50:57'::timestamp) - extract(epoch from '2026-06-21 06:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354262 -2.802367)'), GeomFromEWKT('SRID=4674;POINT (-40.354284 -2.802495)'))) / (select extract(epoch from '2026-06-21 06:50:57'::timestamp) - extract(epoch from '2026-06-21 06:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354316 -2.80265)', '2026-06-21 06:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354284 -2.802495)'), GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.80265)'))) / (select extract(epoch from '2026-06-21 06:51:06'::timestamp) - extract(epoch from '2026-06-21 06:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354284 -2.802495)'), GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.80265)'))) / (select extract(epoch from '2026-06-21 06:51:06'::timestamp) - extract(epoch from '2026-06-21 06:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354294 -2.802784)', '2026-06-21 06:51:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.354294 -2.802784)'))) / (select extract(epoch from '2026-06-21 06:51:14'::timestamp) - extract(epoch from '2026-06-21 06:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354316 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.354294 -2.802784)'))) / (select extract(epoch from '2026-06-21 06:51:14'::timestamp) - extract(epoch from '2026-06-21 06:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.35426 -2.802911)', '2026-06-21 06:51:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354294 -2.802784)'), GeomFromEWKT('SRID=4674;POINT (-40.35426 -2.802911)'))) / (select extract(epoch from '2026-06-21 06:51:21'::timestamp) - extract(epoch from '2026-06-21 06:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354294 -2.802784)'), GeomFromEWKT('SRID=4674;POINT (-40.35426 -2.802911)'))) / (select extract(epoch from '2026-06-21 06:51:21'::timestamp) - extract(epoch from '2026-06-21 06:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354242 -2.803068)', '2026-06-21 06:51:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35426 -2.802911)'), GeomFromEWKT('SRID=4674;POINT (-40.354242 -2.803068)'))) / (select extract(epoch from '2026-06-21 06:51:30'::timestamp) - extract(epoch from '2026-06-21 06:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35426 -2.802911)'), GeomFromEWKT('SRID=4674;POINT (-40.354242 -2.803068)'))) / (select extract(epoch from '2026-06-21 06:51:30'::timestamp) - extract(epoch from '2026-06-21 06:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354278 -2.803223)', '2026-06-21 06:51:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354242 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.354278 -2.803223)'))) / (select extract(epoch from '2026-06-21 06:51:39'::timestamp) - extract(epoch from '2026-06-21 06:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354242 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.354278 -2.803223)'))) / (select extract(epoch from '2026-06-21 06:51:39'::timestamp) - extract(epoch from '2026-06-21 06:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.35432 -2.803363)', '2026-06-21 06:51:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354278 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.35432 -2.803363)'))) / (select extract(epoch from '2026-06-21 06:51:47'::timestamp) - extract(epoch from '2026-06-21 06:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354278 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.35432 -2.803363)'))) / (select extract(epoch from '2026-06-21 06:51:47'::timestamp) - extract(epoch from '2026-06-21 06:51: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'), 46736, 'SRID=4674;POINT (-40.354319 -2.803505)', '2026-06-21 06:51:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35432 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.803505)'))) / (select extract(epoch from '2026-06-21 06:51:55'::timestamp) - extract(epoch from '2026-06-21 06:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35432 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.803505)'))) / (select extract(epoch from '2026-06-21 06:51:55'::timestamp) - extract(epoch from '2026-06-21 06:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354283 -2.803655)', '2026-06-21 06:52:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.803505)'), GeomFromEWKT('SRID=4674;POINT (-40.354283 -2.803655)'))) / (select extract(epoch from '2026-06-21 06:52:03'::timestamp) - extract(epoch from '2026-06-21 06:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.803505)'), GeomFromEWKT('SRID=4674;POINT (-40.354283 -2.803655)'))) / (select extract(epoch from '2026-06-21 06:52:03'::timestamp) - extract(epoch from '2026-06-21 06:51: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'), 46736, 'SRID=4674;POINT (-40.354259 -2.803809)', '2026-06-21 06:52:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354283 -2.803655)'), GeomFromEWKT('SRID=4674;POINT (-40.354259 -2.803809)'))) / (select extract(epoch from '2026-06-21 06:52:11'::timestamp) - extract(epoch from '2026-06-21 06:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354283 -2.803655)'), GeomFromEWKT('SRID=4674;POINT (-40.354259 -2.803809)'))) / (select extract(epoch from '2026-06-21 06:52:11'::timestamp) - extract(epoch from '2026-06-21 06:52: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'), 46736, 'SRID=4674;POINT (-40.354208 -2.803991)', '2026-06-21 06:52:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354259 -2.803809)'), GeomFromEWKT('SRID=4674;POINT (-40.354208 -2.803991)'))) / (select extract(epoch from '2026-06-21 06:52:20'::timestamp) - extract(epoch from '2026-06-21 06:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354259 -2.803809)'), GeomFromEWKT('SRID=4674;POINT (-40.354208 -2.803991)'))) / (select extract(epoch from '2026-06-21 06:52:20'::timestamp) - extract(epoch from '2026-06-21 06:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354191 -2.804149)', '2026-06-21 06:52:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354208 -2.803991)'), GeomFromEWKT('SRID=4674;POINT (-40.354191 -2.804149)'))) / (select extract(epoch from '2026-06-21 06:52:28'::timestamp) - extract(epoch from '2026-06-21 06:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354208 -2.803991)'), GeomFromEWKT('SRID=4674;POINT (-40.354191 -2.804149)'))) / (select extract(epoch from '2026-06-21 06:52:28'::timestamp) - extract(epoch from '2026-06-21 06:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354174 -2.804326)', '2026-06-21 06:52:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354191 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.354174 -2.804326)'))) / (select extract(epoch from '2026-06-21 06:52:38'::timestamp) - extract(epoch from '2026-06-21 06:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354191 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.354174 -2.804326)'))) / (select extract(epoch from '2026-06-21 06:52:38'::timestamp) - extract(epoch from '2026-06-21 06:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354137 -2.804503)', '2026-06-21 06:52:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354174 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.354137 -2.804503)'))) / (select extract(epoch from '2026-06-21 06:52:47'::timestamp) - extract(epoch from '2026-06-21 06:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354174 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.354137 -2.804503)'))) / (select extract(epoch from '2026-06-21 06:52:47'::timestamp) - extract(epoch from '2026-06-21 06:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354134 -2.804524)', '2026-06-21 06:52:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354137 -2.804503)'), GeomFromEWKT('SRID=4674;POINT (-40.354134 -2.804524)'))) / (select extract(epoch from '2026-06-21 06:52:48'::timestamp) - extract(epoch from '2026-06-21 06:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354137 -2.804503)'), GeomFromEWKT('SRID=4674;POINT (-40.354134 -2.804524)'))) / (select extract(epoch from '2026-06-21 06:52:48'::timestamp) - extract(epoch from '2026-06-21 06:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354101 -2.804695)', '2026-06-21 06:52:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354134 -2.804524)'), GeomFromEWKT('SRID=4674;POINT (-40.354101 -2.804695)'))) / (select extract(epoch from '2026-06-21 06:52:56'::timestamp) - extract(epoch from '2026-06-21 06:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354134 -2.804524)'), GeomFromEWKT('SRID=4674;POINT (-40.354101 -2.804695)'))) / (select extract(epoch from '2026-06-21 06:52:56'::timestamp) - extract(epoch from '2026-06-21 06:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354106 -2.804843)', '2026-06-21 06:53:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354101 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.804843)'))) / (select extract(epoch from '2026-06-21 06:53:03'::timestamp) - extract(epoch from '2026-06-21 06:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354101 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.804843)'))) / (select extract(epoch from '2026-06-21 06:53:03'::timestamp) - extract(epoch from '2026-06-21 06:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354098 -2.804984)', '2026-06-21 06:53:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.804843)'), GeomFromEWKT('SRID=4674;POINT (-40.354098 -2.804984)'))) / (select extract(epoch from '2026-06-21 06:53:11'::timestamp) - extract(epoch from '2026-06-21 06:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.804843)'), GeomFromEWKT('SRID=4674;POINT (-40.354098 -2.804984)'))) / (select extract(epoch from '2026-06-21 06:53:11'::timestamp) - extract(epoch from '2026-06-21 06:53: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'), 46736, 'SRID=4674;POINT (-40.354084 -2.805116)', '2026-06-21 06:53:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354098 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.354084 -2.805116)'))) / (select extract(epoch from '2026-06-21 06:53:18'::timestamp) - extract(epoch from '2026-06-21 06:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354098 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.354084 -2.805116)'))) / (select extract(epoch from '2026-06-21 06:53:18'::timestamp) - extract(epoch from '2026-06-21 06:53: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'), 46736, 'SRID=4674;POINT (-40.35407 -2.805267)', '2026-06-21 06:53:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354084 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.35407 -2.805267)'))) / (select extract(epoch from '2026-06-21 06:53:27'::timestamp) - extract(epoch from '2026-06-21 06:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354084 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.35407 -2.805267)'))) / (select extract(epoch from '2026-06-21 06:53:27'::timestamp) - extract(epoch from '2026-06-21 06:53: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'), 46736, 'SRID=4674;POINT (-40.35404 -2.80541)', '2026-06-21 06:53:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35407 -2.805267)'), GeomFromEWKT('SRID=4674;POINT (-40.35404 -2.80541)'))) / (select extract(epoch from '2026-06-21 06:53:37'::timestamp) - extract(epoch from '2026-06-21 06:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35407 -2.805267)'), GeomFromEWKT('SRID=4674;POINT (-40.35404 -2.80541)'))) / (select extract(epoch from '2026-06-21 06:53:37'::timestamp) - extract(epoch from '2026-06-21 06:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.354021 -2.805523)', '2026-06-21 06:53:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35404 -2.80541)'), GeomFromEWKT('SRID=4674;POINT (-40.354021 -2.805523)'))) / (select extract(epoch from '2026-06-21 06:53:45'::timestamp) - extract(epoch from '2026-06-21 06:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35404 -2.80541)'), GeomFromEWKT('SRID=4674;POINT (-40.354021 -2.805523)'))) / (select extract(epoch from '2026-06-21 06:53:45'::timestamp) - extract(epoch from '2026-06-21 06:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353991 -2.805642)', '2026-06-21 06:53:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354021 -2.805523)'), GeomFromEWKT('SRID=4674;POINT (-40.353991 -2.805642)'))) / (select extract(epoch from '2026-06-21 06:53:53'::timestamp) - extract(epoch from '2026-06-21 06:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354021 -2.805523)'), GeomFromEWKT('SRID=4674;POINT (-40.353991 -2.805642)'))) / (select extract(epoch from '2026-06-21 06:53:53'::timestamp) - extract(epoch from '2026-06-21 06:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353973 -2.805758)', '2026-06-21 06:54:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353991 -2.805642)'), GeomFromEWKT('SRID=4674;POINT (-40.353973 -2.805758)'))) / (select extract(epoch from '2026-06-21 06:54:01'::timestamp) - extract(epoch from '2026-06-21 06:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353991 -2.805642)'), GeomFromEWKT('SRID=4674;POINT (-40.353973 -2.805758)'))) / (select extract(epoch from '2026-06-21 06:54:01'::timestamp) - extract(epoch from '2026-06-21 06:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353949 -2.805889)', '2026-06-21 06:54:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353973 -2.805758)'), GeomFromEWKT('SRID=4674;POINT (-40.353949 -2.805889)'))) / (select extract(epoch from '2026-06-21 06:54:09'::timestamp) - extract(epoch from '2026-06-21 06:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353973 -2.805758)'), GeomFromEWKT('SRID=4674;POINT (-40.353949 -2.805889)'))) / (select extract(epoch from '2026-06-21 06:54:09'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353926 -2.805995)', '2026-06-21 06:54:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353949 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.805995)'))) / (select extract(epoch from '2026-06-21 06:54:17'::timestamp) - extract(epoch from '2026-06-21 06:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353949 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.805995)'))) / (select extract(epoch from '2026-06-21 06:54:17'::timestamp) - extract(epoch from '2026-06-21 06:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353894 -2.806131)', '2026-06-21 06:54:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.353894 -2.806131)'))) / (select extract(epoch from '2026-06-21 06:54:27'::timestamp) - extract(epoch from '2026-06-21 06:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.353894 -2.806131)'))) / (select extract(epoch from '2026-06-21 06:54:27'::timestamp) - extract(epoch from '2026-06-21 06:54: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'), 46736, 'SRID=4674;POINT (-40.353857 -2.806259)', '2026-06-21 06:54:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353894 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.806259)'))) / (select extract(epoch from '2026-06-21 06:54:35'::timestamp) - extract(epoch from '2026-06-21 06:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353894 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.806259)'))) / (select extract(epoch from '2026-06-21 06:54:35'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35383 -2.806371)', '2026-06-21 06:54:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806371)'))) / (select extract(epoch from '2026-06-21 06:54:43'::timestamp) - extract(epoch from '2026-06-21 06:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806371)'))) / (select extract(epoch from '2026-06-21 06:54:43'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353811 -2.806491)', '2026-06-21 06:54:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.353811 -2.806491)'))) / (select extract(epoch from '2026-06-21 06:54:50'::timestamp) - extract(epoch from '2026-06-21 06:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.353811 -2.806491)'))) / (select extract(epoch from '2026-06-21 06:54:50'::timestamp) - extract(epoch from '2026-06-21 06:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353781 -2.806572)', '2026-06-21 06:54:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353811 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.353781 -2.806572)'))) / (select extract(epoch from '2026-06-21 06:54:56'::timestamp) - extract(epoch from '2026-06-21 06:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353811 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.353781 -2.806572)'))) / (select extract(epoch from '2026-06-21 06:54:56'::timestamp) - extract(epoch from '2026-06-21 06:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353748 -2.806688)', '2026-06-21 06:55:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353781 -2.806572)'), GeomFromEWKT('SRID=4674;POINT (-40.353748 -2.806688)'))) / (select extract(epoch from '2026-06-21 06:55:04'::timestamp) - extract(epoch from '2026-06-21 06:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353781 -2.806572)'), GeomFromEWKT('SRID=4674;POINT (-40.353748 -2.806688)'))) / (select extract(epoch from '2026-06-21 06:55:04'::timestamp) - extract(epoch from '2026-06-21 06:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353731 -2.806759)', '2026-06-21 06:55:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353748 -2.806688)'), GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806759)'))) / (select extract(epoch from '2026-06-21 06:55:11'::timestamp) - extract(epoch from '2026-06-21 06:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353748 -2.806688)'), GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806759)'))) / (select extract(epoch from '2026-06-21 06:55:11'::timestamp) - extract(epoch from '2026-06-21 06:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353728 -2.806826)', '2026-06-21 06:55:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806759)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806826)'))) / (select extract(epoch from '2026-06-21 06:55:20'::timestamp) - extract(epoch from '2026-06-21 06:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806759)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806826)'))) / (select extract(epoch from '2026-06-21 06:55:20'::timestamp) - extract(epoch from '2026-06-21 06:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353738 -2.806848)', '2026-06-21 06:55:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806826)'), GeomFromEWKT('SRID=4674;POINT (-40.353738 -2.806848)'))) / (select extract(epoch from '2026-06-21 06:55:32'::timestamp) - extract(epoch from '2026-06-21 06:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806826)'), GeomFromEWKT('SRID=4674;POINT (-40.353738 -2.806848)'))) / (select extract(epoch from '2026-06-21 06:55:32'::timestamp) - extract(epoch from '2026-06-21 06:55: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'), 46736, 'SRID=4674;POINT (-40.353746 -2.806842)', '2026-06-21 06:55:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353738 -2.806848)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806842)'))) / (select extract(epoch from '2026-06-21 06:55:44'::timestamp) - extract(epoch from '2026-06-21 06:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353738 -2.806848)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806842)'))) / (select extract(epoch from '2026-06-21 06:55:44'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353763 -2.80683)', '2026-06-21 06:56:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806842)'), GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.80683)'))) / (select extract(epoch from '2026-06-21 06:56:02'::timestamp) - extract(epoch from '2026-06-21 06:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806842)'), GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.80683)'))) / (select extract(epoch from '2026-06-21 06:56:02'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.35378 -2.80682)', '2026-06-21 06:56:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.80683)'), GeomFromEWKT('SRID=4674;POINT (-40.35378 -2.80682)'))) / (select extract(epoch from '2026-06-21 06:56:20'::timestamp) - extract(epoch from '2026-06-21 06:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.80683)'), GeomFromEWKT('SRID=4674;POINT (-40.35378 -2.80682)'))) / (select extract(epoch from '2026-06-21 06:56:20'::timestamp) - extract(epoch from '2026-06-21 06:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353805 -2.806808)', '2026-06-21 06:56:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35378 -2.80682)'), GeomFromEWKT('SRID=4674;POINT (-40.353805 -2.806808)'))) / (select extract(epoch from '2026-06-21 06:56:39'::timestamp) - extract(epoch from '2026-06-21 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35378 -2.80682)'), GeomFromEWKT('SRID=4674;POINT (-40.353805 -2.806808)'))) / (select extract(epoch from '2026-06-21 06:56:39'::timestamp) - extract(epoch from '2026-06-21 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353836 -2.806799)', '2026-06-21 06:57:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353805 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.353836 -2.806799)'))) / (select extract(epoch from '2026-06-21 06:57:00'::timestamp) - extract(epoch from '2026-06-21 06:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353805 -2.806808)'), GeomFromEWKT('SRID=4674;POINT (-40.353836 -2.806799)'))) / (select extract(epoch from '2026-06-21 06:57:00'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353855 -2.806792)', '2026-06-21 06:57:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353836 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.353855 -2.806792)'))) / (select extract(epoch from '2026-06-21 06:57:20'::timestamp) - extract(epoch from '2026-06-21 06:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353836 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.353855 -2.806792)'))) / (select extract(epoch from '2026-06-21 06:57:20'::timestamp) - extract(epoch from '2026-06-21 06:57: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'), 46736, 'SRID=4674;POINT (-40.35388 -2.806795)', '2026-06-21 06:57:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353855 -2.806792)'), GeomFromEWKT('SRID=4674;POINT (-40.35388 -2.806795)'))) / (select extract(epoch from '2026-06-21 06:57:32'::timestamp) - extract(epoch from '2026-06-21 06:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353855 -2.806792)'), GeomFromEWKT('SRID=4674;POINT (-40.35388 -2.806795)'))) / (select extract(epoch from '2026-06-21 06:57:32'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353909 -2.806786)', '2026-06-21 06:57:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35388 -2.806795)'), GeomFromEWKT('SRID=4674;POINT (-40.353909 -2.806786)'))) / (select extract(epoch from '2026-06-21 06:57:48'::timestamp) - extract(epoch from '2026-06-21 06:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35388 -2.806795)'), GeomFromEWKT('SRID=4674;POINT (-40.353909 -2.806786)'))) / (select extract(epoch from '2026-06-21 06:57:48'::timestamp) - extract(epoch from '2026-06-21 06:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353936 -2.806767)', '2026-06-21 06:58:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353909 -2.806786)'), GeomFromEWKT('SRID=4674;POINT (-40.353936 -2.806767)'))) / (select extract(epoch from '2026-06-21 06:58:13'::timestamp) - extract(epoch from '2026-06-21 06:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353909 -2.806786)'), GeomFromEWKT('SRID=4674;POINT (-40.353936 -2.806767)'))) / (select extract(epoch from '2026-06-21 06:58:13'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353934 -2.806749)', '2026-06-21 06:58:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353936 -2.806767)'), GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806749)'))) / (select extract(epoch from '2026-06-21 06:58:33'::timestamp) - extract(epoch from '2026-06-21 06:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353936 -2.806767)'), GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806749)'))) / (select extract(epoch from '2026-06-21 06:58:33'::timestamp) - extract(epoch from '2026-06-21 06:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353932 -2.806743)', '2026-06-21 06:58:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806749)'), GeomFromEWKT('SRID=4674;POINT (-40.353932 -2.806743)'))) / (select extract(epoch from '2026-06-21 06:58:53'::timestamp) - extract(epoch from '2026-06-21 06:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806749)'), GeomFromEWKT('SRID=4674;POINT (-40.353932 -2.806743)'))) / (select extract(epoch from '2026-06-21 06:58:53'::timestamp) - extract(epoch from '2026-06-21 06:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353934 -2.806723)', '2026-06-21 06:59:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353932 -2.806743)'), GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806723)'))) / (select extract(epoch from '2026-06-21 06:59:17'::timestamp) - extract(epoch from '2026-06-21 06:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353932 -2.806743)'), GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806723)'))) / (select extract(epoch from '2026-06-21 06:59:17'::timestamp) - extract(epoch from '2026-06-21 06:58: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'), 46736, 'SRID=4674;POINT (-40.353938 -2.806702)', '2026-06-21 06:59:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.353938 -2.806702)'))) / (select extract(epoch from '2026-06-21 06:59:38'::timestamp) - extract(epoch from '2026-06-21 06:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353934 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.353938 -2.806702)'))) / (select extract(epoch from '2026-06-21 06:59:38'::timestamp) - extract(epoch from '2026-06-21 06:59: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'), 46736, 'SRID=4674;POINT (-40.353939 -2.806677)', '2026-06-21 06:59:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353938 -2.806702)'), GeomFromEWKT('SRID=4674;POINT (-40.353939 -2.806677)'))) / (select extract(epoch from '2026-06-21 06:59:59'::timestamp) - extract(epoch from '2026-06-21 06:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353938 -2.806702)'), GeomFromEWKT('SRID=4674;POINT (-40.353939 -2.806677)'))) / (select extract(epoch from '2026-06-21 06:59:59'::timestamp) - extract(epoch from '2026-06-21 06: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'), 46736, 'SRID=4674;POINT (-40.353935 -2.806663)', '2026-06-21 07:00:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353939 -2.806677)'), GeomFromEWKT('SRID=4674;POINT (-40.353935 -2.806663)'))) / (select extract(epoch from '2026-06-21 07:00:22'::timestamp) - extract(epoch from '2026-06-21 06:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353939 -2.806677)'), GeomFromEWKT('SRID=4674;POINT (-40.353935 -2.806663)'))) / (select extract(epoch from '2026-06-21 07:00:22'::timestamp) - extract(epoch from '2026-06-21 06:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353914 -2.806653)', '2026-06-21 07:00:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353935 -2.806663)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.806653)'))) / (select extract(epoch from '2026-06-21 07:00:32'::timestamp) - extract(epoch from '2026-06-21 07:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353935 -2.806663)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.806653)'))) / (select extract(epoch from '2026-06-21 07:00:32'::timestamp) - extract(epoch from '2026-06-21 07:00: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'), 46736, 'SRID=4674;POINT (-40.35391 -2.806643)', '2026-06-21 07:00:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.806653)'), GeomFromEWKT('SRID=4674;POINT (-40.35391 -2.806643)'))) / (select extract(epoch from '2026-06-21 07:00:42'::timestamp) - extract(epoch from '2026-06-21 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.806653)'), GeomFromEWKT('SRID=4674;POINT (-40.35391 -2.806643)'))) / (select extract(epoch from '2026-06-21 07:00:42'::timestamp) - extract(epoch from '2026-06-21 07:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353893 -2.806651)', '2026-06-21 07:01:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35391 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.353893 -2.806651)'))) / (select extract(epoch from '2026-06-21 07:01:02'::timestamp) - extract(epoch from '2026-06-21 07:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35391 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.353893 -2.806651)'))) / (select extract(epoch from '2026-06-21 07:01:02'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353868 -2.806679)', '2026-06-21 07:01:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353893 -2.806651)'), GeomFromEWKT('SRID=4674;POINT (-40.353868 -2.806679)'))) / (select extract(epoch from '2026-06-21 07:01:19'::timestamp) - extract(epoch from '2026-06-21 07:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353893 -2.806651)'), GeomFromEWKT('SRID=4674;POINT (-40.353868 -2.806679)'))) / (select extract(epoch from '2026-06-21 07:01:19'::timestamp) - extract(epoch from '2026-06-21 07:01: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'), 46736, 'SRID=4674;POINT (-40.353834 -2.806752)', '2026-06-21 07:01:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353868 -2.806679)'), GeomFromEWKT('SRID=4674;POINT (-40.353834 -2.806752)'))) / (select extract(epoch from '2026-06-21 07:01:48'::timestamp) - extract(epoch from '2026-06-21 07:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353868 -2.806679)'), GeomFromEWKT('SRID=4674;POINT (-40.353834 -2.806752)'))) / (select extract(epoch from '2026-06-21 07:01:48'::timestamp) - extract(epoch from '2026-06-21 07:01: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'), 46736, 'SRID=4674;POINT (-40.353827 -2.806789)', '2026-06-21 07:02:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353834 -2.806752)'), GeomFromEWKT('SRID=4674;POINT (-40.353827 -2.806789)'))) / (select extract(epoch from '2026-06-21 07:02:00'::timestamp) - extract(epoch from '2026-06-21 07:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353834 -2.806752)'), GeomFromEWKT('SRID=4674;POINT (-40.353827 -2.806789)'))) / (select extract(epoch from '2026-06-21 07:02:00'::timestamp) - extract(epoch from '2026-06-21 07:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353817 -2.806829)', '2026-06-21 07:02:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353827 -2.806789)'), GeomFromEWKT('SRID=4674;POINT (-40.353817 -2.806829)'))) / (select extract(epoch from '2026-06-21 07:02:14'::timestamp) - extract(epoch from '2026-06-21 07:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353827 -2.806789)'), GeomFromEWKT('SRID=4674;POINT (-40.353817 -2.806829)'))) / (select extract(epoch from '2026-06-21 07:02:14'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353789 -2.806895)', '2026-06-21 07:02:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353817 -2.806829)'), GeomFromEWKT('SRID=4674;POINT (-40.353789 -2.806895)'))) / (select extract(epoch from '2026-06-21 07:02:41'::timestamp) - extract(epoch from '2026-06-21 07:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353817 -2.806829)'), GeomFromEWKT('SRID=4674;POINT (-40.353789 -2.806895)'))) / (select extract(epoch from '2026-06-21 07:02:41'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353764 -2.806959)', '2026-06-21 07:03:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353789 -2.806895)'), GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.806959)'))) / (select extract(epoch from '2026-06-21 07:03:11'::timestamp) - extract(epoch from '2026-06-21 07:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353789 -2.806895)'), GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.806959)'))) / (select extract(epoch from '2026-06-21 07:03:11'::timestamp) - extract(epoch from '2026-06-21 07:02: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'), 46736, 'SRID=4674;POINT (-40.35375 -2.807012)', '2026-06-21 07:03:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.35375 -2.807012)'))) / (select extract(epoch from '2026-06-21 07:03:39'::timestamp) - extract(epoch from '2026-06-21 07:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.35375 -2.807012)'))) / (select extract(epoch from '2026-06-21 07:03:39'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353737 -2.807059)', '2026-06-21 07:04:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35375 -2.807012)'), GeomFromEWKT('SRID=4674;POINT (-40.353737 -2.807059)'))) / (select extract(epoch from '2026-06-21 07:04:01'::timestamp) - extract(epoch from '2026-06-21 07:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35375 -2.807012)'), GeomFromEWKT('SRID=4674;POINT (-40.353737 -2.807059)'))) / (select extract(epoch from '2026-06-21 07:04:01'::timestamp) - extract(epoch from '2026-06-21 07:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353718 -2.807115)', '2026-06-21 07:04:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353737 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.353718 -2.807115)'))) / (select extract(epoch from '2026-06-21 07:04:25'::timestamp) - extract(epoch from '2026-06-21 07:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353737 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.353718 -2.807115)'))) / (select extract(epoch from '2026-06-21 07:04:25'::timestamp) - extract(epoch from '2026-06-21 07:04: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'), 46736, 'SRID=4674;POINT (-40.353708 -2.807153)', '2026-06-21 07:04:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353718 -2.807115)'), GeomFromEWKT('SRID=4674;POINT (-40.353708 -2.807153)'))) / (select extract(epoch from '2026-06-21 07:04:44'::timestamp) - extract(epoch from '2026-06-21 07:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353718 -2.807115)'), GeomFromEWKT('SRID=4674;POINT (-40.353708 -2.807153)'))) / (select extract(epoch from '2026-06-21 07:04:44'::timestamp) - extract(epoch from '2026-06-21 07:04: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'), 46736, 'SRID=4674;POINT (-40.3537 -2.807191)', '2026-06-21 07:05:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353708 -2.807153)'), GeomFromEWKT('SRID=4674;POINT (-40.3537 -2.807191)'))) / (select extract(epoch from '2026-06-21 07:05:02'::timestamp) - extract(epoch from '2026-06-21 07:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353708 -2.807153)'), GeomFromEWKT('SRID=4674;POINT (-40.3537 -2.807191)'))) / (select extract(epoch from '2026-06-21 07:05:02'::timestamp) - extract(epoch from '2026-06-21 07:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353681 -2.80723)', '2026-06-21 07:05:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3537 -2.807191)'), GeomFromEWKT('SRID=4674;POINT (-40.353681 -2.80723)'))) / (select extract(epoch from '2026-06-21 07:05:22'::timestamp) - extract(epoch from '2026-06-21 07:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3537 -2.807191)'), GeomFromEWKT('SRID=4674;POINT (-40.353681 -2.80723)'))) / (select extract(epoch from '2026-06-21 07:05:22'::timestamp) - extract(epoch from '2026-06-21 07:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353659 -2.80728)', '2026-06-21 07:05:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353681 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.353659 -2.80728)'))) / (select extract(epoch from '2026-06-21 07:05:49'::timestamp) - extract(epoch from '2026-06-21 07:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353681 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.353659 -2.80728)'))) / (select extract(epoch from '2026-06-21 07:05:49'::timestamp) - extract(epoch from '2026-06-21 07:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353642 -2.80734)', '2026-06-21 07:06:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353659 -2.80728)'), GeomFromEWKT('SRID=4674;POINT (-40.353642 -2.80734)'))) / (select extract(epoch from '2026-06-21 07:06:18'::timestamp) - extract(epoch from '2026-06-21 07:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353659 -2.80728)'), GeomFromEWKT('SRID=4674;POINT (-40.353642 -2.80734)'))) / (select extract(epoch from '2026-06-21 07:06:18'::timestamp) - extract(epoch from '2026-06-21 07:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353637 -2.80739)', '2026-06-21 07:06:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353642 -2.80734)'), GeomFromEWKT('SRID=4674;POINT (-40.353637 -2.80739)'))) / (select extract(epoch from '2026-06-21 07:06:38'::timestamp) - extract(epoch from '2026-06-21 07:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353642 -2.80734)'), GeomFromEWKT('SRID=4674;POINT (-40.353637 -2.80739)'))) / (select extract(epoch from '2026-06-21 07:06:38'::timestamp) - extract(epoch from '2026-06-21 07:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353619 -2.807425)', '2026-06-21 07:06:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353637 -2.80739)'), GeomFromEWKT('SRID=4674;POINT (-40.353619 -2.807425)'))) / (select extract(epoch from '2026-06-21 07:06:58'::timestamp) - extract(epoch from '2026-06-21 07:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353637 -2.80739)'), GeomFromEWKT('SRID=4674;POINT (-40.353619 -2.807425)'))) / (select extract(epoch from '2026-06-21 07:06:58'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353604 -2.807462)', '2026-06-21 07:07:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353619 -2.807425)'), GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807462)'))) / (select extract(epoch from '2026-06-21 07:07:18'::timestamp) - extract(epoch from '2026-06-21 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353619 -2.807425)'), GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807462)'))) / (select extract(epoch from '2026-06-21 07:07:18'::timestamp) - extract(epoch from '2026-06-21 07:06: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'), 46736, 'SRID=4674;POINT (-40.353604 -2.807509)', '2026-06-21 07:07:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807462)'), GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807509)'))) / (select extract(epoch from '2026-06-21 07:07:42'::timestamp) - extract(epoch from '2026-06-21 07:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807462)'), GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807509)'))) / (select extract(epoch from '2026-06-21 07:07:42'::timestamp) - extract(epoch from '2026-06-21 07:07: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'), 46736, 'SRID=4674;POINT (-40.353595 -2.807536)', '2026-06-21 07:08:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807509)'), GeomFromEWKT('SRID=4674;POINT (-40.353595 -2.807536)'))) / (select extract(epoch from '2026-06-21 07:08:00'::timestamp) - extract(epoch from '2026-06-21 07:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353604 -2.807509)'), GeomFromEWKT('SRID=4674;POINT (-40.353595 -2.807536)'))) / (select extract(epoch from '2026-06-21 07:08:00'::timestamp) - extract(epoch from '2026-06-21 07:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353583 -2.807589)', '2026-06-21 07:08:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353595 -2.807536)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807589)'))) / (select extract(epoch from '2026-06-21 07:08:26'::timestamp) - extract(epoch from '2026-06-21 07:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353595 -2.807536)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807589)'))) / (select extract(epoch from '2026-06-21 07:08:26'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353583 -2.807627)', '2026-06-21 07:08:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807589)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807627)'))) / (select extract(epoch from '2026-06-21 07:08:44'::timestamp) - extract(epoch from '2026-06-21 07:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807589)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807627)'))) / (select extract(epoch from '2026-06-21 07:08:44'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353588 -2.807669)', '2026-06-21 07:09:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.353588 -2.807669)'))) / (select extract(epoch from '2026-06-21 07:09:04'::timestamp) - extract(epoch from '2026-06-21 07:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.353588 -2.807669)'))) / (select extract(epoch from '2026-06-21 07:09:04'::timestamp) - extract(epoch from '2026-06-21 07:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353592 -2.807703)', '2026-06-21 07:09:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353588 -2.807669)'), GeomFromEWKT('SRID=4674;POINT (-40.353592 -2.807703)'))) / (select extract(epoch from '2026-06-21 07:09:19'::timestamp) - extract(epoch from '2026-06-21 07:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353588 -2.807669)'), GeomFromEWKT('SRID=4674;POINT (-40.353592 -2.807703)'))) / (select extract(epoch from '2026-06-21 07:09:19'::timestamp) - extract(epoch from '2026-06-21 07:09: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'), 46736, 'SRID=4674;POINT (-40.3536 -2.807769)', '2026-06-21 07:09:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353592 -2.807703)'), GeomFromEWKT('SRID=4674;POINT (-40.3536 -2.807769)'))) / (select extract(epoch from '2026-06-21 07:09:33'::timestamp) - extract(epoch from '2026-06-21 07:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353592 -2.807703)'), GeomFromEWKT('SRID=4674;POINT (-40.3536 -2.807769)'))) / (select extract(epoch from '2026-06-21 07:09:33'::timestamp) - extract(epoch from '2026-06-21 07:09: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'), 46736, 'SRID=4674;POINT (-40.353589 -2.807794)', '2026-06-21 07:09:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3536 -2.807769)'), GeomFromEWKT('SRID=4674;POINT (-40.353589 -2.807794)'))) / (select extract(epoch from '2026-06-21 07:09:47'::timestamp) - extract(epoch from '2026-06-21 07:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3536 -2.807769)'), GeomFromEWKT('SRID=4674;POINT (-40.353589 -2.807794)'))) / (select extract(epoch from '2026-06-21 07:09:47'::timestamp) - extract(epoch from '2026-06-21 07:09: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'), 46736, 'SRID=4674;POINT (-40.353568 -2.807862)', '2026-06-21 07:10:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353589 -2.807794)'), GeomFromEWKT('SRID=4674;POINT (-40.353568 -2.807862)'))) / (select extract(epoch from '2026-06-21 07:10:01'::timestamp) - extract(epoch from '2026-06-21 07:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353589 -2.807794)'), GeomFromEWKT('SRID=4674;POINT (-40.353568 -2.807862)'))) / (select extract(epoch from '2026-06-21 07:10:01'::timestamp) - extract(epoch from '2026-06-21 07:09: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'), 46736, 'SRID=4674;POINT (-40.353563 -2.807891)', '2026-06-21 07:10:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353568 -2.807862)'), GeomFromEWKT('SRID=4674;POINT (-40.353563 -2.807891)'))) / (select extract(epoch from '2026-06-21 07:10:08'::timestamp) - extract(epoch from '2026-06-21 07:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353568 -2.807862)'), GeomFromEWKT('SRID=4674;POINT (-40.353563 -2.807891)'))) / (select extract(epoch from '2026-06-21 07:10:08'::timestamp) - extract(epoch from '2026-06-21 07:10: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'), 46736, 'SRID=4674;POINT (-40.353543 -2.807932)', '2026-06-21 07:10:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353563 -2.807891)'), GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.807932)'))) / (select extract(epoch from '2026-06-21 07:10:16'::timestamp) - extract(epoch from '2026-06-21 07:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353563 -2.807891)'), GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.807932)'))) / (select extract(epoch from '2026-06-21 07:10:16'::timestamp) - extract(epoch from '2026-06-21 07:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353541 -2.807984)', '2026-06-21 07:10:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.807932)'), GeomFromEWKT('SRID=4674;POINT (-40.353541 -2.807984)'))) / (select extract(epoch from '2026-06-21 07:10:23'::timestamp) - extract(epoch from '2026-06-21 07:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353543 -2.807932)'), GeomFromEWKT('SRID=4674;POINT (-40.353541 -2.807984)'))) / (select extract(epoch from '2026-06-21 07:10:23'::timestamp) - extract(epoch from '2026-06-21 07:10: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'), 46736, 'SRID=4674;POINT (-40.35352 -2.808051)', '2026-06-21 07:10:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353541 -2.807984)'), GeomFromEWKT('SRID=4674;POINT (-40.35352 -2.808051)'))) / (select extract(epoch from '2026-06-21 07:10:33'::timestamp) - extract(epoch from '2026-06-21 07:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353541 -2.807984)'), GeomFromEWKT('SRID=4674;POINT (-40.35352 -2.808051)'))) / (select extract(epoch from '2026-06-21 07:10:33'::timestamp) - extract(epoch from '2026-06-21 07: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'), 46736, 'SRID=4674;POINT (-40.353495 -2.808123)', '2026-06-21 07:10:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35352 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.808123)'))) / (select extract(epoch from '2026-06-21 07:10:42'::timestamp) - extract(epoch from '2026-06-21 07:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35352 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.808123)'))) / (select extract(epoch from '2026-06-21 07:10:42'::timestamp) - extract(epoch from '2026-06-21 07:10: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'), 46736, 'SRID=4674;POINT (-40.35348 -2.808137)', '2026-06-21 07:10:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.808123)'), GeomFromEWKT('SRID=4674;POINT (-40.35348 -2.808137)'))) / (select extract(epoch from '2026-06-21 07:10:48'::timestamp) - extract(epoch from '2026-06-21 07:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.808123)'), GeomFromEWKT('SRID=4674;POINT (-40.35348 -2.808137)'))) / (select extract(epoch from '2026-06-21 07:10:48'::timestamp) - extract(epoch from '2026-06-21 07:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46736, 'SRID=4674;POINT (-40.353474 -2.808155)', '2026-06-21 07:11:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35348 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.353474 -2.808155)'))) / (select extract(epoch from '2026-06-21 07:11:09'::timestamp) - extract(epoch from '2026-06-21 07:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35348 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.353474 -2.808155)'))) / (select extract(epoch from '2026-06-21 07:11:09'::timestamp) - extract(epoch from '2026-06-21 07:10: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'), 46736, 'SRID=4674;POINT (-40.353435 -2.808234)', '2026-06-21 07:11:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353474 -2.808155)'), GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.808234)'))) / (select extract(epoch from '2026-06-21 07:11:18'::timestamp) - extract(epoch from '2026-06-21 07:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353474 -2.808155)'), GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.808234)'))) / (select extract(epoch from '2026-06-21 07:11:18'::timestamp) - extract(epoch from '2026-06-21 07:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
