 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014666 -2.832354)', '2026-06-12 12:24:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.83238)'), GeomFromEWKT('SRID=4674;POINT (-40.014666 -2.832354)'))) / (select extract(epoch from '2026-06-12 12:24:58'::timestamp) - extract(epoch from '2026-06-12 12:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.83238)'), GeomFromEWKT('SRID=4674;POINT (-40.014666 -2.832354)'))) / (select extract(epoch from '2026-06-12 12:24:58'::timestamp) - extract(epoch from '2026-06-12 12:24: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'), 46699, 'SRID=4674;POINT (-40.014694 -2.832291)', '2026-06-12 12:25:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014666 -2.832354)'), GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.832291)'))) / (select extract(epoch from '2026-06-12 12:25:06'::timestamp) - extract(epoch from '2026-06-12 12:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014666 -2.832354)'), GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.832291)'))) / (select extract(epoch from '2026-06-12 12:25:06'::timestamp) - extract(epoch from '2026-06-12 12:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014773 -2.832285)', '2026-06-12 12:25:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.832291)'), GeomFromEWKT('SRID=4674;POINT (-40.014773 -2.832285)'))) / (select extract(epoch from '2026-06-12 12:25:12'::timestamp) - extract(epoch from '2026-06-12 12:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.832291)'), GeomFromEWKT('SRID=4674;POINT (-40.014773 -2.832285)'))) / (select extract(epoch from '2026-06-12 12:25:12'::timestamp) - extract(epoch from '2026-06-12 12:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014879 -2.832357)', '2026-06-12 12:25:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014773 -2.832285)'), GeomFromEWKT('SRID=4674;POINT (-40.014879 -2.832357)'))) / (select extract(epoch from '2026-06-12 12:25:20'::timestamp) - extract(epoch from '2026-06-12 12:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014773 -2.832285)'), GeomFromEWKT('SRID=4674;POINT (-40.014879 -2.832357)'))) / (select extract(epoch from '2026-06-12 12:25:20'::timestamp) - extract(epoch from '2026-06-12 12:25: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'), 46699, 'SRID=4674;POINT (-40.014924 -2.83246)', '2026-06-12 12:25:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014879 -2.832357)'), GeomFromEWKT('SRID=4674;POINT (-40.014924 -2.83246)'))) / (select extract(epoch from '2026-06-12 12:25:28'::timestamp) - extract(epoch from '2026-06-12 12:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014879 -2.832357)'), GeomFromEWKT('SRID=4674;POINT (-40.014924 -2.83246)'))) / (select extract(epoch from '2026-06-12 12:25:28'::timestamp) - extract(epoch from '2026-06-12 12:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014884 -2.832563)', '2026-06-12 12:25:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014924 -2.83246)'), GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.832563)'))) / (select extract(epoch from '2026-06-12 12:25:37'::timestamp) - extract(epoch from '2026-06-12 12:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014924 -2.83246)'), GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.832563)'))) / (select extract(epoch from '2026-06-12 12:25:37'::timestamp) - extract(epoch from '2026-06-12 12:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014797 -2.832609)', '2026-06-12 12:25:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.832563)'), GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.832609)'))) / (select extract(epoch from '2026-06-12 12:25:47'::timestamp) - extract(epoch from '2026-06-12 12:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.832563)'), GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.832609)'))) / (select extract(epoch from '2026-06-12 12:25:47'::timestamp) - extract(epoch from '2026-06-12 12:25: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'), 46699, 'SRID=4674;POINT (-40.014722 -2.832648)', '2026-06-12 12:25:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.832609)'), GeomFromEWKT('SRID=4674;POINT (-40.014722 -2.832648)'))) / (select extract(epoch from '2026-06-12 12:25:56'::timestamp) - extract(epoch from '2026-06-12 12:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.832609)'), GeomFromEWKT('SRID=4674;POINT (-40.014722 -2.832648)'))) / (select extract(epoch from '2026-06-12 12:25:56'::timestamp) - extract(epoch from '2026-06-12 12:25: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'), 46699, 'SRID=4674;POINT (-40.014627 -2.832666)', '2026-06-12 12:26:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014722 -2.832648)'), GeomFromEWKT('SRID=4674;POINT (-40.014627 -2.832666)'))) / (select extract(epoch from '2026-06-12 12:26:07'::timestamp) - extract(epoch from '2026-06-12 12:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014722 -2.832648)'), GeomFromEWKT('SRID=4674;POINT (-40.014627 -2.832666)'))) / (select extract(epoch from '2026-06-12 12:26:07'::timestamp) - extract(epoch from '2026-06-12 12:25: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'), 46699, 'SRID=4674;POINT (-40.014558 -2.832632)', '2026-06-12 12:26:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014627 -2.832666)'), GeomFromEWKT('SRID=4674;POINT (-40.014558 -2.832632)'))) / (select extract(epoch from '2026-06-12 12:26:15'::timestamp) - extract(epoch from '2026-06-12 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014627 -2.832666)'), GeomFromEWKT('SRID=4674;POINT (-40.014558 -2.832632)'))) / (select extract(epoch from '2026-06-12 12:26:15'::timestamp) - extract(epoch from '2026-06-12 12:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.0145 -2.832539)', '2026-06-12 12:26:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014558 -2.832632)'), GeomFromEWKT('SRID=4674;POINT (-40.0145 -2.832539)'))) / (select extract(epoch from '2026-06-12 12:26:25'::timestamp) - extract(epoch from '2026-06-12 12:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014558 -2.832632)'), GeomFromEWKT('SRID=4674;POINT (-40.0145 -2.832539)'))) / (select extract(epoch from '2026-06-12 12:26:25'::timestamp) - extract(epoch from '2026-06-12 12:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014469 -2.832442)', '2026-06-12 12:26:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0145 -2.832539)'), GeomFromEWKT('SRID=4674;POINT (-40.014469 -2.832442)'))) / (select extract(epoch from '2026-06-12 12:26:35'::timestamp) - extract(epoch from '2026-06-12 12:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0145 -2.832539)'), GeomFromEWKT('SRID=4674;POINT (-40.014469 -2.832442)'))) / (select extract(epoch from '2026-06-12 12:26:35'::timestamp) - extract(epoch from '2026-06-12 12:26: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'), 46699, 'SRID=4674;POINT (-40.014444 -2.832344)', '2026-06-12 12:26:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014469 -2.832442)'), GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832344)'))) / (select extract(epoch from '2026-06-12 12:26:45'::timestamp) - extract(epoch from '2026-06-12 12:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014469 -2.832442)'), GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832344)'))) / (select extract(epoch from '2026-06-12 12:26:45'::timestamp) - extract(epoch from '2026-06-12 12:26: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'), 46699, 'SRID=4674;POINT (-40.014441 -2.832243)', '2026-06-12 12:26:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832344)'), GeomFromEWKT('SRID=4674;POINT (-40.014441 -2.832243)'))) / (select extract(epoch from '2026-06-12 12:26:54'::timestamp) - extract(epoch from '2026-06-12 12:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832344)'), GeomFromEWKT('SRID=4674;POINT (-40.014441 -2.832243)'))) / (select extract(epoch from '2026-06-12 12:26:54'::timestamp) - extract(epoch from '2026-06-12 12:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014444 -2.832138)', '2026-06-12 12:27:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014441 -2.832243)'), GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832138)'))) / (select extract(epoch from '2026-06-12 12:27:04'::timestamp) - extract(epoch from '2026-06-12 12:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014441 -2.832243)'), GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832138)'))) / (select extract(epoch from '2026-06-12 12:27:04'::timestamp) - extract(epoch from '2026-06-12 12:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014519 -2.832047)', '2026-06-12 12:27:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832138)'), GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.832047)'))) / (select extract(epoch from '2026-06-12 12:27:13'::timestamp) - extract(epoch from '2026-06-12 12:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014444 -2.832138)'), GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.832047)'))) / (select extract(epoch from '2026-06-12 12:27:13'::timestamp) - extract(epoch from '2026-06-12 12:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014633 -2.831984)', '2026-06-12 12:27:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.832047)'), GeomFromEWKT('SRID=4674;POINT (-40.014633 -2.831984)'))) / (select extract(epoch from '2026-06-12 12:27:23'::timestamp) - extract(epoch from '2026-06-12 12:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.832047)'), GeomFromEWKT('SRID=4674;POINT (-40.014633 -2.831984)'))) / (select extract(epoch from '2026-06-12 12:27:23'::timestamp) - extract(epoch from '2026-06-12 12:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014741 -2.831941)', '2026-06-12 12:27:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014633 -2.831984)'), GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.831941)'))) / (select extract(epoch from '2026-06-12 12:27:32'::timestamp) - extract(epoch from '2026-06-12 12:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014633 -2.831984)'), GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.831941)'))) / (select extract(epoch from '2026-06-12 12:27:32'::timestamp) - extract(epoch from '2026-06-12 12:27: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'), 46699, 'SRID=4674;POINT (-40.014849 -2.831917)', '2026-06-12 12:27:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.831941)'), GeomFromEWKT('SRID=4674;POINT (-40.014849 -2.831917)'))) / (select extract(epoch from '2026-06-12 12:27:41'::timestamp) - extract(epoch from '2026-06-12 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.831941)'), GeomFromEWKT('SRID=4674;POINT (-40.014849 -2.831917)'))) / (select extract(epoch from '2026-06-12 12:27:41'::timestamp) - extract(epoch from '2026-06-12 12:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.014996 -2.831898)', '2026-06-12 12:27:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014849 -2.831917)'), GeomFromEWKT('SRID=4674;POINT (-40.014996 -2.831898)'))) / (select extract(epoch from '2026-06-12 12:27:53'::timestamp) - extract(epoch from '2026-06-12 12:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014849 -2.831917)'), GeomFromEWKT('SRID=4674;POINT (-40.014996 -2.831898)'))) / (select extract(epoch from '2026-06-12 12:27:53'::timestamp) - extract(epoch from '2026-06-12 12:27: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'), 46699, 'SRID=4674;POINT (-40.015099 -2.831878)', '2026-06-12 12:28:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014996 -2.831898)'), GeomFromEWKT('SRID=4674;POINT (-40.015099 -2.831878)'))) / (select extract(epoch from '2026-06-12 12:28:01'::timestamp) - extract(epoch from '2026-06-12 12:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014996 -2.831898)'), GeomFromEWKT('SRID=4674;POINT (-40.015099 -2.831878)'))) / (select extract(epoch from '2026-06-12 12:28:01'::timestamp) - extract(epoch from '2026-06-12 12:27: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'), 46699, 'SRID=4674;POINT (-40.015243 -2.831853)', '2026-06-12 12:28:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015099 -2.831878)'), GeomFromEWKT('SRID=4674;POINT (-40.015243 -2.831853)'))) / (select extract(epoch from '2026-06-12 12:28:12'::timestamp) - extract(epoch from '2026-06-12 12:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015099 -2.831878)'), GeomFromEWKT('SRID=4674;POINT (-40.015243 -2.831853)'))) / (select extract(epoch from '2026-06-12 12:28:12'::timestamp) - extract(epoch from '2026-06-12 12:28: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'), 46699, 'SRID=4674;POINT (-40.015362 -2.83183)', '2026-06-12 12:28:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015243 -2.831853)'), GeomFromEWKT('SRID=4674;POINT (-40.015362 -2.83183)'))) / (select extract(epoch from '2026-06-12 12:28:21'::timestamp) - extract(epoch from '2026-06-12 12:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015243 -2.831853)'), GeomFromEWKT('SRID=4674;POINT (-40.015362 -2.83183)'))) / (select extract(epoch from '2026-06-12 12:28:21'::timestamp) - extract(epoch from '2026-06-12 12:28: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'), 46699, 'SRID=4674;POINT (-40.01547 -2.8318)', '2026-06-12 12:28:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015362 -2.83183)'), GeomFromEWKT('SRID=4674;POINT (-40.01547 -2.8318)'))) / (select extract(epoch from '2026-06-12 12:28:30'::timestamp) - extract(epoch from '2026-06-12 12:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015362 -2.83183)'), GeomFromEWKT('SRID=4674;POINT (-40.01547 -2.8318)'))) / (select extract(epoch from '2026-06-12 12:28:30'::timestamp) - extract(epoch from '2026-06-12 12:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.015588 -2.831772)', '2026-06-12 12:28:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01547 -2.8318)'), GeomFromEWKT('SRID=4674;POINT (-40.015588 -2.831772)'))) / (select extract(epoch from '2026-06-12 12:28:40'::timestamp) - extract(epoch from '2026-06-12 12:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01547 -2.8318)'), GeomFromEWKT('SRID=4674;POINT (-40.015588 -2.831772)'))) / (select extract(epoch from '2026-06-12 12:28:40'::timestamp) - extract(epoch from '2026-06-12 12:28: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'), 46699, 'SRID=4674;POINT (-40.015731 -2.831729)', '2026-06-12 12:28:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015588 -2.831772)'), GeomFromEWKT('SRID=4674;POINT (-40.015731 -2.831729)'))) / (select extract(epoch from '2026-06-12 12:28:52'::timestamp) - extract(epoch from '2026-06-12 12:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015588 -2.831772)'), GeomFromEWKT('SRID=4674;POINT (-40.015731 -2.831729)'))) / (select extract(epoch from '2026-06-12 12:28:52'::timestamp) - extract(epoch from '2026-06-12 12:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.015839 -2.831693)', '2026-06-12 12:29:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015731 -2.831729)'), GeomFromEWKT('SRID=4674;POINT (-40.015839 -2.831693)'))) / (select extract(epoch from '2026-06-12 12:29:02'::timestamp) - extract(epoch from '2026-06-12 12:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015731 -2.831729)'), GeomFromEWKT('SRID=4674;POINT (-40.015839 -2.831693)'))) / (select extract(epoch from '2026-06-12 12:29:02'::timestamp) - extract(epoch from '2026-06-12 12:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.015963 -2.831663)', '2026-06-12 12:29:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015839 -2.831693)'), GeomFromEWKT('SRID=4674;POINT (-40.015963 -2.831663)'))) / (select extract(epoch from '2026-06-12 12:29:12'::timestamp) - extract(epoch from '2026-06-12 12:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015839 -2.831693)'), GeomFromEWKT('SRID=4674;POINT (-40.015963 -2.831663)'))) / (select extract(epoch from '2026-06-12 12:29:12'::timestamp) - extract(epoch from '2026-06-12 12:29: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'), 46699, 'SRID=4674;POINT (-40.01606 -2.831645)', '2026-06-12 12:29:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015963 -2.831663)'), GeomFromEWKT('SRID=4674;POINT (-40.01606 -2.831645)'))) / (select extract(epoch from '2026-06-12 12:29:20'::timestamp) - extract(epoch from '2026-06-12 12:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015963 -2.831663)'), GeomFromEWKT('SRID=4674;POINT (-40.01606 -2.831645)'))) / (select extract(epoch from '2026-06-12 12:29:20'::timestamp) - extract(epoch from '2026-06-12 12:29: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'), 46699, 'SRID=4674;POINT (-40.016177 -2.831614)', '2026-06-12 12:29:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01606 -2.831645)'), GeomFromEWKT('SRID=4674;POINT (-40.016177 -2.831614)'))) / (select extract(epoch from '2026-06-12 12:29:30'::timestamp) - extract(epoch from '2026-06-12 12:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01606 -2.831645)'), GeomFromEWKT('SRID=4674;POINT (-40.016177 -2.831614)'))) / (select extract(epoch from '2026-06-12 12:29:30'::timestamp) - extract(epoch from '2026-06-12 12:29: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'), 46699, 'SRID=4674;POINT (-40.016274 -2.831595)', '2026-06-12 12:29:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016177 -2.831614)'), GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.831595)'))) / (select extract(epoch from '2026-06-12 12:29:38'::timestamp) - extract(epoch from '2026-06-12 12:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016177 -2.831614)'), GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.831595)'))) / (select extract(epoch from '2026-06-12 12:29:38'::timestamp) - extract(epoch from '2026-06-12 12:29: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'), 46699, 'SRID=4674;POINT (-40.016379 -2.83157)', '2026-06-12 12:29:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.831595)'), GeomFromEWKT('SRID=4674;POINT (-40.016379 -2.83157)'))) / (select extract(epoch from '2026-06-12 12:29:47'::timestamp) - extract(epoch from '2026-06-12 12:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.831595)'), GeomFromEWKT('SRID=4674;POINT (-40.016379 -2.83157)'))) / (select extract(epoch from '2026-06-12 12:29:47'::timestamp) - extract(epoch from '2026-06-12 12:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016483 -2.831548)', '2026-06-12 12:29:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016379 -2.83157)'), GeomFromEWKT('SRID=4674;POINT (-40.016483 -2.831548)'))) / (select extract(epoch from '2026-06-12 12:29:56'::timestamp) - extract(epoch from '2026-06-12 12:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016379 -2.83157)'), GeomFromEWKT('SRID=4674;POINT (-40.016483 -2.831548)'))) / (select extract(epoch from '2026-06-12 12:29:56'::timestamp) - extract(epoch from '2026-06-12 12:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016579 -2.831524)', '2026-06-12 12:30:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016483 -2.831548)'), GeomFromEWKT('SRID=4674;POINT (-40.016579 -2.831524)'))) / (select extract(epoch from '2026-06-12 12:30:04'::timestamp) - extract(epoch from '2026-06-12 12:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016483 -2.831548)'), GeomFromEWKT('SRID=4674;POINT (-40.016579 -2.831524)'))) / (select extract(epoch from '2026-06-12 12:30:04'::timestamp) - extract(epoch from '2026-06-12 12:29: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'), 46699, 'SRID=4674;POINT (-40.016704 -2.831491)', '2026-06-12 12:30:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016579 -2.831524)'), GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.831491)'))) / (select extract(epoch from '2026-06-12 12:30:15'::timestamp) - extract(epoch from '2026-06-12 12:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016579 -2.831524)'), GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.831491)'))) / (select extract(epoch from '2026-06-12 12:30:15'::timestamp) - extract(epoch from '2026-06-12 12:30: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'), 46699, 'SRID=4674;POINT (-40.016821 -2.831444)', '2026-06-12 12:30:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.831491)'), GeomFromEWKT('SRID=4674;POINT (-40.016821 -2.831444)'))) / (select extract(epoch from '2026-06-12 12:30:25'::timestamp) - extract(epoch from '2026-06-12 12:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.831491)'), GeomFromEWKT('SRID=4674;POINT (-40.016821 -2.831444)'))) / (select extract(epoch from '2026-06-12 12:30:25'::timestamp) - extract(epoch from '2026-06-12 12:30: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'), 46699, 'SRID=4674;POINT (-40.016944 -2.831416)', '2026-06-12 12:30:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016821 -2.831444)'), GeomFromEWKT('SRID=4674;POINT (-40.016944 -2.831416)'))) / (select extract(epoch from '2026-06-12 12:30:35'::timestamp) - extract(epoch from '2026-06-12 12:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016821 -2.831444)'), GeomFromEWKT('SRID=4674;POINT (-40.016944 -2.831416)'))) / (select extract(epoch from '2026-06-12 12:30:35'::timestamp) - extract(epoch from '2026-06-12 12:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017068 -2.831392)', '2026-06-12 12:30:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016944 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-40.017068 -2.831392)'))) / (select extract(epoch from '2026-06-12 12:30:45'::timestamp) - extract(epoch from '2026-06-12 12:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016944 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-40.017068 -2.831392)'))) / (select extract(epoch from '2026-06-12 12:30:45'::timestamp) - extract(epoch from '2026-06-12 12:30: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'), 46699, 'SRID=4674;POINT (-40.01718 -2.831433)', '2026-06-12 12:30:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017068 -2.831392)'), GeomFromEWKT('SRID=4674;POINT (-40.01718 -2.831433)'))) / (select extract(epoch from '2026-06-12 12:30:54'::timestamp) - extract(epoch from '2026-06-12 12:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017068 -2.831392)'), GeomFromEWKT('SRID=4674;POINT (-40.01718 -2.831433)'))) / (select extract(epoch from '2026-06-12 12:30:54'::timestamp) - extract(epoch from '2026-06-12 12:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017292 -2.831527)', '2026-06-12 12:31:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01718 -2.831433)'), GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.831527)'))) / (select extract(epoch from '2026-06-12 12:31:03'::timestamp) - extract(epoch from '2026-06-12 12:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01718 -2.831433)'), GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.831527)'))) / (select extract(epoch from '2026-06-12 12:31:03'::timestamp) - extract(epoch from '2026-06-12 12:30: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'), 46699, 'SRID=4674;POINT (-40.017406 -2.831674)', '2026-06-12 12:31:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.831527)'), GeomFromEWKT('SRID=4674;POINT (-40.017406 -2.831674)'))) / (select extract(epoch from '2026-06-12 12:31:14'::timestamp) - extract(epoch from '2026-06-12 12:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.831527)'), GeomFromEWKT('SRID=4674;POINT (-40.017406 -2.831674)'))) / (select extract(epoch from '2026-06-12 12:31:14'::timestamp) - extract(epoch from '2026-06-12 12:31: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'), 46699, 'SRID=4674;POINT (-40.017473 -2.831794)', '2026-06-12 12:31:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017406 -2.831674)'), GeomFromEWKT('SRID=4674;POINT (-40.017473 -2.831794)'))) / (select extract(epoch from '2026-06-12 12:31:24'::timestamp) - extract(epoch from '2026-06-12 12:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017406 -2.831674)'), GeomFromEWKT('SRID=4674;POINT (-40.017473 -2.831794)'))) / (select extract(epoch from '2026-06-12 12:31:24'::timestamp) - extract(epoch from '2026-06-12 12:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017462 -2.831915)', '2026-06-12 12:31:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017473 -2.831794)'), GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.831915)'))) / (select extract(epoch from '2026-06-12 12:31:33'::timestamp) - extract(epoch from '2026-06-12 12:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017473 -2.831794)'), GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.831915)'))) / (select extract(epoch from '2026-06-12 12:31:33'::timestamp) - extract(epoch from '2026-06-12 12:31: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'), 46699, 'SRID=4674;POINT (-40.017428 -2.832045)', '2026-06-12 12:31:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.831915)'), GeomFromEWKT('SRID=4674;POINT (-40.017428 -2.832045)'))) / (select extract(epoch from '2026-06-12 12:31:44'::timestamp) - extract(epoch from '2026-06-12 12:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.831915)'), GeomFromEWKT('SRID=4674;POINT (-40.017428 -2.832045)'))) / (select extract(epoch from '2026-06-12 12:31:44'::timestamp) - extract(epoch from '2026-06-12 12:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.01738 -2.832151)', '2026-06-12 12:31:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017428 -2.832045)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.832151)'))) / (select extract(epoch from '2026-06-12 12:31:54'::timestamp) - extract(epoch from '2026-06-12 12:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017428 -2.832045)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.832151)'))) / (select extract(epoch from '2026-06-12 12:31:54'::timestamp) - extract(epoch from '2026-06-12 12:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.01733 -2.832242)', '2026-06-12 12:32:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.832151)'), GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.832242)'))) / (select extract(epoch from '2026-06-12 12:32:03'::timestamp) - extract(epoch from '2026-06-12 12:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.832151)'), GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.832242)'))) / (select extract(epoch from '2026-06-12 12:32:03'::timestamp) - extract(epoch from '2026-06-12 12:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017292 -2.832324)', '2026-06-12 12:32:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.832242)'), GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.832324)'))) / (select extract(epoch from '2026-06-12 12:32:12'::timestamp) - extract(epoch from '2026-06-12 12:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.832242)'), GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.832324)'))) / (select extract(epoch from '2026-06-12 12:32:12'::timestamp) - extract(epoch from '2026-06-12 12:32: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'), 46699, 'SRID=4674;POINT (-40.017223 -2.832427)', '2026-06-12 12:32:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.832324)'), GeomFromEWKT('SRID=4674;POINT (-40.017223 -2.832427)'))) / (select extract(epoch from '2026-06-12 12:32:24'::timestamp) - extract(epoch from '2026-06-12 12:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017292 -2.832324)'), GeomFromEWKT('SRID=4674;POINT (-40.017223 -2.832427)'))) / (select extract(epoch from '2026-06-12 12:32:24'::timestamp) - extract(epoch from '2026-06-12 12:32: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'), 46699, 'SRID=4674;POINT (-40.01716 -2.83253)', '2026-06-12 12:32:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017223 -2.832427)'), GeomFromEWKT('SRID=4674;POINT (-40.01716 -2.83253)'))) / (select extract(epoch from '2026-06-12 12:32:35'::timestamp) - extract(epoch from '2026-06-12 12:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017223 -2.832427)'), GeomFromEWKT('SRID=4674;POINT (-40.01716 -2.83253)'))) / (select extract(epoch from '2026-06-12 12:32:35'::timestamp) - extract(epoch from '2026-06-12 12:32: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'), 46699, 'SRID=4674;POINT (-40.017122 -2.832615)', '2026-06-12 12:32:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01716 -2.83253)'), GeomFromEWKT('SRID=4674;POINT (-40.017122 -2.832615)'))) / (select extract(epoch from '2026-06-12 12:32:44'::timestamp) - extract(epoch from '2026-06-12 12:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01716 -2.83253)'), GeomFromEWKT('SRID=4674;POINT (-40.017122 -2.832615)'))) / (select extract(epoch from '2026-06-12 12:32:44'::timestamp) - extract(epoch from '2026-06-12 12:32: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'), 46699, 'SRID=4674;POINT (-40.017079 -2.83271)', '2026-06-12 12:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017122 -2.832615)'), GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.83271)'))) / (select extract(epoch from '2026-06-12 12:32:53'::timestamp) - extract(epoch from '2026-06-12 12:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017122 -2.832615)'), GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.83271)'))) / (select extract(epoch from '2026-06-12 12:32:53'::timestamp) - extract(epoch from '2026-06-12 12:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017067 -2.832834)', '2026-06-12 12:33:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.017067 -2.832834)'))) / (select extract(epoch from '2026-06-12 12:33:00'::timestamp) - extract(epoch from '2026-06-12 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.017067 -2.832834)'))) / (select extract(epoch from '2026-06-12 12:33:00'::timestamp) - extract(epoch from '2026-06-12 12:32: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'), 46699, 'SRID=4674;POINT (-40.017053 -2.833023)', '2026-06-12 12:33:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017067 -2.832834)'), GeomFromEWKT('SRID=4674;POINT (-40.017053 -2.833023)'))) / (select extract(epoch from '2026-06-12 12:33:09'::timestamp) - extract(epoch from '2026-06-12 12:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017067 -2.832834)'), GeomFromEWKT('SRID=4674;POINT (-40.017053 -2.833023)'))) / (select extract(epoch from '2026-06-12 12:33:09'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.017004 -2.83325)', '2026-06-12 12:33:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017053 -2.833023)'), GeomFromEWKT('SRID=4674;POINT (-40.017004 -2.83325)'))) / (select extract(epoch from '2026-06-12 12:33:20'::timestamp) - extract(epoch from '2026-06-12 12:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017053 -2.833023)'), GeomFromEWKT('SRID=4674;POINT (-40.017004 -2.83325)'))) / (select extract(epoch from '2026-06-12 12:33:20'::timestamp) - extract(epoch from '2026-06-12 12:33: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'), 46699, 'SRID=4674;POINT (-40.016958 -2.833429)', '2026-06-12 12:33:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017004 -2.83325)'), GeomFromEWKT('SRID=4674;POINT (-40.016958 -2.833429)'))) / (select extract(epoch from '2026-06-12 12:33:29'::timestamp) - extract(epoch from '2026-06-12 12:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017004 -2.83325)'), GeomFromEWKT('SRID=4674;POINT (-40.016958 -2.833429)'))) / (select extract(epoch from '2026-06-12 12:33:29'::timestamp) - extract(epoch from '2026-06-12 12:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016926 -2.833607)', '2026-06-12 12:33:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016958 -2.833429)'), GeomFromEWKT('SRID=4674;POINT (-40.016926 -2.833607)'))) / (select extract(epoch from '2026-06-12 12:33:38'::timestamp) - extract(epoch from '2026-06-12 12:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016958 -2.833429)'), GeomFromEWKT('SRID=4674;POINT (-40.016926 -2.833607)'))) / (select extract(epoch from '2026-06-12 12:33:38'::timestamp) - extract(epoch from '2026-06-12 12:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016867 -2.83377)', '2026-06-12 12:33:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016926 -2.833607)'), GeomFromEWKT('SRID=4674;POINT (-40.016867 -2.83377)'))) / (select extract(epoch from '2026-06-12 12:33:46'::timestamp) - extract(epoch from '2026-06-12 12:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016926 -2.833607)'), GeomFromEWKT('SRID=4674;POINT (-40.016867 -2.83377)'))) / (select extract(epoch from '2026-06-12 12:33:46'::timestamp) - extract(epoch from '2026-06-12 12:33: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'), 46699, 'SRID=4674;POINT (-40.016826 -2.833935)', '2026-06-12 12:33:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016867 -2.83377)'), GeomFromEWKT('SRID=4674;POINT (-40.016826 -2.833935)'))) / (select extract(epoch from '2026-06-12 12:33:54'::timestamp) - extract(epoch from '2026-06-12 12:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016867 -2.83377)'), GeomFromEWKT('SRID=4674;POINT (-40.016826 -2.833935)'))) / (select extract(epoch from '2026-06-12 12:33:54'::timestamp) - extract(epoch from '2026-06-12 12:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016841 -2.83407)', '2026-06-12 12:34:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016826 -2.833935)'), GeomFromEWKT('SRID=4674;POINT (-40.016841 -2.83407)'))) / (select extract(epoch from '2026-06-12 12:34:00'::timestamp) - extract(epoch from '2026-06-12 12:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016826 -2.833935)'), GeomFromEWKT('SRID=4674;POINT (-40.016841 -2.83407)'))) / (select extract(epoch from '2026-06-12 12:34:00'::timestamp) - extract(epoch from '2026-06-12 12:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016908 -2.834209)', '2026-06-12 12:34:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016841 -2.83407)'), GeomFromEWKT('SRID=4674;POINT (-40.016908 -2.834209)'))) / (select extract(epoch from '2026-06-12 12:34:07'::timestamp) - extract(epoch from '2026-06-12 12:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016841 -2.83407)'), GeomFromEWKT('SRID=4674;POINT (-40.016908 -2.834209)'))) / (select extract(epoch from '2026-06-12 12:34:07'::timestamp) - extract(epoch from '2026-06-12 12:34: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'), 46699, 'SRID=4674;POINT (-40.016993 -2.834383)', '2026-06-12 12:34:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016908 -2.834209)'), GeomFromEWKT('SRID=4674;POINT (-40.016993 -2.834383)'))) / (select extract(epoch from '2026-06-12 12:34:16'::timestamp) - extract(epoch from '2026-06-12 12:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016908 -2.834209)'), GeomFromEWKT('SRID=4674;POINT (-40.016993 -2.834383)'))) / (select extract(epoch from '2026-06-12 12:34:16'::timestamp) - extract(epoch from '2026-06-12 12:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017039 -2.834555)', '2026-06-12 12:34:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016993 -2.834383)'), GeomFromEWKT('SRID=4674;POINT (-40.017039 -2.834555)'))) / (select extract(epoch from '2026-06-12 12:34:24'::timestamp) - extract(epoch from '2026-06-12 12:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016993 -2.834383)'), GeomFromEWKT('SRID=4674;POINT (-40.017039 -2.834555)'))) / (select extract(epoch from '2026-06-12 12:34:24'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.017079 -2.834704)', '2026-06-12 12:34:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017039 -2.834555)'), GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.834704)'))) / (select extract(epoch from '2026-06-12 12:34:32'::timestamp) - extract(epoch from '2026-06-12 12:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017039 -2.834555)'), GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.834704)'))) / (select extract(epoch from '2026-06-12 12:34:32'::timestamp) - extract(epoch from '2026-06-12 12:34: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'), 46699, 'SRID=4674;POINT (-40.017115 -2.834842)', '2026-06-12 12:34:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.834704)'), GeomFromEWKT('SRID=4674;POINT (-40.017115 -2.834842)'))) / (select extract(epoch from '2026-06-12 12:34:42'::timestamp) - extract(epoch from '2026-06-12 12:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017079 -2.834704)'), GeomFromEWKT('SRID=4674;POINT (-40.017115 -2.834842)'))) / (select extract(epoch from '2026-06-12 12:34:42'::timestamp) - extract(epoch from '2026-06-12 12:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017078 -2.834925)', '2026-06-12 12:34:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017115 -2.834842)'), GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.834925)'))) / (select extract(epoch from '2026-06-12 12:34:51'::timestamp) - extract(epoch from '2026-06-12 12:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017115 -2.834842)'), GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.834925)'))) / (select extract(epoch from '2026-06-12 12:34:51'::timestamp) - extract(epoch from '2026-06-12 12:34: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'), 46699, 'SRID=4674;POINT (-40.016983 -2.835009)', '2026-06-12 12:35:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.835009)'))) / (select extract(epoch from '2026-06-12 12:35:00'::timestamp) - extract(epoch from '2026-06-12 12:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.835009)'))) / (select extract(epoch from '2026-06-12 12:35:00'::timestamp) - extract(epoch from '2026-06-12 12:34: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'), 46699, 'SRID=4674;POINT (-40.016825 -2.835103)', '2026-06-12 12:35:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.835009)'), GeomFromEWKT('SRID=4674;POINT (-40.016825 -2.835103)'))) / (select extract(epoch from '2026-06-12 12:35:10'::timestamp) - extract(epoch from '2026-06-12 12:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.835009)'), GeomFromEWKT('SRID=4674;POINT (-40.016825 -2.835103)'))) / (select extract(epoch from '2026-06-12 12:35:10'::timestamp) - extract(epoch from '2026-06-12 12:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016628 -2.835191)', '2026-06-12 12:35:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016825 -2.835103)'), GeomFromEWKT('SRID=4674;POINT (-40.016628 -2.835191)'))) / (select extract(epoch from '2026-06-12 12:35:21'::timestamp) - extract(epoch from '2026-06-12 12:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016825 -2.835103)'), GeomFromEWKT('SRID=4674;POINT (-40.016628 -2.835191)'))) / (select extract(epoch from '2026-06-12 12:35:21'::timestamp) - extract(epoch from '2026-06-12 12:35: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'), 46699, 'SRID=4674;POINT (-40.016471 -2.835221)', '2026-06-12 12:35:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016628 -2.835191)'), GeomFromEWKT('SRID=4674;POINT (-40.016471 -2.835221)'))) / (select extract(epoch from '2026-06-12 12:35:29'::timestamp) - extract(epoch from '2026-06-12 12:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016628 -2.835191)'), GeomFromEWKT('SRID=4674;POINT (-40.016471 -2.835221)'))) / (select extract(epoch from '2026-06-12 12:35:29'::timestamp) - extract(epoch from '2026-06-12 12:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016331 -2.835254)', '2026-06-12 12:35:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016471 -2.835221)'), GeomFromEWKT('SRID=4674;POINT (-40.016331 -2.835254)'))) / (select extract(epoch from '2026-06-12 12:35:38'::timestamp) - extract(epoch from '2026-06-12 12:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016471 -2.835221)'), GeomFromEWKT('SRID=4674;POINT (-40.016331 -2.835254)'))) / (select extract(epoch from '2026-06-12 12:35:38'::timestamp) - extract(epoch from '2026-06-12 12:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016274 -2.83524)', '2026-06-12 12:35:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016331 -2.835254)'), GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.83524)'))) / (select extract(epoch from '2026-06-12 12:35:46'::timestamp) - extract(epoch from '2026-06-12 12:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016331 -2.835254)'), GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.83524)'))) / (select extract(epoch from '2026-06-12 12:35:46'::timestamp) - extract(epoch from '2026-06-12 12:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016278 -2.8352)', '2026-06-12 12:35:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.83524)'), GeomFromEWKT('SRID=4674;POINT (-40.016278 -2.8352)'))) / (select extract(epoch from '2026-06-12 12:35:57'::timestamp) - extract(epoch from '2026-06-12 12:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016274 -2.83524)'), GeomFromEWKT('SRID=4674;POINT (-40.016278 -2.8352)'))) / (select extract(epoch from '2026-06-12 12:35:57'::timestamp) - extract(epoch from '2026-06-12 12:35: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'), 46699, 'SRID=4674;POINT (-40.016373 -2.835152)', '2026-06-12 12:36:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016278 -2.8352)'), GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.835152)'))) / (select extract(epoch from '2026-06-12 12:36:08'::timestamp) - extract(epoch from '2026-06-12 12:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016278 -2.8352)'), GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.835152)'))) / (select extract(epoch from '2026-06-12 12:36:08'::timestamp) - extract(epoch from '2026-06-12 12:35: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'), 46699, 'SRID=4674;POINT (-40.01652 -2.835081)', '2026-06-12 12:36:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.835152)'), GeomFromEWKT('SRID=4674;POINT (-40.01652 -2.835081)'))) / (select extract(epoch from '2026-06-12 12:36:18'::timestamp) - extract(epoch from '2026-06-12 12:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.835152)'), GeomFromEWKT('SRID=4674;POINT (-40.01652 -2.835081)'))) / (select extract(epoch from '2026-06-12 12:36:18'::timestamp) - extract(epoch from '2026-06-12 12:36: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'), 46699, 'SRID=4674;POINT (-40.016665 -2.83501)', '2026-06-12 12:36:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01652 -2.835081)'), GeomFromEWKT('SRID=4674;POINT (-40.016665 -2.83501)'))) / (select extract(epoch from '2026-06-12 12:36:27'::timestamp) - extract(epoch from '2026-06-12 12:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01652 -2.835081)'), GeomFromEWKT('SRID=4674;POINT (-40.016665 -2.83501)'))) / (select extract(epoch from '2026-06-12 12:36:27'::timestamp) - extract(epoch from '2026-06-12 12:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.016828 -2.834957)', '2026-06-12 12:36:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016665 -2.83501)'), GeomFromEWKT('SRID=4674;POINT (-40.016828 -2.834957)'))) / (select extract(epoch from '2026-06-12 12:36:36'::timestamp) - extract(epoch from '2026-06-12 12:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016665 -2.83501)'), GeomFromEWKT('SRID=4674;POINT (-40.016828 -2.834957)'))) / (select extract(epoch from '2026-06-12 12:36:36'::timestamp) - extract(epoch from '2026-06-12 12:36: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'), 46699, 'SRID=4674;POINT (-40.017007 -2.834895)', '2026-06-12 12:36:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016828 -2.834957)'), GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.834895)'))) / (select extract(epoch from '2026-06-12 12:36:45'::timestamp) - extract(epoch from '2026-06-12 12:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016828 -2.834957)'), GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.834895)'))) / (select extract(epoch from '2026-06-12 12:36:45'::timestamp) - extract(epoch from '2026-06-12 12:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017134 -2.834825)', '2026-06-12 12:36:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.834895)'), GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.834825)'))) / (select extract(epoch from '2026-06-12 12:36:52'::timestamp) - extract(epoch from '2026-06-12 12:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.834895)'), GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.834825)'))) / (select extract(epoch from '2026-06-12 12:36:52'::timestamp) - extract(epoch from '2026-06-12 12:36: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'), 46699, 'SRID=4674;POINT (-40.017261 -2.834757)', '2026-06-12 12:36:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.834825)'), GeomFromEWKT('SRID=4674;POINT (-40.017261 -2.834757)'))) / (select extract(epoch from '2026-06-12 12:36:59'::timestamp) - extract(epoch from '2026-06-12 12:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.834825)'), GeomFromEWKT('SRID=4674;POINT (-40.017261 -2.834757)'))) / (select extract(epoch from '2026-06-12 12:36:59'::timestamp) - extract(epoch from '2026-06-12 12:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.017447 -2.834703)', '2026-06-12 12:37:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017261 -2.834757)'), GeomFromEWKT('SRID=4674;POINT (-40.017447 -2.834703)'))) / (select extract(epoch from '2026-06-12 12:37:08'::timestamp) - extract(epoch from '2026-06-12 12:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017261 -2.834757)'), GeomFromEWKT('SRID=4674;POINT (-40.017447 -2.834703)'))) / (select extract(epoch from '2026-06-12 12:37:08'::timestamp) - extract(epoch from '2026-06-12 12:36: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'), 46699, 'SRID=4674;POINT (-40.01761 -2.834657)', '2026-06-12 12:37:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017447 -2.834703)'), GeomFromEWKT('SRID=4674;POINT (-40.01761 -2.834657)'))) / (select extract(epoch from '2026-06-12 12:37:16'::timestamp) - extract(epoch from '2026-06-12 12:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017447 -2.834703)'), GeomFromEWKT('SRID=4674;POINT (-40.01761 -2.834657)'))) / (select extract(epoch from '2026-06-12 12:37:16'::timestamp) - extract(epoch from '2026-06-12 12:37: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'), 46699, 'SRID=4674;POINT (-40.017758 -2.83459)', '2026-06-12 12:37:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01761 -2.834657)'), GeomFromEWKT('SRID=4674;POINT (-40.017758 -2.83459)'))) / (select extract(epoch from '2026-06-12 12:37:26'::timestamp) - extract(epoch from '2026-06-12 12:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01761 -2.834657)'), GeomFromEWKT('SRID=4674;POINT (-40.017758 -2.83459)'))) / (select extract(epoch from '2026-06-12 12:37:26'::timestamp) - extract(epoch from '2026-06-12 12:37: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'), 46699, 'SRID=4674;POINT (-40.017858 -2.834526)', '2026-06-12 12:37:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017758 -2.83459)'), GeomFromEWKT('SRID=4674;POINT (-40.017858 -2.834526)'))) / (select extract(epoch from '2026-06-12 12:37:33'::timestamp) - extract(epoch from '2026-06-12 12:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017758 -2.83459)'), GeomFromEWKT('SRID=4674;POINT (-40.017858 -2.834526)'))) / (select extract(epoch from '2026-06-12 12:37:33'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.017971 -2.834425)', '2026-06-12 12:37:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017858 -2.834526)'), GeomFromEWKT('SRID=4674;POINT (-40.017971 -2.834425)'))) / (select extract(epoch from '2026-06-12 12:37:43'::timestamp) - extract(epoch from '2026-06-12 12:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017858 -2.834526)'), GeomFromEWKT('SRID=4674;POINT (-40.017971 -2.834425)'))) / (select extract(epoch from '2026-06-12 12:37:43'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.018085 -2.834394)', '2026-06-12 12:37:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017971 -2.834425)'), GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.834394)'))) / (select extract(epoch from '2026-06-12 12:37:51'::timestamp) - extract(epoch from '2026-06-12 12:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017971 -2.834425)'), GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.834394)'))) / (select extract(epoch from '2026-06-12 12:37:51'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.018227 -2.834357)', '2026-06-12 12:37:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.834394)'), GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.834357)'))) / (select extract(epoch from '2026-06-12 12:37:58'::timestamp) - extract(epoch from '2026-06-12 12:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.834394)'), GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.834357)'))) / (select extract(epoch from '2026-06-12 12:37:58'::timestamp) - extract(epoch from '2026-06-12 12:37: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'), 46699, 'SRID=4674;POINT (-40.018421 -2.834267)', '2026-06-12 12:38:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.834357)'), GeomFromEWKT('SRID=4674;POINT (-40.018421 -2.834267)'))) / (select extract(epoch from '2026-06-12 12:38:07'::timestamp) - extract(epoch from '2026-06-12 12:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.834357)'), GeomFromEWKT('SRID=4674;POINT (-40.018421 -2.834267)'))) / (select extract(epoch from '2026-06-12 12:38:07'::timestamp) - extract(epoch from '2026-06-12 12:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.018574 -2.834207)', '2026-06-12 12:38:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018421 -2.834267)'), GeomFromEWKT('SRID=4674;POINT (-40.018574 -2.834207)'))) / (select extract(epoch from '2026-06-12 12:38:15'::timestamp) - extract(epoch from '2026-06-12 12:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018421 -2.834267)'), GeomFromEWKT('SRID=4674;POINT (-40.018574 -2.834207)'))) / (select extract(epoch from '2026-06-12 12:38:15'::timestamp) - extract(epoch from '2026-06-12 12:38: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'), 46699, 'SRID=4674;POINT (-40.018689 -2.834125)', '2026-06-12 12:38:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018574 -2.834207)'), GeomFromEWKT('SRID=4674;POINT (-40.018689 -2.834125)'))) / (select extract(epoch from '2026-06-12 12:38:23'::timestamp) - extract(epoch from '2026-06-12 12:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018574 -2.834207)'), GeomFromEWKT('SRID=4674;POINT (-40.018689 -2.834125)'))) / (select extract(epoch from '2026-06-12 12:38:23'::timestamp) - extract(epoch from '2026-06-12 12:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.018693 -2.83405)', '2026-06-12 12:38:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018689 -2.834125)'), GeomFromEWKT('SRID=4674;POINT (-40.018693 -2.83405)'))) / (select extract(epoch from '2026-06-12 12:38:30'::timestamp) - extract(epoch from '2026-06-12 12:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018689 -2.834125)'), GeomFromEWKT('SRID=4674;POINT (-40.018693 -2.83405)'))) / (select extract(epoch from '2026-06-12 12:38:30'::timestamp) - extract(epoch from '2026-06-12 12:38: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'), 46699, 'SRID=4674;POINT (-40.018662 -2.83401)', '2026-06-12 12:38:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018693 -2.83405)'), GeomFromEWKT('SRID=4674;POINT (-40.018662 -2.83401)'))) / (select extract(epoch from '2026-06-12 12:38:34'::timestamp) - extract(epoch from '2026-06-12 12:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018693 -2.83405)'), GeomFromEWKT('SRID=4674;POINT (-40.018662 -2.83401)'))) / (select extract(epoch from '2026-06-12 12:38:34'::timestamp) - extract(epoch from '2026-06-12 12:38: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'), 46699, 'SRID=4674;POINT (-40.018632 -2.834004)', '2026-06-12 12:38:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018662 -2.83401)'), GeomFromEWKT('SRID=4674;POINT (-40.018632 -2.834004)'))) / (select extract(epoch from '2026-06-12 12:38:36'::timestamp) - extract(epoch from '2026-06-12 12:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018662 -2.83401)'), GeomFromEWKT('SRID=4674;POINT (-40.018632 -2.834004)'))) / (select extract(epoch from '2026-06-12 12:38:36'::timestamp) - extract(epoch from '2026-06-12 12:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.018506 -2.834031)', '2026-06-12 12:38:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018632 -2.834004)'), GeomFromEWKT('SRID=4674;POINT (-40.018506 -2.834031)'))) / (select extract(epoch from '2026-06-12 12:38:43'::timestamp) - extract(epoch from '2026-06-12 12:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018632 -2.834004)'), GeomFromEWKT('SRID=4674;POINT (-40.018506 -2.834031)'))) / (select extract(epoch from '2026-06-12 12:38:43'::timestamp) - extract(epoch from '2026-06-12 12:38: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'), 46699, 'SRID=4674;POINT (-40.018381 -2.834131)', '2026-06-12 12:38:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018506 -2.834031)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.834131)'))) / (select extract(epoch from '2026-06-12 12:38:51'::timestamp) - extract(epoch from '2026-06-12 12:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018506 -2.834031)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.834131)'))) / (select extract(epoch from '2026-06-12 12:38:51'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.018199 -2.834323)', '2026-06-12 12:39:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.834131)'), GeomFromEWKT('SRID=4674;POINT (-40.018199 -2.834323)'))) / (select extract(epoch from '2026-06-12 12:39:03'::timestamp) - extract(epoch from '2026-06-12 12:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.834131)'), GeomFromEWKT('SRID=4674;POINT (-40.018199 -2.834323)'))) / (select extract(epoch from '2026-06-12 12:39:03'::timestamp) - extract(epoch from '2026-06-12 12:38: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'), 46699, 'SRID=4674;POINT (-40.018101 -2.834415)', '2026-06-12 12:39:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018199 -2.834323)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.834415)'))) / (select extract(epoch from '2026-06-12 12:39:12'::timestamp) - extract(epoch from '2026-06-12 12:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018199 -2.834323)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.834415)'))) / (select extract(epoch from '2026-06-12 12:39:12'::timestamp) - extract(epoch from '2026-06-12 12:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.018072 -2.834397)', '2026-06-12 12:39:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.834415)'), GeomFromEWKT('SRID=4674;POINT (-40.018072 -2.834397)'))) / (select extract(epoch from '2026-06-12 12:39:22'::timestamp) - extract(epoch from '2026-06-12 12:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.834415)'), GeomFromEWKT('SRID=4674;POINT (-40.018072 -2.834397)'))) / (select extract(epoch from '2026-06-12 12:39:22'::timestamp) - extract(epoch from '2026-06-12 12:39: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'), 46699, 'SRID=4674;POINT (-40.018119 -2.834325)', '2026-06-12 12:39:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018072 -2.834397)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.834325)'))) / (select extract(epoch from '2026-06-12 12:39:29'::timestamp) - extract(epoch from '2026-06-12 12:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018072 -2.834397)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.834325)'))) / (select extract(epoch from '2026-06-12 12:39:29'::timestamp) - extract(epoch from '2026-06-12 12:39: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'), 46699, 'SRID=4674;POINT (-40.018236 -2.834288)', '2026-06-12 12:39:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.834325)'), GeomFromEWKT('SRID=4674;POINT (-40.018236 -2.834288)'))) / (select extract(epoch from '2026-06-12 12:39:35'::timestamp) - extract(epoch from '2026-06-12 12:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.834325)'), GeomFromEWKT('SRID=4674;POINT (-40.018236 -2.834288)'))) / (select extract(epoch from '2026-06-12 12:39:35'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.018437 -2.834234)', '2026-06-12 12:39:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018236 -2.834288)'), GeomFromEWKT('SRID=4674;POINT (-40.018437 -2.834234)'))) / (select extract(epoch from '2026-06-12 12:39:45'::timestamp) - extract(epoch from '2026-06-12 12:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018236 -2.834288)'), GeomFromEWKT('SRID=4674;POINT (-40.018437 -2.834234)'))) / (select extract(epoch from '2026-06-12 12:39:45'::timestamp) - extract(epoch from '2026-06-12 12:39: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'), 46699, 'SRID=4674;POINT (-40.018679 -2.834164)', '2026-06-12 12:39:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018437 -2.834234)'), GeomFromEWKT('SRID=4674;POINT (-40.018679 -2.834164)'))) / (select extract(epoch from '2026-06-12 12:39:57'::timestamp) - extract(epoch from '2026-06-12 12:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018437 -2.834234)'), GeomFromEWKT('SRID=4674;POINT (-40.018679 -2.834164)'))) / (select extract(epoch from '2026-06-12 12:39:57'::timestamp) - extract(epoch from '2026-06-12 12:39: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'), 46699, 'SRID=4674;POINT (-40.018831 -2.834109)', '2026-06-12 12:40:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018679 -2.834164)'), GeomFromEWKT('SRID=4674;POINT (-40.018831 -2.834109)'))) / (select extract(epoch from '2026-06-12 12:40:06'::timestamp) - extract(epoch from '2026-06-12 12:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018679 -2.834164)'), GeomFromEWKT('SRID=4674;POINT (-40.018831 -2.834109)'))) / (select extract(epoch from '2026-06-12 12:40:06'::timestamp) - extract(epoch from '2026-06-12 12:39: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'), 46699, 'SRID=4674;POINT (-40.018963 -2.834073)', '2026-06-12 12:40:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018831 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.018963 -2.834073)'))) / (select extract(epoch from '2026-06-12 12:40:15'::timestamp) - extract(epoch from '2026-06-12 12:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018831 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.018963 -2.834073)'))) / (select extract(epoch from '2026-06-12 12:40:15'::timestamp) - extract(epoch from '2026-06-12 12:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019102 -2.834048)', '2026-06-12 12:40:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018963 -2.834073)'), GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.834048)'))) / (select extract(epoch from '2026-06-12 12:40:25'::timestamp) - extract(epoch from '2026-06-12 12:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018963 -2.834073)'), GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.834048)'))) / (select extract(epoch from '2026-06-12 12:40:25'::timestamp) - extract(epoch from '2026-06-12 12:40: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'), 46699, 'SRID=4674;POINT (-40.01924 -2.833997)', '2026-06-12 12:40:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.834048)'), GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.833997)'))) / (select extract(epoch from '2026-06-12 12:40:33'::timestamp) - extract(epoch from '2026-06-12 12:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.834048)'), GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.833997)'))) / (select extract(epoch from '2026-06-12 12:40:33'::timestamp) - extract(epoch from '2026-06-12 12:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019415 -2.833922)', '2026-06-12 12:40:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.833997)'), GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.833922)'))) / (select extract(epoch from '2026-06-12 12:40:42'::timestamp) - extract(epoch from '2026-06-12 12:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.833997)'), GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.833922)'))) / (select extract(epoch from '2026-06-12 12:40:42'::timestamp) - extract(epoch from '2026-06-12 12:40: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'), 46699, 'SRID=4674;POINT (-40.019595 -2.833835)', '2026-06-12 12:40:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.833922)'), GeomFromEWKT('SRID=4674;POINT (-40.019595 -2.833835)'))) / (select extract(epoch from '2026-06-12 12:40:51'::timestamp) - extract(epoch from '2026-06-12 12:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.833922)'), GeomFromEWKT('SRID=4674;POINT (-40.019595 -2.833835)'))) / (select extract(epoch from '2026-06-12 12:40:51'::timestamp) - extract(epoch from '2026-06-12 12:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019785 -2.833787)', '2026-06-12 12:41:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019595 -2.833835)'), GeomFromEWKT('SRID=4674;POINT (-40.019785 -2.833787)'))) / (select extract(epoch from '2026-06-12 12:41:00'::timestamp) - extract(epoch from '2026-06-12 12:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019595 -2.833835)'), GeomFromEWKT('SRID=4674;POINT (-40.019785 -2.833787)'))) / (select extract(epoch from '2026-06-12 12:41:00'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.019964 -2.833803)', '2026-06-12 12:41:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019785 -2.833787)'), GeomFromEWKT('SRID=4674;POINT (-40.019964 -2.833803)'))) / (select extract(epoch from '2026-06-12 12:41:08'::timestamp) - extract(epoch from '2026-06-12 12:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019785 -2.833787)'), GeomFromEWKT('SRID=4674;POINT (-40.019964 -2.833803)'))) / (select extract(epoch from '2026-06-12 12:41:08'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.020152 -2.833819)', '2026-06-12 12:41:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019964 -2.833803)'), GeomFromEWKT('SRID=4674;POINT (-40.020152 -2.833819)'))) / (select extract(epoch from '2026-06-12 12:41:17'::timestamp) - extract(epoch from '2026-06-12 12:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019964 -2.833803)'), GeomFromEWKT('SRID=4674;POINT (-40.020152 -2.833819)'))) / (select extract(epoch from '2026-06-12 12:41:17'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.020322 -2.833781)', '2026-06-12 12:41:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020152 -2.833819)'), GeomFromEWKT('SRID=4674;POINT (-40.020322 -2.833781)'))) / (select extract(epoch from '2026-06-12 12:41:25'::timestamp) - extract(epoch from '2026-06-12 12:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020152 -2.833819)'), GeomFromEWKT('SRID=4674;POINT (-40.020322 -2.833781)'))) / (select extract(epoch from '2026-06-12 12:41:25'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.020506 -2.83371)', '2026-06-12 12:41:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020322 -2.833781)'), GeomFromEWKT('SRID=4674;POINT (-40.020506 -2.83371)'))) / (select extract(epoch from '2026-06-12 12:41:34'::timestamp) - extract(epoch from '2026-06-12 12:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020322 -2.833781)'), GeomFromEWKT('SRID=4674;POINT (-40.020506 -2.83371)'))) / (select extract(epoch from '2026-06-12 12:41:34'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.02067 -2.833678)', '2026-06-12 12:41:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020506 -2.83371)'), GeomFromEWKT('SRID=4674;POINT (-40.02067 -2.833678)'))) / (select extract(epoch from '2026-06-12 12:41:42'::timestamp) - extract(epoch from '2026-06-12 12:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020506 -2.83371)'), GeomFromEWKT('SRID=4674;POINT (-40.02067 -2.833678)'))) / (select extract(epoch from '2026-06-12 12:41:42'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.020835 -2.83365)', '2026-06-12 12:41:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02067 -2.833678)'), GeomFromEWKT('SRID=4674;POINT (-40.020835 -2.83365)'))) / (select extract(epoch from '2026-06-12 12:41:50'::timestamp) - extract(epoch from '2026-06-12 12:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02067 -2.833678)'), GeomFromEWKT('SRID=4674;POINT (-40.020835 -2.83365)'))) / (select extract(epoch from '2026-06-12 12:41:50'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.021009 -2.833612)', '2026-06-12 12:41:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020835 -2.83365)'), GeomFromEWKT('SRID=4674;POINT (-40.021009 -2.833612)'))) / (select extract(epoch from '2026-06-12 12:41:59'::timestamp) - extract(epoch from '2026-06-12 12:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020835 -2.83365)'), GeomFromEWKT('SRID=4674;POINT (-40.021009 -2.833612)'))) / (select extract(epoch from '2026-06-12 12:41:59'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.021185 -2.833582)', '2026-06-12 12:42:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021009 -2.833612)'), GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.833582)'))) / (select extract(epoch from '2026-06-12 12:42:07'::timestamp) - extract(epoch from '2026-06-12 12:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021009 -2.833612)'), GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.833582)'))) / (select extract(epoch from '2026-06-12 12:42:07'::timestamp) - extract(epoch from '2026-06-12 12:41: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'), 46699, 'SRID=4674;POINT (-40.021399 -2.833559)', '2026-06-12 12:42:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.833582)'), GeomFromEWKT('SRID=4674;POINT (-40.021399 -2.833559)'))) / (select extract(epoch from '2026-06-12 12:42:17'::timestamp) - extract(epoch from '2026-06-12 12:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.833582)'), GeomFromEWKT('SRID=4674;POINT (-40.021399 -2.833559)'))) / (select extract(epoch from '2026-06-12 12:42:17'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.021582 -2.833529)', '2026-06-12 12:42:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021399 -2.833559)'), GeomFromEWKT('SRID=4674;POINT (-40.021582 -2.833529)'))) / (select extract(epoch from '2026-06-12 12:42:25'::timestamp) - extract(epoch from '2026-06-12 12:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021399 -2.833559)'), GeomFromEWKT('SRID=4674;POINT (-40.021582 -2.833529)'))) / (select extract(epoch from '2026-06-12 12:42:25'::timestamp) - extract(epoch from '2026-06-12 12:42: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'), 46699, 'SRID=4674;POINT (-40.021766 -2.833473)', '2026-06-12 12:42:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021582 -2.833529)'), GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.833473)'))) / (select extract(epoch from '2026-06-12 12:42:34'::timestamp) - extract(epoch from '2026-06-12 12:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021582 -2.833529)'), GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.833473)'))) / (select extract(epoch from '2026-06-12 12:42:34'::timestamp) - extract(epoch from '2026-06-12 12:42: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'), 46699, 'SRID=4674;POINT (-40.021907 -2.833433)', '2026-06-12 12:42:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.833473)'), GeomFromEWKT('SRID=4674;POINT (-40.021907 -2.833433)'))) / (select extract(epoch from '2026-06-12 12:42:41'::timestamp) - extract(epoch from '2026-06-12 12:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.833473)'), GeomFromEWKT('SRID=4674;POINT (-40.021907 -2.833433)'))) / (select extract(epoch from '2026-06-12 12:42:41'::timestamp) - extract(epoch from '2026-06-12 12:42: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'), 46699, 'SRID=4674;POINT (-40.022084 -2.833405)', '2026-06-12 12:42:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021907 -2.833433)'), GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.833405)'))) / (select extract(epoch from '2026-06-12 12:42:49'::timestamp) - extract(epoch from '2026-06-12 12:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021907 -2.833433)'), GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.833405)'))) / (select extract(epoch from '2026-06-12 12:42:49'::timestamp) - extract(epoch from '2026-06-12 12:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022247 -2.833372)', '2026-06-12 12:42:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.833405)'), GeomFromEWKT('SRID=4674;POINT (-40.022247 -2.833372)'))) / (select extract(epoch from '2026-06-12 12:42:57'::timestamp) - extract(epoch from '2026-06-12 12:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.833405)'), GeomFromEWKT('SRID=4674;POINT (-40.022247 -2.833372)'))) / (select extract(epoch from '2026-06-12 12:42:57'::timestamp) - extract(epoch from '2026-06-12 12:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022416 -2.833342)', '2026-06-12 12:43:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022247 -2.833372)'), GeomFromEWKT('SRID=4674;POINT (-40.022416 -2.833342)'))) / (select extract(epoch from '2026-06-12 12:43:06'::timestamp) - extract(epoch from '2026-06-12 12:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022247 -2.833372)'), GeomFromEWKT('SRID=4674;POINT (-40.022416 -2.833342)'))) / (select extract(epoch from '2026-06-12 12:43:06'::timestamp) - extract(epoch from '2026-06-12 12:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022562 -2.833307)', '2026-06-12 12:43:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022416 -2.833342)'), GeomFromEWKT('SRID=4674;POINT (-40.022562 -2.833307)'))) / (select extract(epoch from '2026-06-12 12:43:14'::timestamp) - extract(epoch from '2026-06-12 12:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022416 -2.833342)'), GeomFromEWKT('SRID=4674;POINT (-40.022562 -2.833307)'))) / (select extract(epoch from '2026-06-12 12:43:14'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.022673 -2.833263)', '2026-06-12 12:43:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022562 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.022673 -2.833263)'))) / (select extract(epoch from '2026-06-12 12:43:21'::timestamp) - extract(epoch from '2026-06-12 12:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022562 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.022673 -2.833263)'))) / (select extract(epoch from '2026-06-12 12:43:21'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.022807 -2.833214)', '2026-06-12 12:43:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022673 -2.833263)'), GeomFromEWKT('SRID=4674;POINT (-40.022807 -2.833214)'))) / (select extract(epoch from '2026-06-12 12:43:30'::timestamp) - extract(epoch from '2026-06-12 12:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022673 -2.833263)'), GeomFromEWKT('SRID=4674;POINT (-40.022807 -2.833214)'))) / (select extract(epoch from '2026-06-12 12:43:30'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.02292 -2.833156)', '2026-06-12 12:43:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022807 -2.833214)'), GeomFromEWKT('SRID=4674;POINT (-40.02292 -2.833156)'))) / (select extract(epoch from '2026-06-12 12:43:37'::timestamp) - extract(epoch from '2026-06-12 12:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022807 -2.833214)'), GeomFromEWKT('SRID=4674;POINT (-40.02292 -2.833156)'))) / (select extract(epoch from '2026-06-12 12:43:37'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.023041 -2.833065)', '2026-06-12 12:43:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02292 -2.833156)'), GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.833065)'))) / (select extract(epoch from '2026-06-12 12:43:45'::timestamp) - extract(epoch from '2026-06-12 12:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02292 -2.833156)'), GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.833065)'))) / (select extract(epoch from '2026-06-12 12:43:45'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.023153 -2.832958)', '2026-06-12 12:43:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.833065)'), GeomFromEWKT('SRID=4674;POINT (-40.023153 -2.832958)'))) / (select extract(epoch from '2026-06-12 12:43:53'::timestamp) - extract(epoch from '2026-06-12 12:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.833065)'), GeomFromEWKT('SRID=4674;POINT (-40.023153 -2.832958)'))) / (select extract(epoch from '2026-06-12 12:43:53'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.023297 -2.832807)', '2026-06-12 12:44:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023153 -2.832958)'), GeomFromEWKT('SRID=4674;POINT (-40.023297 -2.832807)'))) / (select extract(epoch from '2026-06-12 12:44:03'::timestamp) - extract(epoch from '2026-06-12 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023153 -2.832958)'), GeomFromEWKT('SRID=4674;POINT (-40.023297 -2.832807)'))) / (select extract(epoch from '2026-06-12 12:44:03'::timestamp) - extract(epoch from '2026-06-12 12:43: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'), 46699, 'SRID=4674;POINT (-40.023439 -2.832669)', '2026-06-12 12:44:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023297 -2.832807)'), GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.832669)'))) / (select extract(epoch from '2026-06-12 12:44:12'::timestamp) - extract(epoch from '2026-06-12 12:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023297 -2.832807)'), GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.832669)'))) / (select extract(epoch from '2026-06-12 12:44:12'::timestamp) - extract(epoch from '2026-06-12 12:44: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'), 46699, 'SRID=4674;POINT (-40.023604 -2.832495)', '2026-06-12 12:44:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.832669)'), GeomFromEWKT('SRID=4674;POINT (-40.023604 -2.832495)'))) / (select extract(epoch from '2026-06-12 12:44:22'::timestamp) - extract(epoch from '2026-06-12 12:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023439 -2.832669)'), GeomFromEWKT('SRID=4674;POINT (-40.023604 -2.832495)'))) / (select extract(epoch from '2026-06-12 12:44:22'::timestamp) - extract(epoch from '2026-06-12 12:44: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'), 46699, 'SRID=4674;POINT (-40.023722 -2.832376)', '2026-06-12 12:44:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023604 -2.832495)'), GeomFromEWKT('SRID=4674;POINT (-40.023722 -2.832376)'))) / (select extract(epoch from '2026-06-12 12:44:29'::timestamp) - extract(epoch from '2026-06-12 12:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023604 -2.832495)'), GeomFromEWKT('SRID=4674;POINT (-40.023722 -2.832376)'))) / (select extract(epoch from '2026-06-12 12:44:29'::timestamp) - extract(epoch from '2026-06-12 12:44: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'), 46699, 'SRID=4674;POINT (-40.023875 -2.832183)', '2026-06-12 12:44:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023722 -2.832376)'), GeomFromEWKT('SRID=4674;POINT (-40.023875 -2.832183)'))) / (select extract(epoch from '2026-06-12 12:44:39'::timestamp) - extract(epoch from '2026-06-12 12:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023722 -2.832376)'), GeomFromEWKT('SRID=4674;POINT (-40.023875 -2.832183)'))) / (select extract(epoch from '2026-06-12 12:44:39'::timestamp) - extract(epoch from '2026-06-12 12:44: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'), 46699, 'SRID=4674;POINT (-40.023959 -2.832)', '2026-06-12 12:44:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023875 -2.832183)'), GeomFromEWKT('SRID=4674;POINT (-40.023959 -2.832)'))) / (select extract(epoch from '2026-06-12 12:44:47'::timestamp) - extract(epoch from '2026-06-12 12:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023875 -2.832183)'), GeomFromEWKT('SRID=4674;POINT (-40.023959 -2.832)'))) / (select extract(epoch from '2026-06-12 12:44:47'::timestamp) - extract(epoch from '2026-06-12 12:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024026 -2.831796)', '2026-06-12 12:44:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023959 -2.832)'), GeomFromEWKT('SRID=4674;POINT (-40.024026 -2.831796)'))) / (select extract(epoch from '2026-06-12 12:44:56'::timestamp) - extract(epoch from '2026-06-12 12:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023959 -2.832)'), GeomFromEWKT('SRID=4674;POINT (-40.024026 -2.831796)'))) / (select extract(epoch from '2026-06-12 12:44:56'::timestamp) - extract(epoch from '2026-06-12 12:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024063 -2.831593)', '2026-06-12 12:45:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024026 -2.831796)'), GeomFromEWKT('SRID=4674;POINT (-40.024063 -2.831593)'))) / (select extract(epoch from '2026-06-12 12:45:05'::timestamp) - extract(epoch from '2026-06-12 12:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024026 -2.831796)'), GeomFromEWKT('SRID=4674;POINT (-40.024063 -2.831593)'))) / (select extract(epoch from '2026-06-12 12:45:05'::timestamp) - extract(epoch from '2026-06-12 12:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024107 -2.831382)', '2026-06-12 12:45:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024063 -2.831593)'), GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.831382)'))) / (select extract(epoch from '2026-06-12 12:45:14'::timestamp) - extract(epoch from '2026-06-12 12:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024063 -2.831593)'), GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.831382)'))) / (select extract(epoch from '2026-06-12 12:45:14'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024165 -2.831199)', '2026-06-12 12:45:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.831382)'), GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.831199)'))) / (select extract(epoch from '2026-06-12 12:45:22'::timestamp) - extract(epoch from '2026-06-12 12:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.831382)'), GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.831199)'))) / (select extract(epoch from '2026-06-12 12:45:22'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024238 -2.83099)', '2026-06-12 12:45:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.831199)'), GeomFromEWKT('SRID=4674;POINT (-40.024238 -2.83099)'))) / (select extract(epoch from '2026-06-12 12:45:31'::timestamp) - extract(epoch from '2026-06-12 12:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.831199)'), GeomFromEWKT('SRID=4674;POINT (-40.024238 -2.83099)'))) / (select extract(epoch from '2026-06-12 12:45:31'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024293 -2.830807)', '2026-06-12 12:45:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024238 -2.83099)'), GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.830807)'))) / (select extract(epoch from '2026-06-12 12:45:39'::timestamp) - extract(epoch from '2026-06-12 12:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024238 -2.83099)'), GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.830807)'))) / (select extract(epoch from '2026-06-12 12:45:39'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024316 -2.830616)', '2026-06-12 12:45:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.830616)'))) / (select extract(epoch from '2026-06-12 12:45:47'::timestamp) - extract(epoch from '2026-06-12 12:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024293 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.830616)'))) / (select extract(epoch from '2026-06-12 12:45:47'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024324 -2.830377)', '2026-06-12 12:45:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.830616)'), GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.830377)'))) / (select extract(epoch from '2026-06-12 12:45:57'::timestamp) - extract(epoch from '2026-06-12 12:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.830616)'), GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.830377)'))) / (select extract(epoch from '2026-06-12 12:45:57'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024267 -2.830242)', '2026-06-12 12:46:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.830377)'), GeomFromEWKT('SRID=4674;POINT (-40.024267 -2.830242)'))) / (select extract(epoch from '2026-06-12 12:46:05'::timestamp) - extract(epoch from '2026-06-12 12:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.830377)'), GeomFromEWKT('SRID=4674;POINT (-40.024267 -2.830242)'))) / (select extract(epoch from '2026-06-12 12:46:05'::timestamp) - extract(epoch from '2026-06-12 12:45: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'), 46699, 'SRID=4674;POINT (-40.024223 -2.830186)', '2026-06-12 12:46:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024267 -2.830242)'), GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.830186)'))) / (select extract(epoch from '2026-06-12 12:46:12'::timestamp) - extract(epoch from '2026-06-12 12:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024267 -2.830242)'), GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.830186)'))) / (select extract(epoch from '2026-06-12 12:46:12'::timestamp) - extract(epoch from '2026-06-12 12:46: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'), 46699, 'SRID=4674;POINT (-40.024194 -2.830207)', '2026-06-12 12:46:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.830186)'), GeomFromEWKT('SRID=4674;POINT (-40.024194 -2.830207)'))) / (select extract(epoch from '2026-06-12 12:46:21'::timestamp) - extract(epoch from '2026-06-12 12:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.830186)'), GeomFromEWKT('SRID=4674;POINT (-40.024194 -2.830207)'))) / (select extract(epoch from '2026-06-12 12:46:21'::timestamp) - extract(epoch from '2026-06-12 12:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024148 -2.830201)', '2026-06-12 12:46:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024194 -2.830207)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.830201)'))) / (select extract(epoch from '2026-06-12 12:46:34'::timestamp) - extract(epoch from '2026-06-12 12:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024194 -2.830207)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.830201)'))) / (select extract(epoch from '2026-06-12 12:46:34'::timestamp) - extract(epoch from '2026-06-12 12:46: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'), 46699, 'SRID=4674;POINT (-40.02411 -2.830107)', '2026-06-12 12:46:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.830201)'), GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.830107)'))) / (select extract(epoch from '2026-06-12 12:46:50'::timestamp) - extract(epoch from '2026-06-12 12:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.830201)'), GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.830107)'))) / (select extract(epoch from '2026-06-12 12:46:50'::timestamp) - extract(epoch from '2026-06-12 12:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024156 -2.830007)', '2026-06-12 12:47:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.830107)'), GeomFromEWKT('SRID=4674;POINT (-40.024156 -2.830007)'))) / (select extract(epoch from '2026-06-12 12:47:01'::timestamp) - extract(epoch from '2026-06-12 12:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.830107)'), GeomFromEWKT('SRID=4674;POINT (-40.024156 -2.830007)'))) / (select extract(epoch from '2026-06-12 12:47:01'::timestamp) - extract(epoch from '2026-06-12 12:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024177 -2.829939)', '2026-06-12 12:47:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024156 -2.830007)'), GeomFromEWKT('SRID=4674;POINT (-40.024177 -2.829939)'))) / (select extract(epoch from '2026-06-12 12:47:13'::timestamp) - extract(epoch from '2026-06-12 12:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024156 -2.830007)'), GeomFromEWKT('SRID=4674;POINT (-40.024177 -2.829939)'))) / (select extract(epoch from '2026-06-12 12:47:13'::timestamp) - extract(epoch from '2026-06-12 12:47: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'), 46699, 'SRID=4674;POINT (-40.024195 -2.829852)', '2026-06-12 12:47:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024177 -2.829939)'), GeomFromEWKT('SRID=4674;POINT (-40.024195 -2.829852)'))) / (select extract(epoch from '2026-06-12 12:47:26'::timestamp) - extract(epoch from '2026-06-12 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024177 -2.829939)'), GeomFromEWKT('SRID=4674;POINT (-40.024195 -2.829852)'))) / (select extract(epoch from '2026-06-12 12:47:26'::timestamp) - extract(epoch from '2026-06-12 12:47: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'), 46699, 'SRID=4674;POINT (-40.024212 -2.82977)', '2026-06-12 12:47:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024195 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.024212 -2.82977)'))) / (select extract(epoch from '2026-06-12 12:47:38'::timestamp) - extract(epoch from '2026-06-12 12:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024195 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.024212 -2.82977)'))) / (select extract(epoch from '2026-06-12 12:47:38'::timestamp) - extract(epoch from '2026-06-12 12:47: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'), 46699, 'SRID=4674;POINT (-40.024197 -2.82967)', '2026-06-12 12:47:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024212 -2.82977)'), GeomFromEWKT('SRID=4674;POINT (-40.024197 -2.82967)'))) / (select extract(epoch from '2026-06-12 12:47:55'::timestamp) - extract(epoch from '2026-06-12 12:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024212 -2.82977)'), GeomFromEWKT('SRID=4674;POINT (-40.024197 -2.82967)'))) / (select extract(epoch from '2026-06-12 12:47:55'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.024171 -2.829582)', '2026-06-12 12:48:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024197 -2.82967)'), GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.829582)'))) / (select extract(epoch from '2026-06-12 12:48:11'::timestamp) - extract(epoch from '2026-06-12 12:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024197 -2.82967)'), GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.829582)'))) / (select extract(epoch from '2026-06-12 12:48:11'::timestamp) - extract(epoch from '2026-06-12 12:47: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'), 46699, 'SRID=4674;POINT (-40.024144 -2.82952)', '2026-06-12 12:48:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.829582)'), GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.82952)'))) / (select extract(epoch from '2026-06-12 12:48:28'::timestamp) - extract(epoch from '2026-06-12 12:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.829582)'), GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.82952)'))) / (select extract(epoch from '2026-06-12 12:48:28'::timestamp) - extract(epoch from '2026-06-12 12:48: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'), 46699, 'SRID=4674;POINT (-40.024095 -2.829454)', '2026-06-12 12:48:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.82952)'), GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.829454)'))) / (select extract(epoch from '2026-06-12 12:48:45'::timestamp) - extract(epoch from '2026-06-12 12:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024144 -2.82952)'), GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.829454)'))) / (select extract(epoch from '2026-06-12 12:48:45'::timestamp) - extract(epoch from '2026-06-12 12:48: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'), 46699, 'SRID=4674;POINT (-40.024027 -2.829421)', '2026-06-12 12:49:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.829454)'), GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.829421)'))) / (select extract(epoch from '2026-06-12 12:49:04'::timestamp) - extract(epoch from '2026-06-12 12:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024095 -2.829454)'), GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.829421)'))) / (select extract(epoch from '2026-06-12 12:49:04'::timestamp) - extract(epoch from '2026-06-12 12:48: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'), 46699, 'SRID=4674;POINT (-40.023957 -2.829406)', '2026-06-12 12:49:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.829421)'), GeomFromEWKT('SRID=4674;POINT (-40.023957 -2.829406)'))) / (select extract(epoch from '2026-06-12 12:49:18'::timestamp) - extract(epoch from '2026-06-12 12:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.829421)'), GeomFromEWKT('SRID=4674;POINT (-40.023957 -2.829406)'))) / (select extract(epoch from '2026-06-12 12:49:18'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.023859 -2.829379)', '2026-06-12 12:49:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023957 -2.829406)'), GeomFromEWKT('SRID=4674;POINT (-40.023859 -2.829379)'))) / (select extract(epoch from '2026-06-12 12:49:35'::timestamp) - extract(epoch from '2026-06-12 12:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023957 -2.829406)'), GeomFromEWKT('SRID=4674;POINT (-40.023859 -2.829379)'))) / (select extract(epoch from '2026-06-12 12:49:35'::timestamp) - extract(epoch from '2026-06-12 12:49: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'), 46699, 'SRID=4674;POINT (-40.023775 -2.829389)', '2026-06-12 12:49:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023859 -2.829379)'), GeomFromEWKT('SRID=4674;POINT (-40.023775 -2.829389)'))) / (select extract(epoch from '2026-06-12 12:49:50'::timestamp) - extract(epoch from '2026-06-12 12:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023859 -2.829379)'), GeomFromEWKT('SRID=4674;POINT (-40.023775 -2.829389)'))) / (select extract(epoch from '2026-06-12 12:49:50'::timestamp) - extract(epoch from '2026-06-12 12:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023656 -2.829391)', '2026-06-12 12:50:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023775 -2.829389)'), GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.829391)'))) / (select extract(epoch from '2026-06-12 12:50:08'::timestamp) - extract(epoch from '2026-06-12 12:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023775 -2.829389)'), GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.829391)'))) / (select extract(epoch from '2026-06-12 12:50:08'::timestamp) - extract(epoch from '2026-06-12 12:49: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'), 46699, 'SRID=4674;POINT (-40.023545 -2.829414)', '2026-06-12 12:50:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.829391)'), GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.829414)'))) / (select extract(epoch from '2026-06-12 12:50:24'::timestamp) - extract(epoch from '2026-06-12 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.829391)'), GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.829414)'))) / (select extract(epoch from '2026-06-12 12:50:24'::timestamp) - extract(epoch from '2026-06-12 12:50: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'), 46699, 'SRID=4674;POINT (-40.023447 -2.829426)', '2026-06-12 12:50:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.829414)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.829426)'))) / (select extract(epoch from '2026-06-12 12:50:41'::timestamp) - extract(epoch from '2026-06-12 12:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023545 -2.829414)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.829426)'))) / (select extract(epoch from '2026-06-12 12:50:41'::timestamp) - extract(epoch from '2026-06-12 12:50: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'), 46699, 'SRID=4674;POINT (-40.023389 -2.829456)', '2026-06-12 12:50:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.829426)'), GeomFromEWKT('SRID=4674;POINT (-40.023389 -2.829456)'))) / (select extract(epoch from '2026-06-12 12:50:55'::timestamp) - extract(epoch from '2026-06-12 12:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.829426)'), GeomFromEWKT('SRID=4674;POINT (-40.023389 -2.829456)'))) / (select extract(epoch from '2026-06-12 12:50:55'::timestamp) - extract(epoch from '2026-06-12 12:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023333 -2.829517)', '2026-06-12 12:51:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023389 -2.829456)'), GeomFromEWKT('SRID=4674;POINT (-40.023333 -2.829517)'))) / (select extract(epoch from '2026-06-12 12:51:11'::timestamp) - extract(epoch from '2026-06-12 12:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023389 -2.829456)'), GeomFromEWKT('SRID=4674;POINT (-40.023333 -2.829517)'))) / (select extract(epoch from '2026-06-12 12:51:11'::timestamp) - extract(epoch from '2026-06-12 12:50: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'), 46699, 'SRID=4674;POINT (-40.023266 -2.829597)', '2026-06-12 12:51:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023333 -2.829517)'), GeomFromEWKT('SRID=4674;POINT (-40.023266 -2.829597)'))) / (select extract(epoch from '2026-06-12 12:51:29'::timestamp) - extract(epoch from '2026-06-12 12:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023333 -2.829517)'), GeomFromEWKT('SRID=4674;POINT (-40.023266 -2.829597)'))) / (select extract(epoch from '2026-06-12 12:51:29'::timestamp) - extract(epoch from '2026-06-12 12:51: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'), 46699, 'SRID=4674;POINT (-40.02319 -2.829635)', '2026-06-12 12:51:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023266 -2.829597)'), GeomFromEWKT('SRID=4674;POINT (-40.02319 -2.829635)'))) / (select extract(epoch from '2026-06-12 12:51:46'::timestamp) - extract(epoch from '2026-06-12 12:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023266 -2.829597)'), GeomFromEWKT('SRID=4674;POINT (-40.02319 -2.829635)'))) / (select extract(epoch from '2026-06-12 12:51:46'::timestamp) - extract(epoch from '2026-06-12 12:51: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'), 46699, 'SRID=4674;POINT (-40.023192 -2.829738)', '2026-06-12 12:51:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02319 -2.829635)'), GeomFromEWKT('SRID=4674;POINT (-40.023192 -2.829738)'))) / (select extract(epoch from '2026-06-12 12:51:59'::timestamp) - extract(epoch from '2026-06-12 12:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02319 -2.829635)'), GeomFromEWKT('SRID=4674;POINT (-40.023192 -2.829738)'))) / (select extract(epoch from '2026-06-12 12:51:59'::timestamp) - extract(epoch from '2026-06-12 12:51: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'), 46699, 'SRID=4674;POINT (-40.023144 -2.829789)', '2026-06-12 12:52:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023192 -2.829738)'), GeomFromEWKT('SRID=4674;POINT (-40.023144 -2.829789)'))) / (select extract(epoch from '2026-06-12 12:52:10'::timestamp) - extract(epoch from '2026-06-12 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023192 -2.829738)'), GeomFromEWKT('SRID=4674;POINT (-40.023144 -2.829789)'))) / (select extract(epoch from '2026-06-12 12:52:10'::timestamp) - extract(epoch from '2026-06-12 12:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023062 -2.829773)', '2026-06-12 12:52:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023144 -2.829789)'), GeomFromEWKT('SRID=4674;POINT (-40.023062 -2.829773)'))) / (select extract(epoch from '2026-06-12 12:52:25'::timestamp) - extract(epoch from '2026-06-12 12:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023144 -2.829789)'), GeomFromEWKT('SRID=4674;POINT (-40.023062 -2.829773)'))) / (select extract(epoch from '2026-06-12 12:52:25'::timestamp) - extract(epoch from '2026-06-12 12:52: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'), 46699, 'SRID=4674;POINT (-40.023003 -2.829811)', '2026-06-12 12:52:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023062 -2.829773)'), GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.829811)'))) / (select extract(epoch from '2026-06-12 12:52:40'::timestamp) - extract(epoch from '2026-06-12 12:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023062 -2.829773)'), GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.829811)'))) / (select extract(epoch from '2026-06-12 12:52:40'::timestamp) - extract(epoch from '2026-06-12 12:52: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'), 46699, 'SRID=4674;POINT (-40.022971 -2.829864)', '2026-06-12 12:52:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.829811)'), GeomFromEWKT('SRID=4674;POINT (-40.022971 -2.829864)'))) / (select extract(epoch from '2026-06-12 12:52:55'::timestamp) - extract(epoch from '2026-06-12 12:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023003 -2.829811)'), GeomFromEWKT('SRID=4674;POINT (-40.022971 -2.829864)'))) / (select extract(epoch from '2026-06-12 12:52:55'::timestamp) - extract(epoch from '2026-06-12 12:52: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'), 46699, 'SRID=4674;POINT (-40.022981 -2.829932)', '2026-06-12 12:53:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022971 -2.829864)'), GeomFromEWKT('SRID=4674;POINT (-40.022981 -2.829932)'))) / (select extract(epoch from '2026-06-12 12:53:08'::timestamp) - extract(epoch from '2026-06-12 12:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022971 -2.829864)'), GeomFromEWKT('SRID=4674;POINT (-40.022981 -2.829932)'))) / (select extract(epoch from '2026-06-12 12:53:08'::timestamp) - extract(epoch from '2026-06-12 12:52: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'), 46699, 'SRID=4674;POINT (-40.023042 -2.830026)', '2026-06-12 12:53:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022981 -2.829932)'), GeomFromEWKT('SRID=4674;POINT (-40.023042 -2.830026)'))) / (select extract(epoch from '2026-06-12 12:53:18'::timestamp) - extract(epoch from '2026-06-12 12:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022981 -2.829932)'), GeomFromEWKT('SRID=4674;POINT (-40.023042 -2.830026)'))) / (select extract(epoch from '2026-06-12 12:53:18'::timestamp) - extract(epoch from '2026-06-12 12:53: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'), 46699, 'SRID=4674;POINT (-40.023046 -2.830104)', '2026-06-12 12:53:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023042 -2.830026)'), GeomFromEWKT('SRID=4674;POINT (-40.023046 -2.830104)'))) / (select extract(epoch from '2026-06-12 12:53:26'::timestamp) - extract(epoch from '2026-06-12 12:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023042 -2.830026)'), GeomFromEWKT('SRID=4674;POINT (-40.023046 -2.830104)'))) / (select extract(epoch from '2026-06-12 12:53:26'::timestamp) - extract(epoch from '2026-06-12 12:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023021 -2.830162)', '2026-06-12 12:53:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023046 -2.830104)'), GeomFromEWKT('SRID=4674;POINT (-40.023021 -2.830162)'))) / (select extract(epoch from '2026-06-12 12:53:35'::timestamp) - extract(epoch from '2026-06-12 12:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023046 -2.830104)'), GeomFromEWKT('SRID=4674;POINT (-40.023021 -2.830162)'))) / (select extract(epoch from '2026-06-12 12:53:35'::timestamp) - extract(epoch from '2026-06-12 12:53: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'), 46699, 'SRID=4674;POINT (-40.02294 -2.830176)', '2026-06-12 12:53:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023021 -2.830162)'), GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.830176)'))) / (select extract(epoch from '2026-06-12 12:53:50'::timestamp) - extract(epoch from '2026-06-12 12:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023021 -2.830162)'), GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.830176)'))) / (select extract(epoch from '2026-06-12 12:53:50'::timestamp) - extract(epoch from '2026-06-12 12:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022858 -2.830173)', '2026-06-12 12:54:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.830176)'), GeomFromEWKT('SRID=4674;POINT (-40.022858 -2.830173)'))) / (select extract(epoch from '2026-06-12 12:54:10'::timestamp) - extract(epoch from '2026-06-12 12:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.830176)'), GeomFromEWKT('SRID=4674;POINT (-40.022858 -2.830173)'))) / (select extract(epoch from '2026-06-12 12:54:10'::timestamp) - extract(epoch from '2026-06-12 12:53: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'), 46699, 'SRID=4674;POINT (-40.02281 -2.830226)', '2026-06-12 12:54:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022858 -2.830173)'), GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.830226)'))) / (select extract(epoch from '2026-06-12 12:54:28'::timestamp) - extract(epoch from '2026-06-12 12:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022858 -2.830173)'), GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.830226)'))) / (select extract(epoch from '2026-06-12 12:54:28'::timestamp) - extract(epoch from '2026-06-12 12:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022828 -2.83029)', '2026-06-12 12:54:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.830226)'), GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.83029)'))) / (select extract(epoch from '2026-06-12 12:54:40'::timestamp) - extract(epoch from '2026-06-12 12:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.830226)'), GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.83029)'))) / (select extract(epoch from '2026-06-12 12:54:40'::timestamp) - extract(epoch from '2026-06-12 12:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022867 -2.830363)', '2026-06-12 12:54:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.83029)'), GeomFromEWKT('SRID=4674;POINT (-40.022867 -2.830363)'))) / (select extract(epoch from '2026-06-12 12:54:57'::timestamp) - extract(epoch from '2026-06-12 12:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.83029)'), GeomFromEWKT('SRID=4674;POINT (-40.022867 -2.830363)'))) / (select extract(epoch from '2026-06-12 12:54:57'::timestamp) - extract(epoch from '2026-06-12 12:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022894 -2.830449)', '2026-06-12 12:55:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022867 -2.830363)'), GeomFromEWKT('SRID=4674;POINT (-40.022894 -2.830449)'))) / (select extract(epoch from '2026-06-12 12:55:14'::timestamp) - extract(epoch from '2026-06-12 12:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022867 -2.830363)'), GeomFromEWKT('SRID=4674;POINT (-40.022894 -2.830449)'))) / (select extract(epoch from '2026-06-12 12:55:14'::timestamp) - extract(epoch from '2026-06-12 12:54: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'), 46699, 'SRID=4674;POINT (-40.022969 -2.830476)', '2026-06-12 12:55:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022894 -2.830449)'), GeomFromEWKT('SRID=4674;POINT (-40.022969 -2.830476)'))) / (select extract(epoch from '2026-06-12 12:55:31'::timestamp) - extract(epoch from '2026-06-12 12:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022894 -2.830449)'), GeomFromEWKT('SRID=4674;POINT (-40.022969 -2.830476)'))) / (select extract(epoch from '2026-06-12 12:55:31'::timestamp) - extract(epoch from '2026-06-12 12:55: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'), 46699, 'SRID=4674;POINT (-40.023032 -2.830488)', '2026-06-12 12:55:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022969 -2.830476)'), GeomFromEWKT('SRID=4674;POINT (-40.023032 -2.830488)'))) / (select extract(epoch from '2026-06-12 12:55:49'::timestamp) - extract(epoch from '2026-06-12 12:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022969 -2.830476)'), GeomFromEWKT('SRID=4674;POINT (-40.023032 -2.830488)'))) / (select extract(epoch from '2026-06-12 12:55:49'::timestamp) - extract(epoch from '2026-06-12 12:55: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'), 46699, 'SRID=4674;POINT (-40.023087 -2.830473)', '2026-06-12 12:56:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023032 -2.830488)'), GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.830473)'))) / (select extract(epoch from '2026-06-12 12:56:06'::timestamp) - extract(epoch from '2026-06-12 12:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023032 -2.830488)'), GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.830473)'))) / (select extract(epoch from '2026-06-12 12:56:06'::timestamp) - extract(epoch from '2026-06-12 12:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023132 -2.830476)', '2026-06-12 12:56:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.830473)'), GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.830476)'))) / (select extract(epoch from '2026-06-12 12:56:20'::timestamp) - extract(epoch from '2026-06-12 12:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023087 -2.830473)'), GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.830476)'))) / (select extract(epoch from '2026-06-12 12:56:20'::timestamp) - extract(epoch from '2026-06-12 12:56: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'), 46699, 'SRID=4674;POINT (-40.023206 -2.830494)', '2026-06-12 12:56:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.830476)'), GeomFromEWKT('SRID=4674;POINT (-40.023206 -2.830494)'))) / (select extract(epoch from '2026-06-12 12:56:38'::timestamp) - extract(epoch from '2026-06-12 12:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.830476)'), GeomFromEWKT('SRID=4674;POINT (-40.023206 -2.830494)'))) / (select extract(epoch from '2026-06-12 12:56:38'::timestamp) - extract(epoch from '2026-06-12 12:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023295 -2.830511)', '2026-06-12 12:56:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023206 -2.830494)'), GeomFromEWKT('SRID=4674;POINT (-40.023295 -2.830511)'))) / (select extract(epoch from '2026-06-12 12:56:55'::timestamp) - extract(epoch from '2026-06-12 12:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023206 -2.830494)'), GeomFromEWKT('SRID=4674;POINT (-40.023295 -2.830511)'))) / (select extract(epoch from '2026-06-12 12:56:55'::timestamp) - extract(epoch from '2026-06-12 12:56: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'), 46699, 'SRID=4674;POINT (-40.023427 -2.830494)', '2026-06-12 12:57:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023295 -2.830511)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.830494)'))) / (select extract(epoch from '2026-06-12 12:57:10'::timestamp) - extract(epoch from '2026-06-12 12:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023295 -2.830511)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.830494)'))) / (select extract(epoch from '2026-06-12 12:57:10'::timestamp) - extract(epoch from '2026-06-12 12:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023472 -2.830399)', '2026-06-12 12:57:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.830494)'), GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.830399)'))) / (select extract(epoch from '2026-06-12 12:57:18'::timestamp) - extract(epoch from '2026-06-12 12:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.830494)'), GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.830399)'))) / (select extract(epoch from '2026-06-12 12:57:18'::timestamp) - extract(epoch from '2026-06-12 12:57: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'), 46699, 'SRID=4674;POINT (-40.02343 -2.830271)', '2026-06-12 12:57:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.830399)'), GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.830271)'))) / (select extract(epoch from '2026-06-12 12:57:26'::timestamp) - extract(epoch from '2026-06-12 12:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.830399)'), GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.830271)'))) / (select extract(epoch from '2026-06-12 12:57:26'::timestamp) - extract(epoch from '2026-06-12 12:57: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'), 46699, 'SRID=4674;POINT (-40.023326 -2.830176)', '2026-06-12 12:57:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.830271)'), GeomFromEWKT('SRID=4674;POINT (-40.023326 -2.830176)'))) / (select extract(epoch from '2026-06-12 12:57:33'::timestamp) - extract(epoch from '2026-06-12 12:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02343 -2.830271)'), GeomFromEWKT('SRID=4674;POINT (-40.023326 -2.830176)'))) / (select extract(epoch from '2026-06-12 12:57:33'::timestamp) - extract(epoch from '2026-06-12 12:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02318 -2.830049)', '2026-06-12 12:57:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023326 -2.830176)'), GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.830049)'))) / (select extract(epoch from '2026-06-12 12:57:42'::timestamp) - extract(epoch from '2026-06-12 12:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023326 -2.830176)'), GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.830049)'))) / (select extract(epoch from '2026-06-12 12:57:42'::timestamp) - extract(epoch from '2026-06-12 12:57: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'), 46699, 'SRID=4674;POINT (-40.023041 -2.829904)', '2026-06-12 12:57:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.830049)'), GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.829904)'))) / (select extract(epoch from '2026-06-12 12:57:51'::timestamp) - extract(epoch from '2026-06-12 12:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02318 -2.830049)'), GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.829904)'))) / (select extract(epoch from '2026-06-12 12:57:51'::timestamp) - extract(epoch from '2026-06-12 12:57: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'), 46699, 'SRID=4674;POINT (-40.022884 -2.829709)', '2026-06-12 12:58:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.829904)'), GeomFromEWKT('SRID=4674;POINT (-40.022884 -2.829709)'))) / (select extract(epoch from '2026-06-12 12:58:02'::timestamp) - extract(epoch from '2026-06-12 12:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023041 -2.829904)'), GeomFromEWKT('SRID=4674;POINT (-40.022884 -2.829709)'))) / (select extract(epoch from '2026-06-12 12:58:02'::timestamp) - extract(epoch from '2026-06-12 12:57: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'), 46699, 'SRID=4674;POINT (-40.022755 -2.829542)', '2026-06-12 12:58:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022884 -2.829709)'), GeomFromEWKT('SRID=4674;POINT (-40.022755 -2.829542)'))) / (select extract(epoch from '2026-06-12 12:58:11'::timestamp) - extract(epoch from '2026-06-12 12:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022884 -2.829709)'), GeomFromEWKT('SRID=4674;POINT (-40.022755 -2.829542)'))) / (select extract(epoch from '2026-06-12 12:58:11'::timestamp) - extract(epoch from '2026-06-12 12:58: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'), 46699, 'SRID=4674;POINT (-40.022625 -2.829374)', '2026-06-12 12:58:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022755 -2.829542)'), GeomFromEWKT('SRID=4674;POINT (-40.022625 -2.829374)'))) / (select extract(epoch from '2026-06-12 12:58:21'::timestamp) - extract(epoch from '2026-06-12 12:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022755 -2.829542)'), GeomFromEWKT('SRID=4674;POINT (-40.022625 -2.829374)'))) / (select extract(epoch from '2026-06-12 12:58:21'::timestamp) - extract(epoch from '2026-06-12 12:58: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'), 46699, 'SRID=4674;POINT (-40.022548 -2.829177)', '2026-06-12 12:58:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022625 -2.829374)'), GeomFromEWKT('SRID=4674;POINT (-40.022548 -2.829177)'))) / (select extract(epoch from '2026-06-12 12:58:30'::timestamp) - extract(epoch from '2026-06-12 12:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022625 -2.829374)'), GeomFromEWKT('SRID=4674;POINT (-40.022548 -2.829177)'))) / (select extract(epoch from '2026-06-12 12:58:30'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.022501 -2.828985)', '2026-06-12 12:58:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022548 -2.829177)'), GeomFromEWKT('SRID=4674;POINT (-40.022501 -2.828985)'))) / (select extract(epoch from '2026-06-12 12:58:39'::timestamp) - extract(epoch from '2026-06-12 12:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022548 -2.829177)'), GeomFromEWKT('SRID=4674;POINT (-40.022501 -2.828985)'))) / (select extract(epoch from '2026-06-12 12:58:39'::timestamp) - extract(epoch from '2026-06-12 12:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022429 -2.828871)', '2026-06-12 12:58:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022501 -2.828985)'), GeomFromEWKT('SRID=4674;POINT (-40.022429 -2.828871)'))) / (select extract(epoch from '2026-06-12 12:58:47'::timestamp) - extract(epoch from '2026-06-12 12:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022501 -2.828985)'), GeomFromEWKT('SRID=4674;POINT (-40.022429 -2.828871)'))) / (select extract(epoch from '2026-06-12 12:58:47'::timestamp) - extract(epoch from '2026-06-12 12:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022365 -2.82881)', '2026-06-12 12:58:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022429 -2.828871)'), GeomFromEWKT('SRID=4674;POINT (-40.022365 -2.82881)'))) / (select extract(epoch from '2026-06-12 12:58:55'::timestamp) - extract(epoch from '2026-06-12 12:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022429 -2.828871)'), GeomFromEWKT('SRID=4674;POINT (-40.022365 -2.82881)'))) / (select extract(epoch from '2026-06-12 12:58:55'::timestamp) - extract(epoch from '2026-06-12 12:58: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'), 46699, 'SRID=4674;POINT (-40.022277 -2.828702)', '2026-06-12 12:59:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022365 -2.82881)'), GeomFromEWKT('SRID=4674;POINT (-40.022277 -2.828702)'))) / (select extract(epoch from '2026-06-12 12:59:03'::timestamp) - extract(epoch from '2026-06-12 12:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022365 -2.82881)'), GeomFromEWKT('SRID=4674;POINT (-40.022277 -2.828702)'))) / (select extract(epoch from '2026-06-12 12:59:03'::timestamp) - extract(epoch from '2026-06-12 12:58: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'), 46699, 'SRID=4674;POINT (-40.022185 -2.828637)', '2026-06-12 12:59:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022277 -2.828702)'), GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.828637)'))) / (select extract(epoch from '2026-06-12 12:59:11'::timestamp) - extract(epoch from '2026-06-12 12:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022277 -2.828702)'), GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.828637)'))) / (select extract(epoch from '2026-06-12 12:59:11'::timestamp) - extract(epoch from '2026-06-12 12:59: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'), 46699, 'SRID=4674;POINT (-40.022045 -2.828648)', '2026-06-12 12:59:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.828637)'), GeomFromEWKT('SRID=4674;POINT (-40.022045 -2.828648)'))) / (select extract(epoch from '2026-06-12 12:59:22'::timestamp) - extract(epoch from '2026-06-12 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.828637)'), GeomFromEWKT('SRID=4674;POINT (-40.022045 -2.828648)'))) / (select extract(epoch from '2026-06-12 12:59:22'::timestamp) - extract(epoch from '2026-06-12 12:59: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'), 46699, 'SRID=4674;POINT (-40.021914 -2.828674)', '2026-06-12 12:59:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022045 -2.828648)'), GeomFromEWKT('SRID=4674;POINT (-40.021914 -2.828674)'))) / (select extract(epoch from '2026-06-12 12:59:33'::timestamp) - extract(epoch from '2026-06-12 12:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022045 -2.828648)'), GeomFromEWKT('SRID=4674;POINT (-40.021914 -2.828674)'))) / (select extract(epoch from '2026-06-12 12:59:33'::timestamp) - extract(epoch from '2026-06-12 12:59: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'), 46699, 'SRID=4674;POINT (-40.021775 -2.828685)', '2026-06-12 12:59:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021914 -2.828674)'), GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.828685)'))) / (select extract(epoch from '2026-06-12 12:59:44'::timestamp) - extract(epoch from '2026-06-12 12:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021914 -2.828674)'), GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.828685)'))) / (select extract(epoch from '2026-06-12 12:59:44'::timestamp) - extract(epoch from '2026-06-12 12: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'), 46699, 'SRID=4674;POINT (-40.021658 -2.828691)', '2026-06-12 12:59:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.021658 -2.828691)'))) / (select extract(epoch from '2026-06-12 12:59:54'::timestamp) - extract(epoch from '2026-06-12 12:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.021658 -2.828691)'))) / (select extract(epoch from '2026-06-12 12:59:54'::timestamp) - extract(epoch from '2026-06-12 12:59: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'), 46699, 'SRID=4674;POINT (-40.02158 -2.828635)', '2026-06-12 13:00:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021658 -2.828691)'), GeomFromEWKT('SRID=4674;POINT (-40.02158 -2.828635)'))) / (select extract(epoch from '2026-06-12 13:00:02'::timestamp) - extract(epoch from '2026-06-12 12:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021658 -2.828691)'), GeomFromEWKT('SRID=4674;POINT (-40.02158 -2.828635)'))) / (select extract(epoch from '2026-06-12 13:00:02'::timestamp) - extract(epoch from '2026-06-12 12:59: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'), 46699, 'SRID=4674;POINT (-40.021524 -2.828541)', '2026-06-12 13:00:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02158 -2.828635)'), GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.828541)'))) / (select extract(epoch from '2026-06-12 13:00:11'::timestamp) - extract(epoch from '2026-06-12 13:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02158 -2.828635)'), GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.828541)'))) / (select extract(epoch from '2026-06-12 13:00:11'::timestamp) - extract(epoch from '2026-06-12 13:00: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'), 46699, 'SRID=4674;POINT (-40.02151 -2.828446)', '2026-06-12 13:00:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.828541)'), GeomFromEWKT('SRID=4674;POINT (-40.02151 -2.828446)'))) / (select extract(epoch from '2026-06-12 13:00:19'::timestamp) - extract(epoch from '2026-06-12 13:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.828541)'), GeomFromEWKT('SRID=4674;POINT (-40.02151 -2.828446)'))) / (select extract(epoch from '2026-06-12 13:00:19'::timestamp) - extract(epoch from '2026-06-12 13:00: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'), 46699, 'SRID=4674;POINT (-40.021484 -2.828351)', '2026-06-12 13:00:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02151 -2.828446)'), GeomFromEWKT('SRID=4674;POINT (-40.021484 -2.828351)'))) / (select extract(epoch from '2026-06-12 13:00:29'::timestamp) - extract(epoch from '2026-06-12 13:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02151 -2.828446)'), GeomFromEWKT('SRID=4674;POINT (-40.021484 -2.828351)'))) / (select extract(epoch from '2026-06-12 13:00:29'::timestamp) - extract(epoch from '2026-06-12 13:00: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'), 46699, 'SRID=4674;POINT (-40.021469 -2.828253)', '2026-06-12 13:00:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021484 -2.828351)'), GeomFromEWKT('SRID=4674;POINT (-40.021469 -2.828253)'))) / (select extract(epoch from '2026-06-12 13:00:38'::timestamp) - extract(epoch from '2026-06-12 13:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021484 -2.828351)'), GeomFromEWKT('SRID=4674;POINT (-40.021469 -2.828253)'))) / (select extract(epoch from '2026-06-12 13:00:38'::timestamp) - extract(epoch from '2026-06-12 13:00: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'), 46699, 'SRID=4674;POINT (-40.021547 -2.828143)', '2026-06-12 13:00:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021469 -2.828253)'), GeomFromEWKT('SRID=4674;POINT (-40.021547 -2.828143)'))) / (select extract(epoch from '2026-06-12 13:00:48'::timestamp) - extract(epoch from '2026-06-12 13:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021469 -2.828253)'), GeomFromEWKT('SRID=4674;POINT (-40.021547 -2.828143)'))) / (select extract(epoch from '2026-06-12 13:00:48'::timestamp) - extract(epoch from '2026-06-12 13:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02168 -2.828048)', '2026-06-12 13:00:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021547 -2.828143)'), GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.828048)'))) / (select extract(epoch from '2026-06-12 13:00:59'::timestamp) - extract(epoch from '2026-06-12 13:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021547 -2.828143)'), GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.828048)'))) / (select extract(epoch from '2026-06-12 13:00:59'::timestamp) - extract(epoch from '2026-06-12 13:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021822 -2.827981)', '2026-06-12 13:01:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.828048)'), GeomFromEWKT('SRID=4674;POINT (-40.021822 -2.827981)'))) / (select extract(epoch from '2026-06-12 13:01:09'::timestamp) - extract(epoch from '2026-06-12 13:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.828048)'), GeomFromEWKT('SRID=4674;POINT (-40.021822 -2.827981)'))) / (select extract(epoch from '2026-06-12 13:01:09'::timestamp) - extract(epoch from '2026-06-12 13:00: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'), 46699, 'SRID=4674;POINT (-40.021939 -2.827927)', '2026-06-12 13:01:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021822 -2.827981)'), GeomFromEWKT('SRID=4674;POINT (-40.021939 -2.827927)'))) / (select extract(epoch from '2026-06-12 13:01:18'::timestamp) - extract(epoch from '2026-06-12 13:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021822 -2.827981)'), GeomFromEWKT('SRID=4674;POINT (-40.021939 -2.827927)'))) / (select extract(epoch from '2026-06-12 13:01:18'::timestamp) - extract(epoch from '2026-06-12 13:01: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'), 46699, 'SRID=4674;POINT (-40.02206 -2.827885)', '2026-06-12 13:01:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021939 -2.827927)'), GeomFromEWKT('SRID=4674;POINT (-40.02206 -2.827885)'))) / (select extract(epoch from '2026-06-12 13:01:28'::timestamp) - extract(epoch from '2026-06-12 13:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021939 -2.827927)'), GeomFromEWKT('SRID=4674;POINT (-40.02206 -2.827885)'))) / (select extract(epoch from '2026-06-12 13:01:28'::timestamp) - extract(epoch from '2026-06-12 13:01: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'), 46699, 'SRID=4674;POINT (-40.022181 -2.82784)', '2026-06-12 13:01:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02206 -2.827885)'), GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.82784)'))) / (select extract(epoch from '2026-06-12 13:01:38'::timestamp) - extract(epoch from '2026-06-12 13:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02206 -2.827885)'), GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.82784)'))) / (select extract(epoch from '2026-06-12 13:01:38'::timestamp) - extract(epoch from '2026-06-12 13:01: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'), 46699, 'SRID=4674;POINT (-40.022313 -2.827792)', '2026-06-12 13:01:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.82784)'), GeomFromEWKT('SRID=4674;POINT (-40.022313 -2.827792)'))) / (select extract(epoch from '2026-06-12 13:01:49'::timestamp) - extract(epoch from '2026-06-12 13:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022181 -2.82784)'), GeomFromEWKT('SRID=4674;POINT (-40.022313 -2.827792)'))) / (select extract(epoch from '2026-06-12 13:01:49'::timestamp) - extract(epoch from '2026-06-12 13:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022408 -2.827765)', '2026-06-12 13:01:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022313 -2.827792)'), GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.827765)'))) / (select extract(epoch from '2026-06-12 13:01:57'::timestamp) - extract(epoch from '2026-06-12 13:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022313 -2.827792)'), GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.827765)'))) / (select extract(epoch from '2026-06-12 13:01:57'::timestamp) - extract(epoch from '2026-06-12 13:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022527 -2.827726)', '2026-06-12 13:02:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.827765)'), GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.827726)'))) / (select extract(epoch from '2026-06-12 13:02:08'::timestamp) - extract(epoch from '2026-06-12 13:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.827765)'), GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.827726)'))) / (select extract(epoch from '2026-06-12 13:02:08'::timestamp) - extract(epoch from '2026-06-12 13:01: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'), 46699, 'SRID=4674;POINT (-40.022636 -2.827695)', '2026-06-12 13:02:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.827726)'), GeomFromEWKT('SRID=4674;POINT (-40.022636 -2.827695)'))) / (select extract(epoch from '2026-06-12 13:02:17'::timestamp) - extract(epoch from '2026-06-12 13:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.827726)'), GeomFromEWKT('SRID=4674;POINT (-40.022636 -2.827695)'))) / (select extract(epoch from '2026-06-12 13:02:17'::timestamp) - extract(epoch from '2026-06-12 13:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022748 -2.827656)', '2026-06-12 13:02:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022636 -2.827695)'), GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.827656)'))) / (select extract(epoch from '2026-06-12 13:02:26'::timestamp) - extract(epoch from '2026-06-12 13:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022636 -2.827695)'), GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.827656)'))) / (select extract(epoch from '2026-06-12 13:02:26'::timestamp) - extract(epoch from '2026-06-12 13:02: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'), 46699, 'SRID=4674;POINT (-40.022847 -2.827627)', '2026-06-12 13:02:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.827656)'), GeomFromEWKT('SRID=4674;POINT (-40.022847 -2.827627)'))) / (select extract(epoch from '2026-06-12 13:02:34'::timestamp) - extract(epoch from '2026-06-12 13:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.827656)'), GeomFromEWKT('SRID=4674;POINT (-40.022847 -2.827627)'))) / (select extract(epoch from '2026-06-12 13:02:34'::timestamp) - extract(epoch from '2026-06-12 13:02: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'), 46699, 'SRID=4674;POINT (-40.022958 -2.827587)', '2026-06-12 13:02:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022847 -2.827627)'), GeomFromEWKT('SRID=4674;POINT (-40.022958 -2.827587)'))) / (select extract(epoch from '2026-06-12 13:02:43'::timestamp) - extract(epoch from '2026-06-12 13:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022847 -2.827627)'), GeomFromEWKT('SRID=4674;POINT (-40.022958 -2.827587)'))) / (select extract(epoch from '2026-06-12 13:02:43'::timestamp) - extract(epoch from '2026-06-12 13:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023105 -2.827559)', '2026-06-12 13:02:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022958 -2.827587)'), GeomFromEWKT('SRID=4674;POINT (-40.023105 -2.827559)'))) / (select extract(epoch from '2026-06-12 13:02:55'::timestamp) - extract(epoch from '2026-06-12 13:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022958 -2.827587)'), GeomFromEWKT('SRID=4674;POINT (-40.023105 -2.827559)'))) / (select extract(epoch from '2026-06-12 13:02:55'::timestamp) - extract(epoch from '2026-06-12 13:02: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'), 46699, 'SRID=4674;POINT (-40.023196 -2.827526)', '2026-06-12 13:03:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023105 -2.827559)'), GeomFromEWKT('SRID=4674;POINT (-40.023196 -2.827526)'))) / (select extract(epoch from '2026-06-12 13:03:03'::timestamp) - extract(epoch from '2026-06-12 13:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023105 -2.827559)'), GeomFromEWKT('SRID=4674;POINT (-40.023196 -2.827526)'))) / (select extract(epoch from '2026-06-12 13:03:03'::timestamp) - extract(epoch from '2026-06-12 13:02: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'), 46699, 'SRID=4674;POINT (-40.023311 -2.827492)', '2026-06-12 13:03:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023196 -2.827526)'), GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.827492)'))) / (select extract(epoch from '2026-06-12 13:03:13'::timestamp) - extract(epoch from '2026-06-12 13:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023196 -2.827526)'), GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.827492)'))) / (select extract(epoch from '2026-06-12 13:03:13'::timestamp) - extract(epoch from '2026-06-12 13:03: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'), 46699, 'SRID=4674;POINT (-40.023416 -2.82745)', '2026-06-12 13:03:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.827492)'), GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.82745)'))) / (select extract(epoch from '2026-06-12 13:03:23'::timestamp) - extract(epoch from '2026-06-12 13:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.827492)'), GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.82745)'))) / (select extract(epoch from '2026-06-12 13:03:23'::timestamp) - extract(epoch from '2026-06-12 13:03: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'), 46699, 'SRID=4674;POINT (-40.023517 -2.82742)', '2026-06-12 13:03:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.82745)'), GeomFromEWKT('SRID=4674;POINT (-40.023517 -2.82742)'))) / (select extract(epoch from '2026-06-12 13:03:32'::timestamp) - extract(epoch from '2026-06-12 13:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023416 -2.82745)'), GeomFromEWKT('SRID=4674;POINT (-40.023517 -2.82742)'))) / (select extract(epoch from '2026-06-12 13:03:32'::timestamp) - extract(epoch from '2026-06-12 13:03: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'), 46699, 'SRID=4674;POINT (-40.023656 -2.827377)', '2026-06-12 13:03:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023517 -2.82742)'), GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.827377)'))) / (select extract(epoch from '2026-06-12 13:03:44'::timestamp) - extract(epoch from '2026-06-12 13:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023517 -2.82742)'), GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.827377)'))) / (select extract(epoch from '2026-06-12 13:03:44'::timestamp) - extract(epoch from '2026-06-12 13:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023731 -2.827352)', '2026-06-12 13:03:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.827377)'), GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.827352)'))) / (select extract(epoch from '2026-06-12 13:03:51'::timestamp) - extract(epoch from '2026-06-12 13:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023656 -2.827377)'), GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.827352)'))) / (select extract(epoch from '2026-06-12 13:03:51'::timestamp) - extract(epoch from '2026-06-12 13:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023817 -2.827331)', '2026-06-12 13:03:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.827352)'), GeomFromEWKT('SRID=4674;POINT (-40.023817 -2.827331)'))) / (select extract(epoch from '2026-06-12 13:03:59'::timestamp) - extract(epoch from '2026-06-12 13:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.827352)'), GeomFromEWKT('SRID=4674;POINT (-40.023817 -2.827331)'))) / (select extract(epoch from '2026-06-12 13:03:59'::timestamp) - extract(epoch from '2026-06-12 13:03: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'), 46699, 'SRID=4674;POINT (-40.023892 -2.827304)', '2026-06-12 13:04:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023817 -2.827331)'), GeomFromEWKT('SRID=4674;POINT (-40.023892 -2.827304)'))) / (select extract(epoch from '2026-06-12 13:04:06'::timestamp) - extract(epoch from '2026-06-12 13:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023817 -2.827331)'), GeomFromEWKT('SRID=4674;POINT (-40.023892 -2.827304)'))) / (select extract(epoch from '2026-06-12 13:04:06'::timestamp) - extract(epoch from '2026-06-12 13:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023998 -2.827325)', '2026-06-12 13:04:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023892 -2.827304)'), GeomFromEWKT('SRID=4674;POINT (-40.023998 -2.827325)'))) / (select extract(epoch from '2026-06-12 13:04:13'::timestamp) - extract(epoch from '2026-06-12 13:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023892 -2.827304)'), GeomFromEWKT('SRID=4674;POINT (-40.023998 -2.827325)'))) / (select extract(epoch from '2026-06-12 13:04:13'::timestamp) - extract(epoch from '2026-06-12 13:04: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'), 46699, 'SRID=4674;POINT (-40.024107 -2.827425)', '2026-06-12 13:04:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023998 -2.827325)'), GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.827425)'))) / (select extract(epoch from '2026-06-12 13:04:22'::timestamp) - extract(epoch from '2026-06-12 13:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023998 -2.827325)'), GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.827425)'))) / (select extract(epoch from '2026-06-12 13:04:22'::timestamp) - extract(epoch from '2026-06-12 13:04: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'), 46699, 'SRID=4674;POINT (-40.024201 -2.827528)', '2026-06-12 13:04:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.827425)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.827528)'))) / (select extract(epoch from '2026-06-12 13:04:32'::timestamp) - extract(epoch from '2026-06-12 13:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024107 -2.827425)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.827528)'))) / (select extract(epoch from '2026-06-12 13:04:32'::timestamp) - extract(epoch from '2026-06-12 13:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024258 -2.827623)', '2026-06-12 13:04:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.827528)'), GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.827623)'))) / (select extract(epoch from '2026-06-12 13:04:40'::timestamp) - extract(epoch from '2026-06-12 13:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.827528)'), GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.827623)'))) / (select extract(epoch from '2026-06-12 13:04:40'::timestamp) - extract(epoch from '2026-06-12 13:04: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'), 46699, 'SRID=4674;POINT (-40.024294 -2.827752)', '2026-06-12 13:04:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.827623)'), GeomFromEWKT('SRID=4674;POINT (-40.024294 -2.827752)'))) / (select extract(epoch from '2026-06-12 13:04:49'::timestamp) - extract(epoch from '2026-06-12 13:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.827623)'), GeomFromEWKT('SRID=4674;POINT (-40.024294 -2.827752)'))) / (select extract(epoch from '2026-06-12 13:04:49'::timestamp) - extract(epoch from '2026-06-12 13:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024314 -2.827871)', '2026-06-12 13:04:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024294 -2.827752)'), GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.827871)'))) / (select extract(epoch from '2026-06-12 13:04:58'::timestamp) - extract(epoch from '2026-06-12 13:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024294 -2.827752)'), GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.827871)'))) / (select extract(epoch from '2026-06-12 13:04:58'::timestamp) - extract(epoch from '2026-06-12 13:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02432 -2.827989)', '2026-06-12 13:05:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.827871)'), GeomFromEWKT('SRID=4674;POINT (-40.02432 -2.827989)'))) / (select extract(epoch from '2026-06-12 13:05:06'::timestamp) - extract(epoch from '2026-06-12 13:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.827871)'), GeomFromEWKT('SRID=4674;POINT (-40.02432 -2.827989)'))) / (select extract(epoch from '2026-06-12 13:05:06'::timestamp) - extract(epoch from '2026-06-12 13:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024324 -2.8281)', '2026-06-12 13:05:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02432 -2.827989)'), GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.8281)'))) / (select extract(epoch from '2026-06-12 13:05:14'::timestamp) - extract(epoch from '2026-06-12 13:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02432 -2.827989)'), GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.8281)'))) / (select extract(epoch from '2026-06-12 13:05:14'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.024326 -2.828202)', '2026-06-12 13:05:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.8281)'), GeomFromEWKT('SRID=4674;POINT (-40.024326 -2.828202)'))) / (select extract(epoch from '2026-06-12 13:05:22'::timestamp) - extract(epoch from '2026-06-12 13:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024324 -2.8281)'), GeomFromEWKT('SRID=4674;POINT (-40.024326 -2.828202)'))) / (select extract(epoch from '2026-06-12 13:05:22'::timestamp) - extract(epoch from '2026-06-12 13:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024322 -2.828291)', '2026-06-12 13:05:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024326 -2.828202)'), GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.828291)'))) / (select extract(epoch from '2026-06-12 13:05:30'::timestamp) - extract(epoch from '2026-06-12 13:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024326 -2.828202)'), GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.828291)'))) / (select extract(epoch from '2026-06-12 13:05:30'::timestamp) - extract(epoch from '2026-06-12 13:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024311 -2.828395)', '2026-06-12 13:05:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.828291)'), GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.828395)'))) / (select extract(epoch from '2026-06-12 13:05:39'::timestamp) - extract(epoch from '2026-06-12 13:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.828291)'), GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.828395)'))) / (select extract(epoch from '2026-06-12 13:05:39'::timestamp) - extract(epoch from '2026-06-12 13:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024277 -2.828513)', '2026-06-12 13:05:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.828395)'), GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.828513)'))) / (select extract(epoch from '2026-06-12 13:05:49'::timestamp) - extract(epoch from '2026-06-12 13:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.828395)'), GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.828513)'))) / (select extract(epoch from '2026-06-12 13:05:49'::timestamp) - extract(epoch from '2026-06-12 13:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02424 -2.828626)', '2026-06-12 13:05:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.828513)'), GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.828626)'))) / (select extract(epoch from '2026-06-12 13:05:59'::timestamp) - extract(epoch from '2026-06-12 13:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.828513)'), GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.828626)'))) / (select extract(epoch from '2026-06-12 13:05:59'::timestamp) - extract(epoch from '2026-06-12 13:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024203 -2.828713)', '2026-06-12 13:06:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.828626)'), GeomFromEWKT('SRID=4674;POINT (-40.024203 -2.828713)'))) / (select extract(epoch from '2026-06-12 13:06:08'::timestamp) - extract(epoch from '2026-06-12 13:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.828626)'), GeomFromEWKT('SRID=4674;POINT (-40.024203 -2.828713)'))) / (select extract(epoch from '2026-06-12 13:06:08'::timestamp) - extract(epoch from '2026-06-12 13:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024172 -2.828837)', '2026-06-12 13:06:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024203 -2.828713)'), GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.828837)'))) / (select extract(epoch from '2026-06-12 13:06:16'::timestamp) - extract(epoch from '2026-06-12 13:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024203 -2.828713)'), GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.828837)'))) / (select extract(epoch from '2026-06-12 13:06:16'::timestamp) - extract(epoch from '2026-06-12 13:06: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'), 46699, 'SRID=4674;POINT (-40.024187 -2.829025)', '2026-06-12 13:06:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.828837)'), GeomFromEWKT('SRID=4674;POINT (-40.024187 -2.829025)'))) / (select extract(epoch from '2026-06-12 13:06:26'::timestamp) - extract(epoch from '2026-06-12 13:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.828837)'), GeomFromEWKT('SRID=4674;POINT (-40.024187 -2.829025)'))) / (select extract(epoch from '2026-06-12 13:06:26'::timestamp) - extract(epoch from '2026-06-12 13:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024174 -2.829162)', '2026-06-12 13:06:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024187 -2.829025)'), GeomFromEWKT('SRID=4674;POINT (-40.024174 -2.829162)'))) / (select extract(epoch from '2026-06-12 13:06:33'::timestamp) - extract(epoch from '2026-06-12 13:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024187 -2.829025)'), GeomFromEWKT('SRID=4674;POINT (-40.024174 -2.829162)'))) / (select extract(epoch from '2026-06-12 13:06:33'::timestamp) - extract(epoch from '2026-06-12 13:06: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'), 46699, 'SRID=4674;POINT (-40.024159 -2.829267)', '2026-06-12 13:06:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024174 -2.829162)'), GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.829267)'))) / (select extract(epoch from '2026-06-12 13:06:41'::timestamp) - extract(epoch from '2026-06-12 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024174 -2.829162)'), GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.829267)'))) / (select extract(epoch from '2026-06-12 13:06:41'::timestamp) - extract(epoch from '2026-06-12 13:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024155 -2.829346)', '2026-06-12 13:06:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.829267)'), GeomFromEWKT('SRID=4674;POINT (-40.024155 -2.829346)'))) / (select extract(epoch from '2026-06-12 13:06:49'::timestamp) - extract(epoch from '2026-06-12 13:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.829267)'), GeomFromEWKT('SRID=4674;POINT (-40.024155 -2.829346)'))) / (select extract(epoch from '2026-06-12 13:06:49'::timestamp) - extract(epoch from '2026-06-12 13:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024143 -2.829415)', '2026-06-12 13:06:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024155 -2.829346)'), GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.829415)'))) / (select extract(epoch from '2026-06-12 13:06:57'::timestamp) - extract(epoch from '2026-06-12 13:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024155 -2.829346)'), GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.829415)'))) / (select extract(epoch from '2026-06-12 13:06:57'::timestamp) - extract(epoch from '2026-06-12 13:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02411 -2.829518)', '2026-06-12 13:07:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.829415)'), GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.829518)'))) / (select extract(epoch from '2026-06-12 13:07:04'::timestamp) - extract(epoch from '2026-06-12 13:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024143 -2.829415)'), GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.829518)'))) / (select extract(epoch from '2026-06-12 13:07:04'::timestamp) - extract(epoch from '2026-06-12 13:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024165 -2.829712)', '2026-06-12 13:07:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.829518)'), GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.829712)'))) / (select extract(epoch from '2026-06-12 13:07:14'::timestamp) - extract(epoch from '2026-06-12 13:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02411 -2.829518)'), GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.829712)'))) / (select extract(epoch from '2026-06-12 13:07:14'::timestamp) - extract(epoch from '2026-06-12 13:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02424 -2.829881)', '2026-06-12 13:07:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.829712)'), GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.829881)'))) / (select extract(epoch from '2026-06-12 13:07:22'::timestamp) - extract(epoch from '2026-06-12 13:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024165 -2.829712)'), GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.829881)'))) / (select extract(epoch from '2026-06-12 13:07:22'::timestamp) - extract(epoch from '2026-06-12 13:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024332 -2.830011)', '2026-06-12 13:07:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.829881)'), GeomFromEWKT('SRID=4674;POINT (-40.024332 -2.830011)'))) / (select extract(epoch from '2026-06-12 13:07:29'::timestamp) - extract(epoch from '2026-06-12 13:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02424 -2.829881)'), GeomFromEWKT('SRID=4674;POINT (-40.024332 -2.830011)'))) / (select extract(epoch from '2026-06-12 13:07:29'::timestamp) - extract(epoch from '2026-06-12 13:07: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'), 46699, 'SRID=4674;POINT (-40.024449 -2.830144)', '2026-06-12 13:07:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024332 -2.830011)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.830144)'))) / (select extract(epoch from '2026-06-12 13:07:37'::timestamp) - extract(epoch from '2026-06-12 13:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024332 -2.830011)'), GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.830144)'))) / (select extract(epoch from '2026-06-12 13:07:37'::timestamp) - extract(epoch from '2026-06-12 13:07: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'), 46699, 'SRID=4674;POINT (-40.024551 -2.830267)', '2026-06-12 13:07:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.830144)'), GeomFromEWKT('SRID=4674;POINT (-40.024551 -2.830267)'))) / (select extract(epoch from '2026-06-12 13:07:44'::timestamp) - extract(epoch from '2026-06-12 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024449 -2.830144)'), GeomFromEWKT('SRID=4674;POINT (-40.024551 -2.830267)'))) / (select extract(epoch from '2026-06-12 13:07:44'::timestamp) - extract(epoch from '2026-06-12 13:07: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'), 46699, 'SRID=4674;POINT (-40.024662 -2.830414)', '2026-06-12 13:07:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024551 -2.830267)'), GeomFromEWKT('SRID=4674;POINT (-40.024662 -2.830414)'))) / (select extract(epoch from '2026-06-12 13:07:52'::timestamp) - extract(epoch from '2026-06-12 13:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024551 -2.830267)'), GeomFromEWKT('SRID=4674;POINT (-40.024662 -2.830414)'))) / (select extract(epoch from '2026-06-12 13:07:52'::timestamp) - extract(epoch from '2026-06-12 13:07: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'), 46699, 'SRID=4674;POINT (-40.024784 -2.830575)', '2026-06-12 13:08:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024662 -2.830414)'), GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.830575)'))) / (select extract(epoch from '2026-06-12 13:08:01'::timestamp) - extract(epoch from '2026-06-12 13:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024662 -2.830414)'), GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.830575)'))) / (select extract(epoch from '2026-06-12 13:08:01'::timestamp) - extract(epoch from '2026-06-12 13:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024927 -2.830796)', '2026-06-12 13:08:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.830575)'), GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.830796)'))) / (select extract(epoch from '2026-06-12 13:08:12'::timestamp) - extract(epoch from '2026-06-12 13:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.830575)'), GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.830796)'))) / (select extract(epoch from '2026-06-12 13:08:12'::timestamp) - extract(epoch from '2026-06-12 13:08: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'), 46699, 'SRID=4674;POINT (-40.025016 -2.830979)', '2026-06-12 13:08:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.830796)'), GeomFromEWKT('SRID=4674;POINT (-40.025016 -2.830979)'))) / (select extract(epoch from '2026-06-12 13:08:20'::timestamp) - extract(epoch from '2026-06-12 13:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.830796)'), GeomFromEWKT('SRID=4674;POINT (-40.025016 -2.830979)'))) / (select extract(epoch from '2026-06-12 13:08:20'::timestamp) - extract(epoch from '2026-06-12 13:08: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'), 46699, 'SRID=4674;POINT (-40.025093 -2.831168)', '2026-06-12 13:08:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025016 -2.830979)'), GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.831168)'))) / (select extract(epoch from '2026-06-12 13:08:28'::timestamp) - extract(epoch from '2026-06-12 13:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025016 -2.830979)'), GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.831168)'))) / (select extract(epoch from '2026-06-12 13:08:28'::timestamp) - extract(epoch from '2026-06-12 13:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025201 -2.831413)', '2026-06-12 13:08:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.831168)'), GeomFromEWKT('SRID=4674;POINT (-40.025201 -2.831413)'))) / (select extract(epoch from '2026-06-12 13:08:39'::timestamp) - extract(epoch from '2026-06-12 13:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025093 -2.831168)'), GeomFromEWKT('SRID=4674;POINT (-40.025201 -2.831413)'))) / (select extract(epoch from '2026-06-12 13:08:39'::timestamp) - extract(epoch from '2026-06-12 13:08: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'), 46699, 'SRID=4674;POINT (-40.025304 -2.831615)', '2026-06-12 13:08:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025201 -2.831413)'), GeomFromEWKT('SRID=4674;POINT (-40.025304 -2.831615)'))) / (select extract(epoch from '2026-06-12 13:08:48'::timestamp) - extract(epoch from '2026-06-12 13:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025201 -2.831413)'), GeomFromEWKT('SRID=4674;POINT (-40.025304 -2.831615)'))) / (select extract(epoch from '2026-06-12 13:08:48'::timestamp) - extract(epoch from '2026-06-12 13:08: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'), 46699, 'SRID=4674;POINT (-40.02544 -2.831818)', '2026-06-12 13:08:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025304 -2.831615)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.831818)'))) / (select extract(epoch from '2026-06-12 13:08:58'::timestamp) - extract(epoch from '2026-06-12 13:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025304 -2.831615)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.831818)'))) / (select extract(epoch from '2026-06-12 13:08:58'::timestamp) - extract(epoch from '2026-06-12 13:08: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'), 46699, 'SRID=4674;POINT (-40.025526 -2.832016)', '2026-06-12 13:09:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.831818)'), GeomFromEWKT('SRID=4674;POINT (-40.025526 -2.832016)'))) / (select extract(epoch from '2026-06-12 13:09:07'::timestamp) - extract(epoch from '2026-06-12 13:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.831818)'), GeomFromEWKT('SRID=4674;POINT (-40.025526 -2.832016)'))) / (select extract(epoch from '2026-06-12 13:09:07'::timestamp) - extract(epoch from '2026-06-12 13:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025588 -2.8322)', '2026-06-12 13:09:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025526 -2.832016)'), GeomFromEWKT('SRID=4674;POINT (-40.025588 -2.8322)'))) / (select extract(epoch from '2026-06-12 13:09:15'::timestamp) - extract(epoch from '2026-06-12 13:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025526 -2.832016)'), GeomFromEWKT('SRID=4674;POINT (-40.025588 -2.8322)'))) / (select extract(epoch from '2026-06-12 13:09:15'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.025619 -2.832404)', '2026-06-12 13:09:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025588 -2.8322)'), GeomFromEWKT('SRID=4674;POINT (-40.025619 -2.832404)'))) / (select extract(epoch from '2026-06-12 13:09:24'::timestamp) - extract(epoch from '2026-06-12 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025588 -2.8322)'), GeomFromEWKT('SRID=4674;POINT (-40.025619 -2.832404)'))) / (select extract(epoch from '2026-06-12 13:09:24'::timestamp) - extract(epoch from '2026-06-12 13:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025636 -2.832566)', '2026-06-12 13:09:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025619 -2.832404)'), GeomFromEWKT('SRID=4674;POINT (-40.025636 -2.832566)'))) / (select extract(epoch from '2026-06-12 13:09:31'::timestamp) - extract(epoch from '2026-06-12 13:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025619 -2.832404)'), GeomFromEWKT('SRID=4674;POINT (-40.025636 -2.832566)'))) / (select extract(epoch from '2026-06-12 13:09:31'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.025631 -2.832737)', '2026-06-12 13:09:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025636 -2.832566)'), GeomFromEWKT('SRID=4674;POINT (-40.025631 -2.832737)'))) / (select extract(epoch from '2026-06-12 13:09:38'::timestamp) - extract(epoch from '2026-06-12 13:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025636 -2.832566)'), GeomFromEWKT('SRID=4674;POINT (-40.025631 -2.832737)'))) / (select extract(epoch from '2026-06-12 13:09:38'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.025608 -2.832899)', '2026-06-12 13:09:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025631 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.832899)'))) / (select extract(epoch from '2026-06-12 13:09:45'::timestamp) - extract(epoch from '2026-06-12 13:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025631 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.832899)'))) / (select extract(epoch from '2026-06-12 13:09:45'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.025558 -2.833091)', '2026-06-12 13:09:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.832899)'), GeomFromEWKT('SRID=4674;POINT (-40.025558 -2.833091)'))) / (select extract(epoch from '2026-06-12 13:09:54'::timestamp) - extract(epoch from '2026-06-12 13:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.832899)'), GeomFromEWKT('SRID=4674;POINT (-40.025558 -2.833091)'))) / (select extract(epoch from '2026-06-12 13:09:54'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.02552 -2.833224)', '2026-06-12 13:10:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025558 -2.833091)'), GeomFromEWKT('SRID=4674;POINT (-40.02552 -2.833224)'))) / (select extract(epoch from '2026-06-12 13:10:01'::timestamp) - extract(epoch from '2026-06-12 13:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025558 -2.833091)'), GeomFromEWKT('SRID=4674;POINT (-40.02552 -2.833224)'))) / (select extract(epoch from '2026-06-12 13:10:01'::timestamp) - extract(epoch from '2026-06-12 13:09: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'), 46699, 'SRID=4674;POINT (-40.02546 -2.833396)', '2026-06-12 13:10:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02552 -2.833224)'), GeomFromEWKT('SRID=4674;POINT (-40.02546 -2.833396)'))) / (select extract(epoch from '2026-06-12 13:10:11'::timestamp) - extract(epoch from '2026-06-12 13:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02552 -2.833224)'), GeomFromEWKT('SRID=4674;POINT (-40.02546 -2.833396)'))) / (select extract(epoch from '2026-06-12 13:10:11'::timestamp) - extract(epoch from '2026-06-12 13:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02538 -2.8335)', '2026-06-12 13:10:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02546 -2.833396)'), GeomFromEWKT('SRID=4674;POINT (-40.02538 -2.8335)'))) / (select extract(epoch from '2026-06-12 13:10:19'::timestamp) - extract(epoch from '2026-06-12 13:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02546 -2.833396)'), GeomFromEWKT('SRID=4674;POINT (-40.02538 -2.8335)'))) / (select extract(epoch from '2026-06-12 13:10:19'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.02533 -2.833579)', '2026-06-12 13:10:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02538 -2.8335)'), GeomFromEWKT('SRID=4674;POINT (-40.02533 -2.833579)'))) / (select extract(epoch from '2026-06-12 13:10:27'::timestamp) - extract(epoch from '2026-06-12 13:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02538 -2.8335)'), GeomFromEWKT('SRID=4674;POINT (-40.02533 -2.833579)'))) / (select extract(epoch from '2026-06-12 13:10:27'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.025282 -2.833602)', '2026-06-12 13:10:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02533 -2.833579)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.833602)'))) / (select extract(epoch from '2026-06-12 13:10:36'::timestamp) - extract(epoch from '2026-06-12 13:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02533 -2.833579)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.833602)'))) / (select extract(epoch from '2026-06-12 13:10:36'::timestamp) - extract(epoch from '2026-06-12 13:10: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'), 46699, 'SRID=4674;POINT (-40.025208 -2.833561)', '2026-06-12 13:10:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.833602)'), GeomFromEWKT('SRID=4674;POINT (-40.025208 -2.833561)'))) / (select extract(epoch from '2026-06-12 13:10:49'::timestamp) - extract(epoch from '2026-06-12 13:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.833602)'), GeomFromEWKT('SRID=4674;POINT (-40.025208 -2.833561)'))) / (select extract(epoch from '2026-06-12 13:10:49'::timestamp) - extract(epoch from '2026-06-12 13:10: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'), 46699, 'SRID=4674;POINT (-40.025233 -2.833503)', '2026-06-12 13:10:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025208 -2.833561)'), GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.833503)'))) / (select extract(epoch from '2026-06-12 13:10:59'::timestamp) - extract(epoch from '2026-06-12 13:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025208 -2.833561)'), GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.833503)'))) / (select extract(epoch from '2026-06-12 13:10:59'::timestamp) - extract(epoch from '2026-06-12 13:10: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'), 46699, 'SRID=4674;POINT (-40.025318 -2.83347)', '2026-06-12 13:11:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.833503)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.83347)'))) / (select extract(epoch from '2026-06-12 13:11:14'::timestamp) - extract(epoch from '2026-06-12 13:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025233 -2.833503)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.83347)'))) / (select extract(epoch from '2026-06-12 13:11:14'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.025315 -2.833371)', '2026-06-12 13:11:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.83347)'), GeomFromEWKT('SRID=4674;POINT (-40.025315 -2.833371)'))) / (select extract(epoch from '2026-06-12 13:11:26'::timestamp) - extract(epoch from '2026-06-12 13:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.83347)'), GeomFromEWKT('SRID=4674;POINT (-40.025315 -2.833371)'))) / (select extract(epoch from '2026-06-12 13:11:26'::timestamp) - extract(epoch from '2026-06-12 13:11: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'), 46699, 'SRID=4674;POINT (-40.025254 -2.833236)', '2026-06-12 13:11:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025315 -2.833371)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.833236)'))) / (select extract(epoch from '2026-06-12 13:11:42'::timestamp) - extract(epoch from '2026-06-12 13:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025315 -2.833371)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.833236)'))) / (select extract(epoch from '2026-06-12 13:11:42'::timestamp) - extract(epoch from '2026-06-12 13:11: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'), 46699, 'SRID=4674;POINT (-40.025182 -2.83314)', '2026-06-12 13:11:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.833236)'), GeomFromEWKT('SRID=4674;POINT (-40.025182 -2.83314)'))) / (select extract(epoch from '2026-06-12 13:11:56'::timestamp) - extract(epoch from '2026-06-12 13:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.833236)'), GeomFromEWKT('SRID=4674;POINT (-40.025182 -2.83314)'))) / (select extract(epoch from '2026-06-12 13:11:56'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.025052 -2.83308)', '2026-06-12 13:12:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025182 -2.83314)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.83308)'))) / (select extract(epoch from '2026-06-12 13:12:11'::timestamp) - extract(epoch from '2026-06-12 13:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025182 -2.83314)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.83308)'))) / (select extract(epoch from '2026-06-12 13:12:11'::timestamp) - extract(epoch from '2026-06-12 13:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02489 -2.833046)', '2026-06-12 13:12:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.83308)'), GeomFromEWKT('SRID=4674;POINT (-40.02489 -2.833046)'))) / (select extract(epoch from '2026-06-12 13:12:27'::timestamp) - extract(epoch from '2026-06-12 13:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.83308)'), GeomFromEWKT('SRID=4674;POINT (-40.02489 -2.833046)'))) / (select extract(epoch from '2026-06-12 13:12:27'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.02475 -2.833068)', '2026-06-12 13:12:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02489 -2.833046)'), GeomFromEWKT('SRID=4674;POINT (-40.02475 -2.833068)'))) / (select extract(epoch from '2026-06-12 13:12:42'::timestamp) - extract(epoch from '2026-06-12 13:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02489 -2.833046)'), GeomFromEWKT('SRID=4674;POINT (-40.02475 -2.833068)'))) / (select extract(epoch from '2026-06-12 13:12:42'::timestamp) - extract(epoch from '2026-06-12 13:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024604 -2.833077)', '2026-06-12 13:12:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02475 -2.833068)'), GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.833077)'))) / (select extract(epoch from '2026-06-12 13:12:59'::timestamp) - extract(epoch from '2026-06-12 13:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02475 -2.833068)'), GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.833077)'))) / (select extract(epoch from '2026-06-12 13:12:59'::timestamp) - extract(epoch from '2026-06-12 13:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024484 -2.833084)', '2026-06-12 13:13:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.833077)'), GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.833084)'))) / (select extract(epoch from '2026-06-12 13:13:12'::timestamp) - extract(epoch from '2026-06-12 13:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.833077)'), GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.833084)'))) / (select extract(epoch from '2026-06-12 13:13:12'::timestamp) - extract(epoch from '2026-06-12 13:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024364 -2.833078)', '2026-06-12 13:13:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.833084)'), GeomFromEWKT('SRID=4674;POINT (-40.024364 -2.833078)'))) / (select extract(epoch from '2026-06-12 13:13:26'::timestamp) - extract(epoch from '2026-06-12 13:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.833084)'), GeomFromEWKT('SRID=4674;POINT (-40.024364 -2.833078)'))) / (select extract(epoch from '2026-06-12 13:13:26'::timestamp) - extract(epoch from '2026-06-12 13:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024231 -2.833128)', '2026-06-12 13:13:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024364 -2.833078)'), GeomFromEWKT('SRID=4674;POINT (-40.024231 -2.833128)'))) / (select extract(epoch from '2026-06-12 13:13:39'::timestamp) - extract(epoch from '2026-06-12 13:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024364 -2.833078)'), GeomFromEWKT('SRID=4674;POINT (-40.024231 -2.833128)'))) / (select extract(epoch from '2026-06-12 13:13:39'::timestamp) - extract(epoch from '2026-06-12 13:13: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'), 46699, 'SRID=4674;POINT (-40.024097 -2.833153)', '2026-06-12 13:13:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024231 -2.833128)'), GeomFromEWKT('SRID=4674;POINT (-40.024097 -2.833153)'))) / (select extract(epoch from '2026-06-12 13:13:55'::timestamp) - extract(epoch from '2026-06-12 13:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024231 -2.833128)'), GeomFromEWKT('SRID=4674;POINT (-40.024097 -2.833153)'))) / (select extract(epoch from '2026-06-12 13:13:55'::timestamp) - extract(epoch from '2026-06-12 13:13: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'), 46699, 'SRID=4674;POINT (-40.023949 -2.833196)', '2026-06-12 13:14:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024097 -2.833153)'), GeomFromEWKT('SRID=4674;POINT (-40.023949 -2.833196)'))) / (select extract(epoch from '2026-06-12 13:14:13'::timestamp) - extract(epoch from '2026-06-12 13:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024097 -2.833153)'), GeomFromEWKT('SRID=4674;POINT (-40.023949 -2.833196)'))) / (select extract(epoch from '2026-06-12 13:14:13'::timestamp) - extract(epoch from '2026-06-12 13:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023804 -2.833234)', '2026-06-12 13:14:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023949 -2.833196)'), GeomFromEWKT('SRID=4674;POINT (-40.023804 -2.833234)'))) / (select extract(epoch from '2026-06-12 13:14:28'::timestamp) - extract(epoch from '2026-06-12 13:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023949 -2.833196)'), GeomFromEWKT('SRID=4674;POINT (-40.023804 -2.833234)'))) / (select extract(epoch from '2026-06-12 13:14:28'::timestamp) - extract(epoch from '2026-06-12 13:14: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'), 46699, 'SRID=4674;POINT (-40.023629 -2.833283)', '2026-06-12 13:14:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023804 -2.833234)'), GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.833283)'))) / (select extract(epoch from '2026-06-12 13:14:45'::timestamp) - extract(epoch from '2026-06-12 13:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023804 -2.833234)'), GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.833283)'))) / (select extract(epoch from '2026-06-12 13:14:45'::timestamp) - extract(epoch from '2026-06-12 13:14: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'), 46699, 'SRID=4674;POINT (-40.023542 -2.833319)', '2026-06-12 13:14:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.833283)'), GeomFromEWKT('SRID=4674;POINT (-40.023542 -2.833319)'))) / (select extract(epoch from '2026-06-12 13:14:54'::timestamp) - extract(epoch from '2026-06-12 13:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023629 -2.833283)'), GeomFromEWKT('SRID=4674;POINT (-40.023542 -2.833319)'))) / (select extract(epoch from '2026-06-12 13:14:54'::timestamp) - extract(epoch from '2026-06-12 13:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023455 -2.833339)', '2026-06-12 13:15:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023542 -2.833319)'), GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.833339)'))) / (select extract(epoch from '2026-06-12 13:15:02'::timestamp) - extract(epoch from '2026-06-12 13:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023542 -2.833319)'), GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.833339)'))) / (select extract(epoch from '2026-06-12 13:15:02'::timestamp) - extract(epoch from '2026-06-12 13:14: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'), 46699, 'SRID=4674;POINT (-40.023369 -2.83338)', '2026-06-12 13:15:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.833339)'), GeomFromEWKT('SRID=4674;POINT (-40.023369 -2.83338)'))) / (select extract(epoch from '2026-06-12 13:15:10'::timestamp) - extract(epoch from '2026-06-12 13:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.833339)'), GeomFromEWKT('SRID=4674;POINT (-40.023369 -2.83338)'))) / (select extract(epoch from '2026-06-12 13:15:10'::timestamp) - extract(epoch from '2026-06-12 13:15: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'), 46699, 'SRID=4674;POINT (-40.023275 -2.833437)', '2026-06-12 13:15:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023369 -2.83338)'), GeomFromEWKT('SRID=4674;POINT (-40.023275 -2.833437)'))) / (select extract(epoch from '2026-06-12 13:15:20'::timestamp) - extract(epoch from '2026-06-12 13:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023369 -2.83338)'), GeomFromEWKT('SRID=4674;POINT (-40.023275 -2.833437)'))) / (select extract(epoch from '2026-06-12 13:15:20'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.023197 -2.833489)', '2026-06-12 13:15:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023275 -2.833437)'), GeomFromEWKT('SRID=4674;POINT (-40.023197 -2.833489)'))) / (select extract(epoch from '2026-06-12 13:15:29'::timestamp) - extract(epoch from '2026-06-12 13:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023275 -2.833437)'), GeomFromEWKT('SRID=4674;POINT (-40.023197 -2.833489)'))) / (select extract(epoch from '2026-06-12 13:15:29'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.023136 -2.833544)', '2026-06-12 13:15:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023197 -2.833489)'), GeomFromEWKT('SRID=4674;POINT (-40.023136 -2.833544)'))) / (select extract(epoch from '2026-06-12 13:15:39'::timestamp) - extract(epoch from '2026-06-12 13:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023197 -2.833489)'), GeomFromEWKT('SRID=4674;POINT (-40.023136 -2.833544)'))) / (select extract(epoch from '2026-06-12 13:15:39'::timestamp) - extract(epoch from '2026-06-12 13:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023058 -2.833598)', '2026-06-12 13:15:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023136 -2.833544)'), GeomFromEWKT('SRID=4674;POINT (-40.023058 -2.833598)'))) / (select extract(epoch from '2026-06-12 13:15:48'::timestamp) - extract(epoch from '2026-06-12 13:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023136 -2.833544)'), GeomFromEWKT('SRID=4674;POINT (-40.023058 -2.833598)'))) / (select extract(epoch from '2026-06-12 13:15:48'::timestamp) - extract(epoch from '2026-06-12 13:15: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'), 46699, 'SRID=4674;POINT (-40.022982 -2.833674)', '2026-06-12 13:15:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023058 -2.833598)'), GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.833674)'))) / (select extract(epoch from '2026-06-12 13:15:57'::timestamp) - extract(epoch from '2026-06-12 13:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023058 -2.833598)'), GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.833674)'))) / (select extract(epoch from '2026-06-12 13:15:57'::timestamp) - extract(epoch from '2026-06-12 13:15: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'), 46699, 'SRID=4674;POINT (-40.022929 -2.833748)', '2026-06-12 13:16:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.833674)'), GeomFromEWKT('SRID=4674;POINT (-40.022929 -2.833748)'))) / (select extract(epoch from '2026-06-12 13:16:07'::timestamp) - extract(epoch from '2026-06-12 13:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022982 -2.833674)'), GeomFromEWKT('SRID=4674;POINT (-40.022929 -2.833748)'))) / (select extract(epoch from '2026-06-12 13:16:07'::timestamp) - extract(epoch from '2026-06-12 13:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022866 -2.833812)', '2026-06-12 13:16:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022929 -2.833748)'), GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.833812)'))) / (select extract(epoch from '2026-06-12 13:16:19'::timestamp) - extract(epoch from '2026-06-12 13:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022929 -2.833748)'), GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.833812)'))) / (select extract(epoch from '2026-06-12 13:16:19'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.022819 -2.833875)', '2026-06-12 13:16:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.833812)'), GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.833875)'))) / (select extract(epoch from '2026-06-12 13:16:34'::timestamp) - extract(epoch from '2026-06-12 13:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.833812)'), GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.833875)'))) / (select extract(epoch from '2026-06-12 13:16:34'::timestamp) - extract(epoch from '2026-06-12 13:16: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'), 46699, 'SRID=4674;POINT (-40.022825 -2.833947)', '2026-06-12 13:16:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.833875)'), GeomFromEWKT('SRID=4674;POINT (-40.022825 -2.833947)'))) / (select extract(epoch from '2026-06-12 13:16:48'::timestamp) - extract(epoch from '2026-06-12 13:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.833875)'), GeomFromEWKT('SRID=4674;POINT (-40.022825 -2.833947)'))) / (select extract(epoch from '2026-06-12 13:16:48'::timestamp) - extract(epoch from '2026-06-12 13:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022888 -2.833978)', '2026-06-12 13:17:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022825 -2.833947)'), GeomFromEWKT('SRID=4674;POINT (-40.022888 -2.833978)'))) / (select extract(epoch from '2026-06-12 13:17:02'::timestamp) - extract(epoch from '2026-06-12 13:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022825 -2.833947)'), GeomFromEWKT('SRID=4674;POINT (-40.022888 -2.833978)'))) / (select extract(epoch from '2026-06-12 13:17:02'::timestamp) - extract(epoch from '2026-06-12 13:16: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'), 46699, 'SRID=4674;POINT (-40.022979 -2.833951)', '2026-06-12 13:17:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022888 -2.833978)'), GeomFromEWKT('SRID=4674;POINT (-40.022979 -2.833951)'))) / (select extract(epoch from '2026-06-12 13:17:20'::timestamp) - extract(epoch from '2026-06-12 13:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022888 -2.833978)'), GeomFromEWKT('SRID=4674;POINT (-40.022979 -2.833951)'))) / (select extract(epoch from '2026-06-12 13:17:20'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.02298 -2.833866)', '2026-06-12 13:17:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022979 -2.833951)'), GeomFromEWKT('SRID=4674;POINT (-40.02298 -2.833866)'))) / (select extract(epoch from '2026-06-12 13:17:32'::timestamp) - extract(epoch from '2026-06-12 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022979 -2.833951)'), GeomFromEWKT('SRID=4674;POINT (-40.02298 -2.833866)'))) / (select extract(epoch from '2026-06-12 13:17:32'::timestamp) - extract(epoch from '2026-06-12 13:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022871 -2.833812)', '2026-06-12 13:17:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02298 -2.833866)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.833812)'))) / (select extract(epoch from '2026-06-12 13:17:42'::timestamp) - extract(epoch from '2026-06-12 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02298 -2.833866)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.833812)'))) / (select extract(epoch from '2026-06-12 13:17:42'::timestamp) - extract(epoch from '2026-06-12 13:17: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'), 46699, 'SRID=4674;POINT (-40.022712 -2.833779)', '2026-06-12 13:17:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.833812)'), GeomFromEWKT('SRID=4674;POINT (-40.022712 -2.833779)'))) / (select extract(epoch from '2026-06-12 13:17:53'::timestamp) - extract(epoch from '2026-06-12 13:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.833812)'), GeomFromEWKT('SRID=4674;POINT (-40.022712 -2.833779)'))) / (select extract(epoch from '2026-06-12 13:17:53'::timestamp) - extract(epoch from '2026-06-12 13:17: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'), 46699, 'SRID=4674;POINT (-40.022546 -2.833772)', '2026-06-12 13:18:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022712 -2.833779)'), GeomFromEWKT('SRID=4674;POINT (-40.022546 -2.833772)'))) / (select extract(epoch from '2026-06-12 13:18:03'::timestamp) - extract(epoch from '2026-06-12 13:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022712 -2.833779)'), GeomFromEWKT('SRID=4674;POINT (-40.022546 -2.833772)'))) / (select extract(epoch from '2026-06-12 13:18:03'::timestamp) - extract(epoch from '2026-06-12 13:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02242 -2.833771)', '2026-06-12 13:18:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022546 -2.833772)'), GeomFromEWKT('SRID=4674;POINT (-40.02242 -2.833771)'))) / (select extract(epoch from '2026-06-12 13:18:12'::timestamp) - extract(epoch from '2026-06-12 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022546 -2.833772)'), GeomFromEWKT('SRID=4674;POINT (-40.02242 -2.833771)'))) / (select extract(epoch from '2026-06-12 13:18:12'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.022286 -2.833765)', '2026-06-12 13:18:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02242 -2.833771)'), GeomFromEWKT('SRID=4674;POINT (-40.022286 -2.833765)'))) / (select extract(epoch from '2026-06-12 13:18:21'::timestamp) - extract(epoch from '2026-06-12 13:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02242 -2.833771)'), GeomFromEWKT('SRID=4674;POINT (-40.022286 -2.833765)'))) / (select extract(epoch from '2026-06-12 13:18:21'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.022147 -2.833751)', '2026-06-12 13:18:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022286 -2.833765)'), GeomFromEWKT('SRID=4674;POINT (-40.022147 -2.833751)'))) / (select extract(epoch from '2026-06-12 13:18:31'::timestamp) - extract(epoch from '2026-06-12 13:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022286 -2.833765)'), GeomFromEWKT('SRID=4674;POINT (-40.022147 -2.833751)'))) / (select extract(epoch from '2026-06-12 13:18:31'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.022061 -2.833744)', '2026-06-12 13:18:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022147 -2.833751)'), GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.833744)'))) / (select extract(epoch from '2026-06-12 13:18:39'::timestamp) - extract(epoch from '2026-06-12 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022147 -2.833751)'), GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.833744)'))) / (select extract(epoch from '2026-06-12 13:18:39'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.021947 -2.833725)', '2026-06-12 13:18:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.833744)'), GeomFromEWKT('SRID=4674;POINT (-40.021947 -2.833725)'))) / (select extract(epoch from '2026-06-12 13:18:49'::timestamp) - extract(epoch from '2026-06-12 13:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022061 -2.833744)'), GeomFromEWKT('SRID=4674;POINT (-40.021947 -2.833725)'))) / (select extract(epoch from '2026-06-12 13:18:49'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.02185 -2.833725)', '2026-06-12 13:18:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021947 -2.833725)'), GeomFromEWKT('SRID=4674;POINT (-40.02185 -2.833725)'))) / (select extract(epoch from '2026-06-12 13:18:57'::timestamp) - extract(epoch from '2026-06-12 13:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021947 -2.833725)'), GeomFromEWKT('SRID=4674;POINT (-40.02185 -2.833725)'))) / (select extract(epoch from '2026-06-12 13:18:57'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.021749 -2.833739)', '2026-06-12 13:19:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02185 -2.833725)'), GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.833739)'))) / (select extract(epoch from '2026-06-12 13:19:07'::timestamp) - extract(epoch from '2026-06-12 13:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02185 -2.833725)'), GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.833739)'))) / (select extract(epoch from '2026-06-12 13:19:07'::timestamp) - extract(epoch from '2026-06-12 13:18: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'), 46699, 'SRID=4674;POINT (-40.021605 -2.833753)', '2026-06-12 13:19:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.833739)'), GeomFromEWKT('SRID=4674;POINT (-40.021605 -2.833753)'))) / (select extract(epoch from '2026-06-12 13:19:18'::timestamp) - extract(epoch from '2026-06-12 13:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.833739)'), GeomFromEWKT('SRID=4674;POINT (-40.021605 -2.833753)'))) / (select extract(epoch from '2026-06-12 13:19:18'::timestamp) - extract(epoch from '2026-06-12 13:19: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'), 46699, 'SRID=4674;POINT (-40.021474 -2.833757)', '2026-06-12 13:19:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021605 -2.833753)'), GeomFromEWKT('SRID=4674;POINT (-40.021474 -2.833757)'))) / (select extract(epoch from '2026-06-12 13:19:28'::timestamp) - extract(epoch from '2026-06-12 13:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021605 -2.833753)'), GeomFromEWKT('SRID=4674;POINT (-40.021474 -2.833757)'))) / (select extract(epoch from '2026-06-12 13:19:28'::timestamp) - extract(epoch from '2026-06-12 13:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021376 -2.833807)', '2026-06-12 13:19:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021474 -2.833757)'), GeomFromEWKT('SRID=4674;POINT (-40.021376 -2.833807)'))) / (select extract(epoch from '2026-06-12 13:19:38'::timestamp) - extract(epoch from '2026-06-12 13:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021474 -2.833757)'), GeomFromEWKT('SRID=4674;POINT (-40.021376 -2.833807)'))) / (select extract(epoch from '2026-06-12 13:19:38'::timestamp) - extract(epoch from '2026-06-12 13:19: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'), 46699, 'SRID=4674;POINT (-40.021306 -2.833769)', '2026-06-12 13:19:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021376 -2.833807)'), GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.833769)'))) / (select extract(epoch from '2026-06-12 13:19:46'::timestamp) - extract(epoch from '2026-06-12 13:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021376 -2.833807)'), GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.833769)'))) / (select extract(epoch from '2026-06-12 13:19:46'::timestamp) - extract(epoch from '2026-06-12 13:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021297 -2.83367)', '2026-06-12 13:19:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.833769)'), GeomFromEWKT('SRID=4674;POINT (-40.021297 -2.83367)'))) / (select extract(epoch from '2026-06-12 13:19:54'::timestamp) - extract(epoch from '2026-06-12 13:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.833769)'), GeomFromEWKT('SRID=4674;POINT (-40.021297 -2.83367)'))) / (select extract(epoch from '2026-06-12 13:19:54'::timestamp) - extract(epoch from '2026-06-12 13:19: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'), 46699, 'SRID=4674;POINT (-40.02137 -2.833602)', '2026-06-12 13:20:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021297 -2.83367)'), GeomFromEWKT('SRID=4674;POINT (-40.02137 -2.833602)'))) / (select extract(epoch from '2026-06-12 13:20:02'::timestamp) - extract(epoch from '2026-06-12 13:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021297 -2.83367)'), GeomFromEWKT('SRID=4674;POINT (-40.02137 -2.833602)'))) / (select extract(epoch from '2026-06-12 13:20:02'::timestamp) - extract(epoch from '2026-06-12 13:19: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'), 46699, 'SRID=4674;POINT (-40.021437 -2.833514)', '2026-06-12 13:20:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02137 -2.833602)'), GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.833514)'))) / (select extract(epoch from '2026-06-12 13:20:11'::timestamp) - extract(epoch from '2026-06-12 13:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02137 -2.833602)'), GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.833514)'))) / (select extract(epoch from '2026-06-12 13:20:11'::timestamp) - extract(epoch from '2026-06-12 13:20: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'), 46699, 'SRID=4674;POINT (-40.021524 -2.833418)', '2026-06-12 13:20:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.833514)'), GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.833418)'))) / (select extract(epoch from '2026-06-12 13:20:22'::timestamp) - extract(epoch from '2026-06-12 13:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.833514)'), GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.833418)'))) / (select extract(epoch from '2026-06-12 13:20:22'::timestamp) - extract(epoch from '2026-06-12 13:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021576 -2.833356)', '2026-06-12 13:20:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.833418)'), GeomFromEWKT('SRID=4674;POINT (-40.021576 -2.833356)'))) / (select extract(epoch from '2026-06-12 13:20:29'::timestamp) - extract(epoch from '2026-06-12 13:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021524 -2.833418)'), GeomFromEWKT('SRID=4674;POINT (-40.021576 -2.833356)'))) / (select extract(epoch from '2026-06-12 13:20:29'::timestamp) - extract(epoch from '2026-06-12 13:20: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'), 46699, 'SRID=4674;POINT (-40.021627 -2.833266)', '2026-06-12 13:20:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021576 -2.833356)'), GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.833266)'))) / (select extract(epoch from '2026-06-12 13:20:40'::timestamp) - extract(epoch from '2026-06-12 13:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021576 -2.833356)'), GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.833266)'))) / (select extract(epoch from '2026-06-12 13:20:40'::timestamp) - extract(epoch from '2026-06-12 13:20: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'), 46699, 'SRID=4674;POINT (-40.021604 -2.833155)', '2026-06-12 13:20:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.833266)'), GeomFromEWKT('SRID=4674;POINT (-40.021604 -2.833155)'))) / (select extract(epoch from '2026-06-12 13:20:56'::timestamp) - extract(epoch from '2026-06-12 13:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021627 -2.833266)'), GeomFromEWKT('SRID=4674;POINT (-40.021604 -2.833155)'))) / (select extract(epoch from '2026-06-12 13:20:56'::timestamp) - extract(epoch from '2026-06-12 13:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021521 -2.83312)', '2026-06-12 13:21:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021604 -2.833155)'), GeomFromEWKT('SRID=4674;POINT (-40.021521 -2.83312)'))) / (select extract(epoch from '2026-06-12 13:21:08'::timestamp) - extract(epoch from '2026-06-12 13:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021604 -2.833155)'), GeomFromEWKT('SRID=4674;POINT (-40.021521 -2.83312)'))) / (select extract(epoch from '2026-06-12 13:21:08'::timestamp) - extract(epoch from '2026-06-12 13:20: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'), 46699, 'SRID=4674;POINT (-40.021436 -2.833178)', '2026-06-12 13:21:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021521 -2.83312)'), GeomFromEWKT('SRID=4674;POINT (-40.021436 -2.833178)'))) / (select extract(epoch from '2026-06-12 13:21:18'::timestamp) - extract(epoch from '2026-06-12 13:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021521 -2.83312)'), GeomFromEWKT('SRID=4674;POINT (-40.021436 -2.833178)'))) / (select extract(epoch from '2026-06-12 13:21:18'::timestamp) - extract(epoch from '2026-06-12 13:21: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'), 46699, 'SRID=4674;POINT (-40.021293 -2.833241)', '2026-06-12 13:21:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021436 -2.833178)'), GeomFromEWKT('SRID=4674;POINT (-40.021293 -2.833241)'))) / (select extract(epoch from '2026-06-12 13:21:31'::timestamp) - extract(epoch from '2026-06-12 13:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021436 -2.833178)'), GeomFromEWKT('SRID=4674;POINT (-40.021293 -2.833241)'))) / (select extract(epoch from '2026-06-12 13:21:31'::timestamp) - extract(epoch from '2026-06-12 13:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02114 -2.833328)', '2026-06-12 13:21:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021293 -2.833241)'), GeomFromEWKT('SRID=4674;POINT (-40.02114 -2.833328)'))) / (select extract(epoch from '2026-06-12 13:21:46'::timestamp) - extract(epoch from '2026-06-12 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021293 -2.833241)'), GeomFromEWKT('SRID=4674;POINT (-40.02114 -2.833328)'))) / (select extract(epoch from '2026-06-12 13:21:46'::timestamp) - extract(epoch from '2026-06-12 13:21: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'), 46699, 'SRID=4674;POINT (-40.021005 -2.833403)', '2026-06-12 13:22:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02114 -2.833328)'), GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.833403)'))) / (select extract(epoch from '2026-06-12 13:22:00'::timestamp) - extract(epoch from '2026-06-12 13:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02114 -2.833328)'), GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.833403)'))) / (select extract(epoch from '2026-06-12 13:22:00'::timestamp) - extract(epoch from '2026-06-12 13:21: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'), 46699, 'SRID=4674;POINT (-40.02083 -2.833516)', '2026-06-12 13:22:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.833403)'), GeomFromEWKT('SRID=4674;POINT (-40.02083 -2.833516)'))) / (select extract(epoch from '2026-06-12 13:22:17'::timestamp) - extract(epoch from '2026-06-12 13:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.833403)'), GeomFromEWKT('SRID=4674;POINT (-40.02083 -2.833516)'))) / (select extract(epoch from '2026-06-12 13:22:17'::timestamp) - extract(epoch from '2026-06-12 13:22: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'), 46699, 'SRID=4674;POINT (-40.020682 -2.833586)', '2026-06-12 13:22:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02083 -2.833516)'), GeomFromEWKT('SRID=4674;POINT (-40.020682 -2.833586)'))) / (select extract(epoch from '2026-06-12 13:22:31'::timestamp) - extract(epoch from '2026-06-12 13:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02083 -2.833516)'), GeomFromEWKT('SRID=4674;POINT (-40.020682 -2.833586)'))) / (select extract(epoch from '2026-06-12 13:22:31'::timestamp) - extract(epoch from '2026-06-12 13:22: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'), 46699, 'SRID=4674;POINT (-40.020568 -2.83369)', '2026-06-12 13:22:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020682 -2.833586)'), GeomFromEWKT('SRID=4674;POINT (-40.020568 -2.83369)'))) / (select extract(epoch from '2026-06-12 13:22:43'::timestamp) - extract(epoch from '2026-06-12 13:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020682 -2.833586)'), GeomFromEWKT('SRID=4674;POINT (-40.020568 -2.83369)'))) / (select extract(epoch from '2026-06-12 13:22:43'::timestamp) - extract(epoch from '2026-06-12 13:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.020492 -2.833755)', '2026-06-12 13:22:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020568 -2.83369)'), GeomFromEWKT('SRID=4674;POINT (-40.020492 -2.833755)'))) / (select extract(epoch from '2026-06-12 13:22:52'::timestamp) - extract(epoch from '2026-06-12 13:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020568 -2.83369)'), GeomFromEWKT('SRID=4674;POINT (-40.020492 -2.833755)'))) / (select extract(epoch from '2026-06-12 13:22:52'::timestamp) - extract(epoch from '2026-06-12 13:22: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'), 46699, 'SRID=4674;POINT (-40.020406 -2.833823)', '2026-06-12 13:23:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020492 -2.833755)'), GeomFromEWKT('SRID=4674;POINT (-40.020406 -2.833823)'))) / (select extract(epoch from '2026-06-12 13:23:03'::timestamp) - extract(epoch from '2026-06-12 13:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020492 -2.833755)'), GeomFromEWKT('SRID=4674;POINT (-40.020406 -2.833823)'))) / (select extract(epoch from '2026-06-12 13:23:03'::timestamp) - extract(epoch from '2026-06-12 13:22: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'), 46699, 'SRID=4674;POINT (-40.020327 -2.83388)', '2026-06-12 13:23:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020406 -2.833823)'), GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.83388)'))) / (select extract(epoch from '2026-06-12 13:23:11'::timestamp) - extract(epoch from '2026-06-12 13:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020406 -2.833823)'), GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.83388)'))) / (select extract(epoch from '2026-06-12 13:23:11'::timestamp) - extract(epoch from '2026-06-12 13:23: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'), 46699, 'SRID=4674;POINT (-40.020228 -2.833946)', '2026-06-12 13:23:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.83388)'), GeomFromEWKT('SRID=4674;POINT (-40.020228 -2.833946)'))) / (select extract(epoch from '2026-06-12 13:23:21'::timestamp) - extract(epoch from '2026-06-12 13:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.83388)'), GeomFromEWKT('SRID=4674;POINT (-40.020228 -2.833946)'))) / (select extract(epoch from '2026-06-12 13:23:21'::timestamp) - extract(epoch from '2026-06-12 13:23: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'), 46699, 'SRID=4674;POINT (-40.020158 -2.834018)', '2026-06-12 13:23:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020228 -2.833946)'), GeomFromEWKT('SRID=4674;POINT (-40.020158 -2.834018)'))) / (select extract(epoch from '2026-06-12 13:23:30'::timestamp) - extract(epoch from '2026-06-12 13:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020228 -2.833946)'), GeomFromEWKT('SRID=4674;POINT (-40.020158 -2.834018)'))) / (select extract(epoch from '2026-06-12 13:23:30'::timestamp) - extract(epoch from '2026-06-12 13:23: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'), 46699, 'SRID=4674;POINT (-40.020088 -2.834065)', '2026-06-12 13:23:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020158 -2.834018)'), GeomFromEWKT('SRID=4674;POINT (-40.020088 -2.834065)'))) / (select extract(epoch from '2026-06-12 13:23:38'::timestamp) - extract(epoch from '2026-06-12 13:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020158 -2.834018)'), GeomFromEWKT('SRID=4674;POINT (-40.020088 -2.834065)'))) / (select extract(epoch from '2026-06-12 13:23:38'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.020006 -2.834144)', '2026-06-12 13:23:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020088 -2.834065)'), GeomFromEWKT('SRID=4674;POINT (-40.020006 -2.834144)'))) / (select extract(epoch from '2026-06-12 13:23:48'::timestamp) - extract(epoch from '2026-06-12 13:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020088 -2.834065)'), GeomFromEWKT('SRID=4674;POINT (-40.020006 -2.834144)'))) / (select extract(epoch from '2026-06-12 13:23:48'::timestamp) - extract(epoch from '2026-06-12 13:23: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'), 46699, 'SRID=4674;POINT (-40.01991 -2.834212)', '2026-06-12 13:23:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020006 -2.834144)'), GeomFromEWKT('SRID=4674;POINT (-40.01991 -2.834212)'))) / (select extract(epoch from '2026-06-12 13:23:58'::timestamp) - extract(epoch from '2026-06-12 13:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020006 -2.834144)'), GeomFromEWKT('SRID=4674;POINT (-40.01991 -2.834212)'))) / (select extract(epoch from '2026-06-12 13:23:58'::timestamp) - extract(epoch from '2026-06-12 13:23: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'), 46699, 'SRID=4674;POINT (-40.019828 -2.834276)', '2026-06-12 13:24:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01991 -2.834212)'), GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.834276)'))) / (select extract(epoch from '2026-06-12 13:24:07'::timestamp) - extract(epoch from '2026-06-12 13:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01991 -2.834212)'), GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.834276)'))) / (select extract(epoch from '2026-06-12 13:24:07'::timestamp) - extract(epoch from '2026-06-12 13:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.01974 -2.834353)', '2026-06-12 13:24:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.834276)'), GeomFromEWKT('SRID=4674;POINT (-40.01974 -2.834353)'))) / (select extract(epoch from '2026-06-12 13:24:17'::timestamp) - extract(epoch from '2026-06-12 13:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.834276)'), GeomFromEWKT('SRID=4674;POINT (-40.01974 -2.834353)'))) / (select extract(epoch from '2026-06-12 13:24:17'::timestamp) - extract(epoch from '2026-06-12 13:24: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'), 46699, 'SRID=4674;POINT (-40.01964 -2.834445)', '2026-06-12 13:24:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01974 -2.834353)'), GeomFromEWKT('SRID=4674;POINT (-40.01964 -2.834445)'))) / (select extract(epoch from '2026-06-12 13:24:29'::timestamp) - extract(epoch from '2026-06-12 13:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01974 -2.834353)'), GeomFromEWKT('SRID=4674;POINT (-40.01964 -2.834445)'))) / (select extract(epoch from '2026-06-12 13:24:29'::timestamp) - extract(epoch from '2026-06-12 13:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.01958 -2.834489)', '2026-06-12 13:24:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01964 -2.834445)'), GeomFromEWKT('SRID=4674;POINT (-40.01958 -2.834489)'))) / (select extract(epoch from '2026-06-12 13:24:37'::timestamp) - extract(epoch from '2026-06-12 13:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01964 -2.834445)'), GeomFromEWKT('SRID=4674;POINT (-40.01958 -2.834489)'))) / (select extract(epoch from '2026-06-12 13:24:37'::timestamp) - extract(epoch from '2026-06-12 13:24: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'), 46699, 'SRID=4674;POINT (-40.019507 -2.834571)', '2026-06-12 13:24:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01958 -2.834489)'), GeomFromEWKT('SRID=4674;POINT (-40.019507 -2.834571)'))) / (select extract(epoch from '2026-06-12 13:24:48'::timestamp) - extract(epoch from '2026-06-12 13:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01958 -2.834489)'), GeomFromEWKT('SRID=4674;POINT (-40.019507 -2.834571)'))) / (select extract(epoch from '2026-06-12 13:24:48'::timestamp) - extract(epoch from '2026-06-12 13:24: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'), 46699, 'SRID=4674;POINT (-40.019459 -2.834618)', '2026-06-12 13:24:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019507 -2.834571)'), GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.834618)'))) / (select extract(epoch from '2026-06-12 13:24:55'::timestamp) - extract(epoch from '2026-06-12 13:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019507 -2.834571)'), GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.834618)'))) / (select extract(epoch from '2026-06-12 13:24:55'::timestamp) - extract(epoch from '2026-06-12 13:24: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'), 46699, 'SRID=4674;POINT (-40.019396 -2.834671)', '2026-06-12 13:25:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.834618)'), GeomFromEWKT('SRID=4674;POINT (-40.019396 -2.834671)'))) / (select extract(epoch from '2026-06-12 13:25:04'::timestamp) - extract(epoch from '2026-06-12 13:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.834618)'), GeomFromEWKT('SRID=4674;POINT (-40.019396 -2.834671)'))) / (select extract(epoch from '2026-06-12 13:25:04'::timestamp) - extract(epoch from '2026-06-12 13:24: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'), 46699, 'SRID=4674;POINT (-40.019322 -2.834761)', '2026-06-12 13:25:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019396 -2.834671)'), GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.834761)'))) / (select extract(epoch from '2026-06-12 13:25:19'::timestamp) - extract(epoch from '2026-06-12 13:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019396 -2.834671)'), GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.834761)'))) / (select extract(epoch from '2026-06-12 13:25:19'::timestamp) - extract(epoch from '2026-06-12 13:25: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'), 46699, 'SRID=4674;POINT (-40.019245 -2.834858)', '2026-06-12 13:25:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.834761)'), GeomFromEWKT('SRID=4674;POINT (-40.019245 -2.834858)'))) / (select extract(epoch from '2026-06-12 13:25:37'::timestamp) - extract(epoch from '2026-06-12 13:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.834761)'), GeomFromEWKT('SRID=4674;POINT (-40.019245 -2.834858)'))) / (select extract(epoch from '2026-06-12 13:25:37'::timestamp) - extract(epoch from '2026-06-12 13:25: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'), 46699, 'SRID=4674;POINT (-40.019217 -2.834934)', '2026-06-12 13:25:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019245 -2.834858)'), GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.834934)'))) / (select extract(epoch from '2026-06-12 13:25:50'::timestamp) - extract(epoch from '2026-06-12 13:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019245 -2.834858)'), GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.834934)'))) / (select extract(epoch from '2026-06-12 13:25:50'::timestamp) - extract(epoch from '2026-06-12 13:25: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'), 46699, 'SRID=4674;POINT (-40.019199 -2.835054)', '2026-06-12 13:26:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.834934)'), GeomFromEWKT('SRID=4674;POINT (-40.019199 -2.835054)'))) / (select extract(epoch from '2026-06-12 13:26:08'::timestamp) - extract(epoch from '2026-06-12 13:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.834934)'), GeomFromEWKT('SRID=4674;POINT (-40.019199 -2.835054)'))) / (select extract(epoch from '2026-06-12 13:26:08'::timestamp) - extract(epoch from '2026-06-12 13:25: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'), 46699, 'SRID=4674;POINT (-40.019125 -2.83509)', '2026-06-12 13:26:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019199 -2.835054)'), GeomFromEWKT('SRID=4674;POINT (-40.019125 -2.83509)'))) / (select extract(epoch from '2026-06-12 13:26:20'::timestamp) - extract(epoch from '2026-06-12 13:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019199 -2.835054)'), GeomFromEWKT('SRID=4674;POINT (-40.019125 -2.83509)'))) / (select extract(epoch from '2026-06-12 13:26:20'::timestamp) - extract(epoch from '2026-06-12 13:26: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'), 46699, 'SRID=4674;POINT (-40.019041 -2.834991)', '2026-06-12 13:26:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019125 -2.83509)'), GeomFromEWKT('SRID=4674;POINT (-40.019041 -2.834991)'))) / (select extract(epoch from '2026-06-12 13:26:28'::timestamp) - extract(epoch from '2026-06-12 13:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019125 -2.83509)'), GeomFromEWKT('SRID=4674;POINT (-40.019041 -2.834991)'))) / (select extract(epoch from '2026-06-12 13:26:28'::timestamp) - extract(epoch from '2026-06-12 13:26: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'), 46699, 'SRID=4674;POINT (-40.019021 -2.834823)', '2026-06-12 13:26:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019041 -2.834991)'), GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.834823)'))) / (select extract(epoch from '2026-06-12 13:26:36'::timestamp) - extract(epoch from '2026-06-12 13:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019041 -2.834991)'), GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.834823)'))) / (select extract(epoch from '2026-06-12 13:26:36'::timestamp) - extract(epoch from '2026-06-12 13:26: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'), 46699, 'SRID=4674;POINT (-40.01906 -2.834611)', '2026-06-12 13:26:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.834823)'), GeomFromEWKT('SRID=4674;POINT (-40.01906 -2.834611)'))) / (select extract(epoch from '2026-06-12 13:26:45'::timestamp) - extract(epoch from '2026-06-12 13:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.834823)'), GeomFromEWKT('SRID=4674;POINT (-40.01906 -2.834611)'))) / (select extract(epoch from '2026-06-12 13:26:45'::timestamp) - extract(epoch from '2026-06-12 13:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019084 -2.834398)', '2026-06-12 13:26:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01906 -2.834611)'), GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.834398)'))) / (select extract(epoch from '2026-06-12 13:26:54'::timestamp) - extract(epoch from '2026-06-12 13:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01906 -2.834611)'), GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.834398)'))) / (select extract(epoch from '2026-06-12 13:26:54'::timestamp) - extract(epoch from '2026-06-12 13:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019131 -2.834219)', '2026-06-12 13:27:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.834398)'), GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.834219)'))) / (select extract(epoch from '2026-06-12 13:27:03'::timestamp) - extract(epoch from '2026-06-12 13:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.834398)'), GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.834219)'))) / (select extract(epoch from '2026-06-12 13:27:03'::timestamp) - extract(epoch from '2026-06-12 13:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019194 -2.834061)', '2026-06-12 13:27:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.834219)'), GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.834061)'))) / (select extract(epoch from '2026-06-12 13:27:11'::timestamp) - extract(epoch from '2026-06-12 13:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.834219)'), GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.834061)'))) / (select extract(epoch from '2026-06-12 13:27:11'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019267 -2.833898)', '2026-06-12 13:27:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.834061)'), GeomFromEWKT('SRID=4674;POINT (-40.019267 -2.833898)'))) / (select extract(epoch from '2026-06-12 13:27:19'::timestamp) - extract(epoch from '2026-06-12 13:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.834061)'), GeomFromEWKT('SRID=4674;POINT (-40.019267 -2.833898)'))) / (select extract(epoch from '2026-06-12 13:27:19'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019337 -2.83379)', '2026-06-12 13:27:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019267 -2.833898)'), GeomFromEWKT('SRID=4674;POINT (-40.019337 -2.83379)'))) / (select extract(epoch from '2026-06-12 13:27:26'::timestamp) - extract(epoch from '2026-06-12 13:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019267 -2.833898)'), GeomFromEWKT('SRID=4674;POINT (-40.019337 -2.83379)'))) / (select extract(epoch from '2026-06-12 13:27:26'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019407 -2.833694)', '2026-06-12 13:27:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019337 -2.83379)'), GeomFromEWKT('SRID=4674;POINT (-40.019407 -2.833694)'))) / (select extract(epoch from '2026-06-12 13:27:34'::timestamp) - extract(epoch from '2026-06-12 13:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019337 -2.83379)'), GeomFromEWKT('SRID=4674;POINT (-40.019407 -2.833694)'))) / (select extract(epoch from '2026-06-12 13:27:34'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019475 -2.833621)', '2026-06-12 13:27:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019407 -2.833694)'), GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.833621)'))) / (select extract(epoch from '2026-06-12 13:27:43'::timestamp) - extract(epoch from '2026-06-12 13:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019407 -2.833694)'), GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.833621)'))) / (select extract(epoch from '2026-06-12 13:27:43'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019537 -2.833579)', '2026-06-12 13:27:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.833621)'), GeomFromEWKT('SRID=4674;POINT (-40.019537 -2.833579)'))) / (select extract(epoch from '2026-06-12 13:27:51'::timestamp) - extract(epoch from '2026-06-12 13:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.833621)'), GeomFromEWKT('SRID=4674;POINT (-40.019537 -2.833579)'))) / (select extract(epoch from '2026-06-12 13:27:51'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019612 -2.833541)', '2026-06-12 13:28:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019537 -2.833579)'), GeomFromEWKT('SRID=4674;POINT (-40.019612 -2.833541)'))) / (select extract(epoch from '2026-06-12 13:28:02'::timestamp) - extract(epoch from '2026-06-12 13:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019537 -2.833579)'), GeomFromEWKT('SRID=4674;POINT (-40.019612 -2.833541)'))) / (select extract(epoch from '2026-06-12 13:28:02'::timestamp) - extract(epoch from '2026-06-12 13:27: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'), 46699, 'SRID=4674;POINT (-40.019675 -2.833499)', '2026-06-12 13:28:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019612 -2.833541)'), GeomFromEWKT('SRID=4674;POINT (-40.019675 -2.833499)'))) / (select extract(epoch from '2026-06-12 13:28:16'::timestamp) - extract(epoch from '2026-06-12 13:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019612 -2.833541)'), GeomFromEWKT('SRID=4674;POINT (-40.019675 -2.833499)'))) / (select extract(epoch from '2026-06-12 13:28:16'::timestamp) - extract(epoch from '2026-06-12 13:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.019726 -2.833471)', '2026-06-12 13:28:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019675 -2.833499)'), GeomFromEWKT('SRID=4674;POINT (-40.019726 -2.833471)'))) / (select extract(epoch from '2026-06-12 13:28:33'::timestamp) - extract(epoch from '2026-06-12 13:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019675 -2.833499)'), GeomFromEWKT('SRID=4674;POINT (-40.019726 -2.833471)'))) / (select extract(epoch from '2026-06-12 13:28:33'::timestamp) - extract(epoch from '2026-06-12 13:28: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'), 46699, 'SRID=4674;POINT (-40.019791 -2.83344)', '2026-06-12 13:28:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019726 -2.833471)'), GeomFromEWKT('SRID=4674;POINT (-40.019791 -2.83344)'))) / (select extract(epoch from '2026-06-12 13:28:51'::timestamp) - extract(epoch from '2026-06-12 13:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019726 -2.833471)'), GeomFromEWKT('SRID=4674;POINT (-40.019791 -2.83344)'))) / (select extract(epoch from '2026-06-12 13:28:51'::timestamp) - extract(epoch from '2026-06-12 13:28: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'), 46699, 'SRID=4674;POINT (-40.019809 -2.833438)', '2026-06-12 13:29:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019791 -2.83344)'), GeomFromEWKT('SRID=4674;POINT (-40.019809 -2.833438)'))) / (select extract(epoch from '2026-06-12 13:29:03'::timestamp) - extract(epoch from '2026-06-12 13:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019791 -2.83344)'), GeomFromEWKT('SRID=4674;POINT (-40.019809 -2.833438)'))) / (select extract(epoch from '2026-06-12 13:29:03'::timestamp) - extract(epoch from '2026-06-12 13:28: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'), 46699, 'SRID=4674;POINT (-40.019871 -2.833424)', '2026-06-12 13:29:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019809 -2.833438)'), GeomFromEWKT('SRID=4674;POINT (-40.019871 -2.833424)'))) / (select extract(epoch from '2026-06-12 13:29:17'::timestamp) - extract(epoch from '2026-06-12 13:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019809 -2.833438)'), GeomFromEWKT('SRID=4674;POINT (-40.019871 -2.833424)'))) / (select extract(epoch from '2026-06-12 13:29:17'::timestamp) - extract(epoch from '2026-06-12 13:29: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'), 46699, 'SRID=4674;POINT (-40.019948 -2.833411)', '2026-06-12 13:29:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019871 -2.833424)'), GeomFromEWKT('SRID=4674;POINT (-40.019948 -2.833411)'))) / (select extract(epoch from '2026-06-12 13:29:37'::timestamp) - extract(epoch from '2026-06-12 13:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019871 -2.833424)'), GeomFromEWKT('SRID=4674;POINT (-40.019948 -2.833411)'))) / (select extract(epoch from '2026-06-12 13:29:37'::timestamp) - extract(epoch from '2026-06-12 13:29: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'), 46699, 'SRID=4674;POINT (-40.020019 -2.8334)', '2026-06-12 13:29:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019948 -2.833411)'), GeomFromEWKT('SRID=4674;POINT (-40.020019 -2.8334)'))) / (select extract(epoch from '2026-06-12 13:29:54'::timestamp) - extract(epoch from '2026-06-12 13:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019948 -2.833411)'), GeomFromEWKT('SRID=4674;POINT (-40.020019 -2.8334)'))) / (select extract(epoch from '2026-06-12 13:29:54'::timestamp) - extract(epoch from '2026-06-12 13:29: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'), 46699, 'SRID=4674;POINT (-40.020044 -2.833397)', '2026-06-12 13:30:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020019 -2.8334)'), GeomFromEWKT('SRID=4674;POINT (-40.020044 -2.833397)'))) / (select extract(epoch from '2026-06-12 13:30:09'::timestamp) - extract(epoch from '2026-06-12 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020019 -2.8334)'), GeomFromEWKT('SRID=4674;POINT (-40.020044 -2.833397)'))) / (select extract(epoch from '2026-06-12 13:30:09'::timestamp) - extract(epoch from '2026-06-12 13:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.020098 -2.833396)', '2026-06-12 13:30:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020044 -2.833397)'), GeomFromEWKT('SRID=4674;POINT (-40.020098 -2.833396)'))) / (select extract(epoch from '2026-06-12 13:30:24'::timestamp) - extract(epoch from '2026-06-12 13:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020044 -2.833397)'), GeomFromEWKT('SRID=4674;POINT (-40.020098 -2.833396)'))) / (select extract(epoch from '2026-06-12 13:30:24'::timestamp) - extract(epoch from '2026-06-12 13:30: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'), 46699, 'SRID=4674;POINT (-40.02017 -2.833381)', '2026-06-12 13:30:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020098 -2.833396)'), GeomFromEWKT('SRID=4674;POINT (-40.02017 -2.833381)'))) / (select extract(epoch from '2026-06-12 13:30:42'::timestamp) - extract(epoch from '2026-06-12 13:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020098 -2.833396)'), GeomFromEWKT('SRID=4674;POINT (-40.02017 -2.833381)'))) / (select extract(epoch from '2026-06-12 13:30:42'::timestamp) - extract(epoch from '2026-06-12 13:30: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'), 46699, 'SRID=4674;POINT (-40.020215 -2.833372)', '2026-06-12 13:30:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02017 -2.833381)'), GeomFromEWKT('SRID=4674;POINT (-40.020215 -2.833372)'))) / (select extract(epoch from '2026-06-12 13:30:57'::timestamp) - extract(epoch from '2026-06-12 13:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02017 -2.833381)'), GeomFromEWKT('SRID=4674;POINT (-40.020215 -2.833372)'))) / (select extract(epoch from '2026-06-12 13:30:57'::timestamp) - extract(epoch from '2026-06-12 13:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.020293 -2.83336)', '2026-06-12 13:31:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020215 -2.833372)'), GeomFromEWKT('SRID=4674;POINT (-40.020293 -2.83336)'))) / (select extract(epoch from '2026-06-12 13:31:17'::timestamp) - extract(epoch from '2026-06-12 13:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020215 -2.833372)'), GeomFromEWKT('SRID=4674;POINT (-40.020293 -2.83336)'))) / (select extract(epoch from '2026-06-12 13:31:17'::timestamp) - extract(epoch from '2026-06-12 13:30: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'), 46699, 'SRID=4674;POINT (-40.020336 -2.833356)', '2026-06-12 13:31:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020293 -2.83336)'), GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.833356)'))) / (select extract(epoch from '2026-06-12 13:31:34'::timestamp) - extract(epoch from '2026-06-12 13:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020293 -2.83336)'), GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.833356)'))) / (select extract(epoch from '2026-06-12 13:31:34'::timestamp) - extract(epoch from '2026-06-12 13:31: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'), 46699, 'SRID=4674;POINT (-40.020377 -2.833354)', '2026-06-12 13:31:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.833356)'), GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.833354)'))) / (select extract(epoch from '2026-06-12 13:31:47'::timestamp) - extract(epoch from '2026-06-12 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.833356)'), GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.833354)'))) / (select extract(epoch from '2026-06-12 13:31:47'::timestamp) - extract(epoch from '2026-06-12 13:31: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'), 46699, 'SRID=4674;POINT (-40.020443 -2.833335)', '2026-06-12 13:32:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.833354)'), GeomFromEWKT('SRID=4674;POINT (-40.020443 -2.833335)'))) / (select extract(epoch from '2026-06-12 13:32:05'::timestamp) - extract(epoch from '2026-06-12 13:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.833354)'), GeomFromEWKT('SRID=4674;POINT (-40.020443 -2.833335)'))) / (select extract(epoch from '2026-06-12 13:32:05'::timestamp) - extract(epoch from '2026-06-12 13:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.020508 -2.833328)', '2026-06-12 13:32:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020443 -2.833335)'), GeomFromEWKT('SRID=4674;POINT (-40.020508 -2.833328)'))) / (select extract(epoch from '2026-06-12 13:32:23'::timestamp) - extract(epoch from '2026-06-12 13:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020443 -2.833335)'), GeomFromEWKT('SRID=4674;POINT (-40.020508 -2.833328)'))) / (select extract(epoch from '2026-06-12 13:32:23'::timestamp) - extract(epoch from '2026-06-12 13:32: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'), 46699, 'SRID=4674;POINT (-40.020577 -2.833327)', '2026-06-12 13:32:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020508 -2.833328)'), GeomFromEWKT('SRID=4674;POINT (-40.020577 -2.833327)'))) / (select extract(epoch from '2026-06-12 13:32:41'::timestamp) - extract(epoch from '2026-06-12 13:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020508 -2.833328)'), GeomFromEWKT('SRID=4674;POINT (-40.020577 -2.833327)'))) / (select extract(epoch from '2026-06-12 13:32:41'::timestamp) - extract(epoch from '2026-06-12 13:32: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'), 46699, 'SRID=4674;POINT (-40.020633 -2.833315)', '2026-06-12 13:32:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020577 -2.833327)'), GeomFromEWKT('SRID=4674;POINT (-40.020633 -2.833315)'))) / (select extract(epoch from '2026-06-12 13:32:59'::timestamp) - extract(epoch from '2026-06-12 13:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020577 -2.833327)'), GeomFromEWKT('SRID=4674;POINT (-40.020633 -2.833315)'))) / (select extract(epoch from '2026-06-12 13:32:59'::timestamp) - extract(epoch from '2026-06-12 13:32: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'), 46699, 'SRID=4674;POINT (-40.020696 -2.833307)', '2026-06-12 13:33:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020633 -2.833315)'), GeomFromEWKT('SRID=4674;POINT (-40.020696 -2.833307)'))) / (select extract(epoch from '2026-06-12 13:33:18'::timestamp) - extract(epoch from '2026-06-12 13:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020633 -2.833315)'), GeomFromEWKT('SRID=4674;POINT (-40.020696 -2.833307)'))) / (select extract(epoch from '2026-06-12 13:33:18'::timestamp) - extract(epoch from '2026-06-12 13:32: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'), 46699, 'SRID=4674;POINT (-40.020763 -2.833299)', '2026-06-12 13:33:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020696 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.020763 -2.833299)'))) / (select extract(epoch from '2026-06-12 13:33:37'::timestamp) - extract(epoch from '2026-06-12 13:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020696 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.020763 -2.833299)'))) / (select extract(epoch from '2026-06-12 13:33:37'::timestamp) - extract(epoch from '2026-06-12 13:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.020829 -2.833291)', '2026-06-12 13:33:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020763 -2.833299)'), GeomFromEWKT('SRID=4674;POINT (-40.020829 -2.833291)'))) / (select extract(epoch from '2026-06-12 13:33:56'::timestamp) - extract(epoch from '2026-06-12 13:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020763 -2.833299)'), GeomFromEWKT('SRID=4674;POINT (-40.020829 -2.833291)'))) / (select extract(epoch from '2026-06-12 13:33:56'::timestamp) - extract(epoch from '2026-06-12 13:33: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'), 46699, 'SRID=4674;POINT (-40.020887 -2.833284)', '2026-06-12 13:34:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020829 -2.833291)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.833284)'))) / (select extract(epoch from '2026-06-12 13:34:13'::timestamp) - extract(epoch from '2026-06-12 13:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020829 -2.833291)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.833284)'))) / (select extract(epoch from '2026-06-12 13:34:13'::timestamp) - extract(epoch from '2026-06-12 13:33: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'), 46699, 'SRID=4674;POINT (-40.020946 -2.833274)', '2026-06-12 13:34:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.833284)'), GeomFromEWKT('SRID=4674;POINT (-40.020946 -2.833274)'))) / (select extract(epoch from '2026-06-12 13:34:31'::timestamp) - extract(epoch from '2026-06-12 13:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.833284)'), GeomFromEWKT('SRID=4674;POINT (-40.020946 -2.833274)'))) / (select extract(epoch from '2026-06-12 13:34:31'::timestamp) - extract(epoch from '2026-06-12 13:34: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'), 46699, 'SRID=4674;POINT (-40.021019 -2.833272)', '2026-06-12 13:34:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020946 -2.833274)'), GeomFromEWKT('SRID=4674;POINT (-40.021019 -2.833272)'))) / (select extract(epoch from '2026-06-12 13:34:51'::timestamp) - extract(epoch from '2026-06-12 13:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020946 -2.833274)'), GeomFromEWKT('SRID=4674;POINT (-40.021019 -2.833272)'))) / (select extract(epoch from '2026-06-12 13:34:51'::timestamp) - extract(epoch from '2026-06-12 13:34: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'), 46699, 'SRID=4674;POINT (-40.021069 -2.83327)', '2026-06-12 13:35:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021019 -2.833272)'), GeomFromEWKT('SRID=4674;POINT (-40.021069 -2.83327)'))) / (select extract(epoch from '2026-06-12 13:35:06'::timestamp) - extract(epoch from '2026-06-12 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021019 -2.833272)'), GeomFromEWKT('SRID=4674;POINT (-40.021069 -2.83327)'))) / (select extract(epoch from '2026-06-12 13:35:06'::timestamp) - extract(epoch from '2026-06-12 13:34: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'), 46699, 'SRID=4674;POINT (-40.021105 -2.833264)', '2026-06-12 13:35:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021069 -2.83327)'), GeomFromEWKT('SRID=4674;POINT (-40.021105 -2.833264)'))) / (select extract(epoch from '2026-06-12 13:35:18'::timestamp) - extract(epoch from '2026-06-12 13:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021069 -2.83327)'), GeomFromEWKT('SRID=4674;POINT (-40.021105 -2.833264)'))) / (select extract(epoch from '2026-06-12 13:35:18'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.021161 -2.833254)', '2026-06-12 13:35:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021105 -2.833264)'), GeomFromEWKT('SRID=4674;POINT (-40.021161 -2.833254)'))) / (select extract(epoch from '2026-06-12 13:35:33'::timestamp) - extract(epoch from '2026-06-12 13:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021105 -2.833264)'), GeomFromEWKT('SRID=4674;POINT (-40.021161 -2.833254)'))) / (select extract(epoch from '2026-06-12 13:35:33'::timestamp) - extract(epoch from '2026-06-12 13:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021218 -2.833252)', '2026-06-12 13:35:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021161 -2.833254)'), GeomFromEWKT('SRID=4674;POINT (-40.021218 -2.833252)'))) / (select extract(epoch from '2026-06-12 13:35:49'::timestamp) - extract(epoch from '2026-06-12 13:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021161 -2.833254)'), GeomFromEWKT('SRID=4674;POINT (-40.021218 -2.833252)'))) / (select extract(epoch from '2026-06-12 13:35:49'::timestamp) - extract(epoch from '2026-06-12 13:35: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'), 46699, 'SRID=4674;POINT (-40.021274 -2.833227)', '2026-06-12 13:36:04', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021218 -2.833252)'), GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.833227)'))) / (select extract(epoch from '2026-06-12 13:36:04'::timestamp) - extract(epoch from '2026-06-12 13:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021218 -2.833252)'), GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.833227)'))) / (select extract(epoch from '2026-06-12 13:36:04'::timestamp) - extract(epoch from '2026-06-12 13:35: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'), 46699, 'SRID=4674;POINT (-40.021339 -2.833204)', '2026-06-12 13:36:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.833227)'), GeomFromEWKT('SRID=4674;POINT (-40.021339 -2.833204)'))) / (select extract(epoch from '2026-06-12 13:36:20'::timestamp) - extract(epoch from '2026-06-12 13:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.833227)'), GeomFromEWKT('SRID=4674;POINT (-40.021339 -2.833204)'))) / (select extract(epoch from '2026-06-12 13:36:20'::timestamp) - extract(epoch from '2026-06-12 13:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02139 -2.833197)', '2026-06-12 13:36:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021339 -2.833204)'), GeomFromEWKT('SRID=4674;POINT (-40.02139 -2.833197)'))) / (select extract(epoch from '2026-06-12 13:36:37'::timestamp) - extract(epoch from '2026-06-12 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021339 -2.833204)'), GeomFromEWKT('SRID=4674;POINT (-40.02139 -2.833197)'))) / (select extract(epoch from '2026-06-12 13:36:37'::timestamp) - extract(epoch from '2026-06-12 13:36: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'), 46699, 'SRID=4674;POINT (-40.021445 -2.833182)', '2026-06-12 13:36:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02139 -2.833197)'), GeomFromEWKT('SRID=4674;POINT (-40.021445 -2.833182)'))) / (select extract(epoch from '2026-06-12 13:36:53'::timestamp) - extract(epoch from '2026-06-12 13:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02139 -2.833197)'), GeomFromEWKT('SRID=4674;POINT (-40.021445 -2.833182)'))) / (select extract(epoch from '2026-06-12 13:36:53'::timestamp) - extract(epoch from '2026-06-12 13:36: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'), 46699, 'SRID=4674;POINT (-40.021537 -2.833172)', '2026-06-12 13:37:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021445 -2.833182)'), GeomFromEWKT('SRID=4674;POINT (-40.021537 -2.833172)'))) / (select extract(epoch from '2026-06-12 13:37:15'::timestamp) - extract(epoch from '2026-06-12 13:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021445 -2.833182)'), GeomFromEWKT('SRID=4674;POINT (-40.021537 -2.833172)'))) / (select extract(epoch from '2026-06-12 13:37:15'::timestamp) - extract(epoch from '2026-06-12 13:36: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'), 46699, 'SRID=4674;POINT (-40.021614 -2.833152)', '2026-06-12 13:37:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021537 -2.833172)'), GeomFromEWKT('SRID=4674;POINT (-40.021614 -2.833152)'))) / (select extract(epoch from '2026-06-12 13:37:36'::timestamp) - extract(epoch from '2026-06-12 13:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021537 -2.833172)'), GeomFromEWKT('SRID=4674;POINT (-40.021614 -2.833152)'))) / (select extract(epoch from '2026-06-12 13:37:36'::timestamp) - extract(epoch from '2026-06-12 13:37: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'), 46699, 'SRID=4674;POINT (-40.021665 -2.833144)', '2026-06-12 13:37:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021614 -2.833152)'), GeomFromEWKT('SRID=4674;POINT (-40.021665 -2.833144)'))) / (select extract(epoch from '2026-06-12 13:37:52'::timestamp) - extract(epoch from '2026-06-12 13:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021614 -2.833152)'), GeomFromEWKT('SRID=4674;POINT (-40.021665 -2.833144)'))) / (select extract(epoch from '2026-06-12 13:37:52'::timestamp) - extract(epoch from '2026-06-12 13:37: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'), 46699, 'SRID=4674;POINT (-40.021727 -2.833134)', '2026-06-12 13:38:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021665 -2.833144)'), GeomFromEWKT('SRID=4674;POINT (-40.021727 -2.833134)'))) / (select extract(epoch from '2026-06-12 13:38:09'::timestamp) - extract(epoch from '2026-06-12 13:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021665 -2.833144)'), GeomFromEWKT('SRID=4674;POINT (-40.021727 -2.833134)'))) / (select extract(epoch from '2026-06-12 13:38:09'::timestamp) - extract(epoch from '2026-06-12 13:37: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'), 46699, 'SRID=4674;POINT (-40.021796 -2.83312)', '2026-06-12 13:38:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021727 -2.833134)'), GeomFromEWKT('SRID=4674;POINT (-40.021796 -2.83312)'))) / (select extract(epoch from '2026-06-12 13:38:28'::timestamp) - extract(epoch from '2026-06-12 13:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021727 -2.833134)'), GeomFromEWKT('SRID=4674;POINT (-40.021796 -2.83312)'))) / (select extract(epoch from '2026-06-12 13:38:28'::timestamp) - extract(epoch from '2026-06-12 13:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021859 -2.833112)', '2026-06-12 13:38:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021796 -2.83312)'), GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.833112)'))) / (select extract(epoch from '2026-06-12 13:38:44'::timestamp) - extract(epoch from '2026-06-12 13:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021796 -2.83312)'), GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.833112)'))) / (select extract(epoch from '2026-06-12 13:38:44'::timestamp) - extract(epoch from '2026-06-12 13:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.021924 -2.833097)', '2026-06-12 13:39:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.833112)'), GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.833097)'))) / (select extract(epoch from '2026-06-12 13:39:01'::timestamp) - extract(epoch from '2026-06-12 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.833112)'), GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.833097)'))) / (select extract(epoch from '2026-06-12 13:39:01'::timestamp) - extract(epoch from '2026-06-12 13:38: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'), 46699, 'SRID=4674;POINT (-40.022004 -2.833079)', '2026-06-12 13:39:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.833097)'), GeomFromEWKT('SRID=4674;POINT (-40.022004 -2.833079)'))) / (select extract(epoch from '2026-06-12 13:39:22'::timestamp) - extract(epoch from '2026-06-12 13:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.833097)'), GeomFromEWKT('SRID=4674;POINT (-40.022004 -2.833079)'))) / (select extract(epoch from '2026-06-12 13:39:22'::timestamp) - extract(epoch from '2026-06-12 13:39: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'), 46699, 'SRID=4674;POINT (-40.022077 -2.833074)', '2026-06-12 13:39:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022004 -2.833079)'), GeomFromEWKT('SRID=4674;POINT (-40.022077 -2.833074)'))) / (select extract(epoch from '2026-06-12 13:39:39'::timestamp) - extract(epoch from '2026-06-12 13:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022004 -2.833079)'), GeomFromEWKT('SRID=4674;POINT (-40.022077 -2.833074)'))) / (select extract(epoch from '2026-06-12 13:39:39'::timestamp) - extract(epoch from '2026-06-12 13:39: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'), 46699, 'SRID=4674;POINT (-40.022128 -2.833084)', '2026-06-12 13:39:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022077 -2.833074)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.833084)'))) / (select extract(epoch from '2026-06-12 13:39:55'::timestamp) - extract(epoch from '2026-06-12 13:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022077 -2.833074)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.833084)'))) / (select extract(epoch from '2026-06-12 13:39:55'::timestamp) - extract(epoch from '2026-06-12 13:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022205 -2.833086)', '2026-06-12 13:40:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.833084)'), GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.833086)'))) / (select extract(epoch from '2026-06-12 13:40:16'::timestamp) - extract(epoch from '2026-06-12 13:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.833084)'), GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.833086)'))) / (select extract(epoch from '2026-06-12 13:40:16'::timestamp) - extract(epoch from '2026-06-12 13:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022289 -2.833056)', '2026-06-12 13:40:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.833086)'), GeomFromEWKT('SRID=4674;POINT (-40.022289 -2.833056)'))) / (select extract(epoch from '2026-06-12 13:40:36'::timestamp) - extract(epoch from '2026-06-12 13:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022205 -2.833086)'), GeomFromEWKT('SRID=4674;POINT (-40.022289 -2.833056)'))) / (select extract(epoch from '2026-06-12 13:40:36'::timestamp) - extract(epoch from '2026-06-12 13:40: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'), 46699, 'SRID=4674;POINT (-40.02235 -2.833048)', '2026-06-12 13:40:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022289 -2.833056)'), GeomFromEWKT('SRID=4674;POINT (-40.02235 -2.833048)'))) / (select extract(epoch from '2026-06-12 13:40:53'::timestamp) - extract(epoch from '2026-06-12 13:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022289 -2.833056)'), GeomFromEWKT('SRID=4674;POINT (-40.02235 -2.833048)'))) / (select extract(epoch from '2026-06-12 13:40:53'::timestamp) - extract(epoch from '2026-06-12 13:40: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'), 46699, 'SRID=4674;POINT (-40.022406 -2.83303)', '2026-06-12 13:41:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02235 -2.833048)'), GeomFromEWKT('SRID=4674;POINT (-40.022406 -2.83303)'))) / (select extract(epoch from '2026-06-12 13:41:12'::timestamp) - extract(epoch from '2026-06-12 13:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02235 -2.833048)'), GeomFromEWKT('SRID=4674;POINT (-40.022406 -2.83303)'))) / (select extract(epoch from '2026-06-12 13:41:12'::timestamp) - extract(epoch from '2026-06-12 13:40: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'), 46699, 'SRID=4674;POINT (-40.022472 -2.833002)', '2026-06-12 13:41:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022406 -2.83303)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.833002)'))) / (select extract(epoch from '2026-06-12 13:41:31'::timestamp) - extract(epoch from '2026-06-12 13:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022406 -2.83303)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.833002)'))) / (select extract(epoch from '2026-06-12 13:41:31'::timestamp) - extract(epoch from '2026-06-12 13:41: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'), 46699, 'SRID=4674;POINT (-40.022544 -2.832985)', '2026-06-12 13:41:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.833002)'), GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.832985)'))) / (select extract(epoch from '2026-06-12 13:41:53'::timestamp) - extract(epoch from '2026-06-12 13:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.833002)'), GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.832985)'))) / (select extract(epoch from '2026-06-12 13:41:53'::timestamp) - extract(epoch from '2026-06-12 13:41: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'), 46699, 'SRID=4674;POINT (-40.022604 -2.832977)', '2026-06-12 13:42:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.832985)'), GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.832977)'))) / (select extract(epoch from '2026-06-12 13:42:09'::timestamp) - extract(epoch from '2026-06-12 13:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.832985)'), GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.832977)'))) / (select extract(epoch from '2026-06-12 13:42:09'::timestamp) - extract(epoch from '2026-06-12 13:41: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'), 46699, 'SRID=4674;POINT (-40.022667 -2.832971)', '2026-06-12 13:42:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.832977)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.832971)'))) / (select extract(epoch from '2026-06-12 13:42:26'::timestamp) - extract(epoch from '2026-06-12 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022604 -2.832977)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.832971)'))) / (select extract(epoch from '2026-06-12 13:42:26'::timestamp) - extract(epoch from '2026-06-12 13:42: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'), 46699, 'SRID=4674;POINT (-40.022725 -2.832952)', '2026-06-12 13:42:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.832971)'), GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.832952)'))) / (select extract(epoch from '2026-06-12 13:42:43'::timestamp) - extract(epoch from '2026-06-12 13:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.832971)'), GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.832952)'))) / (select extract(epoch from '2026-06-12 13:42:43'::timestamp) - extract(epoch from '2026-06-12 13:42: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'), 46699, 'SRID=4674;POINT (-40.02278 -2.832939)', '2026-06-12 13:43:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.832952)'), GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.832939)'))) / (select extract(epoch from '2026-06-12 13:43:00'::timestamp) - extract(epoch from '2026-06-12 13:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.832952)'), GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.832939)'))) / (select extract(epoch from '2026-06-12 13:43:00'::timestamp) - extract(epoch from '2026-06-12 13:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.022831 -2.832934)', '2026-06-12 13:43:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.832939)'), GeomFromEWKT('SRID=4674;POINT (-40.022831 -2.832934)'))) / (select extract(epoch from '2026-06-12 13:43:15'::timestamp) - extract(epoch from '2026-06-12 13:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.832939)'), GeomFromEWKT('SRID=4674;POINT (-40.022831 -2.832934)'))) / (select extract(epoch from '2026-06-12 13:43:15'::timestamp) - extract(epoch from '2026-06-12 13:43: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'), 46699, 'SRID=4674;POINT (-40.022896 -2.83292)', '2026-06-12 13:43:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022831 -2.832934)'), GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.83292)'))) / (select extract(epoch from '2026-06-12 13:43:33'::timestamp) - extract(epoch from '2026-06-12 13:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022831 -2.832934)'), GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.83292)'))) / (select extract(epoch from '2026-06-12 13:43:33'::timestamp) - extract(epoch from '2026-06-12 13:43: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'), 46699, 'SRID=4674;POINT (-40.022963 -2.832895)', '2026-06-12 13:43:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.83292)'), GeomFromEWKT('SRID=4674;POINT (-40.022963 -2.832895)'))) / (select extract(epoch from '2026-06-12 13:43:50'::timestamp) - extract(epoch from '2026-06-12 13:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022896 -2.83292)'), GeomFromEWKT('SRID=4674;POINT (-40.022963 -2.832895)'))) / (select extract(epoch from '2026-06-12 13:43:50'::timestamp) - extract(epoch from '2026-06-12 13:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023035 -2.832867)', '2026-06-12 13:44:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022963 -2.832895)'), GeomFromEWKT('SRID=4674;POINT (-40.023035 -2.832867)'))) / (select extract(epoch from '2026-06-12 13:44:11'::timestamp) - extract(epoch from '2026-06-12 13:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022963 -2.832895)'), GeomFromEWKT('SRID=4674;POINT (-40.023035 -2.832867)'))) / (select extract(epoch from '2026-06-12 13:44:11'::timestamp) - extract(epoch from '2026-06-12 13:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023116 -2.832849)', '2026-06-12 13:44:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023035 -2.832867)'), GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.832849)'))) / (select extract(epoch from '2026-06-12 13:44:32'::timestamp) - extract(epoch from '2026-06-12 13:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023035 -2.832867)'), GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.832849)'))) / (select extract(epoch from '2026-06-12 13:44:32'::timestamp) - extract(epoch from '2026-06-12 13:44: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'), 46699, 'SRID=4674;POINT (-40.023182 -2.832826)', '2026-06-12 13:44:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.832849)'), GeomFromEWKT('SRID=4674;POINT (-40.023182 -2.832826)'))) / (select extract(epoch from '2026-06-12 13:44:50'::timestamp) - extract(epoch from '2026-06-12 13:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023116 -2.832849)'), GeomFromEWKT('SRID=4674;POINT (-40.023182 -2.832826)'))) / (select extract(epoch from '2026-06-12 13:44:50'::timestamp) - extract(epoch from '2026-06-12 13:44: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'), 46699, 'SRID=4674;POINT (-40.023236 -2.832818)', '2026-06-12 13:45:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023182 -2.832826)'), GeomFromEWKT('SRID=4674;POINT (-40.023236 -2.832818)'))) / (select extract(epoch from '2026-06-12 13:45:05'::timestamp) - extract(epoch from '2026-06-12 13:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023182 -2.832826)'), GeomFromEWKT('SRID=4674;POINT (-40.023236 -2.832818)'))) / (select extract(epoch from '2026-06-12 13:45:05'::timestamp) - extract(epoch from '2026-06-12 13:44: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'), 46699, 'SRID=4674;POINT (-40.023323 -2.832796)', '2026-06-12 13:45:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023236 -2.832818)'), GeomFromEWKT('SRID=4674;POINT (-40.023323 -2.832796)'))) / (select extract(epoch from '2026-06-12 13:45:23'::timestamp) - extract(epoch from '2026-06-12 13:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023236 -2.832818)'), GeomFromEWKT('SRID=4674;POINT (-40.023323 -2.832796)'))) / (select extract(epoch from '2026-06-12 13:45:23'::timestamp) - extract(epoch from '2026-06-12 13:45: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'), 46699, 'SRID=4674;POINT (-40.023393 -2.832786)', '2026-06-12 13:45:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023323 -2.832796)'), GeomFromEWKT('SRID=4674;POINT (-40.023393 -2.832786)'))) / (select extract(epoch from '2026-06-12 13:45:42'::timestamp) - extract(epoch from '2026-06-12 13:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023323 -2.832796)'), GeomFromEWKT('SRID=4674;POINT (-40.023393 -2.832786)'))) / (select extract(epoch from '2026-06-12 13:45:42'::timestamp) - extract(epoch from '2026-06-12 13:45: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'), 46699, 'SRID=4674;POINT (-40.023436 -2.832778)', '2026-06-12 13:45:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023393 -2.832786)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.832778)'))) / (select extract(epoch from '2026-06-12 13:45:56'::timestamp) - extract(epoch from '2026-06-12 13:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023393 -2.832786)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.832778)'))) / (select extract(epoch from '2026-06-12 13:45:56'::timestamp) - extract(epoch from '2026-06-12 13:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023504 -2.832766)', '2026-06-12 13:46:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.832778)'), GeomFromEWKT('SRID=4674;POINT (-40.023504 -2.832766)'))) / (select extract(epoch from '2026-06-12 13:46:16'::timestamp) - extract(epoch from '2026-06-12 13:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.832778)'), GeomFromEWKT('SRID=4674;POINT (-40.023504 -2.832766)'))) / (select extract(epoch from '2026-06-12 13:46:16'::timestamp) - extract(epoch from '2026-06-12 13:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02355 -2.832764)', '2026-06-12 13:46:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023504 -2.832766)'), GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.832764)'))) / (select extract(epoch from '2026-06-12 13:46:29'::timestamp) - extract(epoch from '2026-06-12 13:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023504 -2.832766)'), GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.832764)'))) / (select extract(epoch from '2026-06-12 13:46:29'::timestamp) - extract(epoch from '2026-06-12 13:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023622 -2.832756)', '2026-06-12 13:46:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.832764)'), GeomFromEWKT('SRID=4674;POINT (-40.023622 -2.832756)'))) / (select extract(epoch from '2026-06-12 13:46:47'::timestamp) - extract(epoch from '2026-06-12 13:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.832764)'), GeomFromEWKT('SRID=4674;POINT (-40.023622 -2.832756)'))) / (select extract(epoch from '2026-06-12 13:46:47'::timestamp) - extract(epoch from '2026-06-12 13:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023713 -2.832744)', '2026-06-12 13:47:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023622 -2.832756)'), GeomFromEWKT('SRID=4674;POINT (-40.023713 -2.832744)'))) / (select extract(epoch from '2026-06-12 13:47:07'::timestamp) - extract(epoch from '2026-06-12 13:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023622 -2.832756)'), GeomFromEWKT('SRID=4674;POINT (-40.023713 -2.832744)'))) / (select extract(epoch from '2026-06-12 13:47:07'::timestamp) - extract(epoch from '2026-06-12 13:46: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'), 46699, 'SRID=4674;POINT (-40.023783 -2.83273)', '2026-06-12 13:47:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023713 -2.832744)'), GeomFromEWKT('SRID=4674;POINT (-40.023783 -2.83273)'))) / (select extract(epoch from '2026-06-12 13:47:26'::timestamp) - extract(epoch from '2026-06-12 13:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023713 -2.832744)'), GeomFromEWKT('SRID=4674;POINT (-40.023783 -2.83273)'))) / (select extract(epoch from '2026-06-12 13:47:26'::timestamp) - extract(epoch from '2026-06-12 13:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.023831 -2.83273)', '2026-06-12 13:47:39', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023783 -2.83273)'), GeomFromEWKT('SRID=4674;POINT (-40.023831 -2.83273)'))) / (select extract(epoch from '2026-06-12 13:47:39'::timestamp) - extract(epoch from '2026-06-12 13:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023783 -2.83273)'), GeomFromEWKT('SRID=4674;POINT (-40.023831 -2.83273)'))) / (select extract(epoch from '2026-06-12 13:47:39'::timestamp) - extract(epoch from '2026-06-12 13:47: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'), 46699, 'SRID=4674;POINT (-40.023894 -2.832732)', '2026-06-12 13:47:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023831 -2.83273)'), GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.832732)'))) / (select extract(epoch from '2026-06-12 13:47:55'::timestamp) - extract(epoch from '2026-06-12 13:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023831 -2.83273)'), GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.832732)'))) / (select extract(epoch from '2026-06-12 13:47:55'::timestamp) - extract(epoch from '2026-06-12 13:47: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'), 46699, 'SRID=4674;POINT (-40.023969 -2.83272)', '2026-06-12 13:48:13', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.832732)'), GeomFromEWKT('SRID=4674;POINT (-40.023969 -2.83272)'))) / (select extract(epoch from '2026-06-12 13:48:13'::timestamp) - extract(epoch from '2026-06-12 13:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.832732)'), GeomFromEWKT('SRID=4674;POINT (-40.023969 -2.83272)'))) / (select extract(epoch from '2026-06-12 13:48:13'::timestamp) - extract(epoch from '2026-06-12 13:47: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'), 46699, 'SRID=4674;POINT (-40.024045 -2.832711)', '2026-06-12 13:48:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023969 -2.83272)'), GeomFromEWKT('SRID=4674;POINT (-40.024045 -2.832711)'))) / (select extract(epoch from '2026-06-12 13:48:31'::timestamp) - extract(epoch from '2026-06-12 13:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023969 -2.83272)'), GeomFromEWKT('SRID=4674;POINT (-40.024045 -2.832711)'))) / (select extract(epoch from '2026-06-12 13:48:31'::timestamp) - extract(epoch from '2026-06-12 13:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024112 -2.832712)', '2026-06-12 13:48:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024045 -2.832711)'), GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.832712)'))) / (select extract(epoch from '2026-06-12 13:48:45'::timestamp) - extract(epoch from '2026-06-12 13:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024045 -2.832711)'), GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.832712)'))) / (select extract(epoch from '2026-06-12 13:48:45'::timestamp) - extract(epoch from '2026-06-12 13:48: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'), 46699, 'SRID=4674;POINT (-40.024173 -2.832713)', '2026-06-12 13:49:00', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.832712)'), GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.832713)'))) / (select extract(epoch from '2026-06-12 13:49:00'::timestamp) - extract(epoch from '2026-06-12 13:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.832712)'), GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.832713)'))) / (select extract(epoch from '2026-06-12 13:49:00'::timestamp) - extract(epoch from '2026-06-12 13:48: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'), 46699, 'SRID=4674;POINT (-40.024258 -2.832699)', '2026-06-12 13:49:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.832713)'), GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.832699)'))) / (select extract(epoch from '2026-06-12 13:49:20'::timestamp) - extract(epoch from '2026-06-12 13:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024173 -2.832713)'), GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.832699)'))) / (select extract(epoch from '2026-06-12 13:49:20'::timestamp) - extract(epoch from '2026-06-12 13:49: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'), 46699, 'SRID=4674;POINT (-40.024313 -2.832692)', '2026-06-12 13:49:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.832699)'), GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.832692)'))) / (select extract(epoch from '2026-06-12 13:49:36'::timestamp) - extract(epoch from '2026-06-12 13:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024258 -2.832699)'), GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.832692)'))) / (select extract(epoch from '2026-06-12 13:49:36'::timestamp) - extract(epoch from '2026-06-12 13:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024382 -2.832688)', '2026-06-12 13:49:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.832692)'), GeomFromEWKT('SRID=4674;POINT (-40.024382 -2.832688)'))) / (select extract(epoch from '2026-06-12 13:49:53'::timestamp) - extract(epoch from '2026-06-12 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024313 -2.832692)'), GeomFromEWKT('SRID=4674;POINT (-40.024382 -2.832688)'))) / (select extract(epoch from '2026-06-12 13:49:53'::timestamp) - extract(epoch from '2026-06-12 13:49: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'), 46699, 'SRID=4674;POINT (-40.024438 -2.832686)', '2026-06-12 13:50:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024382 -2.832688)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.832686)'))) / (select extract(epoch from '2026-06-12 13:50:11'::timestamp) - extract(epoch from '2026-06-12 13:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024382 -2.832688)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.832686)'))) / (select extract(epoch from '2026-06-12 13:50:11'::timestamp) - extract(epoch from '2026-06-12 13:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.024515 -2.832685)', '2026-06-12 13:50:32', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.832686)'), GeomFromEWKT('SRID=4674;POINT (-40.024515 -2.832685)'))) / (select extract(epoch from '2026-06-12 13:50:32'::timestamp) - extract(epoch from '2026-06-12 13:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.832686)'), GeomFromEWKT('SRID=4674;POINT (-40.024515 -2.832685)'))) / (select extract(epoch from '2026-06-12 13:50:32'::timestamp) - extract(epoch from '2026-06-12 13:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02459 -2.832689)', '2026-06-12 13:50:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024515 -2.832685)'), GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.832689)'))) / (select extract(epoch from '2026-06-12 13:50:50'::timestamp) - extract(epoch from '2026-06-12 13:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024515 -2.832685)'), GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.832689)'))) / (select extract(epoch from '2026-06-12 13:50:50'::timestamp) - extract(epoch from '2026-06-12 13:50: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'), 46699, 'SRID=4674;POINT (-40.024675 -2.832696)', '2026-06-12 13:51:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.832689)'), GeomFromEWKT('SRID=4674;POINT (-40.024675 -2.832696)'))) / (select extract(epoch from '2026-06-12 13:51:11'::timestamp) - extract(epoch from '2026-06-12 13:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.832689)'), GeomFromEWKT('SRID=4674;POINT (-40.024675 -2.832696)'))) / (select extract(epoch from '2026-06-12 13:51:11'::timestamp) - extract(epoch from '2026-06-12 13:50: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'), 46699, 'SRID=4674;POINT (-40.024777 -2.832708)', '2026-06-12 13:51:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024675 -2.832696)'), GeomFromEWKT('SRID=4674;POINT (-40.024777 -2.832708)'))) / (select extract(epoch from '2026-06-12 13:51:34'::timestamp) - extract(epoch from '2026-06-12 13:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024675 -2.832696)'), GeomFromEWKT('SRID=4674;POINT (-40.024777 -2.832708)'))) / (select extract(epoch from '2026-06-12 13:51:34'::timestamp) - extract(epoch from '2026-06-12 13:51: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'), 46699, 'SRID=4674;POINT (-40.024841 -2.832703)', '2026-06-12 13:51:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024777 -2.832708)'), GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.832703)'))) / (select extract(epoch from '2026-06-12 13:51:49'::timestamp) - extract(epoch from '2026-06-12 13:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024777 -2.832708)'), GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.832703)'))) / (select extract(epoch from '2026-06-12 13:51:49'::timestamp) - extract(epoch from '2026-06-12 13:51: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'), 46699, 'SRID=4674;POINT (-40.024914 -2.832704)', '2026-06-12 13:52:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.832703)'), GeomFromEWKT('SRID=4674;POINT (-40.024914 -2.832704)'))) / (select extract(epoch from '2026-06-12 13:52:06'::timestamp) - extract(epoch from '2026-06-12 13:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.832703)'), GeomFromEWKT('SRID=4674;POINT (-40.024914 -2.832704)'))) / (select extract(epoch from '2026-06-12 13:52:06'::timestamp) - extract(epoch from '2026-06-12 13:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02501 -2.832704)', '2026-06-12 13:52:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024914 -2.832704)'), GeomFromEWKT('SRID=4674;POINT (-40.02501 -2.832704)'))) / (select extract(epoch from '2026-06-12 13:52:30'::timestamp) - extract(epoch from '2026-06-12 13:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024914 -2.832704)'), GeomFromEWKT('SRID=4674;POINT (-40.02501 -2.832704)'))) / (select extract(epoch from '2026-06-12 13:52:30'::timestamp) - extract(epoch from '2026-06-12 13:52: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'), 46699, 'SRID=4674;POINT (-40.025063 -2.832722)', '2026-06-12 13:52:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02501 -2.832704)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.832722)'))) / (select extract(epoch from '2026-06-12 13:52:46'::timestamp) - extract(epoch from '2026-06-12 13:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02501 -2.832704)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.832722)'))) / (select extract(epoch from '2026-06-12 13:52:46'::timestamp) - extract(epoch from '2026-06-12 13:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025136 -2.832742)', '2026-06-12 13:53:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.832722)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.832742)'))) / (select extract(epoch from '2026-06-12 13:53:03'::timestamp) - extract(epoch from '2026-06-12 13:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.832722)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.832742)'))) / (select extract(epoch from '2026-06-12 13:53:03'::timestamp) - extract(epoch from '2026-06-12 13:52: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'), 46699, 'SRID=4674;POINT (-40.025197 -2.832743)', '2026-06-12 13:53:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.832742)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.832743)'))) / (select extract(epoch from '2026-06-12 13:53:19'::timestamp) - extract(epoch from '2026-06-12 13:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.832742)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.832743)'))) / (select extract(epoch from '2026-06-12 13:53:19'::timestamp) - extract(epoch from '2026-06-12 13:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025262 -2.832745)', '2026-06-12 13:53:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.832743)'), GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.832745)'))) / (select extract(epoch from '2026-06-12 13:53:36'::timestamp) - extract(epoch from '2026-06-12 13:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.832743)'), GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.832745)'))) / (select extract(epoch from '2026-06-12 13:53:36'::timestamp) - extract(epoch from '2026-06-12 13:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025322 -2.832754)', '2026-06-12 13:53:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.832745)'), GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.832754)'))) / (select extract(epoch from '2026-06-12 13:53:53'::timestamp) - extract(epoch from '2026-06-12 13:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025262 -2.832745)'), GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.832754)'))) / (select extract(epoch from '2026-06-12 13:53:53'::timestamp) - extract(epoch from '2026-06-12 13:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025392 -2.832763)', '2026-06-12 13:54:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.832754)'), GeomFromEWKT('SRID=4674;POINT (-40.025392 -2.832763)'))) / (select extract(epoch from '2026-06-12 13:54:13'::timestamp) - extract(epoch from '2026-06-12 13:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.832754)'), GeomFromEWKT('SRID=4674;POINT (-40.025392 -2.832763)'))) / (select extract(epoch from '2026-06-12 13:54:13'::timestamp) - extract(epoch from '2026-06-12 13:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025469 -2.832758)', '2026-06-12 13:54:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025392 -2.832763)'), GeomFromEWKT('SRID=4674;POINT (-40.025469 -2.832758)'))) / (select extract(epoch from '2026-06-12 13:54:31'::timestamp) - extract(epoch from '2026-06-12 13:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025392 -2.832763)'), GeomFromEWKT('SRID=4674;POINT (-40.025469 -2.832758)'))) / (select extract(epoch from '2026-06-12 13:54:31'::timestamp) - extract(epoch from '2026-06-12 13:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.025529 -2.832756)', '2026-06-12 13:54:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025469 -2.832758)'), GeomFromEWKT('SRID=4674;POINT (-40.025529 -2.832756)'))) / (select extract(epoch from '2026-06-12 13:54:46'::timestamp) - extract(epoch from '2026-06-12 13:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025469 -2.832758)'), GeomFromEWKT('SRID=4674;POINT (-40.025529 -2.832756)'))) / (select extract(epoch from '2026-06-12 13:54:46'::timestamp) - extract(epoch from '2026-06-12 13:54: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'), 46699, 'SRID=4674;POINT (-40.025617 -2.832729)', '2026-06-12 13:55:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025529 -2.832756)'), GeomFromEWKT('SRID=4674;POINT (-40.025617 -2.832729)'))) / (select extract(epoch from '2026-06-12 13:55:05'::timestamp) - extract(epoch from '2026-06-12 13:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025529 -2.832756)'), GeomFromEWKT('SRID=4674;POINT (-40.025617 -2.832729)'))) / (select extract(epoch from '2026-06-12 13:55:05'::timestamp) - extract(epoch from '2026-06-12 13:54: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'), 46699, 'SRID=4674;POINT (-40.025674 -2.832737)', '2026-06-12 13:55:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025617 -2.832729)'), GeomFromEWKT('SRID=4674;POINT (-40.025674 -2.832737)'))) / (select extract(epoch from '2026-06-12 13:55:21'::timestamp) - extract(epoch from '2026-06-12 13:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025617 -2.832729)'), GeomFromEWKT('SRID=4674;POINT (-40.025674 -2.832737)'))) / (select extract(epoch from '2026-06-12 13:55:21'::timestamp) - extract(epoch from '2026-06-12 13:55: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'), 46699, 'SRID=4674;POINT (-40.025752 -2.832733)', '2026-06-12 13:55:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025674 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.832733)'))) / (select extract(epoch from '2026-06-12 13:55:39'::timestamp) - extract(epoch from '2026-06-12 13:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025674 -2.832737)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.832733)'))) / (select extract(epoch from '2026-06-12 13:55:39'::timestamp) - extract(epoch from '2026-06-12 13:55: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'), 46699, 'SRID=4674;POINT (-40.025838 -2.832725)', '2026-06-12 13:55:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.832733)'), GeomFromEWKT('SRID=4674;POINT (-40.025838 -2.832725)'))) / (select extract(epoch from '2026-06-12 13:55:59'::timestamp) - extract(epoch from '2026-06-12 13:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.832733)'), GeomFromEWKT('SRID=4674;POINT (-40.025838 -2.832725)'))) / (select extract(epoch from '2026-06-12 13:55:59'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.025896 -2.832724)', '2026-06-12 13:56:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025838 -2.832725)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.832724)'))) / (select extract(epoch from '2026-06-12 13:56:15'::timestamp) - extract(epoch from '2026-06-12 13:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025838 -2.832725)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.832724)'))) / (select extract(epoch from '2026-06-12 13:56:15'::timestamp) - extract(epoch from '2026-06-12 13:55: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'), 46699, 'SRID=4674;POINT (-40.025969 -2.832716)', '2026-06-12 13:56:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.832724)'), GeomFromEWKT('SRID=4674;POINT (-40.025969 -2.832716)'))) / (select extract(epoch from '2026-06-12 13:56:34'::timestamp) - extract(epoch from '2026-06-12 13:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.832724)'), GeomFromEWKT('SRID=4674;POINT (-40.025969 -2.832716)'))) / (select extract(epoch from '2026-06-12 13:56:34'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.02603 -2.832723)', '2026-06-12 13:56:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025969 -2.832716)'), GeomFromEWKT('SRID=4674;POINT (-40.02603 -2.832723)'))) / (select extract(epoch from '2026-06-12 13:56:50'::timestamp) - extract(epoch from '2026-06-12 13:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025969 -2.832716)'), GeomFromEWKT('SRID=4674;POINT (-40.02603 -2.832723)'))) / (select extract(epoch from '2026-06-12 13:56:50'::timestamp) - extract(epoch from '2026-06-12 13:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
