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'), 48195, 'SRID=4674;POINT (-40.130126 -2.839622)', '2026-08-02 08:21:00', 6.39, 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'), 48195, 'SRID=4674;POINT (-40.130316 -2.838448)', '2026-08-02 08:21:40', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130126 -2.839622)'), GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838448)'))) / (select extract(epoch from '2026-08-02 08:21:40'::timestamp) - extract(epoch from '2026-08-02 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130126 -2.839622)'), GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838448)'))) / (select extract(epoch from '2026-08-02 08:21:40'::timestamp) - extract(epoch from '2026-08-02 08:21: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'), 48195, 'SRID=4674;POINT (-40.130325 -2.837535)', '2026-08-02 08:22:10', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838448)'), GeomFromEWKT('SRID=4674;POINT (-40.130325 -2.837535)'))) / (select extract(epoch from '2026-08-02 08:22:10'::timestamp) - extract(epoch from '2026-08-02 08:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130316 -2.838448)'), GeomFromEWKT('SRID=4674;POINT (-40.130325 -2.837535)'))) / (select extract(epoch from '2026-08-02 08:22:10'::timestamp) - extract(epoch from '2026-08-02 08:21: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'), 48195, 'SRID=4674;POINT (-40.130574 -2.836921)', '2026-08-02 08:22:31', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130325 -2.837535)'), GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.836921)'))) / (select extract(epoch from '2026-08-02 08:22:31'::timestamp) - extract(epoch from '2026-08-02 08:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130325 -2.837535)'), GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.836921)'))) / (select extract(epoch from '2026-08-02 08:22:31'::timestamp) - extract(epoch from '2026-08-02 08:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.13071 -2.836293)', '2026-08-02 08:22:53', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.836921)'), GeomFromEWKT('SRID=4674;POINT (-40.13071 -2.836293)'))) / (select extract(epoch from '2026-08-02 08:22:53'::timestamp) - extract(epoch from '2026-08-02 08:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.836921)'), GeomFromEWKT('SRID=4674;POINT (-40.13071 -2.836293)'))) / (select extract(epoch from '2026-08-02 08:22:53'::timestamp) - extract(epoch from '2026-08-02 08:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.130896 -2.835437)', '2026-08-02 08:23:20', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13071 -2.836293)'), GeomFromEWKT('SRID=4674;POINT (-40.130896 -2.835437)'))) / (select extract(epoch from '2026-08-02 08:23:20'::timestamp) - extract(epoch from '2026-08-02 08:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13071 -2.836293)'), GeomFromEWKT('SRID=4674;POINT (-40.130896 -2.835437)'))) / (select extract(epoch from '2026-08-02 08:23:20'::timestamp) - extract(epoch from '2026-08-02 08:22: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'), 48195, 'SRID=4674;POINT (-40.131415 -2.834571)', '2026-08-02 08:23:52', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130896 -2.835437)'), GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.834571)'))) / (select extract(epoch from '2026-08-02 08:23:52'::timestamp) - extract(epoch from '2026-08-02 08:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130896 -2.835437)'), GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.834571)'))) / (select extract(epoch from '2026-08-02 08:23:52'::timestamp) - extract(epoch from '2026-08-02 08:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.131867 -2.833984)', '2026-08-02 08:24:17', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.834571)'), GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.833984)'))) / (select extract(epoch from '2026-08-02 08:24:17'::timestamp) - extract(epoch from '2026-08-02 08:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.834571)'), GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.833984)'))) / (select extract(epoch from '2026-08-02 08:24:17'::timestamp) - extract(epoch from '2026-08-02 08:23: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'), 48195, 'SRID=4674;POINT (-40.132151 -2.833133)', '2026-08-02 08:24:47', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.833984)'), GeomFromEWKT('SRID=4674;POINT (-40.132151 -2.833133)'))) / (select extract(epoch from '2026-08-02 08:24:47'::timestamp) - extract(epoch from '2026-08-02 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.833984)'), GeomFromEWKT('SRID=4674;POINT (-40.132151 -2.833133)'))) / (select extract(epoch from '2026-08-02 08:24:47'::timestamp) - extract(epoch from '2026-08-02 08:24: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'), 48195, 'SRID=4674;POINT (-40.132599 -2.832218)', '2026-08-02 08:25:20', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132151 -2.833133)'), GeomFromEWKT('SRID=4674;POINT (-40.132599 -2.832218)'))) / (select extract(epoch from '2026-08-02 08:25:20'::timestamp) - extract(epoch from '2026-08-02 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132151 -2.833133)'), GeomFromEWKT('SRID=4674;POINT (-40.132599 -2.832218)'))) / (select extract(epoch from '2026-08-02 08:25:20'::timestamp) - extract(epoch from '2026-08-02 08:24: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'), 48195, 'SRID=4674;POINT (-40.132868 -2.83156)', '2026-08-02 08:25:43', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132599 -2.832218)'), GeomFromEWKT('SRID=4674;POINT (-40.132868 -2.83156)'))) / (select extract(epoch from '2026-08-02 08:25:43'::timestamp) - extract(epoch from '2026-08-02 08:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132599 -2.832218)'), GeomFromEWKT('SRID=4674;POINT (-40.132868 -2.83156)'))) / (select extract(epoch from '2026-08-02 08:25:43'::timestamp) - extract(epoch from '2026-08-02 08:25: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'), 48195, 'SRID=4674;POINT (-40.133226 -2.830479)', '2026-08-02 08:26:19', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132868 -2.83156)'), GeomFromEWKT('SRID=4674;POINT (-40.133226 -2.830479)'))) / (select extract(epoch from '2026-08-02 08:26:19'::timestamp) - extract(epoch from '2026-08-02 08:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132868 -2.83156)'), GeomFromEWKT('SRID=4674;POINT (-40.133226 -2.830479)'))) / (select extract(epoch from '2026-08-02 08:26:19'::timestamp) - extract(epoch from '2026-08-02 08:25: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'), 48195, 'SRID=4674;POINT (-40.1337 -2.829957)', '2026-08-02 08:26:42', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133226 -2.830479)'), GeomFromEWKT('SRID=4674;POINT (-40.1337 -2.829957)'))) / (select extract(epoch from '2026-08-02 08:26:42'::timestamp) - extract(epoch from '2026-08-02 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133226 -2.830479)'), GeomFromEWKT('SRID=4674;POINT (-40.1337 -2.829957)'))) / (select extract(epoch from '2026-08-02 08:26:42'::timestamp) - extract(epoch from '2026-08-02 08:26: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'), 48195, 'SRID=4674;POINT (-40.134319 -2.829573)', '2026-08-02 08:27:06', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1337 -2.829957)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.829573)'))) / (select extract(epoch from '2026-08-02 08:27:06'::timestamp) - extract(epoch from '2026-08-02 08:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1337 -2.829957)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.829573)'))) / (select extract(epoch from '2026-08-02 08:27:06'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134748 -2.829106)', '2026-08-02 08:27:27', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.829573)'), GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.829106)'))) / (select extract(epoch from '2026-08-02 08:27:27'::timestamp) - extract(epoch from '2026-08-02 08:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.829573)'), GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.829106)'))) / (select extract(epoch from '2026-08-02 08:27:27'::timestamp) - extract(epoch from '2026-08-02 08:27: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'), 48195, 'SRID=4674;POINT (-40.135326 -2.828495)', '2026-08-02 08:27:57', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.829106)'), GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.828495)'))) / (select extract(epoch from '2026-08-02 08:27:57'::timestamp) - extract(epoch from '2026-08-02 08:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.829106)'), GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.828495)'))) / (select extract(epoch from '2026-08-02 08:27:57'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.135873 -2.828077)', '2026-08-02 08:28:21', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.828495)'), GeomFromEWKT('SRID=4674;POINT (-40.135873 -2.828077)'))) / (select extract(epoch from '2026-08-02 08:28:21'::timestamp) - extract(epoch from '2026-08-02 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.828495)'), GeomFromEWKT('SRID=4674;POINT (-40.135873 -2.828077)'))) / (select extract(epoch from '2026-08-02 08:28:21'::timestamp) - extract(epoch from '2026-08-02 08:27: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'), 48195, 'SRID=4674;POINT (-40.136359 -2.827738)', '2026-08-02 08:28:42', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135873 -2.828077)'), GeomFromEWKT('SRID=4674;POINT (-40.136359 -2.827738)'))) / (select extract(epoch from '2026-08-02 08:28:42'::timestamp) - extract(epoch from '2026-08-02 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135873 -2.828077)'), GeomFromEWKT('SRID=4674;POINT (-40.136359 -2.827738)'))) / (select extract(epoch from '2026-08-02 08:28:42'::timestamp) - extract(epoch from '2026-08-02 08:28: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'), 48195, 'SRID=4674;POINT (-40.137177 -2.827319)', '2026-08-02 08:29:13', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136359 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.137177 -2.827319)'))) / (select extract(epoch from '2026-08-02 08:29:13'::timestamp) - extract(epoch from '2026-08-02 08:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136359 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.137177 -2.827319)'))) / (select extract(epoch from '2026-08-02 08:29:13'::timestamp) - extract(epoch from '2026-08-02 08:28: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'), 48195, 'SRID=4674;POINT (-40.137819 -2.82692)', '2026-08-02 08:29:38', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137177 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82692)'))) / (select extract(epoch from '2026-08-02 08:29:38'::timestamp) - extract(epoch from '2026-08-02 08:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137177 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82692)'))) / (select extract(epoch from '2026-08-02 08:29:38'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.137951 -2.826488)', '2026-08-02 08:29:55', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82692)'), GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.826488)'))) / (select extract(epoch from '2026-08-02 08:29:55'::timestamp) - extract(epoch from '2026-08-02 08:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82692)'), GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.826488)'))) / (select extract(epoch from '2026-08-02 08:29:55'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.137712 -2.825815)', '2026-08-02 08:30:23', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.825815)'))) / (select extract(epoch from '2026-08-02 08:30:23'::timestamp) - extract(epoch from '2026-08-02 08:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.825815)'))) / (select extract(epoch from '2026-08-02 08:30:23'::timestamp) - extract(epoch from '2026-08-02 08:29: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'), 48195, 'SRID=4674;POINT (-40.137268 -2.825447)', '2026-08-02 08:30:45', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.825815)'), GeomFromEWKT('SRID=4674;POINT (-40.137268 -2.825447)'))) / (select extract(epoch from '2026-08-02 08:30:45'::timestamp) - extract(epoch from '2026-08-02 08:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.825815)'), GeomFromEWKT('SRID=4674;POINT (-40.137268 -2.825447)'))) / (select extract(epoch from '2026-08-02 08:30:45'::timestamp) - extract(epoch from '2026-08-02 08:30: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'), 48195, 'SRID=4674;POINT (-40.136804 -2.825054)', '2026-08-02 08:31:09', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137268 -2.825447)'), GeomFromEWKT('SRID=4674;POINT (-40.136804 -2.825054)'))) / (select extract(epoch from '2026-08-02 08:31:09'::timestamp) - extract(epoch from '2026-08-02 08:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137268 -2.825447)'), GeomFromEWKT('SRID=4674;POINT (-40.136804 -2.825054)'))) / (select extract(epoch from '2026-08-02 08:31:09'::timestamp) - extract(epoch from '2026-08-02 08:30: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'), 48195, 'SRID=4674;POINT (-40.136223 -2.824849)', '2026-08-02 08:31:33', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136804 -2.825054)'), GeomFromEWKT('SRID=4674;POINT (-40.136223 -2.824849)'))) / (select extract(epoch from '2026-08-02 08:31:33'::timestamp) - extract(epoch from '2026-08-02 08:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136804 -2.825054)'), GeomFromEWKT('SRID=4674;POINT (-40.136223 -2.824849)'))) / (select extract(epoch from '2026-08-02 08:31:33'::timestamp) - extract(epoch from '2026-08-02 08:31: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'), 48195, 'SRID=4674;POINT (-40.135656 -2.824825)', '2026-08-02 08:31:55', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136223 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.824825)'))) / (select extract(epoch from '2026-08-02 08:31:55'::timestamp) - extract(epoch from '2026-08-02 08:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136223 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.824825)'))) / (select extract(epoch from '2026-08-02 08:31:55'::timestamp) - extract(epoch from '2026-08-02 08:31: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'), 48195, 'SRID=4674;POINT (-40.135106 -2.824882)', '2026-08-02 08:32:17', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.824825)'), GeomFromEWKT('SRID=4674;POINT (-40.135106 -2.824882)'))) / (select extract(epoch from '2026-08-02 08:32:17'::timestamp) - extract(epoch from '2026-08-02 08:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.824825)'), GeomFromEWKT('SRID=4674;POINT (-40.135106 -2.824882)'))) / (select extract(epoch from '2026-08-02 08:32:17'::timestamp) - extract(epoch from '2026-08-02 08:31: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'), 48195, 'SRID=4674;POINT (-40.134855 -2.825008)', '2026-08-02 08:32:32', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135106 -2.824882)'), GeomFromEWKT('SRID=4674;POINT (-40.134855 -2.825008)'))) / (select extract(epoch from '2026-08-02 08:32:32'::timestamp) - extract(epoch from '2026-08-02 08:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135106 -2.824882)'), GeomFromEWKT('SRID=4674;POINT (-40.134855 -2.825008)'))) / (select extract(epoch from '2026-08-02 08:32:32'::timestamp) - extract(epoch from '2026-08-02 08:32: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'), 48195, 'SRID=4674;POINT (-40.134742 -2.825133)', '2026-08-02 08:32:55', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134855 -2.825008)'), GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:32:55'::timestamp) - extract(epoch from '2026-08-02 08:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134855 -2.825008)'), GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:32:55'::timestamp) - extract(epoch from '2026-08-02 08:32: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'), 48195, 'SRID=4674;POINT (-40.134714 -2.825153)', '2026-08-02 08:33:20', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134714 -2.825153)'))) / (select extract(epoch from '2026-08-02 08:33:20'::timestamp) - extract(epoch from '2026-08-02 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134714 -2.825153)'))) / (select extract(epoch from '2026-08-02 08:33:20'::timestamp) - extract(epoch from '2026-08-02 08:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134748 -2.825161)', '2026-08-02 08:33:46', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134714 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.825161)'))) / (select extract(epoch from '2026-08-02 08:33:46'::timestamp) - extract(epoch from '2026-08-02 08:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134714 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.825161)'))) / (select extract(epoch from '2026-08-02 08:33:46'::timestamp) - extract(epoch from '2026-08-02 08:33: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'), 48195, 'SRID=4674;POINT (-40.134794 -2.825167)', '2026-08-02 08:34:16', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.825161)'), GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825167)'))) / (select extract(epoch from '2026-08-02 08:34:16'::timestamp) - extract(epoch from '2026-08-02 08:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134748 -2.825161)'), GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825167)'))) / (select extract(epoch from '2026-08-02 08:34:16'::timestamp) - extract(epoch from '2026-08-02 08:33: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'), 48195, 'SRID=4674;POINT (-40.134789 -2.825158)', '2026-08-02 08:34:40', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825167)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825158)'))) / (select extract(epoch from '2026-08-02 08:34:40'::timestamp) - extract(epoch from '2026-08-02 08:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825167)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825158)'))) / (select extract(epoch from '2026-08-02 08:34:40'::timestamp) - extract(epoch from '2026-08-02 08:34: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'), 48195, 'SRID=4674;POINT (-40.134784 -2.825133)', '2026-08-02 08:35:02', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825158)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:35:02'::timestamp) - extract(epoch from '2026-08-02 08:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825158)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:35:02'::timestamp) - extract(epoch from '2026-08-02 08:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134787 -2.825119)', '2026-08-02 08:35:21', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:35:21'::timestamp) - extract(epoch from '2026-08-02 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:35:21'::timestamp) - extract(epoch from '2026-08-02 08:35: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'), 48195, 'SRID=4674;POINT (-40.134784 -2.825119)', '2026-08-02 08:35:38', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:35:38'::timestamp) - extract(epoch from '2026-08-02 08:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:35:38'::timestamp) - extract(epoch from '2026-08-02 08:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134779 -2.825133)', '2026-08-02 08:35:55', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:35:55'::timestamp) - extract(epoch from '2026-08-02 08:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825133)'))) / (select extract(epoch from '2026-08-02 08:35:55'::timestamp) - extract(epoch from '2026-08-02 08:35: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'), 48195, 'SRID=4674;POINT (-40.134782 -2.825143)', '2026-08-02 08:36:13', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825143)'))) / (select extract(epoch from '2026-08-02 08:36:13'::timestamp) - extract(epoch from '2026-08-02 08:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825143)'))) / (select extract(epoch from '2026-08-02 08:36:13'::timestamp) - extract(epoch from '2026-08-02 08:35: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'), 48195, 'SRID=4674;POINT (-40.134795 -2.825156)', '2026-08-02 08:36:31', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825143)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825156)'))) / (select extract(epoch from '2026-08-02 08:36:31'::timestamp) - extract(epoch from '2026-08-02 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825143)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825156)'))) / (select extract(epoch from '2026-08-02 08:36:31'::timestamp) - extract(epoch from '2026-08-02 08:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134795 -2.825159)', '2026-08-02 08:36:46', 0.62, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825156)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825159)'))) / (select extract(epoch from '2026-08-02 08:36:46'::timestamp) - extract(epoch from '2026-08-02 08:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825156)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825159)'))) / (select extract(epoch from '2026-08-02 08:36:46'::timestamp) - extract(epoch from '2026-08-02 08:36: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'), 48195, 'SRID=4674;POINT (-40.134804 -2.825154)', '2026-08-02 08:37:09', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825154)'))) / (select extract(epoch from '2026-08-02 08:37:09'::timestamp) - extract(epoch from '2026-08-02 08:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825154)'))) / (select extract(epoch from '2026-08-02 08:37:09'::timestamp) - extract(epoch from '2026-08-02 08:36: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'), 48195, 'SRID=4674;POINT (-40.134797 -2.825139)', '2026-08-02 08:37:30', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825139)'))) / (select extract(epoch from '2026-08-02 08:37:30'::timestamp) - extract(epoch from '2026-08-02 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825139)'))) / (select extract(epoch from '2026-08-02 08:37:30'::timestamp) - extract(epoch from '2026-08-02 08:37: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.825123)', '2026-08-02 08:37:53', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:37:53'::timestamp) - extract(epoch from '2026-08-02 08:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:37:53'::timestamp) - extract(epoch from '2026-08-02 08:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134796 -2.825124)', '2026-08-02 08:38:13', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:38:13'::timestamp) - extract(epoch from '2026-08-02 08:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:38:13'::timestamp) - extract(epoch from '2026-08-02 08:37: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'), 48195, 'SRID=4674;POINT (-40.134798 -2.825134)', '2026-08-02 08:38:28', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825134)'))) / (select extract(epoch from '2026-08-02 08:38:28'::timestamp) - extract(epoch from '2026-08-02 08:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825134)'))) / (select extract(epoch from '2026-08-02 08:38:28'::timestamp) - extract(epoch from '2026-08-02 08:38: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'), 48195, 'SRID=4674;POINT (-40.1348 -2.825151)', '2026-08-02 08:38:48', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825134)'), GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:38:48'::timestamp) - extract(epoch from '2026-08-02 08:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825134)'), GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:38:48'::timestamp) - extract(epoch from '2026-08-02 08:38: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'), 48195, 'SRID=4674;POINT (-40.1348 -2.825172)', '2026-08-02 08:39:10', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825172)'))) / (select extract(epoch from '2026-08-02 08:39:10'::timestamp) - extract(epoch from '2026-08-02 08:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825172)'))) / (select extract(epoch from '2026-08-02 08:39:10'::timestamp) - extract(epoch from '2026-08-02 08:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134795 -2.825177)', '2026-08-02 08:39:30', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825172)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825177)'))) / (select extract(epoch from '2026-08-02 08:39:30'::timestamp) - extract(epoch from '2026-08-02 08:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348 -2.825172)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825177)'))) / (select extract(epoch from '2026-08-02 08:39:30'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134794 -2.825152)', '2026-08-02 08:39:55', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825177)'), GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825152)'))) / (select extract(epoch from '2026-08-02 08:39:55'::timestamp) - extract(epoch from '2026-08-02 08:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825177)'), GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825152)'))) / (select extract(epoch from '2026-08-02 08:39:55'::timestamp) - extract(epoch from '2026-08-02 08:39: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'), 48195, 'SRID=4674;POINT (-40.134792 -2.825143)', '2026-08-02 08:40:20', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825152)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825143)'))) / (select extract(epoch from '2026-08-02 08:40:20'::timestamp) - extract(epoch from '2026-08-02 08:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134794 -2.825152)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825143)'))) / (select extract(epoch from '2026-08-02 08:40:20'::timestamp) - extract(epoch from '2026-08-02 08:39: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.825137)', '2026-08-02 08:40:42', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825143)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825137)'))) / (select extract(epoch from '2026-08-02 08:40:42'::timestamp) - extract(epoch from '2026-08-02 08:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825143)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825137)'))) / (select extract(epoch from '2026-08-02 08:40:42'::timestamp) - extract(epoch from '2026-08-02 08:40: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'), 48195, 'SRID=4674;POINT (-40.134793 -2.825124)', '2026-08-02 08:41:06', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:41:06'::timestamp) - extract(epoch from '2026-08-02 08:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:41:06'::timestamp) - extract(epoch from '2026-08-02 08:40: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'), 48195, 'SRID=4674;POINT (-40.134787 -2.825124)', '2026-08-02 08:41:32', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:41:32'::timestamp) - extract(epoch from '2026-08-02 08:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825124)'))) / (select extract(epoch from '2026-08-02 08:41:32'::timestamp) - extract(epoch from '2026-08-02 08:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134776 -2.825111)', '2026-08-02 08:41:56', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:41:56'::timestamp) - extract(epoch from '2026-08-02 08:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825124)'), GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:41:56'::timestamp) - extract(epoch from '2026-08-02 08:41: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'), 48195, 'SRID=4674;POINT (-40.134786 -2.825102)', '2026-08-02 08:42:18', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825102)'))) / (select extract(epoch from '2026-08-02 08:42:18'::timestamp) - extract(epoch from '2026-08-02 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825102)'))) / (select extract(epoch from '2026-08-02 08:42:18'::timestamp) - extract(epoch from '2026-08-02 08:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134772 -2.825106)', '2026-08-02 08:42:39', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825102)'), GeomFromEWKT('SRID=4674;POINT (-40.134772 -2.825106)'))) / (select extract(epoch from '2026-08-02 08:42:39'::timestamp) - extract(epoch from '2026-08-02 08:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825102)'), GeomFromEWKT('SRID=4674;POINT (-40.134772 -2.825106)'))) / (select extract(epoch from '2026-08-02 08:42:39'::timestamp) - extract(epoch from '2026-08-02 08:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134774 -2.825111)', '2026-08-02 08:42:53', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134772 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.134774 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:42:53'::timestamp) - extract(epoch from '2026-08-02 08:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134772 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.134774 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:42:53'::timestamp) - extract(epoch from '2026-08-02 08:42: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'), 48195, 'SRID=4674;POINT (-40.134788 -2.825123)', '2026-08-02 08:43:11', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134774 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:43:11'::timestamp) - extract(epoch from '2026-08-02 08:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134774 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:43:11'::timestamp) - extract(epoch from '2026-08-02 08:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134797 -2.825141)', '2026-08-02 08:43:28', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825141)'))) / (select extract(epoch from '2026-08-02 08:43:28'::timestamp) - extract(epoch from '2026-08-02 08:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825141)'))) / (select extract(epoch from '2026-08-02 08:43:28'::timestamp) - extract(epoch from '2026-08-02 08:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134801 -2.825145)', '2026-08-02 08:43:51', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.134801 -2.825145)'))) / (select extract(epoch from '2026-08-02 08:43:51'::timestamp) - extract(epoch from '2026-08-02 08:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.134801 -2.825145)'))) / (select extract(epoch from '2026-08-02 08:43:51'::timestamp) - extract(epoch from '2026-08-02 08:43: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.825131)', '2026-08-02 08:44:16', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134801 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825131)'))) / (select extract(epoch from '2026-08-02 08:44:16'::timestamp) - extract(epoch from '2026-08-02 08:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134801 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825131)'))) / (select extract(epoch from '2026-08-02 08:44:16'::timestamp) - extract(epoch from '2026-08-02 08:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134791 -2.825115)', '2026-08-02 08:44:39', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825131)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825115)'))) / (select extract(epoch from '2026-08-02 08:44:39'::timestamp) - extract(epoch from '2026-08-02 08:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825131)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825115)'))) / (select extract(epoch from '2026-08-02 08:44:39'::timestamp) - extract(epoch from '2026-08-02 08:44: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'), 48195, 'SRID=4674;POINT (-40.134795 -2.825105)', '2026-08-02 08:45:02', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825115)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825105)'))) / (select extract(epoch from '2026-08-02 08:45:02'::timestamp) - extract(epoch from '2026-08-02 08:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825115)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825105)'))) / (select extract(epoch from '2026-08-02 08:45:02'::timestamp) - extract(epoch from '2026-08-02 08:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134791 -2.825116)', '2026-08-02 08:45:18', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825105)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825116)'))) / (select extract(epoch from '2026-08-02 08:45:18'::timestamp) - extract(epoch from '2026-08-02 08:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825105)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825116)'))) / (select extract(epoch from '2026-08-02 08:45:18'::timestamp) - extract(epoch from '2026-08-02 08:45: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.825136)', '2026-08-02 08:45:35', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825116)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825136)'))) / (select extract(epoch from '2026-08-02 08:45:35'::timestamp) - extract(epoch from '2026-08-02 08:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825116)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825136)'))) / (select extract(epoch from '2026-08-02 08:45:35'::timestamp) - extract(epoch from '2026-08-02 08:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134804 -2.825151)', '2026-08-02 08:45:54', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:45:54'::timestamp) - extract(epoch from '2026-08-02 08:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:45:54'::timestamp) - extract(epoch from '2026-08-02 08:45: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'), 48195, 'SRID=4674;POINT (-40.134795 -2.825155)', '2026-08-02 08:46:12', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825155)'))) / (select extract(epoch from '2026-08-02 08:46:12'::timestamp) - extract(epoch from '2026-08-02 08:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134804 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825155)'))) / (select extract(epoch from '2026-08-02 08:46:12'::timestamp) - extract(epoch from '2026-08-02 08:45: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'), 48195, 'SRID=4674;POINT (-40.134786 -2.825139)', '2026-08-02 08:46:34', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825155)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825139)'))) / (select extract(epoch from '2026-08-02 08:46:34'::timestamp) - extract(epoch from '2026-08-02 08:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825155)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825139)'))) / (select extract(epoch from '2026-08-02 08:46:34'::timestamp) - extract(epoch from '2026-08-02 08:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134789 -2.825117)', '2026-08-02 08:46:57', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825117)'))) / (select extract(epoch from '2026-08-02 08:46:57'::timestamp) - extract(epoch from '2026-08-02 08:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825117)'))) / (select extract(epoch from '2026-08-02 08:46:57'::timestamp) - extract(epoch from '2026-08-02 08:46: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'), 48195, 'SRID=4674;POINT (-40.134791 -2.825112)', '2026-08-02 08:47:17', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825112)'))) / (select extract(epoch from '2026-08-02 08:47:17'::timestamp) - extract(epoch from '2026-08-02 08:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825112)'))) / (select extract(epoch from '2026-08-02 08:47:17'::timestamp) - extract(epoch from '2026-08-02 08:46: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'), 48195, 'SRID=4674;POINT (-40.134784 -2.825119)', '2026-08-02 08:47:41', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:47:41'::timestamp) - extract(epoch from '2026-08-02 08:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:47:41'::timestamp) - extract(epoch from '2026-08-02 08:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134776 -2.825118)', '2026-08-02 08:47:57', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825118)'))) / (select extract(epoch from '2026-08-02 08:47:57'::timestamp) - extract(epoch from '2026-08-02 08:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825118)'))) / (select extract(epoch from '2026-08-02 08:47:57'::timestamp) - extract(epoch from '2026-08-02 08:47: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'), 48195, 'SRID=4674;POINT (-40.134788 -2.825112)', '2026-08-02 08:48:16', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825112)'))) / (select extract(epoch from '2026-08-02 08:48:16'::timestamp) - extract(epoch from '2026-08-02 08:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134776 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825112)'))) / (select extract(epoch from '2026-08-02 08:48:16'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134793 -2.825123)', '2026-08-02 08:48:37', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:48:37'::timestamp) - extract(epoch from '2026-08-02 08:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825123)'))) / (select extract(epoch from '2026-08-02 08:48:37'::timestamp) - extract(epoch from '2026-08-02 08:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134803 -2.825144)', '2026-08-02 08:48:58', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.825144)'))) / (select extract(epoch from '2026-08-02 08:48:58'::timestamp) - extract(epoch from '2026-08-02 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.825144)'))) / (select extract(epoch from '2026-08-02 08:48:58'::timestamp) - extract(epoch from '2026-08-02 08:48: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'), 48195, 'SRID=4674;POINT (-40.134797 -2.825151)', '2026-08-02 08:49:21', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.825144)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:49:21'::timestamp) - extract(epoch from '2026-08-02 08:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.825144)'), GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825151)'))) / (select extract(epoch from '2026-08-02 08:49:21'::timestamp) - extract(epoch from '2026-08-02 08:48: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.825126)', '2026-08-02 08:49:44', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825126)'))) / (select extract(epoch from '2026-08-02 08:49:44'::timestamp) - extract(epoch from '2026-08-02 08:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134797 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825126)'))) / (select extract(epoch from '2026-08-02 08:49:44'::timestamp) - extract(epoch from '2026-08-02 08:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134798 -2.825119)', '2026-08-02 08:50:05', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825126)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:50:05'::timestamp) - extract(epoch from '2026-08-02 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.825126)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:50:05'::timestamp) - extract(epoch from '2026-08-02 08:49: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'), 48195, 'SRID=4674;POINT (-40.134791 -2.825132)', '2026-08-02 08:50:28', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825132)'))) / (select extract(epoch from '2026-08-02 08:50:28'::timestamp) - extract(epoch from '2026-08-02 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825132)'))) / (select extract(epoch from '2026-08-02 08:50:28'::timestamp) - extract(epoch from '2026-08-02 08:50: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'), 48195, 'SRID=4674;POINT (-40.134789 -2.825137)', '2026-08-02 08:50:48', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825132)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825137)'))) / (select extract(epoch from '2026-08-02 08:50:48'::timestamp) - extract(epoch from '2026-08-02 08:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825132)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825137)'))) / (select extract(epoch from '2026-08-02 08:50:48'::timestamp) - extract(epoch from '2026-08-02 08:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134787 -2.825122)', '2026-08-02 08:51:12', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825122)'))) / (select extract(epoch from '2026-08-02 08:51:12'::timestamp) - extract(epoch from '2026-08-02 08:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825122)'))) / (select extract(epoch from '2026-08-02 08:51:12'::timestamp) - extract(epoch from '2026-08-02 08:50: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'), 48195, 'SRID=4674;POINT (-40.134775 -2.82511)', '2026-08-02 08:51:35', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825122)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.82511)'))) / (select extract(epoch from '2026-08-02 08:51:35'::timestamp) - extract(epoch from '2026-08-02 08:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825122)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.82511)'))) / (select extract(epoch from '2026-08-02 08:51:35'::timestamp) - extract(epoch from '2026-08-02 08:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134775 -2.825119)', '2026-08-02 08:51:59', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.82511)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:51:59'::timestamp) - extract(epoch from '2026-08-02 08:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.82511)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:51:59'::timestamp) - extract(epoch from '2026-08-02 08:51: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'), 48195, 'SRID=4674;POINT (-40.134786 -2.825136)', '2026-08-02 08:52:21', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825136)'))) / (select extract(epoch from '2026-08-02 08:52:21'::timestamp) - extract(epoch from '2026-08-02 08:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825136)'))) / (select extract(epoch from '2026-08-02 08:52:21'::timestamp) - extract(epoch from '2026-08-02 08:51: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'), 48195, 'SRID=4674;POINT (-40.134791 -2.825149)', '2026-08-02 08:52:41', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825149)'))) / (select extract(epoch from '2026-08-02 08:52:41'::timestamp) - extract(epoch from '2026-08-02 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825149)'))) / (select extract(epoch from '2026-08-02 08:52:41'::timestamp) - extract(epoch from '2026-08-02 08:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134785 -2.825134)', '2026-08-02 08:53:06', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825134)'))) / (select extract(epoch from '2026-08-02 08:53:06'::timestamp) - extract(epoch from '2026-08-02 08:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134791 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825134)'))) / (select extract(epoch from '2026-08-02 08:53:06'::timestamp) - extract(epoch from '2026-08-02 08:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134775 -2.825118)', '2026-08-02 08:53:32', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825134)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825118)'))) / (select extract(epoch from '2026-08-02 08:53:32'::timestamp) - extract(epoch from '2026-08-02 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825134)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825118)'))) / (select extract(epoch from '2026-08-02 08:53:32'::timestamp) - extract(epoch from '2026-08-02 08:53: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'), 48195, 'SRID=4674;POINT (-40.13478 -2.825109)', '2026-08-02 08:53:55', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.825109)'))) / (select extract(epoch from '2026-08-02 08:53:55'::timestamp) - extract(epoch from '2026-08-02 08:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.825109)'))) / (select extract(epoch from '2026-08-02 08:53:55'::timestamp) - extract(epoch from '2026-08-02 08:53: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'), 48195, 'SRID=4674;POINT (-40.134777 -2.825127)', '2026-08-02 08:54:11', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.825109)'), GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.825127)'))) / (select extract(epoch from '2026-08-02 08:54:11'::timestamp) - extract(epoch from '2026-08-02 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.825109)'), GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.825127)'))) / (select extract(epoch from '2026-08-02 08:54:11'::timestamp) - extract(epoch from '2026-08-02 08:53: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'), 48195, 'SRID=4674;POINT (-40.134788 -2.825146)', '2026-08-02 08:54:30', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825146)'))) / (select extract(epoch from '2026-08-02 08:54:30'::timestamp) - extract(epoch from '2026-08-02 08:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825146)'))) / (select extract(epoch from '2026-08-02 08:54:30'::timestamp) - extract(epoch from '2026-08-02 08:54: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'), 48195, 'SRID=4674;POINT (-40.134783 -2.825145)', '2026-08-02 08:54:50', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825146)'), GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825145)'))) / (select extract(epoch from '2026-08-02 08:54:50'::timestamp) - extract(epoch from '2026-08-02 08:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134788 -2.825146)'), GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825145)'))) / (select extract(epoch from '2026-08-02 08:54:50'::timestamp) - extract(epoch from '2026-08-02 08:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134785 -2.825129)', '2026-08-02 08:55:13', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825129)'))) / (select extract(epoch from '2026-08-02 08:55:13'::timestamp) - extract(epoch from '2026-08-02 08:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825129)'))) / (select extract(epoch from '2026-08-02 08:55:13'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134786 -2.825117)', '2026-08-02 08:55:36', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825129)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825117)'))) / (select extract(epoch from '2026-08-02 08:55:36'::timestamp) - extract(epoch from '2026-08-02 08:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134785 -2.825129)'), GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825117)'))) / (select extract(epoch from '2026-08-02 08:55:36'::timestamp) - extract(epoch from '2026-08-02 08:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134771 -2.825106)', '2026-08-02 08:55:58', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.825106)'))) / (select extract(epoch from '2026-08-02 08:55:58'::timestamp) - extract(epoch from '2026-08-02 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134786 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.825106)'))) / (select extract(epoch from '2026-08-02 08:55:58'::timestamp) - extract(epoch from '2026-08-02 08:55: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'), 48195, 'SRID=4674;POINT (-40.134773 -2.825098)', '2026-08-02 08:56:21', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.134773 -2.825098)'))) / (select extract(epoch from '2026-08-02 08:56:21'::timestamp) - extract(epoch from '2026-08-02 08:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.134773 -2.825098)'))) / (select extract(epoch from '2026-08-02 08:56:21'::timestamp) - extract(epoch from '2026-08-02 08:55: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'), 48195, 'SRID=4674;POINT (-40.134775 -2.825119)', '2026-08-02 08:56:41', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134773 -2.825098)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:56:41'::timestamp) - extract(epoch from '2026-08-02 08:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134773 -2.825098)'), GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'))) / (select extract(epoch from '2026-08-02 08:56:41'::timestamp) - extract(epoch from '2026-08-02 08:56: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'), 48195, 'SRID=4674;POINT (-40.134781 -2.825153)', '2026-08-02 08:57:01', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825153)'))) / (select extract(epoch from '2026-08-02 08:57:01'::timestamp) - extract(epoch from '2026-08-02 08:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134775 -2.825119)'), GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825153)'))) / (select extract(epoch from '2026-08-02 08:57:01'::timestamp) - extract(epoch from '2026-08-02 08:56: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'), 48195, 'SRID=4674;POINT (-40.134793 -2.825164)', '2026-08-02 08:57:20', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825164)'))) / (select extract(epoch from '2026-08-02 08:57:20'::timestamp) - extract(epoch from '2026-08-02 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825164)'))) / (select extract(epoch from '2026-08-02 08:57:20'::timestamp) - extract(epoch from '2026-08-02 08:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134792 -2.82515)', '2026-08-02 08:57:40', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825164)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82515)'))) / (select extract(epoch from '2026-08-02 08:57:40'::timestamp) - extract(epoch from '2026-08-02 08:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134793 -2.825164)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82515)'))) / (select extract(epoch from '2026-08-02 08:57:40'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134789 -2.82512)', '2026-08-02 08:58:08', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.82512)'))) / (select extract(epoch from '2026-08-02 08:58:08'::timestamp) - extract(epoch from '2026-08-02 08:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.82512)'))) / (select extract(epoch from '2026-08-02 08:58:08'::timestamp) - extract(epoch from '2026-08-02 08: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'), 48195, 'SRID=4674;POINT (-40.134782 -2.825122)', '2026-08-02 08:58:34', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825122)'))) / (select extract(epoch from '2026-08-02 08:58:34'::timestamp) - extract(epoch from '2026-08-02 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134789 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825122)'))) / (select extract(epoch from '2026-08-02 08:58:34'::timestamp) - extract(epoch from '2026-08-02 08:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134784 -2.825135)', '2026-08-02 08:58:54', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825122)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825135)'))) / (select extract(epoch from '2026-08-02 08:58:54'::timestamp) - extract(epoch from '2026-08-02 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134782 -2.825122)'), GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825135)'))) / (select extract(epoch from '2026-08-02 08:58:54'::timestamp) - extract(epoch from '2026-08-02 08:58: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'), 48195, 'SRID=4674;POINT (-40.134779 -2.825121)', '2026-08-02 08:59:16', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825121)'))) / (select extract(epoch from '2026-08-02 08:59:16'::timestamp) - extract(epoch from '2026-08-02 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134784 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825121)'))) / (select extract(epoch from '2026-08-02 08:59:16'::timestamp) - extract(epoch from '2026-08-02 08:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134795 -2.825111)', '2026-08-02 08:59:41', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825121)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:59:41'::timestamp) - extract(epoch from '2026-08-02 08:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825121)'), GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825111)'))) / (select extract(epoch from '2026-08-02 08:59:41'::timestamp) - extract(epoch from '2026-08-02 08:59: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'), 48195, 'SRID=4674;POINT (-40.134792 -2.825125)', '2026-08-02 09:00:01', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825125)'))) / (select extract(epoch from '2026-08-02 09:00:01'::timestamp) - extract(epoch from '2026-08-02 08:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134795 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825125)'))) / (select extract(epoch from '2026-08-02 09:00:01'::timestamp) - extract(epoch from '2026-08-02 08:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134792 -2.82516)', '2026-08-02 09:00:23', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825125)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82516)'))) / (select extract(epoch from '2026-08-02 09:00:23'::timestamp) - extract(epoch from '2026-08-02 09:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825125)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82516)'))) / (select extract(epoch from '2026-08-02 09:00:23'::timestamp) - extract(epoch from '2026-08-02 09:00: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'), 48195, 'SRID=4674;POINT (-40.134802 -2.82517)', '2026-08-02 09:00:48', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82516)'), GeomFromEWKT('SRID=4674;POINT (-40.134802 -2.82517)'))) / (select extract(epoch from '2026-08-02 09:00:48'::timestamp) - extract(epoch from '2026-08-02 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.82516)'), GeomFromEWKT('SRID=4674;POINT (-40.134802 -2.82517)'))) / (select extract(epoch from '2026-08-02 09:00:48'::timestamp) - extract(epoch from '2026-08-02 09:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134787 -2.825137)', '2026-08-02 09:01:15', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134802 -2.82517)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825137)'))) / (select extract(epoch from '2026-08-02 09:01:15'::timestamp) - extract(epoch from '2026-08-02 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134802 -2.82517)'), GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825137)'))) / (select extract(epoch from '2026-08-02 09:01:15'::timestamp) - extract(epoch from '2026-08-02 09:00: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'), 48195, 'SRID=4674;POINT (-40.134781 -2.825121)', '2026-08-02 09:01:44', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825121)'))) / (select extract(epoch from '2026-08-02 09:01:44'::timestamp) - extract(epoch from '2026-08-02 09:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134787 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825121)'))) / (select extract(epoch from '2026-08-02 09:01:44'::timestamp) - extract(epoch from '2026-08-02 09:01: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'), 48195, 'SRID=4674;POINT (-40.13478 -2.82512)', '2026-08-02 09:02:08', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825121)'), GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.82512)'))) / (select extract(epoch from '2026-08-02 09:02:08'::timestamp) - extract(epoch from '2026-08-02 09:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134781 -2.825121)'), GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.82512)'))) / (select extract(epoch from '2026-08-02 09:02:08'::timestamp) - extract(epoch from '2026-08-02 09:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134783 -2.825138)', '2026-08-02 09:02:25', 0.62, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825138)'))) / (select extract(epoch from '2026-08-02 09:02:25'::timestamp) - extract(epoch from '2026-08-02 09:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13478 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825138)'))) / (select extract(epoch from '2026-08-02 09:02:25'::timestamp) - extract(epoch from '2026-08-02 09:02: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'), 48195, 'SRID=4674;POINT (-40.134779 -2.825169)', '2026-08-02 09:02:46', 0.62, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825169)'))) / (select extract(epoch from '2026-08-02 09:02:46'::timestamp) - extract(epoch from '2026-08-02 09:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134783 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825169)'))) / (select extract(epoch from '2026-08-02 09:02:46'::timestamp) - extract(epoch from '2026-08-02 09:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134792 -2.825178)', '2026-08-02 09:03:05', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825169)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825178)'))) / (select extract(epoch from '2026-08-02 09:03:05'::timestamp) - extract(epoch from '2026-08-02 09:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134779 -2.825169)'), GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825178)'))) / (select extract(epoch from '2026-08-02 09:03:05'::timestamp) - extract(epoch from '2026-08-02 09:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134753 -2.825116)', '2026-08-02 09:03:33', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825178)'), GeomFromEWKT('SRID=4674;POINT (-40.134753 -2.825116)'))) / (select extract(epoch from '2026-08-02 09:03:33'::timestamp) - extract(epoch from '2026-08-02 09:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134792 -2.825178)'), GeomFromEWKT('SRID=4674;POINT (-40.134753 -2.825116)'))) / (select extract(epoch from '2026-08-02 09:03:33'::timestamp) - extract(epoch from '2026-08-02 09:03: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'), 48195, 'SRID=4674;POINT (-40.134723 -2.825025)', '2026-08-02 09:03:59', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134753 -2.825116)'), GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.825025)'))) / (select extract(epoch from '2026-08-02 09:03:59'::timestamp) - extract(epoch from '2026-08-02 09:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134753 -2.825116)'), GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.825025)'))) / (select extract(epoch from '2026-08-02 09:03:59'::timestamp) - extract(epoch from '2026-08-02 09:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134747 -2.824996)', '2026-08-02 09:04:24', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.825025)'), GeomFromEWKT('SRID=4674;POINT (-40.134747 -2.824996)'))) / (select extract(epoch from '2026-08-02 09:04:24'::timestamp) - extract(epoch from '2026-08-02 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.825025)'), GeomFromEWKT('SRID=4674;POINT (-40.134747 -2.824996)'))) / (select extract(epoch from '2026-08-02 09:04:24'::timestamp) - extract(epoch from '2026-08-02 09:03: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'), 48195, 'SRID=4674;POINT (-40.134765 -2.824987)', '2026-08-02 09:04:48', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134747 -2.824996)'), GeomFromEWKT('SRID=4674;POINT (-40.134765 -2.824987)'))) / (select extract(epoch from '2026-08-02 09:04:48'::timestamp) - extract(epoch from '2026-08-02 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134747 -2.824996)'), GeomFromEWKT('SRID=4674;POINT (-40.134765 -2.824987)'))) / (select extract(epoch from '2026-08-02 09:04:48'::timestamp) - extract(epoch from '2026-08-02 09:04: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'), 48195, 'SRID=4674;POINT (-40.134811 -2.825005)', '2026-08-02 09:05:15', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134765 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825005)'))) / (select extract(epoch from '2026-08-02 09:05:15'::timestamp) - extract(epoch from '2026-08-02 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134765 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825005)'))) / (select extract(epoch from '2026-08-02 09:05:15'::timestamp) - extract(epoch from '2026-08-02 09:04: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'), 48195, 'SRID=4674;POINT (-40.134829 -2.824991)', '2026-08-02 09:05:43', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825005)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824991)'))) / (select extract(epoch from '2026-08-02 09:05:43'::timestamp) - extract(epoch from '2026-08-02 09:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825005)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824991)'))) / (select extract(epoch from '2026-08-02 09:05:43'::timestamp) - extract(epoch from '2026-08-02 09:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134829 -2.824966)', '2026-08-02 09:06:10', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824991)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824966)'))) / (select extract(epoch from '2026-08-02 09:06:10'::timestamp) - extract(epoch from '2026-08-02 09:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824991)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824966)'))) / (select extract(epoch from '2026-08-02 09:06:10'::timestamp) - extract(epoch from '2026-08-02 09:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134838 -2.824956)', '2026-08-02 09:06:37', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824966)'), GeomFromEWKT('SRID=4674;POINT (-40.134838 -2.824956)'))) / (select extract(epoch from '2026-08-02 09:06:37'::timestamp) - extract(epoch from '2026-08-02 09:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.824966)'), GeomFromEWKT('SRID=4674;POINT (-40.134838 -2.824956)'))) / (select extract(epoch from '2026-08-02 09:06:37'::timestamp) - extract(epoch from '2026-08-02 09:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134837 -2.824944)', '2026-08-02 09:07:04', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134838 -2.824956)'), GeomFromEWKT('SRID=4674;POINT (-40.134837 -2.824944)'))) / (select extract(epoch from '2026-08-02 09:07:04'::timestamp) - extract(epoch from '2026-08-02 09:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134838 -2.824956)'), GeomFromEWKT('SRID=4674;POINT (-40.134837 -2.824944)'))) / (select extract(epoch from '2026-08-02 09:07:04'::timestamp) - extract(epoch from '2026-08-02 09:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134831 -2.824942)', '2026-08-02 09:07:30', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134837 -2.824944)'), GeomFromEWKT('SRID=4674;POINT (-40.134831 -2.824942)'))) / (select extract(epoch from '2026-08-02 09:07:30'::timestamp) - extract(epoch from '2026-08-02 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134837 -2.824944)'), GeomFromEWKT('SRID=4674;POINT (-40.134831 -2.824942)'))) / (select extract(epoch from '2026-08-02 09:07:30'::timestamp) - extract(epoch from '2026-08-02 09:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.13481 -2.825)', '2026-08-02 09:07:52', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134831 -2.824942)'), GeomFromEWKT('SRID=4674;POINT (-40.13481 -2.825)'))) / (select extract(epoch from '2026-08-02 09:07:52'::timestamp) - extract(epoch from '2026-08-02 09:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134831 -2.824942)'), GeomFromEWKT('SRID=4674;POINT (-40.13481 -2.825)'))) / (select extract(epoch from '2026-08-02 09:07:52'::timestamp) - extract(epoch from '2026-08-02 09:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134811 -2.825007)', '2026-08-02 09:08:10', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13481 -2.825)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825007)'))) / (select extract(epoch from '2026-08-02 09:08:10'::timestamp) - extract(epoch from '2026-08-02 09:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13481 -2.825)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825007)'))) / (select extract(epoch from '2026-08-02 09:08:10'::timestamp) - extract(epoch from '2026-08-02 09:07: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'), 48195, 'SRID=4674;POINT (-40.134828 -2.825011)', '2026-08-02 09:08:35', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825007)'), GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.825011)'))) / (select extract(epoch from '2026-08-02 09:08:35'::timestamp) - extract(epoch from '2026-08-02 09:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.825007)'), GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.825011)'))) / (select extract(epoch from '2026-08-02 09:08:35'::timestamp) - extract(epoch from '2026-08-02 09:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.13483 -2.824999)', '2026-08-02 09:09:03', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.825011)'), GeomFromEWKT('SRID=4674;POINT (-40.13483 -2.824999)'))) / (select extract(epoch from '2026-08-02 09:09:03'::timestamp) - extract(epoch from '2026-08-02 09:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.825011)'), GeomFromEWKT('SRID=4674;POINT (-40.13483 -2.824999)'))) / (select extract(epoch from '2026-08-02 09:09:03'::timestamp) - extract(epoch from '2026-08-02 09:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134826 -2.824976)', '2026-08-02 09:09:32', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13483 -2.824999)'), GeomFromEWKT('SRID=4674;POINT (-40.134826 -2.824976)'))) / (select extract(epoch from '2026-08-02 09:09:32'::timestamp) - extract(epoch from '2026-08-02 09:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13483 -2.824999)'), GeomFromEWKT('SRID=4674;POINT (-40.134826 -2.824976)'))) / (select extract(epoch from '2026-08-02 09:09:32'::timestamp) - extract(epoch from '2026-08-02 09:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134834 -2.824942)', '2026-08-02 09:09:59', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134826 -2.824976)'), GeomFromEWKT('SRID=4674;POINT (-40.134834 -2.824942)'))) / (select extract(epoch from '2026-08-02 09:09:59'::timestamp) - extract(epoch from '2026-08-02 09:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134826 -2.824976)'), GeomFromEWKT('SRID=4674;POINT (-40.134834 -2.824942)'))) / (select extract(epoch from '2026-08-02 09:09:59'::timestamp) - extract(epoch from '2026-08-02 09: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'), 48195, 'SRID=4674;POINT (-40.134828 -2.824932)', '2026-08-02 09:10:28', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134834 -2.824942)'), GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.824932)'))) / (select extract(epoch from '2026-08-02 09:10:28'::timestamp) - extract(epoch from '2026-08-02 09:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134834 -2.824942)'), GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.824932)'))) / (select extract(epoch from '2026-08-02 09:10:28'::timestamp) - extract(epoch from '2026-08-02 09:09: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'), 48195, 'SRID=4674;POINT (-40.134825 -2.824949)', '2026-08-02 09:10:55', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.824932)'), GeomFromEWKT('SRID=4674;POINT (-40.134825 -2.824949)'))) / (select extract(epoch from '2026-08-02 09:10:55'::timestamp) - extract(epoch from '2026-08-02 09:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134828 -2.824932)'), GeomFromEWKT('SRID=4674;POINT (-40.134825 -2.824949)'))) / (select extract(epoch from '2026-08-02 09:10:55'::timestamp) - extract(epoch from '2026-08-02 09:10: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'), 48195, 'SRID=4674;POINT (-40.134833 -2.824947)', '2026-08-02 09:11:22', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134825 -2.824949)'), GeomFromEWKT('SRID=4674;POINT (-40.134833 -2.824947)'))) / (select extract(epoch from '2026-08-02 09:11:22'::timestamp) - extract(epoch from '2026-08-02 09:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134825 -2.824949)'), GeomFromEWKT('SRID=4674;POINT (-40.134833 -2.824947)'))) / (select extract(epoch from '2026-08-02 09:11:22'::timestamp) - extract(epoch from '2026-08-02 09:10: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'), 48195, 'SRID=4674;POINT (-40.13479 -2.824944)', '2026-08-02 09:11:47', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134833 -2.824947)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.824944)'))) / (select extract(epoch from '2026-08-02 09:11:47'::timestamp) - extract(epoch from '2026-08-02 09:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134833 -2.824947)'), GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.824944)'))) / (select extract(epoch from '2026-08-02 09:11:47'::timestamp) - extract(epoch from '2026-08-02 09:11: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'), 48195, 'SRID=4674;POINT (-40.134736 -2.824971)', '2026-08-02 09:12:13', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.824944)'), GeomFromEWKT('SRID=4674;POINT (-40.134736 -2.824971)'))) / (select extract(epoch from '2026-08-02 09:12:13'::timestamp) - extract(epoch from '2026-08-02 09:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13479 -2.824944)'), GeomFromEWKT('SRID=4674;POINT (-40.134736 -2.824971)'))) / (select extract(epoch from '2026-08-02 09:12:13'::timestamp) - extract(epoch from '2026-08-02 09:11: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'), 48195, 'SRID=4674;POINT (-40.134733 -2.824954)', '2026-08-02 09:12:16', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134736 -2.824971)'), GeomFromEWKT('SRID=4674;POINT (-40.134733 -2.824954)'))) / (select extract(epoch from '2026-08-02 09:12:16'::timestamp) - extract(epoch from '2026-08-02 09:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134736 -2.824971)'), GeomFromEWKT('SRID=4674;POINT (-40.134733 -2.824954)'))) / (select extract(epoch from '2026-08-02 09:12:16'::timestamp) - extract(epoch from '2026-08-02 09:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134872 -2.824658)', '2026-08-02 09:12:36', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134733 -2.824954)'), GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.824658)'))) / (select extract(epoch from '2026-08-02 09:12:36'::timestamp) - extract(epoch from '2026-08-02 09:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134733 -2.824954)'), GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.824658)'))) / (select extract(epoch from '2026-08-02 09:12:36'::timestamp) - extract(epoch from '2026-08-02 09:12: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'), 48195, 'SRID=4674;POINT (-40.13519 -2.824629)', '2026-08-02 09:12:50', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.824658)'), GeomFromEWKT('SRID=4674;POINT (-40.13519 -2.824629)'))) / (select extract(epoch from '2026-08-02 09:12:50'::timestamp) - extract(epoch from '2026-08-02 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.824658)'), GeomFromEWKT('SRID=4674;POINT (-40.13519 -2.824629)'))) / (select extract(epoch from '2026-08-02 09:12:50'::timestamp) - extract(epoch from '2026-08-02 09:12: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'), 48195, 'SRID=4674;POINT (-40.135648 -2.824899)', '2026-08-02 09:13:12', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13519 -2.824629)'), GeomFromEWKT('SRID=4674;POINT (-40.135648 -2.824899)'))) / (select extract(epoch from '2026-08-02 09:13:12'::timestamp) - extract(epoch from '2026-08-02 09:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13519 -2.824629)'), GeomFromEWKT('SRID=4674;POINT (-40.135648 -2.824899)'))) / (select extract(epoch from '2026-08-02 09:13:12'::timestamp) - extract(epoch from '2026-08-02 09: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'), 48195, 'SRID=4674;POINT (-40.136122 -2.824898)', '2026-08-02 09:13:31', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135648 -2.824899)'), GeomFromEWKT('SRID=4674;POINT (-40.136122 -2.824898)'))) / (select extract(epoch from '2026-08-02 09:13:31'::timestamp) - extract(epoch from '2026-08-02 09:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135648 -2.824899)'), GeomFromEWKT('SRID=4674;POINT (-40.136122 -2.824898)'))) / (select extract(epoch from '2026-08-02 09:13:31'::timestamp) - extract(epoch from '2026-08-02 09:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.136657 -2.825118)', '2026-08-02 09:13:54', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136122 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.825118)'))) / (select extract(epoch from '2026-08-02 09:13:54'::timestamp) - extract(epoch from '2026-08-02 09:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136122 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.825118)'))) / (select extract(epoch from '2026-08-02 09:13:54'::timestamp) - extract(epoch from '2026-08-02 09:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.137338 -2.825297)', '2026-08-02 09:14:21', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.137338 -2.825297)'))) / (select extract(epoch from '2026-08-02 09:14:21'::timestamp) - extract(epoch from '2026-08-02 09:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.137338 -2.825297)'))) / (select extract(epoch from '2026-08-02 09:14:21'::timestamp) - extract(epoch from '2026-08-02 09:13: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'), 48195, 'SRID=4674;POINT (-40.137828 -2.825686)', '2026-08-02 09:14:45', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137338 -2.825297)'), GeomFromEWKT('SRID=4674;POINT (-40.137828 -2.825686)'))) / (select extract(epoch from '2026-08-02 09:14:45'::timestamp) - extract(epoch from '2026-08-02 09:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137338 -2.825297)'), GeomFromEWKT('SRID=4674;POINT (-40.137828 -2.825686)'))) / (select extract(epoch from '2026-08-02 09:14:45'::timestamp) - extract(epoch from '2026-08-02 09:14: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'), 48195, 'SRID=4674;POINT (-40.138159 -2.826344)', '2026-08-02 09:15:14', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137828 -2.825686)'), GeomFromEWKT('SRID=4674;POINT (-40.138159 -2.826344)'))) / (select extract(epoch from '2026-08-02 09:15:14'::timestamp) - extract(epoch from '2026-08-02 09:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137828 -2.825686)'), GeomFromEWKT('SRID=4674;POINT (-40.138159 -2.826344)'))) / (select extract(epoch from '2026-08-02 09:15:14'::timestamp) - extract(epoch from '2026-08-02 09:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.138016 -2.826742)', '2026-08-02 09:15:33', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138159 -2.826344)'), GeomFromEWKT('SRID=4674;POINT (-40.138016 -2.826742)'))) / (select extract(epoch from '2026-08-02 09:15:33'::timestamp) - extract(epoch from '2026-08-02 09:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138159 -2.826344)'), GeomFromEWKT('SRID=4674;POINT (-40.138016 -2.826742)'))) / (select extract(epoch from '2026-08-02 09:15:33'::timestamp) - extract(epoch from '2026-08-02 09:15: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'), 48195, 'SRID=4674;POINT (-40.137717 -2.826918)', '2026-08-02 09:15:56', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138016 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.137717 -2.826918)'))) / (select extract(epoch from '2026-08-02 09:15:56'::timestamp) - extract(epoch from '2026-08-02 09:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138016 -2.826742)'), GeomFromEWKT('SRID=4674;POINT (-40.137717 -2.826918)'))) / (select extract(epoch from '2026-08-02 09:15:56'::timestamp) - extract(epoch from '2026-08-02 09:15: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'), 48195, 'SRID=4674;POINT (-40.137518 -2.827125)', '2026-08-02 09:16:13', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137717 -2.826918)'), GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.827125)'))) / (select extract(epoch from '2026-08-02 09:16:13'::timestamp) - extract(epoch from '2026-08-02 09:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137717 -2.826918)'), GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.827125)'))) / (select extract(epoch from '2026-08-02 09:16:13'::timestamp) - extract(epoch from '2026-08-02 09:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.13716 -2.827037)', '2026-08-02 09:16:32', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.827125)'), GeomFromEWKT('SRID=4674;POINT (-40.13716 -2.827037)'))) / (select extract(epoch from '2026-08-02 09:16:32'::timestamp) - extract(epoch from '2026-08-02 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.827125)'), GeomFromEWKT('SRID=4674;POINT (-40.13716 -2.827037)'))) / (select extract(epoch from '2026-08-02 09:16:32'::timestamp) - extract(epoch from '2026-08-02 09:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.136779 -2.826688)', '2026-08-02 09:16:59', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13716 -2.827037)'), GeomFromEWKT('SRID=4674;POINT (-40.136779 -2.826688)'))) / (select extract(epoch from '2026-08-02 09:16:59'::timestamp) - extract(epoch from '2026-08-02 09:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13716 -2.827037)'), GeomFromEWKT('SRID=4674;POINT (-40.136779 -2.826688)'))) / (select extract(epoch from '2026-08-02 09:16:59'::timestamp) - extract(epoch from '2026-08-02 09:16: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'), 48195, 'SRID=4674;POINT (-40.136506 -2.826751)', '2026-08-02 09:17:14', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136779 -2.826688)'), GeomFromEWKT('SRID=4674;POINT (-40.136506 -2.826751)'))) / (select extract(epoch from '2026-08-02 09:17:14'::timestamp) - extract(epoch from '2026-08-02 09:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136779 -2.826688)'), GeomFromEWKT('SRID=4674;POINT (-40.136506 -2.826751)'))) / (select extract(epoch from '2026-08-02 09:17:14'::timestamp) - extract(epoch from '2026-08-02 09:16: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'), 48195, 'SRID=4674;POINT (-40.136112 -2.826748)', '2026-08-02 09:17:35', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136506 -2.826751)'), GeomFromEWKT('SRID=4674;POINT (-40.136112 -2.826748)'))) / (select extract(epoch from '2026-08-02 09:17:35'::timestamp) - extract(epoch from '2026-08-02 09:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136506 -2.826751)'), GeomFromEWKT('SRID=4674;POINT (-40.136112 -2.826748)'))) / (select extract(epoch from '2026-08-02 09:17:35'::timestamp) - extract(epoch from '2026-08-02 09:17: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'), 48195, 'SRID=4674;POINT (-40.1356 -2.826728)', '2026-08-02 09:18:02', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136112 -2.826748)'), GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.826728)'))) / (select extract(epoch from '2026-08-02 09:18:02'::timestamp) - extract(epoch from '2026-08-02 09:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136112 -2.826748)'), GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.826728)'))) / (select extract(epoch from '2026-08-02 09:18:02'::timestamp) - extract(epoch from '2026-08-02 09:17: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'), 48195, 'SRID=4674;POINT (-40.135042 -2.826978)', '2026-08-02 09:18:30', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.826728)'), GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.826978)'))) / (select extract(epoch from '2026-08-02 09:18:30'::timestamp) - extract(epoch from '2026-08-02 09:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.826728)'), GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.826978)'))) / (select extract(epoch from '2026-08-02 09:18:30'::timestamp) - extract(epoch from '2026-08-02 09:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.134644 -2.827301)', '2026-08-02 09:18:54', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.826978)'), GeomFromEWKT('SRID=4674;POINT (-40.134644 -2.827301)'))) / (select extract(epoch from '2026-08-02 09:18:54'::timestamp) - extract(epoch from '2026-08-02 09:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.826978)'), GeomFromEWKT('SRID=4674;POINT (-40.134644 -2.827301)'))) / (select extract(epoch from '2026-08-02 09:18:54'::timestamp) - extract(epoch from '2026-08-02 09:18: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'), 48195, 'SRID=4674;POINT (-40.134206 -2.827783)', '2026-08-02 09:19:22', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134644 -2.827301)'), GeomFromEWKT('SRID=4674;POINT (-40.134206 -2.827783)'))) / (select extract(epoch from '2026-08-02 09:19:22'::timestamp) - extract(epoch from '2026-08-02 09:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134644 -2.827301)'), GeomFromEWKT('SRID=4674;POINT (-40.134206 -2.827783)'))) / (select extract(epoch from '2026-08-02 09:19:22'::timestamp) - extract(epoch from '2026-08-02 09:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.13396 -2.82833)', '2026-08-02 09:19:47', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134206 -2.827783)'), GeomFromEWKT('SRID=4674;POINT (-40.13396 -2.82833)'))) / (select extract(epoch from '2026-08-02 09:19:47'::timestamp) - extract(epoch from '2026-08-02 09:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134206 -2.827783)'), GeomFromEWKT('SRID=4674;POINT (-40.13396 -2.82833)'))) / (select extract(epoch from '2026-08-02 09:19:47'::timestamp) - extract(epoch from '2026-08-02 09:19: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'), 48195, 'SRID=4674;POINT (-40.13371 -2.828782)', '2026-08-02 09:20:10', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13396 -2.82833)'), GeomFromEWKT('SRID=4674;POINT (-40.13371 -2.828782)'))) / (select extract(epoch from '2026-08-02 09:20:10'::timestamp) - extract(epoch from '2026-08-02 09:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13396 -2.82833)'), GeomFromEWKT('SRID=4674;POINT (-40.13371 -2.828782)'))) / (select extract(epoch from '2026-08-02 09:20:10'::timestamp) - extract(epoch from '2026-08-02 09:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.133287 -2.82909)', '2026-08-02 09:20:35', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13371 -2.828782)'), GeomFromEWKT('SRID=4674;POINT (-40.133287 -2.82909)'))) / (select extract(epoch from '2026-08-02 09:20:35'::timestamp) - extract(epoch from '2026-08-02 09:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13371 -2.828782)'), GeomFromEWKT('SRID=4674;POINT (-40.133287 -2.82909)'))) / (select extract(epoch from '2026-08-02 09:20:35'::timestamp) - extract(epoch from '2026-08-02 09:20: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'), 48195, 'SRID=4674;POINT (-40.13295 -2.829478)', '2026-08-02 09:20:59', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133287 -2.82909)'), GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.829478)'))) / (select extract(epoch from '2026-08-02 09:20:59'::timestamp) - extract(epoch from '2026-08-02 09:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133287 -2.82909)'), GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.829478)'))) / (select extract(epoch from '2026-08-02 09:20:59'::timestamp) - extract(epoch from '2026-08-02 09:20: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'), 48195, 'SRID=4674;POINT (-40.132568 -2.829883)', '2026-08-02 09:21:26', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.829478)'), GeomFromEWKT('SRID=4674;POINT (-40.132568 -2.829883)'))) / (select extract(epoch from '2026-08-02 09:21:26'::timestamp) - extract(epoch from '2026-08-02 09:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.829478)'), GeomFromEWKT('SRID=4674;POINT (-40.132568 -2.829883)'))) / (select extract(epoch from '2026-08-02 09:21:26'::timestamp) - extract(epoch from '2026-08-02 09:20: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'), 48195, 'SRID=4674;POINT (-40.132523 -2.83043)', '2026-08-02 09:21:50', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132568 -2.829883)'), GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.83043)'))) / (select extract(epoch from '2026-08-02 09:21:50'::timestamp) - extract(epoch from '2026-08-02 09:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132568 -2.829883)'), GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.83043)'))) / (select extract(epoch from '2026-08-02 09:21:50'::timestamp) - extract(epoch from '2026-08-02 09:21: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'), 48195, 'SRID=4674;POINT (-40.132407 -2.830997)', '2026-08-02 09:22:16', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.83043)'), GeomFromEWKT('SRID=4674;POINT (-40.132407 -2.830997)'))) / (select extract(epoch from '2026-08-02 09:22:16'::timestamp) - extract(epoch from '2026-08-02 09:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.83043)'), GeomFromEWKT('SRID=4674;POINT (-40.132407 -2.830997)'))) / (select extract(epoch from '2026-08-02 09:22:16'::timestamp) - extract(epoch from '2026-08-02 09:21: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'), 48195, 'SRID=4674;POINT (-40.132306 -2.83151)', '2026-08-02 09:22:40', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132407 -2.830997)'), GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.83151)'))) / (select extract(epoch from '2026-08-02 09:22:40'::timestamp) - extract(epoch from '2026-08-02 09:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132407 -2.830997)'), GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.83151)'))) / (select extract(epoch from '2026-08-02 09:22:40'::timestamp) - extract(epoch from '2026-08-02 09:22: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'), 48195, 'SRID=4674;POINT (-40.132078 -2.832128)', '2026-08-02 09:23:10', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.83151)'), GeomFromEWKT('SRID=4674;POINT (-40.132078 -2.832128)'))) / (select extract(epoch from '2026-08-02 09:23:10'::timestamp) - extract(epoch from '2026-08-02 09:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.83151)'), GeomFromEWKT('SRID=4674;POINT (-40.132078 -2.832128)'))) / (select extract(epoch from '2026-08-02 09:23:10'::timestamp) - extract(epoch from '2026-08-02 09:22: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'), 48195, 'SRID=4674;POINT (-40.131831 -2.832798)', '2026-08-02 09:23:41', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132078 -2.832128)'), GeomFromEWKT('SRID=4674;POINT (-40.131831 -2.832798)'))) / (select extract(epoch from '2026-08-02 09:23:41'::timestamp) - extract(epoch from '2026-08-02 09:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132078 -2.832128)'), GeomFromEWKT('SRID=4674;POINT (-40.131831 -2.832798)'))) / (select extract(epoch from '2026-08-02 09:23:41'::timestamp) - extract(epoch from '2026-08-02 09:23: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'), 48195, 'SRID=4674;POINT (-40.131559 -2.833354)', '2026-08-02 09:24:09', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131831 -2.832798)'), GeomFromEWKT('SRID=4674;POINT (-40.131559 -2.833354)'))) / (select extract(epoch from '2026-08-02 09:24:09'::timestamp) - extract(epoch from '2026-08-02 09:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131831 -2.832798)'), GeomFromEWKT('SRID=4674;POINT (-40.131559 -2.833354)'))) / (select extract(epoch from '2026-08-02 09:24:09'::timestamp) - extract(epoch from '2026-08-02 09:23: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'), 48195, 'SRID=4674;POINT (-40.131417 -2.833843)', '2026-08-02 09:24:33', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131559 -2.833354)'), GeomFromEWKT('SRID=4674;POINT (-40.131417 -2.833843)'))) / (select extract(epoch from '2026-08-02 09:24:33'::timestamp) - extract(epoch from '2026-08-02 09:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131559 -2.833354)'), GeomFromEWKT('SRID=4674;POINT (-40.131417 -2.833843)'))) / (select extract(epoch from '2026-08-02 09:24:33'::timestamp) - extract(epoch from '2026-08-02 09:24: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'), 48195, 'SRID=4674;POINT (-40.131305 -2.834402)', '2026-08-02 09:24:58', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131417 -2.833843)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834402)'))) / (select extract(epoch from '2026-08-02 09:24:58'::timestamp) - extract(epoch from '2026-08-02 09:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131417 -2.833843)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834402)'))) / (select extract(epoch from '2026-08-02 09:24:58'::timestamp) - extract(epoch from '2026-08-02 09:24: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'), 48195, 'SRID=4674;POINT (-40.131095 -2.834863)', '2026-08-02 09:25:21', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834402)'), GeomFromEWKT('SRID=4674;POINT (-40.131095 -2.834863)'))) / (select extract(epoch from '2026-08-02 09:25:21'::timestamp) - extract(epoch from '2026-08-02 09:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834402)'), GeomFromEWKT('SRID=4674;POINT (-40.131095 -2.834863)'))) / (select extract(epoch from '2026-08-02 09:25:21'::timestamp) - extract(epoch from '2026-08-02 09:24: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'), 48195, 'SRID=4674;POINT (-40.130909 -2.835491)', '2026-08-02 09:25:51', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131095 -2.834863)'), GeomFromEWKT('SRID=4674;POINT (-40.130909 -2.835491)'))) / (select extract(epoch from '2026-08-02 09:25:51'::timestamp) - extract(epoch from '2026-08-02 09:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131095 -2.834863)'), GeomFromEWKT('SRID=4674;POINT (-40.130909 -2.835491)'))) / (select extract(epoch from '2026-08-02 09:25:51'::timestamp) - extract(epoch from '2026-08-02 09:25: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'), 48195, 'SRID=4674;POINT (-40.130658 -2.83622)', '2026-08-02 09:26:26', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130909 -2.835491)'), GeomFromEWKT('SRID=4674;POINT (-40.130658 -2.83622)'))) / (select extract(epoch from '2026-08-02 09:26:26'::timestamp) - extract(epoch from '2026-08-02 09:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130909 -2.835491)'), GeomFromEWKT('SRID=4674;POINT (-40.130658 -2.83622)'))) / (select extract(epoch from '2026-08-02 09:26:26'::timestamp) - extract(epoch from '2026-08-02 09:25: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'), 48195, 'SRID=4674;POINT (-40.130486 -2.836945)', '2026-08-02 09:26:59', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130658 -2.83622)'), GeomFromEWKT('SRID=4674;POINT (-40.130486 -2.836945)'))) / (select extract(epoch from '2026-08-02 09:26:59'::timestamp) - extract(epoch from '2026-08-02 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130658 -2.83622)'), GeomFromEWKT('SRID=4674;POINT (-40.130486 -2.836945)'))) / (select extract(epoch from '2026-08-02 09:26:59'::timestamp) - extract(epoch from '2026-08-02 09:26: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'), 48195, 'SRID=4674;POINT (-40.130348 -2.837674)', '2026-08-02 09:27:31', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130486 -2.836945)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837674)'))) / (select extract(epoch from '2026-08-02 09:27:31'::timestamp) - extract(epoch from '2026-08-02 09:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130486 -2.836945)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837674)'))) / (select extract(epoch from '2026-08-02 09:27:31'::timestamp) - extract(epoch from '2026-08-02 09:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.130352 -2.838392)', '2026-08-02 09:28:02', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837674)'), GeomFromEWKT('SRID=4674;POINT (-40.130352 -2.838392)'))) / (select extract(epoch from '2026-08-02 09:28:02'::timestamp) - extract(epoch from '2026-08-02 09:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837674)'), GeomFromEWKT('SRID=4674;POINT (-40.130352 -2.838392)'))) / (select extract(epoch from '2026-08-02 09:28:02'::timestamp) - extract(epoch from '2026-08-02 09:27: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'), 48195, 'SRID=4674;POINT (-40.13026 -2.839145)', '2026-08-02 09:28:36', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130352 -2.838392)'), GeomFromEWKT('SRID=4674;POINT (-40.13026 -2.839145)'))) / (select extract(epoch from '2026-08-02 09:28:36'::timestamp) - extract(epoch from '2026-08-02 09:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130352 -2.838392)'), GeomFromEWKT('SRID=4674;POINT (-40.13026 -2.839145)'))) / (select extract(epoch from '2026-08-02 09:28:36'::timestamp) - extract(epoch from '2026-08-02 09:28: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'), 48195, 'SRID=4674;POINT (-40.129995 -2.839914)', '2026-08-02 09:29:13', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13026 -2.839145)'), GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.839914)'))) / (select extract(epoch from '2026-08-02 09:29:13'::timestamp) - extract(epoch from '2026-08-02 09:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13026 -2.839145)'), GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.839914)'))) / (select extract(epoch from '2026-08-02 09:29:13'::timestamp) - extract(epoch from '2026-08-02 09:28: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'), 48195, 'SRID=4674;POINT (-40.129762 -2.840616)', '2026-08-02 09:29:47', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.839914)'), GeomFromEWKT('SRID=4674;POINT (-40.129762 -2.840616)'))) / (select extract(epoch from '2026-08-02 09:29:47'::timestamp) - extract(epoch from '2026-08-02 09:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.839914)'), GeomFromEWKT('SRID=4674;POINT (-40.129762 -2.840616)'))) / (select extract(epoch from '2026-08-02 09:29:47'::timestamp) - extract(epoch from '2026-08-02 09: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'), 48195, 'SRID=4674;POINT (-40.129542 -2.841109)', '2026-08-02 09:30:12', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129762 -2.840616)'), GeomFromEWKT('SRID=4674;POINT (-40.129542 -2.841109)'))) / (select extract(epoch from '2026-08-02 09:30:12'::timestamp) - extract(epoch from '2026-08-02 09:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129762 -2.840616)'), GeomFromEWKT('SRID=4674;POINT (-40.129542 -2.841109)'))) / (select extract(epoch from '2026-08-02 09:30:12'::timestamp) - extract(epoch from '2026-08-02 09:29: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'), 48195, 'SRID=4674;POINT (-40.129382 -2.841757)', '2026-08-02 09:30:42', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129542 -2.841109)'), GeomFromEWKT('SRID=4674;POINT (-40.129382 -2.841757)'))) / (select extract(epoch from '2026-08-02 09:30:42'::timestamp) - extract(epoch from '2026-08-02 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129542 -2.841109)'), GeomFromEWKT('SRID=4674;POINT (-40.129382 -2.841757)'))) / (select extract(epoch from '2026-08-02 09:30:42'::timestamp) - extract(epoch from '2026-08-02 09:30: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'), 48195, 'SRID=4674;POINT (-40.12904 -2.842348)', '2026-08-02 09:31:12', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129382 -2.841757)'), GeomFromEWKT('SRID=4674;POINT (-40.12904 -2.842348)'))) / (select extract(epoch from '2026-08-02 09:31:12'::timestamp) - extract(epoch from '2026-08-02 09:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129382 -2.841757)'), GeomFromEWKT('SRID=4674;POINT (-40.12904 -2.842348)'))) / (select extract(epoch from '2026-08-02 09:31:12'::timestamp) - extract(epoch from '2026-08-02 09: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'), 48195, 'SRID=4674;POINT (-40.128745 -2.843072)', '2026-08-02 09:31:47', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12904 -2.842348)'), GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843072)'))) / (select extract(epoch from '2026-08-02 09:31:47'::timestamp) - extract(epoch from '2026-08-02 09:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12904 -2.842348)'), GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843072)'))) / (select extract(epoch from '2026-08-02 09:31:47'::timestamp) - extract(epoch from '2026-08-02 09:31: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'), 48195, 'SRID=4674;POINT (-40.128431 -2.843687)', '2026-08-02 09:32:17', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843072)'), GeomFromEWKT('SRID=4674;POINT (-40.128431 -2.843687)'))) / (select extract(epoch from '2026-08-02 09:32:17'::timestamp) - extract(epoch from '2026-08-02 09:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843072)'), GeomFromEWKT('SRID=4674;POINT (-40.128431 -2.843687)'))) / (select extract(epoch from '2026-08-02 09:32:17'::timestamp) - extract(epoch from '2026-08-02 09: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'), 48195, 'SRID=4674;POINT (-40.128128 -2.844211)', '2026-08-02 09:32:44', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128431 -2.843687)'), GeomFromEWKT('SRID=4674;POINT (-40.128128 -2.844211)'))) / (select extract(epoch from '2026-08-02 09:32:44'::timestamp) - extract(epoch from '2026-08-02 09:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128431 -2.843687)'), GeomFromEWKT('SRID=4674;POINT (-40.128128 -2.844211)'))) / (select extract(epoch from '2026-08-02 09:32:44'::timestamp) - extract(epoch from '2026-08-02 09:32: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'), 48195, 'SRID=4674;POINT (-40.12786 -2.844783)', '2026-08-02 09:33:13', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128128 -2.844211)'), GeomFromEWKT('SRID=4674;POINT (-40.12786 -2.844783)'))) / (select extract(epoch from '2026-08-02 09:33:13'::timestamp) - extract(epoch from '2026-08-02 09:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128128 -2.844211)'), GeomFromEWKT('SRID=4674;POINT (-40.12786 -2.844783)'))) / (select extract(epoch from '2026-08-02 09:33:13'::timestamp) - extract(epoch from '2026-08-02 09:32: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'), 48195, 'SRID=4674;POINT (-40.127617 -2.845197)', '2026-08-02 09:33:36', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12786 -2.844783)'), GeomFromEWKT('SRID=4674;POINT (-40.127617 -2.845197)'))) / (select extract(epoch from '2026-08-02 09:33:36'::timestamp) - extract(epoch from '2026-08-02 09:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12786 -2.844783)'), GeomFromEWKT('SRID=4674;POINT (-40.127617 -2.845197)'))) / (select extract(epoch from '2026-08-02 09:33:36'::timestamp) - extract(epoch from '2026-08-02 09:33: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'), 48195, 'SRID=4674;POINT (-40.127325 -2.845728)', '2026-08-02 09:34:06', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127617 -2.845197)'), GeomFromEWKT('SRID=4674;POINT (-40.127325 -2.845728)'))) / (select extract(epoch from '2026-08-02 09:34:06'::timestamp) - extract(epoch from '2026-08-02 09:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127617 -2.845197)'), GeomFromEWKT('SRID=4674;POINT (-40.127325 -2.845728)'))) / (select extract(epoch from '2026-08-02 09:34:06'::timestamp) - extract(epoch from '2026-08-02 09:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.127182 -2.846132)', '2026-08-02 09:34:28', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127325 -2.845728)'), GeomFromEWKT('SRID=4674;POINT (-40.127182 -2.846132)'))) / (select extract(epoch from '2026-08-02 09:34:28'::timestamp) - extract(epoch from '2026-08-02 09:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127325 -2.845728)'), GeomFromEWKT('SRID=4674;POINT (-40.127182 -2.846132)'))) / (select extract(epoch from '2026-08-02 09:34:28'::timestamp) - extract(epoch from '2026-08-02 09:34: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'), 48195, 'SRID=4674;POINT (-40.127015 -2.846653)', '2026-08-02 09:34:54', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127182 -2.846132)'), GeomFromEWKT('SRID=4674;POINT (-40.127015 -2.846653)'))) / (select extract(epoch from '2026-08-02 09:34:54'::timestamp) - extract(epoch from '2026-08-02 09:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127182 -2.846132)'), GeomFromEWKT('SRID=4674;POINT (-40.127015 -2.846653)'))) / (select extract(epoch from '2026-08-02 09:34:54'::timestamp) - extract(epoch from '2026-08-02 09:34: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'), 48195, 'SRID=4674;POINT (-40.126904 -2.847312)', '2026-08-02 09:35:27', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127015 -2.846653)'), GeomFromEWKT('SRID=4674;POINT (-40.126904 -2.847312)'))) / (select extract(epoch from '2026-08-02 09:35:27'::timestamp) - extract(epoch from '2026-08-02 09:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127015 -2.846653)'), GeomFromEWKT('SRID=4674;POINT (-40.126904 -2.847312)'))) / (select extract(epoch from '2026-08-02 09:35:27'::timestamp) - extract(epoch from '2026-08-02 09:34: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'), 48195, 'SRID=4674;POINT (-40.126809 -2.847807)', '2026-08-02 09:35:52', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126904 -2.847312)'), GeomFromEWKT('SRID=4674;POINT (-40.126809 -2.847807)'))) / (select extract(epoch from '2026-08-02 09:35:52'::timestamp) - extract(epoch from '2026-08-02 09:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126904 -2.847312)'), GeomFromEWKT('SRID=4674;POINT (-40.126809 -2.847807)'))) / (select extract(epoch from '2026-08-02 09:35:52'::timestamp) - extract(epoch from '2026-08-02 09:35: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'), 48195, 'SRID=4674;POINT (-40.126746 -2.848244)', '2026-08-02 09:36:16', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126809 -2.847807)'), GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848244)'))) / (select extract(epoch from '2026-08-02 09:36:16'::timestamp) - extract(epoch from '2026-08-02 09:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126809 -2.847807)'), GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848244)'))) / (select extract(epoch from '2026-08-02 09:36:16'::timestamp) - extract(epoch from '2026-08-02 09:35: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'), 48195, 'SRID=4674;POINT (-40.126884 -2.848646)', '2026-08-02 09:36:39', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848244)'), GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848646)'))) / (select extract(epoch from '2026-08-02 09:36:39'::timestamp) - extract(epoch from '2026-08-02 09:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848244)'), GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848646)'))) / (select extract(epoch from '2026-08-02 09:36:39'::timestamp) - extract(epoch from '2026-08-02 09:36: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'), 48195, 'SRID=4674;POINT (-40.12714 -2.848939)', '2026-08-02 09:37:01', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848646)'), GeomFromEWKT('SRID=4674;POINT (-40.12714 -2.848939)'))) / (select extract(epoch from '2026-08-02 09:37:01'::timestamp) - extract(epoch from '2026-08-02 09:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848646)'), GeomFromEWKT('SRID=4674;POINT (-40.12714 -2.848939)'))) / (select extract(epoch from '2026-08-02 09:37:01'::timestamp) - extract(epoch from '2026-08-02 09:36: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'), 48195, 'SRID=4674;POINT (-40.127357 -2.849267)', '2026-08-02 09:37:22', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12714 -2.848939)'), GeomFromEWKT('SRID=4674;POINT (-40.127357 -2.849267)'))) / (select extract(epoch from '2026-08-02 09:37:22'::timestamp) - extract(epoch from '2026-08-02 09:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12714 -2.848939)'), GeomFromEWKT('SRID=4674;POINT (-40.127357 -2.849267)'))) / (select extract(epoch from '2026-08-02 09:37:22'::timestamp) - extract(epoch from '2026-08-02 09:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48195, 'SRID=4674;POINT (-40.127762 -2.849627)', '2026-08-02 09:37:55', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127357 -2.849267)'), GeomFromEWKT('SRID=4674;POINT (-40.127762 -2.849627)'))) / (select extract(epoch from '2026-08-02 09:37:55'::timestamp) - extract(epoch from '2026-08-02 09:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127357 -2.849267)'), GeomFromEWKT('SRID=4674;POINT (-40.127762 -2.849627)'))) / (select extract(epoch from '2026-08-02 09:37:55'::timestamp) - extract(epoch from '2026-08-02 09:37: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'), 48195, 'SRID=4674;POINT (-40.128119 -2.849819)', '2026-08-02 09:38:21', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127762 -2.849627)'), GeomFromEWKT('SRID=4674;POINT (-40.128119 -2.849819)'))) / (select extract(epoch from '2026-08-02 09:38:21'::timestamp) - extract(epoch from '2026-08-02 09:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127762 -2.849627)'), GeomFromEWKT('SRID=4674;POINT (-40.128119 -2.849819)'))) / (select extract(epoch from '2026-08-02 09:38:21'::timestamp) - extract(epoch from '2026-08-02 09:37: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'), 48195, 'SRID=4674;POINT (-40.128288 -2.849862)', '2026-08-02 09:38:43', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128119 -2.849819)'), GeomFromEWKT('SRID=4674;POINT (-40.128288 -2.849862)'))) / (select extract(epoch from '2026-08-02 09:38:43'::timestamp) - extract(epoch from '2026-08-02 09:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128119 -2.849819)'), GeomFromEWKT('SRID=4674;POINT (-40.128288 -2.849862)'))) / (select extract(epoch from '2026-08-02 09:38:43'::timestamp) - extract(epoch from '2026-08-02 09:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
