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'), 46943, 'SRID=4674;POINT (-40.039268 -2.838797)', '2026-06-20 10:53:17', 0, 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'), 46943, 'SRID=4674;POINT (-40.039323 -2.838692)', '2026-06-20 10:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039268 -2.838797)'), GeomFromEWKT('SRID=4674;POINT (-40.039323 -2.838692)'))) / (select extract(epoch from '2026-06-20 10:53:23'::timestamp) - extract(epoch from '2026-06-20 10:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039268 -2.838797)'), GeomFromEWKT('SRID=4674;POINT (-40.039323 -2.838692)'))) / (select extract(epoch from '2026-06-20 10:53:23'::timestamp) - extract(epoch from '2026-06-20 10:53: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'), 46943, 'SRID=4674;POINT (-40.039328 -2.838502)', '2026-06-20 10:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039323 -2.838692)'), GeomFromEWKT('SRID=4674;POINT (-40.039328 -2.838502)'))) / (select extract(epoch from '2026-06-20 10:53:33'::timestamp) - extract(epoch from '2026-06-20 10:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039323 -2.838692)'), GeomFromEWKT('SRID=4674;POINT (-40.039328 -2.838502)'))) / (select extract(epoch from '2026-06-20 10:53:33'::timestamp) - extract(epoch from '2026-06-20 10:53: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'), 46943, 'SRID=4674;POINT (-40.039261 -2.838324)', '2026-06-20 10:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039328 -2.838502)'), GeomFromEWKT('SRID=4674;POINT (-40.039261 -2.838324)'))) / (select extract(epoch from '2026-06-20 10:53:43'::timestamp) - extract(epoch from '2026-06-20 10:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039328 -2.838502)'), GeomFromEWKT('SRID=4674;POINT (-40.039261 -2.838324)'))) / (select extract(epoch from '2026-06-20 10:53:43'::timestamp) - extract(epoch from '2026-06-20 10:53: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'), 46943, 'SRID=4674;POINT (-40.039235 -2.838209)', '2026-06-20 10:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039261 -2.838324)'), GeomFromEWKT('SRID=4674;POINT (-40.039235 -2.838209)'))) / (select extract(epoch from '2026-06-20 10:53:49'::timestamp) - extract(epoch from '2026-06-20 10:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039261 -2.838324)'), GeomFromEWKT('SRID=4674;POINT (-40.039235 -2.838209)'))) / (select extract(epoch from '2026-06-20 10:53:49'::timestamp) - extract(epoch from '2026-06-20 10:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039272 -2.83806)', '2026-06-20 10:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039235 -2.838209)'), GeomFromEWKT('SRID=4674;POINT (-40.039272 -2.83806)'))) / (select extract(epoch from '2026-06-20 10:53:57'::timestamp) - extract(epoch from '2026-06-20 10:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039235 -2.838209)'), GeomFromEWKT('SRID=4674;POINT (-40.039272 -2.83806)'))) / (select extract(epoch from '2026-06-20 10:53:57'::timestamp) - extract(epoch from '2026-06-20 10:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039372 -2.837853)', '2026-06-20 10:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039272 -2.83806)'), GeomFromEWKT('SRID=4674;POINT (-40.039372 -2.837853)'))) / (select extract(epoch from '2026-06-20 10:54:09'::timestamp) - extract(epoch from '2026-06-20 10:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039272 -2.83806)'), GeomFromEWKT('SRID=4674;POINT (-40.039372 -2.837853)'))) / (select extract(epoch from '2026-06-20 10:54:09'::timestamp) - extract(epoch from '2026-06-20 10:53: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'), 46943, 'SRID=4674;POINT (-40.039472 -2.837666)', '2026-06-20 10:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039372 -2.837853)'), GeomFromEWKT('SRID=4674;POINT (-40.039472 -2.837666)'))) / (select extract(epoch from '2026-06-20 10:54:20'::timestamp) - extract(epoch from '2026-06-20 10:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039372 -2.837853)'), GeomFromEWKT('SRID=4674;POINT (-40.039472 -2.837666)'))) / (select extract(epoch from '2026-06-20 10:54:20'::timestamp) - extract(epoch from '2026-06-20 10:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039555 -2.837449)', '2026-06-20 10:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039472 -2.837666)'), GeomFromEWKT('SRID=4674;POINT (-40.039555 -2.837449)'))) / (select extract(epoch from '2026-06-20 10:54:32'::timestamp) - extract(epoch from '2026-06-20 10:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039472 -2.837666)'), GeomFromEWKT('SRID=4674;POINT (-40.039555 -2.837449)'))) / (select extract(epoch from '2026-06-20 10:54:32'::timestamp) - extract(epoch from '2026-06-20 10:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039598 -2.837158)', '2026-06-20 10:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039555 -2.837449)'), GeomFromEWKT('SRID=4674;POINT (-40.039598 -2.837158)'))) / (select extract(epoch from '2026-06-20 10:54:47'::timestamp) - extract(epoch from '2026-06-20 10:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039555 -2.837449)'), GeomFromEWKT('SRID=4674;POINT (-40.039598 -2.837158)'))) / (select extract(epoch from '2026-06-20 10:54:47'::timestamp) - extract(epoch from '2026-06-20 10:54: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'), 46943, 'SRID=4674;POINT (-40.039635 -2.836881)', '2026-06-20 10:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039598 -2.837158)'), GeomFromEWKT('SRID=4674;POINT (-40.039635 -2.836881)'))) / (select extract(epoch from '2026-06-20 10:55:01'::timestamp) - extract(epoch from '2026-06-20 10:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039598 -2.837158)'), GeomFromEWKT('SRID=4674;POINT (-40.039635 -2.836881)'))) / (select extract(epoch from '2026-06-20 10:55:01'::timestamp) - extract(epoch from '2026-06-20 10:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.03968 -2.83679)', '2026-06-20 10:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039635 -2.836881)'), GeomFromEWKT('SRID=4674;POINT (-40.03968 -2.83679)'))) / (select extract(epoch from '2026-06-20 10:55:06'::timestamp) - extract(epoch from '2026-06-20 10:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039635 -2.836881)'), GeomFromEWKT('SRID=4674;POINT (-40.03968 -2.83679)'))) / (select extract(epoch from '2026-06-20 10:55:06'::timestamp) - extract(epoch from '2026-06-20 10:55: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'), 46943, 'SRID=4674;POINT (-40.039747 -2.836631)', '2026-06-20 10:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03968 -2.83679)'), GeomFromEWKT('SRID=4674;POINT (-40.039747 -2.836631)'))) / (select extract(epoch from '2026-06-20 10:55:15'::timestamp) - extract(epoch from '2026-06-20 10:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03968 -2.83679)'), GeomFromEWKT('SRID=4674;POINT (-40.039747 -2.836631)'))) / (select extract(epoch from '2026-06-20 10:55:15'::timestamp) - extract(epoch from '2026-06-20 10:55: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'), 46943, 'SRID=4674;POINT (-40.039807 -2.83638)', '2026-06-20 10:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039747 -2.836631)'), GeomFromEWKT('SRID=4674;POINT (-40.039807 -2.83638)'))) / (select extract(epoch from '2026-06-20 10:55:28'::timestamp) - extract(epoch from '2026-06-20 10:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039747 -2.836631)'), GeomFromEWKT('SRID=4674;POINT (-40.039807 -2.83638)'))) / (select extract(epoch from '2026-06-20 10:55:28'::timestamp) - extract(epoch from '2026-06-20 10:55: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'), 46943, 'SRID=4674;POINT (-40.039832 -2.836163)', '2026-06-20 10:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039807 -2.83638)'), GeomFromEWKT('SRID=4674;POINT (-40.039832 -2.836163)'))) / (select extract(epoch from '2026-06-20 10:55:39'::timestamp) - extract(epoch from '2026-06-20 10:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039807 -2.83638)'), GeomFromEWKT('SRID=4674;POINT (-40.039832 -2.836163)'))) / (select extract(epoch from '2026-06-20 10:55:39'::timestamp) - extract(epoch from '2026-06-20 10:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039829 -2.835942)', '2026-06-20 10:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039832 -2.836163)'), GeomFromEWKT('SRID=4674;POINT (-40.039829 -2.835942)'))) / (select extract(epoch from '2026-06-20 10:55:50'::timestamp) - extract(epoch from '2026-06-20 10:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039832 -2.836163)'), GeomFromEWKT('SRID=4674;POINT (-40.039829 -2.835942)'))) / (select extract(epoch from '2026-06-20 10:55:50'::timestamp) - extract(epoch from '2026-06-20 10:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.039893 -2.835645)', '2026-06-20 10:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039829 -2.835942)'), GeomFromEWKT('SRID=4674;POINT (-40.039893 -2.835645)'))) / (select extract(epoch from '2026-06-20 10:56:05'::timestamp) - extract(epoch from '2026-06-20 10:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039829 -2.835942)'), GeomFromEWKT('SRID=4674;POINT (-40.039893 -2.835645)'))) / (select extract(epoch from '2026-06-20 10:56:05'::timestamp) - extract(epoch from '2026-06-20 10:55: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'), 46943, 'SRID=4674;POINT (-40.039954 -2.835451)', '2026-06-20 10:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039893 -2.835645)'), GeomFromEWKT('SRID=4674;POINT (-40.039954 -2.835451)'))) / (select extract(epoch from '2026-06-20 10:56:15'::timestamp) - extract(epoch from '2026-06-20 10:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039893 -2.835645)'), GeomFromEWKT('SRID=4674;POINT (-40.039954 -2.835451)'))) / (select extract(epoch from '2026-06-20 10:56:15'::timestamp) - extract(epoch from '2026-06-20 10:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040023 -2.835172)', '2026-06-20 10:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039954 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.040023 -2.835172)'))) / (select extract(epoch from '2026-06-20 10:56:29'::timestamp) - extract(epoch from '2026-06-20 10:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039954 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.040023 -2.835172)'))) / (select extract(epoch from '2026-06-20 10:56:29'::timestamp) - extract(epoch from '2026-06-20 10:56: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'), 46943, 'SRID=4674;POINT (-40.040073 -2.834933)', '2026-06-20 10:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040023 -2.835172)'), GeomFromEWKT('SRID=4674;POINT (-40.040073 -2.834933)'))) / (select extract(epoch from '2026-06-20 10:56:41'::timestamp) - extract(epoch from '2026-06-20 10:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040023 -2.835172)'), GeomFromEWKT('SRID=4674;POINT (-40.040073 -2.834933)'))) / (select extract(epoch from '2026-06-20 10:56:41'::timestamp) - extract(epoch from '2026-06-20 10:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040113 -2.834697)', '2026-06-20 10:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040073 -2.834933)'), GeomFromEWKT('SRID=4674;POINT (-40.040113 -2.834697)'))) / (select extract(epoch from '2026-06-20 10:56:52'::timestamp) - extract(epoch from '2026-06-20 10:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040073 -2.834933)'), GeomFromEWKT('SRID=4674;POINT (-40.040113 -2.834697)'))) / (select extract(epoch from '2026-06-20 10:56:52'::timestamp) - extract(epoch from '2026-06-20 10: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'), 46943, 'SRID=4674;POINT (-40.040186 -2.834265)', '2026-06-20 10:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040113 -2.834697)'), GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.834265)'))) / (select extract(epoch from '2026-06-20 10:57:11'::timestamp) - extract(epoch from '2026-06-20 10:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040113 -2.834697)'), GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.834265)'))) / (select extract(epoch from '2026-06-20 10:57:11'::timestamp) - extract(epoch from '2026-06-20 10:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040291 -2.833916)', '2026-06-20 10:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.834265)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.833916)'))) / (select extract(epoch from '2026-06-20 10:57:27'::timestamp) - extract(epoch from '2026-06-20 10:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040186 -2.834265)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.833916)'))) / (select extract(epoch from '2026-06-20 10:57:27'::timestamp) - extract(epoch from '2026-06-20 10:57: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'), 46943, 'SRID=4674;POINT (-40.040407 -2.833551)', '2026-06-20 10:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.833916)'), GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.833551)'))) / (select extract(epoch from '2026-06-20 10:57:44'::timestamp) - extract(epoch from '2026-06-20 10:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.833916)'), GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.833551)'))) / (select extract(epoch from '2026-06-20 10:57:44'::timestamp) - extract(epoch from '2026-06-20 10:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04049 -2.833223)', '2026-06-20 10:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.833551)'), GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.833223)'))) / (select extract(epoch from '2026-06-20 10:57:59'::timestamp) - extract(epoch from '2026-06-20 10:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.833551)'), GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.833223)'))) / (select extract(epoch from '2026-06-20 10:57:59'::timestamp) - extract(epoch from '2026-06-20 10:57: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'), 46943, 'SRID=4674;POINT (-40.040549 -2.832982)', '2026-06-20 10:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.833223)'), GeomFromEWKT('SRID=4674;POINT (-40.040549 -2.832982)'))) / (select extract(epoch from '2026-06-20 10:58:10'::timestamp) - extract(epoch from '2026-06-20 10:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.833223)'), GeomFromEWKT('SRID=4674;POINT (-40.040549 -2.832982)'))) / (select extract(epoch from '2026-06-20 10:58:10'::timestamp) - extract(epoch from '2026-06-20 10:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040563 -2.832737)', '2026-06-20 10:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040549 -2.832982)'), GeomFromEWKT('SRID=4674;POINT (-40.040563 -2.832737)'))) / (select extract(epoch from '2026-06-20 10:58:21'::timestamp) - extract(epoch from '2026-06-20 10:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040549 -2.832982)'), GeomFromEWKT('SRID=4674;POINT (-40.040563 -2.832737)'))) / (select extract(epoch from '2026-06-20 10:58:21'::timestamp) - extract(epoch from '2026-06-20 10:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.0406 -2.832468)', '2026-06-20 10:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040563 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.0406 -2.832468)'))) / (select extract(epoch from '2026-06-20 10:58:33'::timestamp) - extract(epoch from '2026-06-20 10:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040563 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.0406 -2.832468)'))) / (select extract(epoch from '2026-06-20 10:58:33'::timestamp) - extract(epoch from '2026-06-20 10:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040627 -2.832247)', '2026-06-20 10:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0406 -2.832468)'), GeomFromEWKT('SRID=4674;POINT (-40.040627 -2.832247)'))) / (select extract(epoch from '2026-06-20 10:58:43'::timestamp) - extract(epoch from '2026-06-20 10:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0406 -2.832468)'), GeomFromEWKT('SRID=4674;POINT (-40.040627 -2.832247)'))) / (select extract(epoch from '2026-06-20 10:58:43'::timestamp) - extract(epoch from '2026-06-20 10:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040646 -2.831911)', '2026-06-20 10:58:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040627 -2.832247)'), GeomFromEWKT('SRID=4674;POINT (-40.040646 -2.831911)'))) / (select extract(epoch from '2026-06-20 10:58:58'::timestamp) - extract(epoch from '2026-06-20 10:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040627 -2.832247)'), GeomFromEWKT('SRID=4674;POINT (-40.040646 -2.831911)'))) / (select extract(epoch from '2026-06-20 10:58:58'::timestamp) - extract(epoch from '2026-06-20 10:58: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'), 46943, 'SRID=4674;POINT (-40.040677 -2.831662)', '2026-06-20 10:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040646 -2.831911)'), GeomFromEWKT('SRID=4674;POINT (-40.040677 -2.831662)'))) / (select extract(epoch from '2026-06-20 10:59:09'::timestamp) - extract(epoch from '2026-06-20 10:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040646 -2.831911)'), GeomFromEWKT('SRID=4674;POINT (-40.040677 -2.831662)'))) / (select extract(epoch from '2026-06-20 10:59:09'::timestamp) - extract(epoch from '2026-06-20 10:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040766 -2.831357)', '2026-06-20 10:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040677 -2.831662)'), GeomFromEWKT('SRID=4674;POINT (-40.040766 -2.831357)'))) / (select extract(epoch from '2026-06-20 10:59:23'::timestamp) - extract(epoch from '2026-06-20 10:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040677 -2.831662)'), GeomFromEWKT('SRID=4674;POINT (-40.040766 -2.831357)'))) / (select extract(epoch from '2026-06-20 10:59:23'::timestamp) - extract(epoch from '2026-06-20 10:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.040827 -2.831144)', '2026-06-20 10:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040766 -2.831357)'), GeomFromEWKT('SRID=4674;POINT (-40.040827 -2.831144)'))) / (select extract(epoch from '2026-06-20 10:59:33'::timestamp) - extract(epoch from '2026-06-20 10:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040766 -2.831357)'), GeomFromEWKT('SRID=4674;POINT (-40.040827 -2.831144)'))) / (select extract(epoch from '2026-06-20 10:59:33'::timestamp) - extract(epoch from '2026-06-20 10:59: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'), 46943, 'SRID=4674;POINT (-40.040919 -2.830837)', '2026-06-20 10:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040827 -2.831144)'), GeomFromEWKT('SRID=4674;POINT (-40.040919 -2.830837)'))) / (select extract(epoch from '2026-06-20 10:59:47'::timestamp) - extract(epoch from '2026-06-20 10:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040827 -2.831144)'), GeomFromEWKT('SRID=4674;POINT (-40.040919 -2.830837)'))) / (select extract(epoch from '2026-06-20 10:59:47'::timestamp) - extract(epoch from '2026-06-20 10:59: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'), 46943, 'SRID=4674;POINT (-40.040989 -2.830623)', '2026-06-20 10:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040919 -2.830837)'), GeomFromEWKT('SRID=4674;POINT (-40.040989 -2.830623)'))) / (select extract(epoch from '2026-06-20 10:59:57'::timestamp) - extract(epoch from '2026-06-20 10:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040919 -2.830837)'), GeomFromEWKT('SRID=4674;POINT (-40.040989 -2.830623)'))) / (select extract(epoch from '2026-06-20 10:59:57'::timestamp) - extract(epoch from '2026-06-20 10:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041049 -2.83041)', '2026-06-20 11:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040989 -2.830623)'), GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.83041)'))) / (select extract(epoch from '2026-06-20 11:00:07'::timestamp) - extract(epoch from '2026-06-20 10:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040989 -2.830623)'), GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.83041)'))) / (select extract(epoch from '2026-06-20 11:00:07'::timestamp) - extract(epoch from '2026-06-20 10:59: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'), 46943, 'SRID=4674;POINT (-40.041111 -2.830216)', '2026-06-20 11:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.83041)'), GeomFromEWKT('SRID=4674;POINT (-40.041111 -2.830216)'))) / (select extract(epoch from '2026-06-20 11:00:16'::timestamp) - extract(epoch from '2026-06-20 11:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041049 -2.83041)'), GeomFromEWKT('SRID=4674;POINT (-40.041111 -2.830216)'))) / (select extract(epoch from '2026-06-20 11:00:16'::timestamp) - extract(epoch from '2026-06-20 11:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041171 -2.829957)', '2026-06-20 11:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041111 -2.830216)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.829957)'))) / (select extract(epoch from '2026-06-20 11:00:28'::timestamp) - extract(epoch from '2026-06-20 11:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041111 -2.830216)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.829957)'))) / (select extract(epoch from '2026-06-20 11:00:28'::timestamp) - extract(epoch from '2026-06-20 11:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041217 -2.82967)', '2026-06-20 11:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.829957)'), GeomFromEWKT('SRID=4674;POINT (-40.041217 -2.82967)'))) / (select extract(epoch from '2026-06-20 11:00:41'::timestamp) - extract(epoch from '2026-06-20 11:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.829957)'), GeomFromEWKT('SRID=4674;POINT (-40.041217 -2.82967)'))) / (select extract(epoch from '2026-06-20 11:00:41'::timestamp) - extract(epoch from '2026-06-20 11:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041291 -2.829393)', '2026-06-20 11:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041217 -2.82967)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.829393)'))) / (select extract(epoch from '2026-06-20 11:00:54'::timestamp) - extract(epoch from '2026-06-20 11:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041217 -2.82967)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.829393)'))) / (select extract(epoch from '2026-06-20 11:00:54'::timestamp) - extract(epoch from '2026-06-20 11:00: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'), 46943, 'SRID=4674;POINT (-40.041361 -2.829212)', '2026-06-20 11:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.829393)'), GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.829212)'))) / (select extract(epoch from '2026-06-20 11:01:03'::timestamp) - extract(epoch from '2026-06-20 11:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.829393)'), GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.829212)'))) / (select extract(epoch from '2026-06-20 11:01:03'::timestamp) - extract(epoch from '2026-06-20 11:00: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'), 46943, 'SRID=4674;POINT (-40.041433 -2.828939)', '2026-06-20 11:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.829212)'), GeomFromEWKT('SRID=4674;POINT (-40.041433 -2.828939)'))) / (select extract(epoch from '2026-06-20 11:01:16'::timestamp) - extract(epoch from '2026-06-20 11:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.829212)'), GeomFromEWKT('SRID=4674;POINT (-40.041433 -2.828939)'))) / (select extract(epoch from '2026-06-20 11:01:16'::timestamp) - extract(epoch from '2026-06-20 11:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041489 -2.828726)', '2026-06-20 11:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041433 -2.828939)'), GeomFromEWKT('SRID=4674;POINT (-40.041489 -2.828726)'))) / (select extract(epoch from '2026-06-20 11:01:26'::timestamp) - extract(epoch from '2026-06-20 11:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041433 -2.828939)'), GeomFromEWKT('SRID=4674;POINT (-40.041489 -2.828726)'))) / (select extract(epoch from '2026-06-20 11:01:26'::timestamp) - extract(epoch from '2026-06-20 11:01: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'), 46943, 'SRID=4674;POINT (-40.041539 -2.828515)', '2026-06-20 11:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041489 -2.828726)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.828515)'))) / (select extract(epoch from '2026-06-20 11:01:36'::timestamp) - extract(epoch from '2026-06-20 11:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041489 -2.828726)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.828515)'))) / (select extract(epoch from '2026-06-20 11:01:36'::timestamp) - extract(epoch from '2026-06-20 11:01: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'), 46943, 'SRID=4674;POINT (-40.041573 -2.828259)', '2026-06-20 11:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.828515)'), GeomFromEWKT('SRID=4674;POINT (-40.041573 -2.828259)'))) / (select extract(epoch from '2026-06-20 11:01:48'::timestamp) - extract(epoch from '2026-06-20 11:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.828515)'), GeomFromEWKT('SRID=4674;POINT (-40.041573 -2.828259)'))) / (select extract(epoch from '2026-06-20 11:01:48'::timestamp) - extract(epoch from '2026-06-20 11:01: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'), 46943, 'SRID=4674;POINT (-40.041629 -2.828003)', '2026-06-20 11:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041573 -2.828259)'), GeomFromEWKT('SRID=4674;POINT (-40.041629 -2.828003)'))) / (select extract(epoch from '2026-06-20 11:02:00'::timestamp) - extract(epoch from '2026-06-20 11:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041573 -2.828259)'), GeomFromEWKT('SRID=4674;POINT (-40.041629 -2.828003)'))) / (select extract(epoch from '2026-06-20 11:02:00'::timestamp) - extract(epoch from '2026-06-20 11:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041672 -2.827769)', '2026-06-20 11:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041629 -2.828003)'), GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.827769)'))) / (select extract(epoch from '2026-06-20 11:02:11'::timestamp) - extract(epoch from '2026-06-20 11:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041629 -2.828003)'), GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.827769)'))) / (select extract(epoch from '2026-06-20 11:02:11'::timestamp) - extract(epoch from '2026-06-20 11:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041706 -2.827556)', '2026-06-20 11:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.827769)'), GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.827556)'))) / (select extract(epoch from '2026-06-20 11:02:21'::timestamp) - extract(epoch from '2026-06-20 11:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.827769)'), GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.827556)'))) / (select extract(epoch from '2026-06-20 11:02:21'::timestamp) - extract(epoch from '2026-06-20 11:02: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'), 46943, 'SRID=4674;POINT (-40.041728 -2.827429)', '2026-06-20 11:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.827556)'), GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.827429)'))) / (select extract(epoch from '2026-06-20 11:02:27'::timestamp) - extract(epoch from '2026-06-20 11:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.827556)'), GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.827429)'))) / (select extract(epoch from '2026-06-20 11:02:27'::timestamp) - extract(epoch from '2026-06-20 11:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041774 -2.827151)', '2026-06-20 11:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.827429)'), GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.827151)'))) / (select extract(epoch from '2026-06-20 11:02:40'::timestamp) - extract(epoch from '2026-06-20 11:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.827429)'), GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.827151)'))) / (select extract(epoch from '2026-06-20 11:02:40'::timestamp) - extract(epoch from '2026-06-20 11:02: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'), 46943, 'SRID=4674;POINT (-40.04179 -2.826875)', '2026-06-20 11:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.827151)'), GeomFromEWKT('SRID=4674;POINT (-40.04179 -2.826875)'))) / (select extract(epoch from '2026-06-20 11:02:53'::timestamp) - extract(epoch from '2026-06-20 11:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.827151)'), GeomFromEWKT('SRID=4674;POINT (-40.04179 -2.826875)'))) / (select extract(epoch from '2026-06-20 11:02:53'::timestamp) - extract(epoch from '2026-06-20 11:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041793 -2.826642)', '2026-06-20 11:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04179 -2.826875)'), GeomFromEWKT('SRID=4674;POINT (-40.041793 -2.826642)'))) / (select extract(epoch from '2026-06-20 11:03:04'::timestamp) - extract(epoch from '2026-06-20 11:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04179 -2.826875)'), GeomFromEWKT('SRID=4674;POINT (-40.041793 -2.826642)'))) / (select extract(epoch from '2026-06-20 11:03:04'::timestamp) - extract(epoch from '2026-06-20 11:02: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'), 46943, 'SRID=4674;POINT (-40.041827 -2.826407)', '2026-06-20 11:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041793 -2.826642)'), GeomFromEWKT('SRID=4674;POINT (-40.041827 -2.826407)'))) / (select extract(epoch from '2026-06-20 11:03:15'::timestamp) - extract(epoch from '2026-06-20 11:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041793 -2.826642)'), GeomFromEWKT('SRID=4674;POINT (-40.041827 -2.826407)'))) / (select extract(epoch from '2026-06-20 11:03:15'::timestamp) - extract(epoch from '2026-06-20 11:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041868 -2.826175)', '2026-06-20 11:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041827 -2.826407)'), GeomFromEWKT('SRID=4674;POINT (-40.041868 -2.826175)'))) / (select extract(epoch from '2026-06-20 11:03:26'::timestamp) - extract(epoch from '2026-06-20 11:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041827 -2.826407)'), GeomFromEWKT('SRID=4674;POINT (-40.041868 -2.826175)'))) / (select extract(epoch from '2026-06-20 11:03:26'::timestamp) - extract(epoch from '2026-06-20 11:03: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'), 46943, 'SRID=4674;POINT (-40.041896 -2.825919)', '2026-06-20 11:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041868 -2.826175)'), GeomFromEWKT('SRID=4674;POINT (-40.041896 -2.825919)'))) / (select extract(epoch from '2026-06-20 11:03:38'::timestamp) - extract(epoch from '2026-06-20 11:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041868 -2.826175)'), GeomFromEWKT('SRID=4674;POINT (-40.041896 -2.825919)'))) / (select extract(epoch from '2026-06-20 11:03:38'::timestamp) - extract(epoch from '2026-06-20 11:03: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'), 46943, 'SRID=4674;POINT (-40.041932 -2.825666)', '2026-06-20 11:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041896 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.041932 -2.825666)'))) / (select extract(epoch from '2026-06-20 11:03:50'::timestamp) - extract(epoch from '2026-06-20 11:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041896 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.041932 -2.825666)'))) / (select extract(epoch from '2026-06-20 11:03:50'::timestamp) - extract(epoch from '2026-06-20 11:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.041953 -2.825452)', '2026-06-20 11:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041932 -2.825666)'), GeomFromEWKT('SRID=4674;POINT (-40.041953 -2.825452)'))) / (select extract(epoch from '2026-06-20 11:04:00'::timestamp) - extract(epoch from '2026-06-20 11:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041932 -2.825666)'), GeomFromEWKT('SRID=4674;POINT (-40.041953 -2.825452)'))) / (select extract(epoch from '2026-06-20 11:04:00'::timestamp) - extract(epoch from '2026-06-20 11:03: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'), 46943, 'SRID=4674;POINT (-40.041974 -2.82526)', '2026-06-20 11:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041953 -2.825452)'), GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.82526)'))) / (select extract(epoch from '2026-06-20 11:04:09'::timestamp) - extract(epoch from '2026-06-20 11:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041953 -2.825452)'), GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.82526)'))) / (select extract(epoch from '2026-06-20 11:04:09'::timestamp) - extract(epoch from '2026-06-20 11:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042016 -2.825006)', '2026-06-20 11:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.82526)'), GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.825006)'))) / (select extract(epoch from '2026-06-20 11:04:21'::timestamp) - extract(epoch from '2026-06-20 11:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.82526)'), GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.825006)'))) / (select extract(epoch from '2026-06-20 11:04:21'::timestamp) - extract(epoch from '2026-06-20 11:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042061 -2.824713)', '2026-06-20 11:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.825006)'), GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.824713)'))) / (select extract(epoch from '2026-06-20 11:04:35'::timestamp) - extract(epoch from '2026-06-20 11:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.825006)'), GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.824713)'))) / (select extract(epoch from '2026-06-20 11:04:35'::timestamp) - extract(epoch from '2026-06-20 11:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042067 -2.824521)', '2026-06-20 11:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.824713)'), GeomFromEWKT('SRID=4674;POINT (-40.042067 -2.824521)'))) / (select extract(epoch from '2026-06-20 11:04:44'::timestamp) - extract(epoch from '2026-06-20 11:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.824713)'), GeomFromEWKT('SRID=4674;POINT (-40.042067 -2.824521)'))) / (select extract(epoch from '2026-06-20 11:04:44'::timestamp) - extract(epoch from '2026-06-20 11:04: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'), 46943, 'SRID=4674;POINT (-40.042103 -2.824267)', '2026-06-20 11:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042067 -2.824521)'), GeomFromEWKT('SRID=4674;POINT (-40.042103 -2.824267)'))) / (select extract(epoch from '2026-06-20 11:04:56'::timestamp) - extract(epoch from '2026-06-20 11:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042067 -2.824521)'), GeomFromEWKT('SRID=4674;POINT (-40.042103 -2.824267)'))) / (select extract(epoch from '2026-06-20 11:04:56'::timestamp) - extract(epoch from '2026-06-20 11:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042144 -2.824061)', '2026-06-20 11:05:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042103 -2.824267)'), GeomFromEWKT('SRID=4674;POINT (-40.042144 -2.824061)'))) / (select extract(epoch from '2026-06-20 11:05:06'::timestamp) - extract(epoch from '2026-06-20 11:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042103 -2.824267)'), GeomFromEWKT('SRID=4674;POINT (-40.042144 -2.824061)'))) / (select extract(epoch from '2026-06-20 11:05:06'::timestamp) - extract(epoch from '2026-06-20 11:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042169 -2.823848)', '2026-06-20 11:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042144 -2.824061)'), GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.823848)'))) / (select extract(epoch from '2026-06-20 11:05:16'::timestamp) - extract(epoch from '2026-06-20 11:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042144 -2.824061)'), GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.823848)'))) / (select extract(epoch from '2026-06-20 11:05:16'::timestamp) - extract(epoch from '2026-06-20 11:05: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'), 46943, 'SRID=4674;POINT (-40.042207 -2.823595)', '2026-06-20 11:05:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.823848)'), GeomFromEWKT('SRID=4674;POINT (-40.042207 -2.823595)'))) / (select extract(epoch from '2026-06-20 11:05:28'::timestamp) - extract(epoch from '2026-06-20 11:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.823848)'), GeomFromEWKT('SRID=4674;POINT (-40.042207 -2.823595)'))) / (select extract(epoch from '2026-06-20 11:05:28'::timestamp) - extract(epoch from '2026-06-20 11:05: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'), 46943, 'SRID=4674;POINT (-40.042274 -2.823322)', '2026-06-20 11:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042207 -2.823595)'), GeomFromEWKT('SRID=4674;POINT (-40.042274 -2.823322)'))) / (select extract(epoch from '2026-06-20 11:05:41'::timestamp) - extract(epoch from '2026-06-20 11:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042207 -2.823595)'), GeomFromEWKT('SRID=4674;POINT (-40.042274 -2.823322)'))) / (select extract(epoch from '2026-06-20 11:05:41'::timestamp) - extract(epoch from '2026-06-20 11:05: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'), 46943, 'SRID=4674;POINT (-40.042314 -2.823093)', '2026-06-20 11:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042274 -2.823322)'), GeomFromEWKT('SRID=4674;POINT (-40.042314 -2.823093)'))) / (select extract(epoch from '2026-06-20 11:05:52'::timestamp) - extract(epoch from '2026-06-20 11:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042274 -2.823322)'), GeomFromEWKT('SRID=4674;POINT (-40.042314 -2.823093)'))) / (select extract(epoch from '2026-06-20 11:05:52'::timestamp) - extract(epoch from '2026-06-20 11:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042338 -2.822858)', '2026-06-20 11:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042314 -2.823093)'), GeomFromEWKT('SRID=4674;POINT (-40.042338 -2.822858)'))) / (select extract(epoch from '2026-06-20 11:06:03'::timestamp) - extract(epoch from '2026-06-20 11:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042314 -2.823093)'), GeomFromEWKT('SRID=4674;POINT (-40.042338 -2.822858)'))) / (select extract(epoch from '2026-06-20 11:06:03'::timestamp) - extract(epoch from '2026-06-20 11:05: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'), 46943, 'SRID=4674;POINT (-40.04238 -2.822555)', '2026-06-20 11:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042338 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.04238 -2.822555)'))) / (select extract(epoch from '2026-06-20 11:06:17'::timestamp) - extract(epoch from '2026-06-20 11:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042338 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.04238 -2.822555)'))) / (select extract(epoch from '2026-06-20 11:06:17'::timestamp) - extract(epoch from '2026-06-20 11:06: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'), 46943, 'SRID=4674;POINT (-40.04242 -2.822386)', '2026-06-20 11:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04238 -2.822555)'), GeomFromEWKT('SRID=4674;POINT (-40.04242 -2.822386)'))) / (select extract(epoch from '2026-06-20 11:06:25'::timestamp) - extract(epoch from '2026-06-20 11:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04238 -2.822555)'), GeomFromEWKT('SRID=4674;POINT (-40.04242 -2.822386)'))) / (select extract(epoch from '2026-06-20 11:06:25'::timestamp) - extract(epoch from '2026-06-20 11:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042468 -2.822152)', '2026-06-20 11:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04242 -2.822386)'), GeomFromEWKT('SRID=4674;POINT (-40.042468 -2.822152)'))) / (select extract(epoch from '2026-06-20 11:06:36'::timestamp) - extract(epoch from '2026-06-20 11:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04242 -2.822386)'), GeomFromEWKT('SRID=4674;POINT (-40.042468 -2.822152)'))) / (select extract(epoch from '2026-06-20 11:06:36'::timestamp) - extract(epoch from '2026-06-20 11:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042486 -2.821981)', '2026-06-20 11:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042468 -2.822152)'), GeomFromEWKT('SRID=4674;POINT (-40.042486 -2.821981)'))) / (select extract(epoch from '2026-06-20 11:06:44'::timestamp) - extract(epoch from '2026-06-20 11:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042468 -2.822152)'), GeomFromEWKT('SRID=4674;POINT (-40.042486 -2.821981)'))) / (select extract(epoch from '2026-06-20 11:06:44'::timestamp) - extract(epoch from '2026-06-20 11:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04251 -2.821745)', '2026-06-20 11:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042486 -2.821981)'), GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.821745)'))) / (select extract(epoch from '2026-06-20 11:06:55'::timestamp) - extract(epoch from '2026-06-20 11:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042486 -2.821981)'), GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.821745)'))) / (select extract(epoch from '2026-06-20 11:06:55'::timestamp) - extract(epoch from '2026-06-20 11:06: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'), 46943, 'SRID=4674;POINT (-40.042523 -2.821531)', '2026-06-20 11:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.821745)'), GeomFromEWKT('SRID=4674;POINT (-40.042523 -2.821531)'))) / (select extract(epoch from '2026-06-20 11:07:05'::timestamp) - extract(epoch from '2026-06-20 11:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.821745)'), GeomFromEWKT('SRID=4674;POINT (-40.042523 -2.821531)'))) / (select extract(epoch from '2026-06-20 11:07:05'::timestamp) - extract(epoch from '2026-06-20 11:06: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'), 46943, 'SRID=4674;POINT (-40.042537 -2.82136)', '2026-06-20 11:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042523 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.042537 -2.82136)'))) / (select extract(epoch from '2026-06-20 11:07:13'::timestamp) - extract(epoch from '2026-06-20 11:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042523 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.042537 -2.82136)'))) / (select extract(epoch from '2026-06-20 11:07:13'::timestamp) - extract(epoch from '2026-06-20 11:07: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'), 46943, 'SRID=4674;POINT (-40.042567 -2.821079)', '2026-06-20 11:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042537 -2.82136)'), GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.821079)'))) / (select extract(epoch from '2026-06-20 11:07:26'::timestamp) - extract(epoch from '2026-06-20 11:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042537 -2.82136)'), GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.821079)'))) / (select extract(epoch from '2026-06-20 11:07:26'::timestamp) - extract(epoch from '2026-06-20 11:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042628 -2.820829)', '2026-06-20 11:07:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.821079)'), GeomFromEWKT('SRID=4674;POINT (-40.042628 -2.820829)'))) / (select extract(epoch from '2026-06-20 11:07:38'::timestamp) - extract(epoch from '2026-06-20 11:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.821079)'), GeomFromEWKT('SRID=4674;POINT (-40.042628 -2.820829)'))) / (select extract(epoch from '2026-06-20 11:07:38'::timestamp) - extract(epoch from '2026-06-20 11:07: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'), 46943, 'SRID=4674;POINT (-40.042706 -2.820629)', '2026-06-20 11:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042628 -2.820829)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.820629)'))) / (select extract(epoch from '2026-06-20 11:07:48'::timestamp) - extract(epoch from '2026-06-20 11:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042628 -2.820829)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.820629)'))) / (select extract(epoch from '2026-06-20 11:07:48'::timestamp) - extract(epoch from '2026-06-20 11:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042776 -2.820381)', '2026-06-20 11:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.820629)'), GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.820381)'))) / (select extract(epoch from '2026-06-20 11:08:00'::timestamp) - extract(epoch from '2026-06-20 11:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.820629)'), GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.820381)'))) / (select extract(epoch from '2026-06-20 11:08:00'::timestamp) - extract(epoch from '2026-06-20 11:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042865 -2.82012)', '2026-06-20 11:08:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.820381)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.82012)'))) / (select extract(epoch from '2026-06-20 11:08:13'::timestamp) - extract(epoch from '2026-06-20 11:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.820381)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.82012)'))) / (select extract(epoch from '2026-06-20 11:08:13'::timestamp) - extract(epoch from '2026-06-20 11:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042945 -2.819895)', '2026-06-20 11:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.82012)'), GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.819895)'))) / (select extract(epoch from '2026-06-20 11:08:24'::timestamp) - extract(epoch from '2026-06-20 11:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.82012)'), GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.819895)'))) / (select extract(epoch from '2026-06-20 11:08:24'::timestamp) - extract(epoch from '2026-06-20 11:08: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'), 46943, 'SRID=4674;POINT (-40.043012 -2.819736)', '2026-06-20 11:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.819895)'), GeomFromEWKT('SRID=4674;POINT (-40.043012 -2.819736)'))) / (select extract(epoch from '2026-06-20 11:08:32'::timestamp) - extract(epoch from '2026-06-20 11:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.819895)'), GeomFromEWKT('SRID=4674;POINT (-40.043012 -2.819736)'))) / (select extract(epoch from '2026-06-20 11:08:32'::timestamp) - extract(epoch from '2026-06-20 11:08: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'), 46943, 'SRID=4674;POINT (-40.043076 -2.819511)', '2026-06-20 11:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043012 -2.819736)'), GeomFromEWKT('SRID=4674;POINT (-40.043076 -2.819511)'))) / (select extract(epoch from '2026-06-20 11:08:43'::timestamp) - extract(epoch from '2026-06-20 11:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043012 -2.819736)'), GeomFromEWKT('SRID=4674;POINT (-40.043076 -2.819511)'))) / (select extract(epoch from '2026-06-20 11:08:43'::timestamp) - extract(epoch from '2026-06-20 11:08: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'), 46943, 'SRID=4674;POINT (-40.043099 -2.819369)', '2026-06-20 11:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043076 -2.819511)'), GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.819369)'))) / (select extract(epoch from '2026-06-20 11:08:50'::timestamp) - extract(epoch from '2026-06-20 11:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043076 -2.819511)'), GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.819369)'))) / (select extract(epoch from '2026-06-20 11:08:50'::timestamp) - extract(epoch from '2026-06-20 11:08: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'), 46943, 'SRID=4674;POINT (-40.043162 -2.819193)', '2026-06-20 11:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.819369)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.819193)'))) / (select extract(epoch from '2026-06-20 11:08:59'::timestamp) - extract(epoch from '2026-06-20 11:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043099 -2.819369)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.819193)'))) / (select extract(epoch from '2026-06-20 11:08:59'::timestamp) - extract(epoch from '2026-06-20 11:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043241 -2.818973)', '2026-06-20 11:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.819193)'), GeomFromEWKT('SRID=4674;POINT (-40.043241 -2.818973)'))) / (select extract(epoch from '2026-06-20 11:09:10'::timestamp) - extract(epoch from '2026-06-20 11:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.819193)'), GeomFromEWKT('SRID=4674;POINT (-40.043241 -2.818973)'))) / (select extract(epoch from '2026-06-20 11:09:10'::timestamp) - extract(epoch from '2026-06-20 11:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043205 -2.818769)', '2026-06-20 11:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043241 -2.818973)'), GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.818769)'))) / (select extract(epoch from '2026-06-20 11:09:20'::timestamp) - extract(epoch from '2026-06-20 11:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043241 -2.818973)'), GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.818769)'))) / (select extract(epoch from '2026-06-20 11:09:20'::timestamp) - extract(epoch from '2026-06-20 11:09: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'), 46943, 'SRID=4674;POINT (-40.043214 -2.818646)', '2026-06-20 11:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.818769)'), GeomFromEWKT('SRID=4674;POINT (-40.043214 -2.818646)'))) / (select extract(epoch from '2026-06-20 11:09:26'::timestamp) - extract(epoch from '2026-06-20 11:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.818769)'), GeomFromEWKT('SRID=4674;POINT (-40.043214 -2.818646)'))) / (select extract(epoch from '2026-06-20 11:09:26'::timestamp) - extract(epoch from '2026-06-20 11:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043313 -2.818492)', '2026-06-20 11:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043214 -2.818646)'), GeomFromEWKT('SRID=4674;POINT (-40.043313 -2.818492)'))) / (select extract(epoch from '2026-06-20 11:09:35'::timestamp) - extract(epoch from '2026-06-20 11:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043214 -2.818646)'), GeomFromEWKT('SRID=4674;POINT (-40.043313 -2.818492)'))) / (select extract(epoch from '2026-06-20 11:09:35'::timestamp) - extract(epoch from '2026-06-20 11:09: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'), 46943, 'SRID=4674;POINT (-40.043324 -2.818358)', '2026-06-20 11:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043313 -2.818492)'), GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.818358)'))) / (select extract(epoch from '2026-06-20 11:09:42'::timestamp) - extract(epoch from '2026-06-20 11:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043313 -2.818492)'), GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.818358)'))) / (select extract(epoch from '2026-06-20 11:09:42'::timestamp) - extract(epoch from '2026-06-20 11:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043298 -2.818191)', '2026-06-20 11:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.818358)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818191)'))) / (select extract(epoch from '2026-06-20 11:09:50'::timestamp) - extract(epoch from '2026-06-20 11:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.818358)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818191)'))) / (select extract(epoch from '2026-06-20 11:09:50'::timestamp) - extract(epoch from '2026-06-20 11:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043256 -2.817904)', '2026-06-20 11:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818191)'), GeomFromEWKT('SRID=4674;POINT (-40.043256 -2.817904)'))) / (select extract(epoch from '2026-06-20 11:10:04'::timestamp) - extract(epoch from '2026-06-20 11:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818191)'), GeomFromEWKT('SRID=4674;POINT (-40.043256 -2.817904)'))) / (select extract(epoch from '2026-06-20 11:10:04'::timestamp) - extract(epoch from '2026-06-20 11:09: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'), 46943, 'SRID=4674;POINT (-40.043224 -2.817762)', '2026-06-20 11:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043256 -2.817904)'), GeomFromEWKT('SRID=4674;POINT (-40.043224 -2.817762)'))) / (select extract(epoch from '2026-06-20 11:10:11'::timestamp) - extract(epoch from '2026-06-20 11:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043256 -2.817904)'), GeomFromEWKT('SRID=4674;POINT (-40.043224 -2.817762)'))) / (select extract(epoch from '2026-06-20 11:10:11'::timestamp) - extract(epoch from '2026-06-20 11:10: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'), 46943, 'SRID=4674;POINT (-40.043208 -2.817595)', '2026-06-20 11:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043224 -2.817762)'), GeomFromEWKT('SRID=4674;POINT (-40.043208 -2.817595)'))) / (select extract(epoch from '2026-06-20 11:10:19'::timestamp) - extract(epoch from '2026-06-20 11:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043224 -2.817762)'), GeomFromEWKT('SRID=4674;POINT (-40.043208 -2.817595)'))) / (select extract(epoch from '2026-06-20 11:10:19'::timestamp) - extract(epoch from '2026-06-20 11:10: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'), 46943, 'SRID=4674;POINT (-40.043191 -2.81747)', '2026-06-20 11:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043208 -2.817595)'), GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.81747)'))) / (select extract(epoch from '2026-06-20 11:10:25'::timestamp) - extract(epoch from '2026-06-20 11:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043208 -2.817595)'), GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.81747)'))) / (select extract(epoch from '2026-06-20 11:10:25'::timestamp) - extract(epoch from '2026-06-20 11:10: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'), 46943, 'SRID=4674;POINT (-40.043152 -2.817259)', '2026-06-20 11:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.81747)'), GeomFromEWKT('SRID=4674;POINT (-40.043152 -2.817259)'))) / (select extract(epoch from '2026-06-20 11:10:35'::timestamp) - extract(epoch from '2026-06-20 11:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.81747)'), GeomFromEWKT('SRID=4674;POINT (-40.043152 -2.817259)'))) / (select extract(epoch from '2026-06-20 11:10:35'::timestamp) - extract(epoch from '2026-06-20 11:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043129 -2.817096)', '2026-06-20 11:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043152 -2.817259)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.817096)'))) / (select extract(epoch from '2026-06-20 11:10:43'::timestamp) - extract(epoch from '2026-06-20 11:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043152 -2.817259)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.817096)'))) / (select extract(epoch from '2026-06-20 11:10:43'::timestamp) - extract(epoch from '2026-06-20 11:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043124 -2.81691)', '2026-06-20 11:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.817096)'), GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.81691)'))) / (select extract(epoch from '2026-06-20 11:10:52'::timestamp) - extract(epoch from '2026-06-20 11:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.817096)'), GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.81691)'))) / (select extract(epoch from '2026-06-20 11:10:52'::timestamp) - extract(epoch from '2026-06-20 11:10: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'), 46943, 'SRID=4674;POINT (-40.04313 -2.816763)', '2026-06-20 11:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.81691)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816763)'))) / (select extract(epoch from '2026-06-20 11:10:59'::timestamp) - extract(epoch from '2026-06-20 11:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.81691)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816763)'))) / (select extract(epoch from '2026-06-20 11:10:59'::timestamp) - extract(epoch from '2026-06-20 11:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043124 -2.816591)', '2026-06-20 11:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816763)'), GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.816591)'))) / (select extract(epoch from '2026-06-20 11:11:07'::timestamp) - extract(epoch from '2026-06-20 11:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816763)'), GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.816591)'))) / (select extract(epoch from '2026-06-20 11:11:07'::timestamp) - extract(epoch from '2026-06-20 11:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04313 -2.816383)', '2026-06-20 11:11:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.816591)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816383)'))) / (select extract(epoch from '2026-06-20 11:11:17'::timestamp) - extract(epoch from '2026-06-20 11:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043124 -2.816591)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816383)'))) / (select extract(epoch from '2026-06-20 11:11:17'::timestamp) - extract(epoch from '2026-06-20 11:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043146 -2.816212)', '2026-06-20 11:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816383)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.816212)'))) / (select extract(epoch from '2026-06-20 11:11:25'::timestamp) - extract(epoch from '2026-06-20 11:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.816383)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.816212)'))) / (select extract(epoch from '2026-06-20 11:11:25'::timestamp) - extract(epoch from '2026-06-20 11:11: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'), 46943, 'SRID=4674;POINT (-40.043171 -2.816054)', '2026-06-20 11:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.816212)'), GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.816054)'))) / (select extract(epoch from '2026-06-20 11:11:32'::timestamp) - extract(epoch from '2026-06-20 11:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.816212)'), GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.816054)'))) / (select extract(epoch from '2026-06-20 11:11:32'::timestamp) - extract(epoch from '2026-06-20 11:11: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'), 46943, 'SRID=4674;POINT (-40.043172 -2.815848)', '2026-06-20 11:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.815848)'))) / (select extract(epoch from '2026-06-20 11:11:42'::timestamp) - extract(epoch from '2026-06-20 11:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.815848)'))) / (select extract(epoch from '2026-06-20 11:11:42'::timestamp) - extract(epoch from '2026-06-20 11:11: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'), 46943, 'SRID=4674;POINT (-40.043143 -2.815648)', '2026-06-20 11:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.815848)'), GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.815648)'))) / (select extract(epoch from '2026-06-20 11:11:52'::timestamp) - extract(epoch from '2026-06-20 11:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.815848)'), GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.815648)'))) / (select extract(epoch from '2026-06-20 11:11:52'::timestamp) - extract(epoch from '2026-06-20 11:11: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'), 46943, 'SRID=4674;POINT (-40.043107 -2.815497)', '2026-06-20 11:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.815648)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.815497)'))) / (select extract(epoch from '2026-06-20 11:12:00'::timestamp) - extract(epoch from '2026-06-20 11:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.815648)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.815497)'))) / (select extract(epoch from '2026-06-20 11:12:00'::timestamp) - extract(epoch from '2026-06-20 11:11: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'), 46943, 'SRID=4674;POINT (-40.043056 -2.815258)', '2026-06-20 11:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.815497)'), GeomFromEWKT('SRID=4674;POINT (-40.043056 -2.815258)'))) / (select extract(epoch from '2026-06-20 11:12:11'::timestamp) - extract(epoch from '2026-06-20 11:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.815497)'), GeomFromEWKT('SRID=4674;POINT (-40.043056 -2.815258)'))) / (select extract(epoch from '2026-06-20 11:12:11'::timestamp) - extract(epoch from '2026-06-20 11:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04306 -2.815076)', '2026-06-20 11:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043056 -2.815258)'), GeomFromEWKT('SRID=4674;POINT (-40.04306 -2.815076)'))) / (select extract(epoch from '2026-06-20 11:12:20'::timestamp) - extract(epoch from '2026-06-20 11:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043056 -2.815258)'), GeomFromEWKT('SRID=4674;POINT (-40.04306 -2.815076)'))) / (select extract(epoch from '2026-06-20 11:12:20'::timestamp) - extract(epoch from '2026-06-20 11:12: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'), 46943, 'SRID=4674;POINT (-40.0431 -2.814916)', '2026-06-20 11:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04306 -2.815076)'), GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.814916)'))) / (select extract(epoch from '2026-06-20 11:12:28'::timestamp) - extract(epoch from '2026-06-20 11:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04306 -2.815076)'), GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.814916)'))) / (select extract(epoch from '2026-06-20 11:12:28'::timestamp) - extract(epoch from '2026-06-20 11:12: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'), 46943, 'SRID=4674;POINT (-40.043134 -2.814714)', '2026-06-20 11:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.814916)'), GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.814714)'))) / (select extract(epoch from '2026-06-20 11:12:38'::timestamp) - extract(epoch from '2026-06-20 11:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.814916)'), GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.814714)'))) / (select extract(epoch from '2026-06-20 11:12:38'::timestamp) - extract(epoch from '2026-06-20 11:12: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'), 46943, 'SRID=4674;POINT (-40.043123 -2.814505)', '2026-06-20 11:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.814714)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.814505)'))) / (select extract(epoch from '2026-06-20 11:12:48'::timestamp) - extract(epoch from '2026-06-20 11:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043134 -2.814714)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.814505)'))) / (select extract(epoch from '2026-06-20 11:12:48'::timestamp) - extract(epoch from '2026-06-20 11:12: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'), 46943, 'SRID=4674;POINT (-40.043107 -2.814278)', '2026-06-20 11:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.814505)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.814278)'))) / (select extract(epoch from '2026-06-20 11:12:58'::timestamp) - extract(epoch from '2026-06-20 11:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.814505)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.814278)'))) / (select extract(epoch from '2026-06-20 11:12:58'::timestamp) - extract(epoch from '2026-06-20 11:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043097 -2.814069)', '2026-06-20 11:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.814278)'), GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.814069)'))) / (select extract(epoch from '2026-06-20 11:13:08'::timestamp) - extract(epoch from '2026-06-20 11:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.814278)'), GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.814069)'))) / (select extract(epoch from '2026-06-20 11:13:08'::timestamp) - extract(epoch from '2026-06-20 11:12: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'), 46943, 'SRID=4674;POINT (-40.043083 -2.813882)', '2026-06-20 11:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.814069)'), GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.813882)'))) / (select extract(epoch from '2026-06-20 11:13:16'::timestamp) - extract(epoch from '2026-06-20 11:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.814069)'), GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.813882)'))) / (select extract(epoch from '2026-06-20 11:13:16'::timestamp) - extract(epoch from '2026-06-20 11:13: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'), 46943, 'SRID=4674;POINT (-40.043107 -2.813743)', '2026-06-20 11:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.813743)'))) / (select extract(epoch from '2026-06-20 11:13:23'::timestamp) - extract(epoch from '2026-06-20 11:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043083 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.813743)'))) / (select extract(epoch from '2026-06-20 11:13:23'::timestamp) - extract(epoch from '2026-06-20 11:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043118 -2.813574)', '2026-06-20 11:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.813743)'), GeomFromEWKT('SRID=4674;POINT (-40.043118 -2.813574)'))) / (select extract(epoch from '2026-06-20 11:13:31'::timestamp) - extract(epoch from '2026-06-20 11:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043107 -2.813743)'), GeomFromEWKT('SRID=4674;POINT (-40.043118 -2.813574)'))) / (select extract(epoch from '2026-06-20 11:13:31'::timestamp) - extract(epoch from '2026-06-20 11:13: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'), 46943, 'SRID=4674;POINT (-40.043096 -2.813368)', '2026-06-20 11:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043118 -2.813574)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.813368)'))) / (select extract(epoch from '2026-06-20 11:13:41'::timestamp) - extract(epoch from '2026-06-20 11:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043118 -2.813574)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.813368)'))) / (select extract(epoch from '2026-06-20 11:13:41'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.043086 -2.813157)', '2026-06-20 11:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.813157)'))) / (select extract(epoch from '2026-06-20 11:13:51'::timestamp) - extract(epoch from '2026-06-20 11:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.813157)'))) / (select extract(epoch from '2026-06-20 11:13:51'::timestamp) - extract(epoch from '2026-06-20 11:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04307 -2.81301)', '2026-06-20 11:13:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.813157)'), GeomFromEWKT('SRID=4674;POINT (-40.04307 -2.81301)'))) / (select extract(epoch from '2026-06-20 11:13:58'::timestamp) - extract(epoch from '2026-06-20 11:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.813157)'), GeomFromEWKT('SRID=4674;POINT (-40.04307 -2.81301)'))) / (select extract(epoch from '2026-06-20 11:13:58'::timestamp) - extract(epoch from '2026-06-20 11:13: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'), 46943, 'SRID=4674;POINT (-40.043047 -2.812822)', '2026-06-20 11:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04307 -2.81301)'), GeomFromEWKT('SRID=4674;POINT (-40.043047 -2.812822)'))) / (select extract(epoch from '2026-06-20 11:14:07'::timestamp) - extract(epoch from '2026-06-20 11:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04307 -2.81301)'), GeomFromEWKT('SRID=4674;POINT (-40.043047 -2.812822)'))) / (select extract(epoch from '2026-06-20 11:14:07'::timestamp) - extract(epoch from '2026-06-20 11:13: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'), 46943, 'SRID=4674;POINT (-40.043018 -2.812613)', '2026-06-20 11:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043047 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.043018 -2.812613)'))) / (select extract(epoch from '2026-06-20 11:14:17'::timestamp) - extract(epoch from '2026-06-20 11:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043047 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.043018 -2.812613)'))) / (select extract(epoch from '2026-06-20 11:14:17'::timestamp) - extract(epoch from '2026-06-20 11:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042994 -2.812403)', '2026-06-20 11:14:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043018 -2.812613)'), GeomFromEWKT('SRID=4674;POINT (-40.042994 -2.812403)'))) / (select extract(epoch from '2026-06-20 11:14:27'::timestamp) - extract(epoch from '2026-06-20 11:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043018 -2.812613)'), GeomFromEWKT('SRID=4674;POINT (-40.042994 -2.812403)'))) / (select extract(epoch from '2026-06-20 11:14:27'::timestamp) - extract(epoch from '2026-06-20 11:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.042974 -2.812234)', '2026-06-20 11:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042994 -2.812403)'), GeomFromEWKT('SRID=4674;POINT (-40.042974 -2.812234)'))) / (select extract(epoch from '2026-06-20 11:14:35'::timestamp) - extract(epoch from '2026-06-20 11:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042994 -2.812403)'), GeomFromEWKT('SRID=4674;POINT (-40.042974 -2.812234)'))) / (select extract(epoch from '2026-06-20 11:14:35'::timestamp) - extract(epoch from '2026-06-20 11:14: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'), 46943, 'SRID=4674;POINT (-40.042983 -2.811996)', '2026-06-20 11:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042974 -2.812234)'), GeomFromEWKT('SRID=4674;POINT (-40.042983 -2.811996)'))) / (select extract(epoch from '2026-06-20 11:14:46'::timestamp) - extract(epoch from '2026-06-20 11:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042974 -2.812234)'), GeomFromEWKT('SRID=4674;POINT (-40.042983 -2.811996)'))) / (select extract(epoch from '2026-06-20 11:14:46'::timestamp) - extract(epoch from '2026-06-20 11:14: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'), 46943, 'SRID=4674;POINT (-40.043049 -2.811788)', '2026-06-20 11:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042983 -2.811996)'), GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.811788)'))) / (select extract(epoch from '2026-06-20 11:14:56'::timestamp) - extract(epoch from '2026-06-20 11:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042983 -2.811996)'), GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.811788)'))) / (select extract(epoch from '2026-06-20 11:14:56'::timestamp) - extract(epoch from '2026-06-20 11:14: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'), 46943, 'SRID=4674;POINT (-40.043054 -2.81164)', '2026-06-20 11:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.811788)'), GeomFromEWKT('SRID=4674;POINT (-40.043054 -2.81164)'))) / (select extract(epoch from '2026-06-20 11:15:03'::timestamp) - extract(epoch from '2026-06-20 11:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.811788)'), GeomFromEWKT('SRID=4674;POINT (-40.043054 -2.81164)'))) / (select extract(epoch from '2026-06-20 11:15:03'::timestamp) - extract(epoch from '2026-06-20 11:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043071 -2.811492)', '2026-06-20 11:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043054 -2.81164)'), GeomFromEWKT('SRID=4674;POINT (-40.043071 -2.811492)'))) / (select extract(epoch from '2026-06-20 11:15:10'::timestamp) - extract(epoch from '2026-06-20 11:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043054 -2.81164)'), GeomFromEWKT('SRID=4674;POINT (-40.043071 -2.811492)'))) / (select extract(epoch from '2026-06-20 11:15:10'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.043127 -2.811286)', '2026-06-20 11:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043071 -2.811492)'), GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.811286)'))) / (select extract(epoch from '2026-06-20 11:15:20'::timestamp) - extract(epoch from '2026-06-20 11:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043071 -2.811492)'), GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.811286)'))) / (select extract(epoch from '2026-06-20 11:15:20'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.043137 -2.811161)', '2026-06-20 11:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.811286)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.811161)'))) / (select extract(epoch from '2026-06-20 11:15:26'::timestamp) - extract(epoch from '2026-06-20 11:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.811286)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.811161)'))) / (select extract(epoch from '2026-06-20 11:15:26'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.043169 -2.810994)', '2026-06-20 11:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.811161)'), GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.810994)'))) / (select extract(epoch from '2026-06-20 11:15:34'::timestamp) - extract(epoch from '2026-06-20 11:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.811161)'), GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.810994)'))) / (select extract(epoch from '2026-06-20 11:15:34'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.043227 -2.810814)', '2026-06-20 11:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.810994)'), GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.810814)'))) / (select extract(epoch from '2026-06-20 11:15:43'::timestamp) - extract(epoch from '2026-06-20 11:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043169 -2.810994)'), GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.810814)'))) / (select extract(epoch from '2026-06-20 11:15:43'::timestamp) - extract(epoch from '2026-06-20 11:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043238 -2.810666)', '2026-06-20 11:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.810814)'), GeomFromEWKT('SRID=4674;POINT (-40.043238 -2.810666)'))) / (select extract(epoch from '2026-06-20 11:15:50'::timestamp) - extract(epoch from '2026-06-20 11:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.810814)'), GeomFromEWKT('SRID=4674;POINT (-40.043238 -2.810666)'))) / (select extract(epoch from '2026-06-20 11:15:50'::timestamp) - extract(epoch from '2026-06-20 11:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04322 -2.8105)', '2026-06-20 11:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043238 -2.810666)'), GeomFromEWKT('SRID=4674;POINT (-40.04322 -2.8105)'))) / (select extract(epoch from '2026-06-20 11:15:58'::timestamp) - extract(epoch from '2026-06-20 11:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043238 -2.810666)'), GeomFromEWKT('SRID=4674;POINT (-40.04322 -2.8105)'))) / (select extract(epoch from '2026-06-20 11:15:58'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.0432 -2.810309)', '2026-06-20 11:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04322 -2.8105)'), GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.810309)'))) / (select extract(epoch from '2026-06-20 11:16:07'::timestamp) - extract(epoch from '2026-06-20 11:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04322 -2.8105)'), GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.810309)'))) / (select extract(epoch from '2026-06-20 11:16:07'::timestamp) - extract(epoch from '2026-06-20 11:15: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'), 46943, 'SRID=4674;POINT (-40.043171 -2.810119)', '2026-06-20 11:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.810309)'), GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.810119)'))) / (select extract(epoch from '2026-06-20 11:16:16'::timestamp) - extract(epoch from '2026-06-20 11:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.810309)'), GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.810119)'))) / (select extract(epoch from '2026-06-20 11:16:16'::timestamp) - extract(epoch from '2026-06-20 11:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043174 -2.80995)', '2026-06-20 11:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.810119)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.80995)'))) / (select extract(epoch from '2026-06-20 11:16:24'::timestamp) - extract(epoch from '2026-06-20 11:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043171 -2.810119)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.80995)'))) / (select extract(epoch from '2026-06-20 11:16:24'::timestamp) - extract(epoch from '2026-06-20 11:16: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'), 46943, 'SRID=4674;POINT (-40.043184 -2.809759)', '2026-06-20 11:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.80995)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.809759)'))) / (select extract(epoch from '2026-06-20 11:16:33'::timestamp) - extract(epoch from '2026-06-20 11:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.80995)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.809759)'))) / (select extract(epoch from '2026-06-20 11:16:33'::timestamp) - extract(epoch from '2026-06-20 11:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043146 -2.809557)', '2026-06-20 11:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.809759)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.809557)'))) / (select extract(epoch from '2026-06-20 11:16:43'::timestamp) - extract(epoch from '2026-06-20 11:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.809759)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.809557)'))) / (select extract(epoch from '2026-06-20 11:16:43'::timestamp) - extract(epoch from '2026-06-20 11:16: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'), 46943, 'SRID=4674;POINT (-40.043157 -2.809365)', '2026-06-20 11:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.809557)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.809365)'))) / (select extract(epoch from '2026-06-20 11:16:53'::timestamp) - extract(epoch from '2026-06-20 11:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.809557)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.809365)'))) / (select extract(epoch from '2026-06-20 11:16:53'::timestamp) - extract(epoch from '2026-06-20 11:16: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'), 46943, 'SRID=4674;POINT (-40.04312 -2.809191)', '2026-06-20 11:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.809365)'), GeomFromEWKT('SRID=4674;POINT (-40.04312 -2.809191)'))) / (select extract(epoch from '2026-06-20 11:17:02'::timestamp) - extract(epoch from '2026-06-20 11:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.809365)'), GeomFromEWKT('SRID=4674;POINT (-40.04312 -2.809191)'))) / (select extract(epoch from '2026-06-20 11:17:02'::timestamp) - extract(epoch from '2026-06-20 11:16: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'), 46943, 'SRID=4674;POINT (-40.043062 -2.809045)', '2026-06-20 11:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04312 -2.809191)'), GeomFromEWKT('SRID=4674;POINT (-40.043062 -2.809045)'))) / (select extract(epoch from '2026-06-20 11:17:10'::timestamp) - extract(epoch from '2026-06-20 11:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04312 -2.809191)'), GeomFromEWKT('SRID=4674;POINT (-40.043062 -2.809045)'))) / (select extract(epoch from '2026-06-20 11:17:10'::timestamp) - extract(epoch from '2026-06-20 11:17: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'), 46943, 'SRID=4674;POINT (-40.043078 -2.808931)', '2026-06-20 11:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043062 -2.809045)'), GeomFromEWKT('SRID=4674;POINT (-40.043078 -2.808931)'))) / (select extract(epoch from '2026-06-20 11:17:16'::timestamp) - extract(epoch from '2026-06-20 11:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043062 -2.809045)'), GeomFromEWKT('SRID=4674;POINT (-40.043078 -2.808931)'))) / (select extract(epoch from '2026-06-20 11:17:16'::timestamp) - extract(epoch from '2026-06-20 11:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043095 -2.808781)', '2026-06-20 11:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043078 -2.808931)'), GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808781)'))) / (select extract(epoch from '2026-06-20 11:17:24'::timestamp) - extract(epoch from '2026-06-20 11:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043078 -2.808931)'), GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808781)'))) / (select extract(epoch from '2026-06-20 11:17:24'::timestamp) - extract(epoch from '2026-06-20 11:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043095 -2.808555)', '2026-06-20 11:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808781)'), GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808555)'))) / (select extract(epoch from '2026-06-20 11:17:35'::timestamp) - extract(epoch from '2026-06-20 11:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808781)'), GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808555)'))) / (select extract(epoch from '2026-06-20 11:17:35'::timestamp) - extract(epoch from '2026-06-20 11:17: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'), 46943, 'SRID=4674;POINT (-40.043097 -2.80835)', '2026-06-20 11:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808555)'), GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.80835)'))) / (select extract(epoch from '2026-06-20 11:17:45'::timestamp) - extract(epoch from '2026-06-20 11:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043095 -2.808555)'), GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.80835)'))) / (select extract(epoch from '2026-06-20 11:17:45'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.043103 -2.808148)', '2026-06-20 11:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.80835)'), GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.808148)'))) / (select extract(epoch from '2026-06-20 11:17:55'::timestamp) - extract(epoch from '2026-06-20 11:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043097 -2.80835)'), GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.808148)'))) / (select extract(epoch from '2026-06-20 11:17:55'::timestamp) - extract(epoch from '2026-06-20 11:17: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'), 46943, 'SRID=4674;POINT (-40.043148 -2.807997)', '2026-06-20 11:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.808148)'), GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.807997)'))) / (select extract(epoch from '2026-06-20 11:18:03'::timestamp) - extract(epoch from '2026-06-20 11:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.808148)'), GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.807997)'))) / (select extract(epoch from '2026-06-20 11:18:03'::timestamp) - extract(epoch from '2026-06-20 11:17: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'), 46943, 'SRID=4674;POINT (-40.04314 -2.807855)', '2026-06-20 11:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.807997)'), GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.807855)'))) / (select extract(epoch from '2026-06-20 11:18:11'::timestamp) - extract(epoch from '2026-06-20 11:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.807997)'), GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.807855)'))) / (select extract(epoch from '2026-06-20 11:18:11'::timestamp) - extract(epoch from '2026-06-20 11:18: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'), 46943, 'SRID=4674;POINT (-40.043151 -2.807708)', '2026-06-20 11:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.807855)'), GeomFromEWKT('SRID=4674;POINT (-40.043151 -2.807708)'))) / (select extract(epoch from '2026-06-20 11:18:20'::timestamp) - extract(epoch from '2026-06-20 11:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.807855)'), GeomFromEWKT('SRID=4674;POINT (-40.043151 -2.807708)'))) / (select extract(epoch from '2026-06-20 11:18:20'::timestamp) - extract(epoch from '2026-06-20 11:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043222 -2.80765)', '2026-06-20 11:18:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043151 -2.807708)'), GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.80765)'))) / (select extract(epoch from '2026-06-20 11:18:27'::timestamp) - extract(epoch from '2026-06-20 11:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043151 -2.807708)'), GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.80765)'))) / (select extract(epoch from '2026-06-20 11:18:27'::timestamp) - extract(epoch from '2026-06-20 11:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043232 -2.80757)', '2026-06-20 11:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.80765)'), GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.80757)'))) / (select extract(epoch from '2026-06-20 11:18:34'::timestamp) - extract(epoch from '2026-06-20 11:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.80765)'), GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.80757)'))) / (select extract(epoch from '2026-06-20 11:18:34'::timestamp) - extract(epoch from '2026-06-20 11:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043182 -2.807519)', '2026-06-20 11:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807519)'))) / (select extract(epoch from '2026-06-20 11:18:42'::timestamp) - extract(epoch from '2026-06-20 11:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807519)'))) / (select extract(epoch from '2026-06-20 11:18:42'::timestamp) - extract(epoch from '2026-06-20 11:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043109 -2.80757)', '2026-06-20 11:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807519)'), GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.80757)'))) / (select extract(epoch from '2026-06-20 11:18:50'::timestamp) - extract(epoch from '2026-06-20 11:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807519)'), GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.80757)'))) / (select extract(epoch from '2026-06-20 11:18:50'::timestamp) - extract(epoch from '2026-06-20 11:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04304 -2.807639)', '2026-06-20 11:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:18:59'::timestamp) - extract(epoch from '2026-06-20 11:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:18:59'::timestamp) - extract(epoch from '2026-06-20 11:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.04301 -2.807696)', '2026-06-20 11:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.04301 -2.807696)'))) / (select extract(epoch from '2026-06-20 11:19:11'::timestamp) - extract(epoch from '2026-06-20 11:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.04301 -2.807696)'))) / (select extract(epoch from '2026-06-20 11:19:11'::timestamp) - extract(epoch from '2026-06-20 11:18: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'), 46943, 'SRID=4674;POINT (-40.043017 -2.8077)', '2026-06-20 11:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04301 -2.807696)'), GeomFromEWKT('SRID=4674;POINT (-40.043017 -2.8077)'))) / (select extract(epoch from '2026-06-20 11:19:30'::timestamp) - extract(epoch from '2026-06-20 11:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04301 -2.807696)'), GeomFromEWKT('SRID=4674;POINT (-40.043017 -2.8077)'))) / (select extract(epoch from '2026-06-20 11:19:30'::timestamp) - extract(epoch from '2026-06-20 11:19: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'), 46943, 'SRID=4674;POINT (-40.043075 -2.807651)', '2026-06-20 11:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043017 -2.8077)'), GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.807651)'))) / (select extract(epoch from '2026-06-20 11:19:55'::timestamp) - extract(epoch from '2026-06-20 11:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043017 -2.8077)'), GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.807651)'))) / (select extract(epoch from '2026-06-20 11:19:55'::timestamp) - extract(epoch from '2026-06-20 11:19: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'), 46943, 'SRID=4674;POINT (-40.043141 -2.807573)', '2026-06-20 11:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:20:28'::timestamp) - extract(epoch from '2026-06-20 11:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:20:28'::timestamp) - extract(epoch from '2026-06-20 11:19: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'), 46943, 'SRID=4674;POINT (-40.043149 -2.807525)', '2026-06-20 11:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807525)'))) / (select extract(epoch from '2026-06-20 11:20:55'::timestamp) - extract(epoch from '2026-06-20 11:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807525)'))) / (select extract(epoch from '2026-06-20 11:20:55'::timestamp) - extract(epoch from '2026-06-20 11:20: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'), 46943, 'SRID=4674;POINT (-40.043162 -2.80754)', '2026-06-20 11:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.80754)'))) / (select extract(epoch from '2026-06-20 11:21:27'::timestamp) - extract(epoch from '2026-06-20 11:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.80754)'))) / (select extract(epoch from '2026-06-20 11:21:27'::timestamp) - extract(epoch from '2026-06-20 11:20: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'), 46943, 'SRID=4674;POINT (-40.043157 -2.807537)', '2026-06-20 11:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.80754)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807537)'))) / (select extract(epoch from '2026-06-20 11:22:42'::timestamp) - extract(epoch from '2026-06-20 11:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.80754)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807537)'))) / (select extract(epoch from '2026-06-20 11:22:42'::timestamp) - extract(epoch from '2026-06-20 11:21: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'), 46943, 'SRID=4674;POINT (-40.043174 -2.807534)', '2026-06-20 11:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807537)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807534)'))) / (select extract(epoch from '2026-06-20 11:23:30'::timestamp) - extract(epoch from '2026-06-20 11:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807537)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807534)'))) / (select extract(epoch from '2026-06-20 11:23:30'::timestamp) - extract(epoch from '2026-06-20 11:22: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'), 46943, 'SRID=4674;POINT (-40.043137 -2.807579)', '2026-06-20 11:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807534)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807579)'))) / (select extract(epoch from '2026-06-20 11:24:05'::timestamp) - extract(epoch from '2026-06-20 11:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807534)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807579)'))) / (select extract(epoch from '2026-06-20 11:24:05'::timestamp) - extract(epoch from '2026-06-20 11:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043127 -2.807565)', '2026-06-20 11:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807579)'), GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.807565)'))) / (select extract(epoch from '2026-06-20 11:24:25'::timestamp) - extract(epoch from '2026-06-20 11:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807579)'), GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.807565)'))) / (select extract(epoch from '2026-06-20 11:24:25'::timestamp) - extract(epoch from '2026-06-20 11:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043125 -2.807562)', '2026-06-20 11:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.807565)'), GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.807562)'))) / (select extract(epoch from '2026-06-20 11:24:52'::timestamp) - extract(epoch from '2026-06-20 11:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043127 -2.807565)'), GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.807562)'))) / (select extract(epoch from '2026-06-20 11:24:52'::timestamp) - extract(epoch from '2026-06-20 11:24: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'), 46943, 'SRID=4674;POINT (-40.043149 -2.807581)', '2026-06-20 11:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.807562)'), GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807581)'))) / (select extract(epoch from '2026-06-20 11:25:15'::timestamp) - extract(epoch from '2026-06-20 11:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.807562)'), GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807581)'))) / (select extract(epoch from '2026-06-20 11:25:15'::timestamp) - extract(epoch from '2026-06-20 11:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043131 -2.807563)', '2026-06-20 11:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.043131 -2.807563)'))) / (select extract(epoch from '2026-06-20 11:25:57'::timestamp) - extract(epoch from '2026-06-20 11:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043149 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.043131 -2.807563)'))) / (select extract(epoch from '2026-06-20 11:25:57'::timestamp) - extract(epoch from '2026-06-20 11:25: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'), 46943, 'SRID=4674;POINT (-40.043137 -2.807573)', '2026-06-20 11:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043131 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:26:52'::timestamp) - extract(epoch from '2026-06-20 11:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043131 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:26:52'::timestamp) - extract(epoch from '2026-06-20 11:25: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'), 46943, 'SRID=4674;POINT (-40.043143 -2.807535)', '2026-06-20 11:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.807535)'))) / (select extract(epoch from '2026-06-20 11:27:39'::timestamp) - extract(epoch from '2026-06-20 11:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.807535)'))) / (select extract(epoch from '2026-06-20 11:27:39'::timestamp) - extract(epoch from '2026-06-20 11:26: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'), 46943, 'SRID=4674;POINT (-40.043172 -2.807584)', '2026-06-20 11:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.807535)'), GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.807584)'))) / (select extract(epoch from '2026-06-20 11:28:29'::timestamp) - extract(epoch from '2026-06-20 11:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043143 -2.807535)'), GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.807584)'))) / (select extract(epoch from '2026-06-20 11:28:29'::timestamp) - extract(epoch from '2026-06-20 11:27: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'), 46943, 'SRID=4674;POINT (-40.043166 -2.807572)', '2026-06-20 11:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.807584)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807572)'))) / (select extract(epoch from '2026-06-20 11:29:18'::timestamp) - extract(epoch from '2026-06-20 11:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043172 -2.807584)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807572)'))) / (select extract(epoch from '2026-06-20 11:29:18'::timestamp) - extract(epoch from '2026-06-20 11:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043146 -2.80754)', '2026-06-20 11:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807572)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.80754)'))) / (select extract(epoch from '2026-06-20 11:30:12'::timestamp) - extract(epoch from '2026-06-20 11:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807572)'), GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.80754)'))) / (select extract(epoch from '2026-06-20 11:30:12'::timestamp) - extract(epoch from '2026-06-20 11:29: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'), 46943, 'SRID=4674;POINT (-40.04315 -2.807566)', '2026-06-20 11:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.80754)'), GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:30:41'::timestamp) - extract(epoch from '2026-06-20 11:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043146 -2.80754)'), GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:30:41'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.043137 -2.807601)', '2026-06-20 11:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807601)'))) / (select extract(epoch from '2026-06-20 11:31:00'::timestamp) - extract(epoch from '2026-06-20 11:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807601)'))) / (select extract(epoch from '2026-06-20 11:31:00'::timestamp) - extract(epoch from '2026-06-20 11:30: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'), 46943, 'SRID=4674;POINT (-40.043176 -2.807605)', '2026-06-20 11:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.043176 -2.807605)'))) / (select extract(epoch from '2026-06-20 11:31:22'::timestamp) - extract(epoch from '2026-06-20 11:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043137 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.043176 -2.807605)'))) / (select extract(epoch from '2026-06-20 11:31:22'::timestamp) - extract(epoch from '2026-06-20 11:31: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'), 46943, 'SRID=4674;POINT (-40.043192 -2.807587)', '2026-06-20 11:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043176 -2.807605)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.807587)'))) / (select extract(epoch from '2026-06-20 11:31:36'::timestamp) - extract(epoch from '2026-06-20 11:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043176 -2.807605)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.807587)'))) / (select extract(epoch from '2026-06-20 11:31:36'::timestamp) - extract(epoch from '2026-06-20 11:31: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'), 46943, 'SRID=4674;POINT (-40.043191 -2.807576)', '2026-06-20 11:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.807576)'))) / (select extract(epoch from '2026-06-20 11:32:06'::timestamp) - extract(epoch from '2026-06-20 11:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.807576)'))) / (select extract(epoch from '2026-06-20 11:32:06'::timestamp) - extract(epoch from '2026-06-20 11:31: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'), 46943, 'SRID=4674;POINT (-40.043194 -2.807566)', '2026-06-20 11:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.807576)'), GeomFromEWKT('SRID=4674;POINT (-40.043194 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:32:16'::timestamp) - extract(epoch from '2026-06-20 11:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043191 -2.807576)'), GeomFromEWKT('SRID=4674;POINT (-40.043194 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:32:16'::timestamp) - extract(epoch from '2026-06-20 11:32: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'), 46943, 'SRID=4674;POINT (-40.043182 -2.807566)', '2026-06-20 11:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043194 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:32:25'::timestamp) - extract(epoch from '2026-06-20 11:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043194 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807566)'))) / (select extract(epoch from '2026-06-20 11:32:25'::timestamp) - extract(epoch from '2026-06-20 11:32: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'), 46943, 'SRID=4674;POINT (-40.043166 -2.807548)', '2026-06-20 11:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807548)'))) / (select extract(epoch from '2026-06-20 11:32:40'::timestamp) - extract(epoch from '2026-06-20 11:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.807566)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807548)'))) / (select extract(epoch from '2026-06-20 11:32:40'::timestamp) - extract(epoch from '2026-06-20 11:32: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'), 46943, 'SRID=4674;POINT (-40.043096 -2.80755)', '2026-06-20 11:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.80755)'))) / (select extract(epoch from '2026-06-20 11:33:00'::timestamp) - extract(epoch from '2026-06-20 11:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.80755)'))) / (select extract(epoch from '2026-06-20 11:33:00'::timestamp) - extract(epoch from '2026-06-20 11:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043063 -2.807564)', '2026-06-20 11:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.043063 -2.807564)'))) / (select extract(epoch from '2026-06-20 11:33:04'::timestamp) - extract(epoch from '2026-06-20 11:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043096 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.043063 -2.807564)'))) / (select extract(epoch from '2026-06-20 11:33:04'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.04303 -2.807595)', '2026-06-20 11:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043063 -2.807564)'), GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.807595)'))) / (select extract(epoch from '2026-06-20 11:33:08'::timestamp) - extract(epoch from '2026-06-20 11:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043063 -2.807564)'), GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.807595)'))) / (select extract(epoch from '2026-06-20 11:33:08'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.042992 -2.80767)', '2026-06-20 11:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.807595)'), GeomFromEWKT('SRID=4674;POINT (-40.042992 -2.80767)'))) / (select extract(epoch from '2026-06-20 11:33:17'::timestamp) - extract(epoch from '2026-06-20 11:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04303 -2.807595)'), GeomFromEWKT('SRID=4674;POINT (-40.042992 -2.80767)'))) / (select extract(epoch from '2026-06-20 11:33:17'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.042996 -2.807721)', '2026-06-20 11:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042992 -2.80767)'), GeomFromEWKT('SRID=4674;POINT (-40.042996 -2.807721)'))) / (select extract(epoch from '2026-06-20 11:33:25'::timestamp) - extract(epoch from '2026-06-20 11:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042992 -2.80767)'), GeomFromEWKT('SRID=4674;POINT (-40.042996 -2.807721)'))) / (select extract(epoch from '2026-06-20 11:33:25'::timestamp) - extract(epoch from '2026-06-20 11:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043027 -2.807742)', '2026-06-20 11:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042996 -2.807721)'), GeomFromEWKT('SRID=4674;POINT (-40.043027 -2.807742)'))) / (select extract(epoch from '2026-06-20 11:33:29'::timestamp) - extract(epoch from '2026-06-20 11:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042996 -2.807721)'), GeomFromEWKT('SRID=4674;POINT (-40.043027 -2.807742)'))) / (select extract(epoch from '2026-06-20 11:33:29'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.043061 -2.80774)', '2026-06-20 11:33:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043027 -2.807742)'), GeomFromEWKT('SRID=4674;POINT (-40.043061 -2.80774)'))) / (select extract(epoch from '2026-06-20 11:33:32'::timestamp) - extract(epoch from '2026-06-20 11:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043027 -2.807742)'), GeomFromEWKT('SRID=4674;POINT (-40.043061 -2.80774)'))) / (select extract(epoch from '2026-06-20 11:33:32'::timestamp) - extract(epoch from '2026-06-20 11:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043129 -2.807684)', '2026-06-20 11:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043061 -2.80774)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.807684)'))) / (select extract(epoch from '2026-06-20 11:33:39'::timestamp) - extract(epoch from '2026-06-20 11:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043061 -2.80774)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.807684)'))) / (select extract(epoch from '2026-06-20 11:33:39'::timestamp) - extract(epoch from '2026-06-20 11:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043144 -2.807558)', '2026-06-20 11:33:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.807684)'), GeomFromEWKT('SRID=4674;POINT (-40.043144 -2.807558)'))) / (select extract(epoch from '2026-06-20 11:33:47'::timestamp) - extract(epoch from '2026-06-20 11:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.807684)'), GeomFromEWKT('SRID=4674;POINT (-40.043144 -2.807558)'))) / (select extract(epoch from '2026-06-20 11:33:47'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.043157 -2.807334)', '2026-06-20 11:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043144 -2.807558)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807334)'))) / (select extract(epoch from '2026-06-20 11:33:59'::timestamp) - extract(epoch from '2026-06-20 11:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043144 -2.807558)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807334)'))) / (select extract(epoch from '2026-06-20 11:33:59'::timestamp) - extract(epoch from '2026-06-20 11:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043203 -2.807207)', '2026-06-20 11:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807334)'), GeomFromEWKT('SRID=4674;POINT (-40.043203 -2.807207)'))) / (select extract(epoch from '2026-06-20 11:34:06'::timestamp) - extract(epoch from '2026-06-20 11:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.807334)'), GeomFromEWKT('SRID=4674;POINT (-40.043203 -2.807207)'))) / (select extract(epoch from '2026-06-20 11:34:06'::timestamp) - extract(epoch from '2026-06-20 11:33: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'), 46943, 'SRID=4674;POINT (-40.043301 -2.807056)', '2026-06-20 11:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043203 -2.807207)'), GeomFromEWKT('SRID=4674;POINT (-40.043301 -2.807056)'))) / (select extract(epoch from '2026-06-20 11:34:16'::timestamp) - extract(epoch from '2026-06-20 11:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043203 -2.807207)'), GeomFromEWKT('SRID=4674;POINT (-40.043301 -2.807056)'))) / (select extract(epoch from '2026-06-20 11:34:16'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.043386 -2.806924)', '2026-06-20 11:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043301 -2.807056)'), GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.806924)'))) / (select extract(epoch from '2026-06-20 11:34:25'::timestamp) - extract(epoch from '2026-06-20 11:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043301 -2.807056)'), GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.806924)'))) / (select extract(epoch from '2026-06-20 11:34:25'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.043478 -2.806778)', '2026-06-20 11:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.806924)'), GeomFromEWKT('SRID=4674;POINT (-40.043478 -2.806778)'))) / (select extract(epoch from '2026-06-20 11:34:34'::timestamp) - extract(epoch from '2026-06-20 11:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043386 -2.806924)'), GeomFromEWKT('SRID=4674;POINT (-40.043478 -2.806778)'))) / (select extract(epoch from '2026-06-20 11:34:34'::timestamp) - extract(epoch from '2026-06-20 11:34: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'), 46943, 'SRID=4674;POINT (-40.043513 -2.806682)', '2026-06-20 11:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043478 -2.806778)'), GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.806682)'))) / (select extract(epoch from '2026-06-20 11:34:41'::timestamp) - extract(epoch from '2026-06-20 11:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043478 -2.806778)'), GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.806682)'))) / (select extract(epoch from '2026-06-20 11:34:41'::timestamp) - extract(epoch from '2026-06-20 11:34: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'), 46943, 'SRID=4674;POINT (-40.043563 -2.806661)', '2026-06-20 11:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.806661)'))) / (select extract(epoch from '2026-06-20 11:34:48'::timestamp) - extract(epoch from '2026-06-20 11:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.806661)'))) / (select extract(epoch from '2026-06-20 11:34:48'::timestamp) - extract(epoch from '2026-06-20 11:34: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'), 46943, 'SRID=4674;POINT (-40.043628 -2.806607)', '2026-06-20 11:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.806661)'), GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.806607)'))) / (select extract(epoch from '2026-06-20 11:35:06'::timestamp) - extract(epoch from '2026-06-20 11:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043563 -2.806661)'), GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.806607)'))) / (select extract(epoch from '2026-06-20 11:35:06'::timestamp) - extract(epoch from '2026-06-20 11:34: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'), 46943, 'SRID=4674;POINT (-40.043655 -2.806563)', '2026-06-20 11:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806563)'))) / (select extract(epoch from '2026-06-20 11:35:20'::timestamp) - extract(epoch from '2026-06-20 11:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806563)'))) / (select extract(epoch from '2026-06-20 11:35:20'::timestamp) - extract(epoch from '2026-06-20 11:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043659 -2.806526)', '2026-06-20 11:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806563)'), GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806526)'))) / (select extract(epoch from '2026-06-20 11:35:39'::timestamp) - extract(epoch from '2026-06-20 11:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806563)'), GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806526)'))) / (select extract(epoch from '2026-06-20 11:35:39'::timestamp) - extract(epoch from '2026-06-20 11:35: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'), 46943, 'SRID=4674;POINT (-40.04366 -2.806532)', '2026-06-20 11:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806526)'), GeomFromEWKT('SRID=4674;POINT (-40.04366 -2.806532)'))) / (select extract(epoch from '2026-06-20 11:36:06'::timestamp) - extract(epoch from '2026-06-20 11:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806526)'), GeomFromEWKT('SRID=4674;POINT (-40.04366 -2.806532)'))) / (select extract(epoch from '2026-06-20 11:36:06'::timestamp) - extract(epoch from '2026-06-20 11:35: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'), 46943, 'SRID=4674;POINT (-40.043655 -2.806518)', '2026-06-20 11:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04366 -2.806532)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806518)'))) / (select extract(epoch from '2026-06-20 11:36:16'::timestamp) - extract(epoch from '2026-06-20 11:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04366 -2.806532)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806518)'))) / (select extract(epoch from '2026-06-20 11:36:16'::timestamp) - extract(epoch from '2026-06-20 11:36: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'), 46943, 'SRID=4674;POINT (-40.043635 -2.806503)', '2026-06-20 11:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806518)'), GeomFromEWKT('SRID=4674;POINT (-40.043635 -2.806503)'))) / (select extract(epoch from '2026-06-20 11:36:28'::timestamp) - extract(epoch from '2026-06-20 11:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806518)'), GeomFromEWKT('SRID=4674;POINT (-40.043635 -2.806503)'))) / (select extract(epoch from '2026-06-20 11:36:28'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.04363 -2.806522)', '2026-06-20 11:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043635 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.806522)'))) / (select extract(epoch from '2026-06-20 11:36:55'::timestamp) - extract(epoch from '2026-06-20 11:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043635 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.806522)'))) / (select extract(epoch from '2026-06-20 11:36:55'::timestamp) - extract(epoch from '2026-06-20 11:36: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'), 46943, 'SRID=4674;POINT (-40.04361 -2.806586)', '2026-06-20 11:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.806522)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806586)'))) / (select extract(epoch from '2026-06-20 11:37:04'::timestamp) - extract(epoch from '2026-06-20 11:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.806522)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806586)'))) / (select extract(epoch from '2026-06-20 11:37:04'::timestamp) - extract(epoch from '2026-06-20 11:36: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'), 46943, 'SRID=4674;POINT (-40.043551 -2.806644)', '2026-06-20 11:37:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806586)'), GeomFromEWKT('SRID=4674;POINT (-40.043551 -2.806644)'))) / (select extract(epoch from '2026-06-20 11:37:14'::timestamp) - extract(epoch from '2026-06-20 11:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806586)'), GeomFromEWKT('SRID=4674;POINT (-40.043551 -2.806644)'))) / (select extract(epoch from '2026-06-20 11:37:14'::timestamp) - extract(epoch from '2026-06-20 11:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.043504 -2.806703)', '2026-06-20 11:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043551 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.806703)'))) / (select extract(epoch from '2026-06-20 11:37:24'::timestamp) - extract(epoch from '2026-06-20 11:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043551 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.806703)'))) / (select extract(epoch from '2026-06-20 11:37:24'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.043508 -2.806723)', '2026-06-20 11:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.806703)'), GeomFromEWKT('SRID=4674;POINT (-40.043508 -2.806723)'))) / (select extract(epoch from '2026-06-20 11:37:26'::timestamp) - extract(epoch from '2026-06-20 11:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.806703)'), GeomFromEWKT('SRID=4674;POINT (-40.043508 -2.806723)'))) / (select extract(epoch from '2026-06-20 11:37:26'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.043523 -2.806741)', '2026-06-20 11:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043508 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.806741)'))) / (select extract(epoch from '2026-06-20 11:37:28'::timestamp) - extract(epoch from '2026-06-20 11:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043508 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.806741)'))) / (select extract(epoch from '2026-06-20 11:37:28'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.043545 -2.806754)', '2026-06-20 11:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.806741)'), GeomFromEWKT('SRID=4674;POINT (-40.043545 -2.806754)'))) / (select extract(epoch from '2026-06-20 11:37:30'::timestamp) - extract(epoch from '2026-06-20 11:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.806741)'), GeomFromEWKT('SRID=4674;POINT (-40.043545 -2.806754)'))) / (select extract(epoch from '2026-06-20 11:37:30'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.043591 -2.80676)', '2026-06-20 11:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043545 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.043591 -2.80676)'))) / (select extract(epoch from '2026-06-20 11:37:33'::timestamp) - extract(epoch from '2026-06-20 11:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043545 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.043591 -2.80676)'))) / (select extract(epoch from '2026-06-20 11:37:33'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.04377 -2.806774)', '2026-06-20 11:37:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043591 -2.80676)'), GeomFromEWKT('SRID=4674;POINT (-40.04377 -2.806774)'))) / (select extract(epoch from '2026-06-20 11:37:43'::timestamp) - extract(epoch from '2026-06-20 11:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043591 -2.80676)'), GeomFromEWKT('SRID=4674;POINT (-40.04377 -2.806774)'))) / (select extract(epoch from '2026-06-20 11:37:43'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.043875 -2.806837)', '2026-06-20 11:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04377 -2.806774)'), GeomFromEWKT('SRID=4674;POINT (-40.043875 -2.806837)'))) / (select extract(epoch from '2026-06-20 11:37:50'::timestamp) - extract(epoch from '2026-06-20 11:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04377 -2.806774)'), GeomFromEWKT('SRID=4674;POINT (-40.043875 -2.806837)'))) / (select extract(epoch from '2026-06-20 11:37:50'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.044015 -2.806921)', '2026-06-20 11:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043875 -2.806837)'), GeomFromEWKT('SRID=4674;POINT (-40.044015 -2.806921)'))) / (select extract(epoch from '2026-06-20 11:37:59'::timestamp) - extract(epoch from '2026-06-20 11:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043875 -2.806837)'), GeomFromEWKT('SRID=4674;POINT (-40.044015 -2.806921)'))) / (select extract(epoch from '2026-06-20 11:37:59'::timestamp) - extract(epoch from '2026-06-20 11:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044127 -2.806988)', '2026-06-20 11:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044015 -2.806921)'), GeomFromEWKT('SRID=4674;POINT (-40.044127 -2.806988)'))) / (select extract(epoch from '2026-06-20 11:38:08'::timestamp) - extract(epoch from '2026-06-20 11:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044015 -2.806921)'), GeomFromEWKT('SRID=4674;POINT (-40.044127 -2.806988)'))) / (select extract(epoch from '2026-06-20 11:38:08'::timestamp) - extract(epoch from '2026-06-20 11:37: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'), 46943, 'SRID=4674;POINT (-40.044219 -2.806974)', '2026-06-20 11:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044127 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.044219 -2.806974)'))) / (select extract(epoch from '2026-06-20 11:38:17'::timestamp) - extract(epoch from '2026-06-20 11:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044127 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.044219 -2.806974)'))) / (select extract(epoch from '2026-06-20 11:38:17'::timestamp) - extract(epoch from '2026-06-20 11:38: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'), 46943, 'SRID=4674;POINT (-40.044227 -2.806973)', '2026-06-20 11:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044219 -2.806974)'), GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.806973)'))) / (select extract(epoch from '2026-06-20 11:38:18'::timestamp) - extract(epoch from '2026-06-20 11:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044219 -2.806974)'), GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.806973)'))) / (select extract(epoch from '2026-06-20 11:38:18'::timestamp) - extract(epoch from '2026-06-20 11:38: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'), 46943, 'SRID=4674;POINT (-40.044264 -2.806971)', '2026-06-20 11:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.806971)'))) / (select extract(epoch from '2026-06-20 11:38:24'::timestamp) - extract(epoch from '2026-06-20 11:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.806971)'))) / (select extract(epoch from '2026-06-20 11:38:24'::timestamp) - extract(epoch from '2026-06-20 11:38: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'), 46943, 'SRID=4674;POINT (-40.04431 -2.806959)', '2026-06-20 11:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.806971)'), GeomFromEWKT('SRID=4674;POINT (-40.04431 -2.806959)'))) / (select extract(epoch from '2026-06-20 11:38:43'::timestamp) - extract(epoch from '2026-06-20 11:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.806971)'), GeomFromEWKT('SRID=4674;POINT (-40.04431 -2.806959)'))) / (select extract(epoch from '2026-06-20 11:38:43'::timestamp) - extract(epoch from '2026-06-20 11:38: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'), 46943, 'SRID=4674;POINT (-40.044309 -2.806944)', '2026-06-20 11:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04431 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.806944)'))) / (select extract(epoch from '2026-06-20 11:39:03'::timestamp) - extract(epoch from '2026-06-20 11:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04431 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.806944)'))) / (select extract(epoch from '2026-06-20 11:39:03'::timestamp) - extract(epoch from '2026-06-20 11:38: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'), 46943, 'SRID=4674;POINT (-40.04427 -2.806903)', '2026-06-20 11:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.806944)'), GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.806903)'))) / (select extract(epoch from '2026-06-20 11:39:23'::timestamp) - extract(epoch from '2026-06-20 11:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044309 -2.806944)'), GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.806903)'))) / (select extract(epoch from '2026-06-20 11:39:23'::timestamp) - extract(epoch from '2026-06-20 11:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044268 -2.806896)', '2026-06-20 11:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.806903)'), GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.806896)'))) / (select extract(epoch from '2026-06-20 11:39:29'::timestamp) - extract(epoch from '2026-06-20 11:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.806903)'), GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.806896)'))) / (select extract(epoch from '2026-06-20 11:39:29'::timestamp) - extract(epoch from '2026-06-20 11:39: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'), 46943, 'SRID=4674;POINT (-40.044275 -2.806888)', '2026-06-20 11:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806888)'))) / (select extract(epoch from '2026-06-20 11:39:38'::timestamp) - extract(epoch from '2026-06-20 11:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044268 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806888)'))) / (select extract(epoch from '2026-06-20 11:39:38'::timestamp) - extract(epoch from '2026-06-20 11:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044275 -2.806896)', '2026-06-20 11:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806896)'))) / (select extract(epoch from '2026-06-20 11:39:50'::timestamp) - extract(epoch from '2026-06-20 11:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806896)'))) / (select extract(epoch from '2026-06-20 11:39:50'::timestamp) - extract(epoch from '2026-06-20 11:39: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'), 46943, 'SRID=4674;POINT (-40.044266 -2.806925)', '2026-06-20 11:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.044266 -2.806925)'))) / (select extract(epoch from '2026-06-20 11:40:03'::timestamp) - extract(epoch from '2026-06-20 11:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.044266 -2.806925)'))) / (select extract(epoch from '2026-06-20 11:40:03'::timestamp) - extract(epoch from '2026-06-20 11:39: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'), 46943, 'SRID=4674;POINT (-40.044257 -2.806936)', '2026-06-20 11:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044266 -2.806925)'), GeomFromEWKT('SRID=4674;POINT (-40.044257 -2.806936)'))) / (select extract(epoch from '2026-06-20 11:40:18'::timestamp) - extract(epoch from '2026-06-20 11:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044266 -2.806925)'), GeomFromEWKT('SRID=4674;POINT (-40.044257 -2.806936)'))) / (select extract(epoch from '2026-06-20 11:40:18'::timestamp) - extract(epoch from '2026-06-20 11:40: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'), 46943, 'SRID=4674;POINT (-40.044275 -2.80694)', '2026-06-20 11:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044257 -2.806936)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.80694)'))) / (select extract(epoch from '2026-06-20 11:40:38'::timestamp) - extract(epoch from '2026-06-20 11:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044257 -2.806936)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.80694)'))) / (select extract(epoch from '2026-06-20 11:40:38'::timestamp) - extract(epoch from '2026-06-20 11:40: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'), 46943, 'SRID=4674;POINT (-40.044261 -2.806932)', '2026-06-20 11:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.044261 -2.806932)'))) / (select extract(epoch from '2026-06-20 11:40:51'::timestamp) - extract(epoch from '2026-06-20 11:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.044261 -2.806932)'))) / (select extract(epoch from '2026-06-20 11:40:51'::timestamp) - extract(epoch from '2026-06-20 11:40: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'), 46943, 'SRID=4674;POINT (-40.044248 -2.806918)', '2026-06-20 11:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044261 -2.806932)'), GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.806918)'))) / (select extract(epoch from '2026-06-20 11:41:00'::timestamp) - extract(epoch from '2026-06-20 11:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044261 -2.806932)'), GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.806918)'))) / (select extract(epoch from '2026-06-20 11:41:00'::timestamp) - extract(epoch from '2026-06-20 11:40: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'), 46943, 'SRID=4674;POINT (-40.044223 -2.8069)', '2026-06-20 11:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.044223 -2.8069)'))) / (select extract(epoch from '2026-06-20 11:41:22'::timestamp) - extract(epoch from '2026-06-20 11:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044248 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.044223 -2.8069)'))) / (select extract(epoch from '2026-06-20 11:41:22'::timestamp) - extract(epoch from '2026-06-20 11:41: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'), 46943, 'SRID=4674;POINT (-40.044252 -2.806917)', '2026-06-20 11:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044223 -2.8069)'), GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.806917)'))) / (select extract(epoch from '2026-06-20 11:41:42'::timestamp) - extract(epoch from '2026-06-20 11:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044223 -2.8069)'), GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.806917)'))) / (select extract(epoch from '2026-06-20 11:41:42'::timestamp) - extract(epoch from '2026-06-20 11:41: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'), 46943, 'SRID=4674;POINT (-40.044275 -2.806936)', '2026-06-20 11:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806936)'))) / (select extract(epoch from '2026-06-20 11:42:07'::timestamp) - extract(epoch from '2026-06-20 11:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044252 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806936)'))) / (select extract(epoch from '2026-06-20 11:42:07'::timestamp) - extract(epoch from '2026-06-20 11:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044277 -2.806934)', '2026-06-20 11:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806936)'), GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.806934)'))) / (select extract(epoch from '2026-06-20 11:42:28'::timestamp) - extract(epoch from '2026-06-20 11:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044275 -2.806936)'), GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.806934)'))) / (select extract(epoch from '2026-06-20 11:42:28'::timestamp) - extract(epoch from '2026-06-20 11:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044282 -2.80694)', '2026-06-20 11:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.806934)'), GeomFromEWKT('SRID=4674;POINT (-40.044282 -2.80694)'))) / (select extract(epoch from '2026-06-20 11:43:08'::timestamp) - extract(epoch from '2026-06-20 11:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.806934)'), GeomFromEWKT('SRID=4674;POINT (-40.044282 -2.80694)'))) / (select extract(epoch from '2026-06-20 11:43:08'::timestamp) - extract(epoch from '2026-06-20 11:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044281 -2.806944)', '2026-06-20 11:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044282 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.044281 -2.806944)'))) / (select extract(epoch from '2026-06-20 11:43:20'::timestamp) - extract(epoch from '2026-06-20 11:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044282 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.044281 -2.806944)'))) / (select extract(epoch from '2026-06-20 11:43:20'::timestamp) - extract(epoch from '2026-06-20 11:43: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'), 46943, 'SRID=4674;POINT (-40.044253 -2.806982)', '2026-06-20 11:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044281 -2.806944)'), GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.806982)'))) / (select extract(epoch from '2026-06-20 11:43:44'::timestamp) - extract(epoch from '2026-06-20 11:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044281 -2.806944)'), GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.806982)'))) / (select extract(epoch from '2026-06-20 11:43:44'::timestamp) - extract(epoch from '2026-06-20 11:43: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'), 46943, 'SRID=4674;POINT (-40.044201 -2.807009)', '2026-06-20 11:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.806982)'), GeomFromEWKT('SRID=4674;POINT (-40.044201 -2.807009)'))) / (select extract(epoch from '2026-06-20 11:43:52'::timestamp) - extract(epoch from '2026-06-20 11:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.806982)'), GeomFromEWKT('SRID=4674;POINT (-40.044201 -2.807009)'))) / (select extract(epoch from '2026-06-20 11:43:52'::timestamp) - extract(epoch from '2026-06-20 11:43: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'), 46943, 'SRID=4674;POINT (-40.044095 -2.806978)', '2026-06-20 11:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044201 -2.807009)'), GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.806978)'))) / (select extract(epoch from '2026-06-20 11:44:07'::timestamp) - extract(epoch from '2026-06-20 11:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044201 -2.807009)'), GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.806978)'))) / (select extract(epoch from '2026-06-20 11:44:07'::timestamp) - extract(epoch from '2026-06-20 11:43: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'), 46943, 'SRID=4674;POINT (-40.044083 -2.806879)', '2026-06-20 11:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.806978)'), GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.806879)'))) / (select extract(epoch from '2026-06-20 11:44:14'::timestamp) - extract(epoch from '2026-06-20 11:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.806978)'), GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.806879)'))) / (select extract(epoch from '2026-06-20 11:44:14'::timestamp) - extract(epoch from '2026-06-20 11:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044153 -2.806798)', '2026-06-20 11:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.806879)'), GeomFromEWKT('SRID=4674;POINT (-40.044153 -2.806798)'))) / (select extract(epoch from '2026-06-20 11:44:21'::timestamp) - extract(epoch from '2026-06-20 11:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044083 -2.806879)'), GeomFromEWKT('SRID=4674;POINT (-40.044153 -2.806798)'))) / (select extract(epoch from '2026-06-20 11:44:21'::timestamp) - extract(epoch from '2026-06-20 11:44: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'), 46943, 'SRID=4674;POINT (-40.04424 -2.806796)', '2026-06-20 11:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044153 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.806796)'))) / (select extract(epoch from '2026-06-20 11:44:28'::timestamp) - extract(epoch from '2026-06-20 11:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044153 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.806796)'))) / (select extract(epoch from '2026-06-20 11:44:28'::timestamp) - extract(epoch from '2026-06-20 11:44: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'), 46943, 'SRID=4674;POINT (-40.044321 -2.80686)', '2026-06-20 11:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.80686)'))) / (select extract(epoch from '2026-06-20 11:44:36'::timestamp) - extract(epoch from '2026-06-20 11:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04424 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.80686)'))) / (select extract(epoch from '2026-06-20 11:44:36'::timestamp) - extract(epoch from '2026-06-20 11:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.0444 -2.806942)', '2026-06-20 11:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.80686)'), GeomFromEWKT('SRID=4674;POINT (-40.0444 -2.806942)'))) / (select extract(epoch from '2026-06-20 11:44:44'::timestamp) - extract(epoch from '2026-06-20 11:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044321 -2.80686)'), GeomFromEWKT('SRID=4674;POINT (-40.0444 -2.806942)'))) / (select extract(epoch from '2026-06-20 11:44:44'::timestamp) - extract(epoch from '2026-06-20 11:44: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'), 46943, 'SRID=4674;POINT (-40.044515 -2.807038)', '2026-06-20 11:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0444 -2.806942)'), GeomFromEWKT('SRID=4674;POINT (-40.044515 -2.807038)'))) / (select extract(epoch from '2026-06-20 11:44:53'::timestamp) - extract(epoch from '2026-06-20 11:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0444 -2.806942)'), GeomFromEWKT('SRID=4674;POINT (-40.044515 -2.807038)'))) / (select extract(epoch from '2026-06-20 11:44:53'::timestamp) - extract(epoch from '2026-06-20 11:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044659 -2.807122)', '2026-06-20 11:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044515 -2.807038)'), GeomFromEWKT('SRID=4674;POINT (-40.044659 -2.807122)'))) / (select extract(epoch from '2026-06-20 11:45:02'::timestamp) - extract(epoch from '2026-06-20 11:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044515 -2.807038)'), GeomFromEWKT('SRID=4674;POINT (-40.044659 -2.807122)'))) / (select extract(epoch from '2026-06-20 11:45:02'::timestamp) - extract(epoch from '2026-06-20 11:44: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'), 46943, 'SRID=4674;POINT (-40.044795 -2.807184)', '2026-06-20 11:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044659 -2.807122)'), GeomFromEWKT('SRID=4674;POINT (-40.044795 -2.807184)'))) / (select extract(epoch from '2026-06-20 11:45:10'::timestamp) - extract(epoch from '2026-06-20 11:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044659 -2.807122)'), GeomFromEWKT('SRID=4674;POINT (-40.044795 -2.807184)'))) / (select extract(epoch from '2026-06-20 11:45:10'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.044939 -2.80727)', '2026-06-20 11:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044795 -2.807184)'), GeomFromEWKT('SRID=4674;POINT (-40.044939 -2.80727)'))) / (select extract(epoch from '2026-06-20 11:45:19'::timestamp) - extract(epoch from '2026-06-20 11:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044795 -2.807184)'), GeomFromEWKT('SRID=4674;POINT (-40.044939 -2.80727)'))) / (select extract(epoch from '2026-06-20 11:45:19'::timestamp) - extract(epoch from '2026-06-20 11:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045036 -2.807344)', '2026-06-20 11:45:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044939 -2.80727)'), GeomFromEWKT('SRID=4674;POINT (-40.045036 -2.807344)'))) / (select extract(epoch from '2026-06-20 11:45:26'::timestamp) - extract(epoch from '2026-06-20 11:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044939 -2.80727)'), GeomFromEWKT('SRID=4674;POINT (-40.045036 -2.807344)'))) / (select extract(epoch from '2026-06-20 11:45:26'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045187 -2.807424)', '2026-06-20 11:45:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045036 -2.807344)'), GeomFromEWKT('SRID=4674;POINT (-40.045187 -2.807424)'))) / (select extract(epoch from '2026-06-20 11:45:36'::timestamp) - extract(epoch from '2026-06-20 11:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045036 -2.807344)'), GeomFromEWKT('SRID=4674;POINT (-40.045187 -2.807424)'))) / (select extract(epoch from '2026-06-20 11:45:36'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045295 -2.807501)', '2026-06-20 11:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045187 -2.807424)'), GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807501)'))) / (select extract(epoch from '2026-06-20 11:45:45'::timestamp) - extract(epoch from '2026-06-20 11:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045187 -2.807424)'), GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807501)'))) / (select extract(epoch from '2026-06-20 11:45:45'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045295 -2.807513)', '2026-06-20 11:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807501)'), GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807513)'))) / (select extract(epoch from '2026-06-20 11:45:46'::timestamp) - extract(epoch from '2026-06-20 11:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807501)'), GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807513)'))) / (select extract(epoch from '2026-06-20 11:45:46'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045272 -2.807563)', '2026-06-20 11:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807513)'), GeomFromEWKT('SRID=4674;POINT (-40.045272 -2.807563)'))) / (select extract(epoch from '2026-06-20 11:45:51'::timestamp) - extract(epoch from '2026-06-20 11:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045295 -2.807513)'), GeomFromEWKT('SRID=4674;POINT (-40.045272 -2.807563)'))) / (select extract(epoch from '2026-06-20 11:45:51'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045273 -2.807573)', '2026-06-20 11:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045272 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.045273 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:45:52'::timestamp) - extract(epoch from '2026-06-20 11:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045272 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.045273 -2.807573)'))) / (select extract(epoch from '2026-06-20 11:45:52'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045317 -2.807613)', '2026-06-20 11:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045273 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.045317 -2.807613)'))) / (select extract(epoch from '2026-06-20 11:45:58'::timestamp) - extract(epoch from '2026-06-20 11:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045273 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.045317 -2.807613)'))) / (select extract(epoch from '2026-06-20 11:45:58'::timestamp) - extract(epoch from '2026-06-20 11:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045386 -2.807668)', '2026-06-20 11:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045317 -2.807613)'), GeomFromEWKT('SRID=4674;POINT (-40.045386 -2.807668)'))) / (select extract(epoch from '2026-06-20 11:46:06'::timestamp) - extract(epoch from '2026-06-20 11:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045317 -2.807613)'), GeomFromEWKT('SRID=4674;POINT (-40.045386 -2.807668)'))) / (select extract(epoch from '2026-06-20 11:46:06'::timestamp) - extract(epoch from '2026-06-20 11:45: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'), 46943, 'SRID=4674;POINT (-40.045366 -2.807754)', '2026-06-20 11:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045386 -2.807668)'), GeomFromEWKT('SRID=4674;POINT (-40.045366 -2.807754)'))) / (select extract(epoch from '2026-06-20 11:46:15'::timestamp) - extract(epoch from '2026-06-20 11:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045386 -2.807668)'), GeomFromEWKT('SRID=4674;POINT (-40.045366 -2.807754)'))) / (select extract(epoch from '2026-06-20 11:46:15'::timestamp) - extract(epoch from '2026-06-20 11:46: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'), 46943, 'SRID=4674;POINT (-40.045291 -2.807792)', '2026-06-20 11:46:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045366 -2.807754)'), GeomFromEWKT('SRID=4674;POINT (-40.045291 -2.807792)'))) / (select extract(epoch from '2026-06-20 11:46:23'::timestamp) - extract(epoch from '2026-06-20 11:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045366 -2.807754)'), GeomFromEWKT('SRID=4674;POINT (-40.045291 -2.807792)'))) / (select extract(epoch from '2026-06-20 11:46:23'::timestamp) - extract(epoch from '2026-06-20 11:46: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'), 46943, 'SRID=4674;POINT (-40.045241 -2.807778)', '2026-06-20 11:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045291 -2.807792)'), GeomFromEWKT('SRID=4674;POINT (-40.045241 -2.807778)'))) / (select extract(epoch from '2026-06-20 11:46:32'::timestamp) - extract(epoch from '2026-06-20 11:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045291 -2.807792)'), GeomFromEWKT('SRID=4674;POINT (-40.045241 -2.807778)'))) / (select extract(epoch from '2026-06-20 11:46:32'::timestamp) - extract(epoch from '2026-06-20 11:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045227 -2.807723)', '2026-06-20 11:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045241 -2.807778)'), GeomFromEWKT('SRID=4674;POINT (-40.045227 -2.807723)'))) / (select extract(epoch from '2026-06-20 11:46:50'::timestamp) - extract(epoch from '2026-06-20 11:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045241 -2.807778)'), GeomFromEWKT('SRID=4674;POINT (-40.045227 -2.807723)'))) / (select extract(epoch from '2026-06-20 11:46:50'::timestamp) - extract(epoch from '2026-06-20 11:46: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'), 46943, 'SRID=4674;POINT (-40.045282 -2.807639)', '2026-06-20 11:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045227 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.045282 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:47:17'::timestamp) - extract(epoch from '2026-06-20 11:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045227 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.045282 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:47:17'::timestamp) - extract(epoch from '2026-06-20 11:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045312 -2.807625)', '2026-06-20 11:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045282 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.045312 -2.807625)'))) / (select extract(epoch from '2026-06-20 11:47:38'::timestamp) - extract(epoch from '2026-06-20 11:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045282 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.045312 -2.807625)'))) / (select extract(epoch from '2026-06-20 11:47:38'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.045357 -2.807601)', '2026-06-20 11:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045312 -2.807625)'), GeomFromEWKT('SRID=4674;POINT (-40.045357 -2.807601)'))) / (select extract(epoch from '2026-06-20 11:48:03'::timestamp) - extract(epoch from '2026-06-20 11:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045312 -2.807625)'), GeomFromEWKT('SRID=4674;POINT (-40.045357 -2.807601)'))) / (select extract(epoch from '2026-06-20 11:48:03'::timestamp) - extract(epoch from '2026-06-20 11:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045328 -2.807639)', '2026-06-20 11:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045357 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.045328 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:48:12'::timestamp) - extract(epoch from '2026-06-20 11:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045357 -2.807601)'), GeomFromEWKT('SRID=4674;POINT (-40.045328 -2.807639)'))) / (select extract(epoch from '2026-06-20 11:48:12'::timestamp) - extract(epoch from '2026-06-20 11:48: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'), 46943, 'SRID=4674;POINT (-40.045274 -2.807742)', '2026-06-20 11:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045328 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.045274 -2.807742)'))) / (select extract(epoch from '2026-06-20 11:48:21'::timestamp) - extract(epoch from '2026-06-20 11:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045328 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.045274 -2.807742)'))) / (select extract(epoch from '2026-06-20 11:48:21'::timestamp) - extract(epoch from '2026-06-20 11:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045231 -2.8078)', '2026-06-20 11:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045274 -2.807742)'), GeomFromEWKT('SRID=4674;POINT (-40.045231 -2.8078)'))) / (select extract(epoch from '2026-06-20 11:48:29'::timestamp) - extract(epoch from '2026-06-20 11:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045274 -2.807742)'), GeomFromEWKT('SRID=4674;POINT (-40.045231 -2.8078)'))) / (select extract(epoch from '2026-06-20 11:48:29'::timestamp) - extract(epoch from '2026-06-20 11:48: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'), 46943, 'SRID=4674;POINT (-40.045182 -2.807867)', '2026-06-20 11:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045231 -2.8078)'), GeomFromEWKT('SRID=4674;POINT (-40.045182 -2.807867)'))) / (select extract(epoch from '2026-06-20 11:48:37'::timestamp) - extract(epoch from '2026-06-20 11:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045231 -2.8078)'), GeomFromEWKT('SRID=4674;POINT (-40.045182 -2.807867)'))) / (select extract(epoch from '2026-06-20 11:48:37'::timestamp) - extract(epoch from '2026-06-20 11:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045127 -2.807994)', '2026-06-20 11:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045182 -2.807867)'), GeomFromEWKT('SRID=4674;POINT (-40.045127 -2.807994)'))) / (select extract(epoch from '2026-06-20 11:48:46'::timestamp) - extract(epoch from '2026-06-20 11:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045182 -2.807867)'), GeomFromEWKT('SRID=4674;POINT (-40.045127 -2.807994)'))) / (select extract(epoch from '2026-06-20 11:48:46'::timestamp) - extract(epoch from '2026-06-20 11: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'), 46943, 'SRID=4674;POINT (-40.045107 -2.808155)', '2026-06-20 11:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045127 -2.807994)'), GeomFromEWKT('SRID=4674;POINT (-40.045107 -2.808155)'))) / (select extract(epoch from '2026-06-20 11:48:56'::timestamp) - extract(epoch from '2026-06-20 11:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045127 -2.807994)'), GeomFromEWKT('SRID=4674;POINT (-40.045107 -2.808155)'))) / (select extract(epoch from '2026-06-20 11:48:56'::timestamp) - extract(epoch from '2026-06-20 11:48: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'), 46943, 'SRID=4674;POINT (-40.045097 -2.808285)', '2026-06-20 11:49:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045107 -2.808155)'), GeomFromEWKT('SRID=4674;POINT (-40.045097 -2.808285)'))) / (select extract(epoch from '2026-06-20 11:49:04'::timestamp) - extract(epoch from '2026-06-20 11:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045107 -2.808155)'), GeomFromEWKT('SRID=4674;POINT (-40.045097 -2.808285)'))) / (select extract(epoch from '2026-06-20 11:49:04'::timestamp) - extract(epoch from '2026-06-20 11:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045067 -2.808463)', '2026-06-20 11:49:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045097 -2.808285)'), GeomFromEWKT('SRID=4674;POINT (-40.045067 -2.808463)'))) / (select extract(epoch from '2026-06-20 11:49:15'::timestamp) - extract(epoch from '2026-06-20 11:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045097 -2.808285)'), GeomFromEWKT('SRID=4674;POINT (-40.045067 -2.808463)'))) / (select extract(epoch from '2026-06-20 11:49:15'::timestamp) - extract(epoch from '2026-06-20 11:49: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'), 46943, 'SRID=4674;POINT (-40.04505 -2.808643)', '2026-06-20 11:49:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045067 -2.808463)'), GeomFromEWKT('SRID=4674;POINT (-40.04505 -2.808643)'))) / (select extract(epoch from '2026-06-20 11:49:26'::timestamp) - extract(epoch from '2026-06-20 11:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045067 -2.808463)'), GeomFromEWKT('SRID=4674;POINT (-40.04505 -2.808643)'))) / (select extract(epoch from '2026-06-20 11:49:26'::timestamp) - extract(epoch from '2026-06-20 11:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.045054 -2.80877)', '2026-06-20 11:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04505 -2.808643)'), GeomFromEWKT('SRID=4674;POINT (-40.045054 -2.80877)'))) / (select extract(epoch from '2026-06-20 11:49:33'::timestamp) - extract(epoch from '2026-06-20 11:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04505 -2.808643)'), GeomFromEWKT('SRID=4674;POINT (-40.045054 -2.80877)'))) / (select extract(epoch from '2026-06-20 11:49:33'::timestamp) - extract(epoch from '2026-06-20 11:49: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'), 46943, 'SRID=4674;POINT (-40.045028 -2.808862)', '2026-06-20 11:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045054 -2.80877)'), GeomFromEWKT('SRID=4674;POINT (-40.045028 -2.808862)'))) / (select extract(epoch from '2026-06-20 11:49:39'::timestamp) - extract(epoch from '2026-06-20 11:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045054 -2.80877)'), GeomFromEWKT('SRID=4674;POINT (-40.045028 -2.808862)'))) / (select extract(epoch from '2026-06-20 11:49:39'::timestamp) - extract(epoch from '2026-06-20 11:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044924 -2.808937)', '2026-06-20 11:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045028 -2.808862)'), GeomFromEWKT('SRID=4674;POINT (-40.044924 -2.808937)'))) / (select extract(epoch from '2026-06-20 11:49:47'::timestamp) - extract(epoch from '2026-06-20 11:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045028 -2.808862)'), GeomFromEWKT('SRID=4674;POINT (-40.044924 -2.808937)'))) / (select extract(epoch from '2026-06-20 11:49:47'::timestamp) - extract(epoch from '2026-06-20 11:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044828 -2.809121)', '2026-06-20 11:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044924 -2.808937)'), GeomFromEWKT('SRID=4674;POINT (-40.044828 -2.809121)'))) / (select extract(epoch from '2026-06-20 11:49:59'::timestamp) - extract(epoch from '2026-06-20 11:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044924 -2.808937)'), GeomFromEWKT('SRID=4674;POINT (-40.044828 -2.809121)'))) / (select extract(epoch from '2026-06-20 11:49:59'::timestamp) - extract(epoch from '2026-06-20 11:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044817 -2.809287)', '2026-06-20 11:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044828 -2.809121)'), GeomFromEWKT('SRID=4674;POINT (-40.044817 -2.809287)'))) / (select extract(epoch from '2026-06-20 11:50:09'::timestamp) - extract(epoch from '2026-06-20 11:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044828 -2.809121)'), GeomFromEWKT('SRID=4674;POINT (-40.044817 -2.809287)'))) / (select extract(epoch from '2026-06-20 11:50:09'::timestamp) - extract(epoch from '2026-06-20 11:49: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'), 46943, 'SRID=4674;POINT (-40.044809 -2.809482)', '2026-06-20 11:50:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044817 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.044809 -2.809482)'))) / (select extract(epoch from '2026-06-20 11:50:20'::timestamp) - extract(epoch from '2026-06-20 11:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044817 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.044809 -2.809482)'))) / (select extract(epoch from '2026-06-20 11:50:20'::timestamp) - extract(epoch from '2026-06-20 11:50: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'), 46943, 'SRID=4674;POINT (-40.044804 -2.809678)', '2026-06-20 11:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044809 -2.809482)'), GeomFromEWKT('SRID=4674;POINT (-40.044804 -2.809678)'))) / (select extract(epoch from '2026-06-20 11:50:31'::timestamp) - extract(epoch from '2026-06-20 11:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044809 -2.809482)'), GeomFromEWKT('SRID=4674;POINT (-40.044804 -2.809678)'))) / (select extract(epoch from '2026-06-20 11:50:31'::timestamp) - extract(epoch from '2026-06-20 11:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044825 -2.809822)', '2026-06-20 11:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044804 -2.809678)'), GeomFromEWKT('SRID=4674;POINT (-40.044825 -2.809822)'))) / (select extract(epoch from '2026-06-20 11:50:40'::timestamp) - extract(epoch from '2026-06-20 11:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044804 -2.809678)'), GeomFromEWKT('SRID=4674;POINT (-40.044825 -2.809822)'))) / (select extract(epoch from '2026-06-20 11:50:40'::timestamp) - extract(epoch from '2026-06-20 11:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46943, 'SRID=4674;POINT (-40.044834 -2.809876)', '2026-06-20 11:50:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044825 -2.809822)'), GeomFromEWKT('SRID=4674;POINT (-40.044834 -2.809876)'))) / (select extract(epoch from '2026-06-20 11:50:44'::timestamp) - extract(epoch from '2026-06-20 11:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044825 -2.809822)'), GeomFromEWKT('SRID=4674;POINT (-40.044834 -2.809876)'))) / (select extract(epoch from '2026-06-20 11:50:44'::timestamp) - extract(epoch from '2026-06-20 11:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
