 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030052 -2.804357)', '2026-06-12 08:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804354)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:36:45'::timestamp) - extract(epoch from '2026-06-12 08:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804354)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:36:45'::timestamp) - extract(epoch from '2026-06-12 08:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030052 -2.804357)', '2026-06-12 08:38:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:38:11'::timestamp) - extract(epoch from '2026-06-12 08:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:38:11'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030061 -2.804368)', '2026-06-12 08:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804368)'))) / (select extract(epoch from '2026-06-12 08:39:31'::timestamp) - extract(epoch from '2026-06-12 08:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804368)'))) / (select extract(epoch from '2026-06-12 08:39:31'::timestamp) - extract(epoch from '2026-06-12 08:38: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'), 46702, 'SRID=4674;POINT (-40.030059 -2.804368)', '2026-06-12 08:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804368)'), GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.804368)'))) / (select extract(epoch from '2026-06-12 08:40:40'::timestamp) - extract(epoch from '2026-06-12 08:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804368)'), GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.804368)'))) / (select extract(epoch from '2026-06-12 08:40:40'::timestamp) - extract(epoch from '2026-06-12 08:39: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'), 46702, 'SRID=4674;POINT (-40.030049 -2.804357)', '2026-06-12 08:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.804368)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:42:08'::timestamp) - extract(epoch from '2026-06-12 08:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.804368)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804357)'))) / (select extract(epoch from '2026-06-12 08:42:08'::timestamp) - extract(epoch from '2026-06-12 08:40: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'), 46702, 'SRID=4674;POINT (-40.030049 -2.804349)', '2026-06-12 08:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804349)'))) / (select extract(epoch from '2026-06-12 08:43:04'::timestamp) - extract(epoch from '2026-06-12 08:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804357)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804349)'))) / (select extract(epoch from '2026-06-12 08:43:04'::timestamp) - extract(epoch from '2026-06-12 08:42: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'), 46702, 'SRID=4674;POINT (-40.03007 -2.804381)', '2026-06-12 08:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.03007 -2.804381)'))) / (select extract(epoch from '2026-06-12 08:43:52'::timestamp) - extract(epoch from '2026-06-12 08:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.03007 -2.804381)'))) / (select extract(epoch from '2026-06-12 08:43:52'::timestamp) - extract(epoch from '2026-06-12 08:43: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'), 46702, 'SRID=4674;POINT (-40.030024 -2.804378)', '2026-06-12 08:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03007 -2.804381)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804378)'))) / (select extract(epoch from '2026-06-12 08:44:16'::timestamp) - extract(epoch from '2026-06-12 08:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03007 -2.804381)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804378)'))) / (select extract(epoch from '2026-06-12 08:44:16'::timestamp) - extract(epoch from '2026-06-12 08:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029957 -2.804416)', '2026-06-12 08:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.029957 -2.804416)'))) / (select extract(epoch from '2026-06-12 08:44:23'::timestamp) - extract(epoch from '2026-06-12 08:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.029957 -2.804416)'))) / (select extract(epoch from '2026-06-12 08:44:23'::timestamp) - extract(epoch from '2026-06-12 08:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029893 -2.80449)', '2026-06-12 08:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029957 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.80449)'))) / (select extract(epoch from '2026-06-12 08:44:32'::timestamp) - extract(epoch from '2026-06-12 08:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029957 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.80449)'))) / (select extract(epoch from '2026-06-12 08:44:32'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.02988 -2.804499)', '2026-06-12 08:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.804499)'))) / (select extract(epoch from '2026-06-12 08:44:34'::timestamp) - extract(epoch from '2026-06-12 08:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.804499)'))) / (select extract(epoch from '2026-06-12 08:44:34'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02985 -2.804508)', '2026-06-12 08:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.02985 -2.804508)'))) / (select extract(epoch from '2026-06-12 08:44:38'::timestamp) - extract(epoch from '2026-06-12 08:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.02985 -2.804508)'))) / (select extract(epoch from '2026-06-12 08:44:38'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.02981 -2.804483)', '2026-06-12 08:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02985 -2.804508)'), GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.804483)'))) / (select extract(epoch from '2026-06-12 08:44:45'::timestamp) - extract(epoch from '2026-06-12 08:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02985 -2.804508)'), GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.804483)'))) / (select extract(epoch from '2026-06-12 08:44:45'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.029799 -2.80443)', '2026-06-12 08:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.029799 -2.80443)'))) / (select extract(epoch from '2026-06-12 08:44:51'::timestamp) - extract(epoch from '2026-06-12 08:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.029799 -2.80443)'))) / (select extract(epoch from '2026-06-12 08:44:51'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.029803 -2.804404)', '2026-06-12 08:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029799 -2.80443)'), GeomFromEWKT('SRID=4674;POINT (-40.029803 -2.804404)'))) / (select extract(epoch from '2026-06-12 08:44:53'::timestamp) - extract(epoch from '2026-06-12 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029799 -2.80443)'), GeomFromEWKT('SRID=4674;POINT (-40.029803 -2.804404)'))) / (select extract(epoch from '2026-06-12 08:44:53'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.029808 -2.804391)', '2026-06-12 08:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029803 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.029808 -2.804391)'))) / (select extract(epoch from '2026-06-12 08:44:54'::timestamp) - extract(epoch from '2026-06-12 08:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029803 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.029808 -2.804391)'))) / (select extract(epoch from '2026-06-12 08:44:54'::timestamp) - extract(epoch from '2026-06-12 08:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029832 -2.80434)', '2026-06-12 08:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029808 -2.804391)'), GeomFromEWKT('SRID=4674;POINT (-40.029832 -2.80434)'))) / (select extract(epoch from '2026-06-12 08:44:58'::timestamp) - extract(epoch from '2026-06-12 08:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029808 -2.804391)'), GeomFromEWKT('SRID=4674;POINT (-40.029832 -2.80434)'))) / (select extract(epoch from '2026-06-12 08:44:58'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.02992 -2.804239)', '2026-06-12 08:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029832 -2.80434)'), GeomFromEWKT('SRID=4674;POINT (-40.02992 -2.804239)'))) / (select extract(epoch from '2026-06-12 08:45:06'::timestamp) - extract(epoch from '2026-06-12 08:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029832 -2.80434)'), GeomFromEWKT('SRID=4674;POINT (-40.02992 -2.804239)'))) / (select extract(epoch from '2026-06-12 08:45:06'::timestamp) - extract(epoch from '2026-06-12 08:44: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'), 46702, 'SRID=4674;POINT (-40.030027 -2.804123)', '2026-06-12 08:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02992 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804123)'))) / (select extract(epoch from '2026-06-12 08:45:14'::timestamp) - extract(epoch from '2026-06-12 08:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02992 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804123)'))) / (select extract(epoch from '2026-06-12 08:45:14'::timestamp) - extract(epoch from '2026-06-12 08:45: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'), 46702, 'SRID=4674;POINT (-40.030012 -2.804036)', '2026-06-12 08:45:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804123)'), GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804036)'))) / (select extract(epoch from '2026-06-12 08:45:20'::timestamp) - extract(epoch from '2026-06-12 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804123)'), GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804036)'))) / (select extract(epoch from '2026-06-12 08:45:20'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02993 -2.803966)', '2026-06-12 08:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.803966)'))) / (select extract(epoch from '2026-06-12 08:45:27'::timestamp) - extract(epoch from '2026-06-12 08:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.803966)'))) / (select extract(epoch from '2026-06-12 08:45:27'::timestamp) - extract(epoch from '2026-06-12 08:45: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'), 46702, 'SRID=4674;POINT (-40.02981 -2.803906)', '2026-06-12 08:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.803966)'), GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.803906)'))) / (select extract(epoch from '2026-06-12 08:45:35'::timestamp) - extract(epoch from '2026-06-12 08:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.803966)'), GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.803906)'))) / (select extract(epoch from '2026-06-12 08:45:35'::timestamp) - extract(epoch from '2026-06-12 08:45: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'), 46702, 'SRID=4674;POINT (-40.029696 -2.803805)', '2026-06-12 08:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.803906)'), GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.803805)'))) / (select extract(epoch from '2026-06-12 08:45:44'::timestamp) - extract(epoch from '2026-06-12 08:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02981 -2.803906)'), GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.803805)'))) / (select extract(epoch from '2026-06-12 08:45:44'::timestamp) - extract(epoch from '2026-06-12 08:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029654 -2.803719)', '2026-06-12 08:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.803805)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.803719)'))) / (select extract(epoch from '2026-06-12 08:45:49'::timestamp) - extract(epoch from '2026-06-12 08:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.803805)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.803719)'))) / (select extract(epoch from '2026-06-12 08:45:49'::timestamp) - extract(epoch from '2026-06-12 08:45: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'), 46702, 'SRID=4674;POINT (-40.02962 -2.803576)', '2026-06-12 08:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.803719)'), GeomFromEWKT('SRID=4674;POINT (-40.02962 -2.803576)'))) / (select extract(epoch from '2026-06-12 08:45:57'::timestamp) - extract(epoch from '2026-06-12 08:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.803719)'), GeomFromEWKT('SRID=4674;POINT (-40.02962 -2.803576)'))) / (select extract(epoch from '2026-06-12 08:45:57'::timestamp) - extract(epoch from '2026-06-12 08:45: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'), 46702, 'SRID=4674;POINT (-40.029601 -2.803434)', '2026-06-12 08:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02962 -2.803576)'), GeomFromEWKT('SRID=4674;POINT (-40.029601 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:46:05'::timestamp) - extract(epoch from '2026-06-12 08:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02962 -2.803576)'), GeomFromEWKT('SRID=4674;POINT (-40.029601 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:46:05'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029564 -2.803255)', '2026-06-12 08:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029601 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.029564 -2.803255)'))) / (select extract(epoch from '2026-06-12 08:46:15'::timestamp) - extract(epoch from '2026-06-12 08:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029601 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.029564 -2.803255)'))) / (select extract(epoch from '2026-06-12 08:46:15'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029547 -2.803145)', '2026-06-12 08:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029564 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.029547 -2.803145)'))) / (select extract(epoch from '2026-06-12 08:46:21'::timestamp) - extract(epoch from '2026-06-12 08:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029564 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.029547 -2.803145)'))) / (select extract(epoch from '2026-06-12 08:46:21'::timestamp) - extract(epoch from '2026-06-12 08:46:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029537 -2.802972)', '2026-06-12 08:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029547 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.029537 -2.802972)'))) / (select extract(epoch from '2026-06-12 08:46:30'::timestamp) - extract(epoch from '2026-06-12 08:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029547 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.029537 -2.802972)'))) / (select extract(epoch from '2026-06-12 08:46:30'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029493 -2.802813)', '2026-06-12 08:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029537 -2.802972)'), GeomFromEWKT('SRID=4674;POINT (-40.029493 -2.802813)'))) / (select extract(epoch from '2026-06-12 08:46:40'::timestamp) - extract(epoch from '2026-06-12 08:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029537 -2.802972)'), GeomFromEWKT('SRID=4674;POINT (-40.029493 -2.802813)'))) / (select extract(epoch from '2026-06-12 08:46:40'::timestamp) - extract(epoch from '2026-06-12 08:46: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'), 46702, 'SRID=4674;POINT (-40.029453 -2.802695)', '2026-06-12 08:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029493 -2.802813)'), GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.802695)'))) / (select extract(epoch from '2026-06-12 08:46:47'::timestamp) - extract(epoch from '2026-06-12 08:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029493 -2.802813)'), GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.802695)'))) / (select extract(epoch from '2026-06-12 08:46:47'::timestamp) - extract(epoch from '2026-06-12 08:46: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'), 46702, 'SRID=4674;POINT (-40.029422 -2.802574)', '2026-06-12 08:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.802695)'), GeomFromEWKT('SRID=4674;POINT (-40.029422 -2.802574)'))) / (select extract(epoch from '2026-06-12 08:46:54'::timestamp) - extract(epoch from '2026-06-12 08:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.802695)'), GeomFromEWKT('SRID=4674;POINT (-40.029422 -2.802574)'))) / (select extract(epoch from '2026-06-12 08:46:54'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029384 -2.802394)', '2026-06-12 08:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029422 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.029384 -2.802394)'))) / (select extract(epoch from '2026-06-12 08:47:04'::timestamp) - extract(epoch from '2026-06-12 08:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029422 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.029384 -2.802394)'))) / (select extract(epoch from '2026-06-12 08:47:04'::timestamp) - extract(epoch from '2026-06-12 08:46: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'), 46702, 'SRID=4674;POINT (-40.029338 -2.802242)', '2026-06-12 08:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029384 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.029338 -2.802242)'))) / (select extract(epoch from '2026-06-12 08:47:13'::timestamp) - extract(epoch from '2026-06-12 08:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029384 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.029338 -2.802242)'))) / (select extract(epoch from '2026-06-12 08:47:13'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.029261 -2.802044)', '2026-06-12 08:47:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029338 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.802044)'))) / (select extract(epoch from '2026-06-12 08:47:25'::timestamp) - extract(epoch from '2026-06-12 08:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029338 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.802044)'))) / (select extract(epoch from '2026-06-12 08:47:25'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02921 -2.8019)', '2026-06-12 08:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.02921 -2.8019)'))) / (select extract(epoch from '2026-06-12 08:47:34'::timestamp) - extract(epoch from '2026-06-12 08:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.02921 -2.8019)'))) / (select extract(epoch from '2026-06-12 08:47:34'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.029158 -2.80175)', '2026-06-12 08:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02921 -2.8019)'), GeomFromEWKT('SRID=4674;POINT (-40.029158 -2.80175)'))) / (select extract(epoch from '2026-06-12 08:47:43'::timestamp) - extract(epoch from '2026-06-12 08:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02921 -2.8019)'), GeomFromEWKT('SRID=4674;POINT (-40.029158 -2.80175)'))) / (select extract(epoch from '2026-06-12 08:47:43'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.029106 -2.801639)', '2026-06-12 08:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029158 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.029106 -2.801639)'))) / (select extract(epoch from '2026-06-12 08:47:50'::timestamp) - extract(epoch from '2026-06-12 08:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029158 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.029106 -2.801639)'))) / (select extract(epoch from '2026-06-12 08:47:50'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.029047 -2.801512)', '2026-06-12 08:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029106 -2.801639)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.801512)'))) / (select extract(epoch from '2026-06-12 08:47:58'::timestamp) - extract(epoch from '2026-06-12 08:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029106 -2.801639)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.801512)'))) / (select extract(epoch from '2026-06-12 08:47:58'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.02898 -2.801366)', '2026-06-12 08:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.801366)'))) / (select extract(epoch from '2026-06-12 08:48:07'::timestamp) - extract(epoch from '2026-06-12 08:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.801366)'))) / (select extract(epoch from '2026-06-12 08:48:07'::timestamp) - extract(epoch from '2026-06-12 08:47: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'), 46702, 'SRID=4674;POINT (-40.028916 -2.801173)', '2026-06-12 08:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.028916 -2.801173)'))) / (select extract(epoch from '2026-06-12 08:48:18'::timestamp) - extract(epoch from '2026-06-12 08:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02898 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.028916 -2.801173)'))) / (select extract(epoch from '2026-06-12 08:48:18'::timestamp) - extract(epoch from '2026-06-12 08:48: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'), 46702, 'SRID=4674;POINT (-40.028868 -2.800994)', '2026-06-12 08:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028916 -2.801173)'), GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.800994)'))) / (select extract(epoch from '2026-06-12 08:48:28'::timestamp) - extract(epoch from '2026-06-12 08:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028916 -2.801173)'), GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.800994)'))) / (select extract(epoch from '2026-06-12 08:48:28'::timestamp) - extract(epoch from '2026-06-12 08:48: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'), 46702, 'SRID=4674;POINT (-40.028808 -2.800824)', '2026-06-12 08:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.800994)'), GeomFromEWKT('SRID=4674;POINT (-40.028808 -2.800824)'))) / (select extract(epoch from '2026-06-12 08:48:38'::timestamp) - extract(epoch from '2026-06-12 08:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.800994)'), GeomFromEWKT('SRID=4674;POINT (-40.028808 -2.800824)'))) / (select extract(epoch from '2026-06-12 08:48:38'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.028735 -2.800679)', '2026-06-12 08:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028808 -2.800824)'), GeomFromEWKT('SRID=4674;POINT (-40.028735 -2.800679)'))) / (select extract(epoch from '2026-06-12 08:48:47'::timestamp) - extract(epoch from '2026-06-12 08:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028808 -2.800824)'), GeomFromEWKT('SRID=4674;POINT (-40.028735 -2.800679)'))) / (select extract(epoch from '2026-06-12 08:48:47'::timestamp) - extract(epoch from '2026-06-12 08:48: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'), 46702, 'SRID=4674;POINT (-40.028676 -2.800549)', '2026-06-12 08:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028735 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.028676 -2.800549)'))) / (select extract(epoch from '2026-06-12 08:48:55'::timestamp) - extract(epoch from '2026-06-12 08:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028735 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.028676 -2.800549)'))) / (select extract(epoch from '2026-06-12 08:48:55'::timestamp) - extract(epoch from '2026-06-12 08:48: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'), 46702, 'SRID=4674;POINT (-40.028615 -2.800422)', '2026-06-12 08:49:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028676 -2.800549)'), GeomFromEWKT('SRID=4674;POINT (-40.028615 -2.800422)'))) / (select extract(epoch from '2026-06-12 08:49:03'::timestamp) - extract(epoch from '2026-06-12 08:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028676 -2.800549)'), GeomFromEWKT('SRID=4674;POINT (-40.028615 -2.800422)'))) / (select extract(epoch from '2026-06-12 08:49:03'::timestamp) - extract(epoch from '2026-06-12 08:48: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'), 46702, 'SRID=4674;POINT (-40.028541 -2.800304)', '2026-06-12 08:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028615 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.028541 -2.800304)'))) / (select extract(epoch from '2026-06-12 08:49:10'::timestamp) - extract(epoch from '2026-06-12 08:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028615 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.028541 -2.800304)'))) / (select extract(epoch from '2026-06-12 08:49:10'::timestamp) - extract(epoch from '2026-06-12 08:49: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'), 46702, 'SRID=4674;POINT (-40.028478 -2.800169)', '2026-06-12 08:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028541 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.800169)'))) / (select extract(epoch from '2026-06-12 08:49:18'::timestamp) - extract(epoch from '2026-06-12 08:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028541 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.800169)'))) / (select extract(epoch from '2026-06-12 08:49:18'::timestamp) - extract(epoch from '2026-06-12 08:49: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'), 46702, 'SRID=4674;POINT (-40.028425 -2.799999)', '2026-06-12 08:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.800169)'), GeomFromEWKT('SRID=4674;POINT (-40.028425 -2.799999)'))) / (select extract(epoch from '2026-06-12 08:49:27'::timestamp) - extract(epoch from '2026-06-12 08:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.800169)'), GeomFromEWKT('SRID=4674;POINT (-40.028425 -2.799999)'))) / (select extract(epoch from '2026-06-12 08:49:27'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.028368 -2.79984)', '2026-06-12 08:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028425 -2.799999)'), GeomFromEWKT('SRID=4674;POINT (-40.028368 -2.79984)'))) / (select extract(epoch from '2026-06-12 08:49:36'::timestamp) - extract(epoch from '2026-06-12 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028425 -2.799999)'), GeomFromEWKT('SRID=4674;POINT (-40.028368 -2.79984)'))) / (select extract(epoch from '2026-06-12 08:49:36'::timestamp) - extract(epoch from '2026-06-12 08:49: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'), 46702, 'SRID=4674;POINT (-40.028292 -2.799692)', '2026-06-12 08:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028368 -2.79984)'), GeomFromEWKT('SRID=4674;POINT (-40.028292 -2.799692)'))) / (select extract(epoch from '2026-06-12 08:49:45'::timestamp) - extract(epoch from '2026-06-12 08:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028368 -2.79984)'), GeomFromEWKT('SRID=4674;POINT (-40.028292 -2.799692)'))) / (select extract(epoch from '2026-06-12 08:49:45'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.028168 -2.79953)', '2026-06-12 08:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028292 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.028168 -2.79953)'))) / (select extract(epoch from '2026-06-12 08:49:56'::timestamp) - extract(epoch from '2026-06-12 08:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028292 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.028168 -2.79953)'))) / (select extract(epoch from '2026-06-12 08:49:56'::timestamp) - extract(epoch from '2026-06-12 08:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028063 -2.7994)', '2026-06-12 08:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028168 -2.79953)'), GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.7994)'))) / (select extract(epoch from '2026-06-12 08:50:05'::timestamp) - extract(epoch from '2026-06-12 08:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028168 -2.79953)'), GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.7994)'))) / (select extract(epoch from '2026-06-12 08:50:05'::timestamp) - extract(epoch from '2026-06-12 08:49: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'), 46702, 'SRID=4674;POINT (-40.02797 -2.799272)', '2026-06-12 08:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.02797 -2.799272)'))) / (select extract(epoch from '2026-06-12 08:50:14'::timestamp) - extract(epoch from '2026-06-12 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.02797 -2.799272)'))) / (select extract(epoch from '2026-06-12 08:50:14'::timestamp) - extract(epoch from '2026-06-12 08:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.0279 -2.799121)', '2026-06-12 08:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02797 -2.799272)'), GeomFromEWKT('SRID=4674;POINT (-40.0279 -2.799121)'))) / (select extract(epoch from '2026-06-12 08:50:23'::timestamp) - extract(epoch from '2026-06-12 08:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02797 -2.799272)'), GeomFromEWKT('SRID=4674;POINT (-40.0279 -2.799121)'))) / (select extract(epoch from '2026-06-12 08:50:23'::timestamp) - extract(epoch from '2026-06-12 08:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027822 -2.798974)', '2026-06-12 08:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0279 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.027822 -2.798974)'))) / (select extract(epoch from '2026-06-12 08:50:32'::timestamp) - extract(epoch from '2026-06-12 08:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0279 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.027822 -2.798974)'))) / (select extract(epoch from '2026-06-12 08:50:32'::timestamp) - extract(epoch from '2026-06-12 08:50: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'), 46702, 'SRID=4674;POINT (-40.027781 -2.798849)', '2026-06-12 08:50:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027822 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.027781 -2.798849)'))) / (select extract(epoch from '2026-06-12 08:50:39'::timestamp) - extract(epoch from '2026-06-12 08:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027822 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.027781 -2.798849)'))) / (select extract(epoch from '2026-06-12 08:50:39'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02773 -2.798709)', '2026-06-12 08:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027781 -2.798849)'), GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.798709)'))) / (select extract(epoch from '2026-06-12 08:50:47'::timestamp) - extract(epoch from '2026-06-12 08:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027781 -2.798849)'), GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.798709)'))) / (select extract(epoch from '2026-06-12 08:50:47'::timestamp) - extract(epoch from '2026-06-12 08:50: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'), 46702, 'SRID=4674;POINT (-40.027625 -2.798529)', '2026-06-12 08:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.027625 -2.798529)'))) / (select extract(epoch from '2026-06-12 08:50:58'::timestamp) - extract(epoch from '2026-06-12 08:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.027625 -2.798529)'))) / (select extract(epoch from '2026-06-12 08:50:58'::timestamp) - extract(epoch from '2026-06-12 08:50: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'), 46702, 'SRID=4674;POINT (-40.027548 -2.798409)', '2026-06-12 08:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027625 -2.798529)'), GeomFromEWKT('SRID=4674;POINT (-40.027548 -2.798409)'))) / (select extract(epoch from '2026-06-12 08:51:06'::timestamp) - extract(epoch from '2026-06-12 08:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027625 -2.798529)'), GeomFromEWKT('SRID=4674;POINT (-40.027548 -2.798409)'))) / (select extract(epoch from '2026-06-12 08:51:06'::timestamp) - extract(epoch from '2026-06-12 08:50: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'), 46702, 'SRID=4674;POINT (-40.027464 -2.798271)', '2026-06-12 08:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027548 -2.798409)'), GeomFromEWKT('SRID=4674;POINT (-40.027464 -2.798271)'))) / (select extract(epoch from '2026-06-12 08:51:15'::timestamp) - extract(epoch from '2026-06-12 08:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027548 -2.798409)'), GeomFromEWKT('SRID=4674;POINT (-40.027464 -2.798271)'))) / (select extract(epoch from '2026-06-12 08:51:15'::timestamp) - extract(epoch from '2026-06-12 08:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027396 -2.798111)', '2026-06-12 08:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027464 -2.798271)'), GeomFromEWKT('SRID=4674;POINT (-40.027396 -2.798111)'))) / (select extract(epoch from '2026-06-12 08:51:24'::timestamp) - extract(epoch from '2026-06-12 08:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027464 -2.798271)'), GeomFromEWKT('SRID=4674;POINT (-40.027396 -2.798111)'))) / (select extract(epoch from '2026-06-12 08:51:24'::timestamp) - extract(epoch from '2026-06-12 08:51: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'), 46702, 'SRID=4674;POINT (-40.027356 -2.797992)', '2026-06-12 08:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027396 -2.798111)'), GeomFromEWKT('SRID=4674;POINT (-40.027356 -2.797992)'))) / (select extract(epoch from '2026-06-12 08:51:31'::timestamp) - extract(epoch from '2026-06-12 08:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027396 -2.798111)'), GeomFromEWKT('SRID=4674;POINT (-40.027356 -2.797992)'))) / (select extract(epoch from '2026-06-12 08:51:31'::timestamp) - extract(epoch from '2026-06-12 08:51: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'), 46702, 'SRID=4674;POINT (-40.027304 -2.79784)', '2026-06-12 08:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027356 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.027304 -2.79784)'))) / (select extract(epoch from '2026-06-12 08:51:40'::timestamp) - extract(epoch from '2026-06-12 08:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027356 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.027304 -2.79784)'))) / (select extract(epoch from '2026-06-12 08:51:40'::timestamp) - extract(epoch from '2026-06-12 08:51: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'), 46702, 'SRID=4674;POINT (-40.027273 -2.797721)', '2026-06-12 08:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027304 -2.79784)'), GeomFromEWKT('SRID=4674;POINT (-40.027273 -2.797721)'))) / (select extract(epoch from '2026-06-12 08:51:47'::timestamp) - extract(epoch from '2026-06-12 08:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027304 -2.79784)'), GeomFromEWKT('SRID=4674;POINT (-40.027273 -2.797721)'))) / (select extract(epoch from '2026-06-12 08:51:47'::timestamp) - extract(epoch from '2026-06-12 08:51: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'), 46702, 'SRID=4674;POINT (-40.027222 -2.79761)', '2026-06-12 08:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027273 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.027222 -2.79761)'))) / (select extract(epoch from '2026-06-12 08:51:54'::timestamp) - extract(epoch from '2026-06-12 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027273 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.027222 -2.79761)'))) / (select extract(epoch from '2026-06-12 08:51:54'::timestamp) - extract(epoch from '2026-06-12 08:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027158 -2.797505)', '2026-06-12 08:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027222 -2.79761)'), GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.797505)'))) / (select extract(epoch from '2026-06-12 08:52:01'::timestamp) - extract(epoch from '2026-06-12 08:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027222 -2.79761)'), GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.797505)'))) / (select extract(epoch from '2026-06-12 08:52:01'::timestamp) - extract(epoch from '2026-06-12 08:51: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'), 46702, 'SRID=4674;POINT (-40.027086 -2.797377)', '2026-06-12 08:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.027086 -2.797377)'))) / (select extract(epoch from '2026-06-12 08:52:10'::timestamp) - extract(epoch from '2026-06-12 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.027086 -2.797377)'))) / (select extract(epoch from '2026-06-12 08:52:10'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.027005 -2.797254)', '2026-06-12 08:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027086 -2.797377)'), GeomFromEWKT('SRID=4674;POINT (-40.027005 -2.797254)'))) / (select extract(epoch from '2026-06-12 08:52:19'::timestamp) - extract(epoch from '2026-06-12 08:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027086 -2.797377)'), GeomFromEWKT('SRID=4674;POINT (-40.027005 -2.797254)'))) / (select extract(epoch from '2026-06-12 08:52:19'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.026944 -2.797151)', '2026-06-12 08:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027005 -2.797254)'), GeomFromEWKT('SRID=4674;POINT (-40.026944 -2.797151)'))) / (select extract(epoch from '2026-06-12 08:52:26'::timestamp) - extract(epoch from '2026-06-12 08:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027005 -2.797254)'), GeomFromEWKT('SRID=4674;POINT (-40.026944 -2.797151)'))) / (select extract(epoch from '2026-06-12 08:52:26'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026879 -2.797039)', '2026-06-12 08:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026944 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.026879 -2.797039)'))) / (select extract(epoch from '2026-06-12 08:52:34'::timestamp) - extract(epoch from '2026-06-12 08:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026944 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.026879 -2.797039)'))) / (select extract(epoch from '2026-06-12 08:52:34'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026802 -2.796911)', '2026-06-12 08:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026879 -2.797039)'), GeomFromEWKT('SRID=4674;POINT (-40.026802 -2.796911)'))) / (select extract(epoch from '2026-06-12 08:52:43'::timestamp) - extract(epoch from '2026-06-12 08:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026879 -2.797039)'), GeomFromEWKT('SRID=4674;POINT (-40.026802 -2.796911)'))) / (select extract(epoch from '2026-06-12 08:52:43'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026724 -2.796771)', '2026-06-12 08:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026802 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.796771)'))) / (select extract(epoch from '2026-06-12 08:52:52'::timestamp) - extract(epoch from '2026-06-12 08:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026802 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.796771)'))) / (select extract(epoch from '2026-06-12 08:52:52'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026663 -2.796669)', '2026-06-12 08:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.026663 -2.796669)'))) / (select extract(epoch from '2026-06-12 08:52:59'::timestamp) - extract(epoch from '2026-06-12 08:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026724 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.026663 -2.796669)'))) / (select extract(epoch from '2026-06-12 08:52:59'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026587 -2.796576)', '2026-06-12 08:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026663 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.026587 -2.796576)'))) / (select extract(epoch from '2026-06-12 08:53:06'::timestamp) - extract(epoch from '2026-06-12 08:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026663 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.026587 -2.796576)'))) / (select extract(epoch from '2026-06-12 08:53:06'::timestamp) - extract(epoch from '2026-06-12 08:52: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'), 46702, 'SRID=4674;POINT (-40.026523 -2.796474)', '2026-06-12 08:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026587 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.026523 -2.796474)'))) / (select extract(epoch from '2026-06-12 08:53:13'::timestamp) - extract(epoch from '2026-06-12 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026587 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.026523 -2.796474)'))) / (select extract(epoch from '2026-06-12 08:53:13'::timestamp) - extract(epoch from '2026-06-12 08:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.026454 -2.796337)', '2026-06-12 08:53:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026523 -2.796474)'), GeomFromEWKT('SRID=4674;POINT (-40.026454 -2.796337)'))) / (select extract(epoch from '2026-06-12 08:53:22'::timestamp) - extract(epoch from '2026-06-12 08:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026523 -2.796474)'), GeomFromEWKT('SRID=4674;POINT (-40.026454 -2.796337)'))) / (select extract(epoch from '2026-06-12 08:53:22'::timestamp) - extract(epoch from '2026-06-12 08:53: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'), 46702, 'SRID=4674;POINT (-40.026398 -2.796216)', '2026-06-12 08:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026454 -2.796337)'), GeomFromEWKT('SRID=4674;POINT (-40.026398 -2.796216)'))) / (select extract(epoch from '2026-06-12 08:53:30'::timestamp) - extract(epoch from '2026-06-12 08:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026454 -2.796337)'), GeomFromEWKT('SRID=4674;POINT (-40.026398 -2.796216)'))) / (select extract(epoch from '2026-06-12 08:53:30'::timestamp) - extract(epoch from '2026-06-12 08:53: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'), 46702, 'SRID=4674;POINT (-40.026355 -2.796071)', '2026-06-12 08:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026398 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.026355 -2.796071)'))) / (select extract(epoch from '2026-06-12 08:53:39'::timestamp) - extract(epoch from '2026-06-12 08:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026398 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.026355 -2.796071)'))) / (select extract(epoch from '2026-06-12 08:53:39'::timestamp) - extract(epoch from '2026-06-12 08:53: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'), 46702, 'SRID=4674;POINT (-40.026318 -2.795963)', '2026-06-12 08:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026355 -2.796071)'), GeomFromEWKT('SRID=4674;POINT (-40.026318 -2.795963)'))) / (select extract(epoch from '2026-06-12 08:53:46'::timestamp) - extract(epoch from '2026-06-12 08:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026355 -2.796071)'), GeomFromEWKT('SRID=4674;POINT (-40.026318 -2.795963)'))) / (select extract(epoch from '2026-06-12 08:53:46'::timestamp) - extract(epoch from '2026-06-12 08:53: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'), 46702, 'SRID=4674;POINT (-40.026238 -2.795845)', '2026-06-12 08:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026318 -2.795963)'), GeomFromEWKT('SRID=4674;POINT (-40.026238 -2.795845)'))) / (select extract(epoch from '2026-06-12 08:53:55'::timestamp) - extract(epoch from '2026-06-12 08:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026318 -2.795963)'), GeomFromEWKT('SRID=4674;POINT (-40.026238 -2.795845)'))) / (select extract(epoch from '2026-06-12 08:53:55'::timestamp) - extract(epoch from '2026-06-12 08:53: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'), 46702, 'SRID=4674;POINT (-40.026172 -2.795728)', '2026-06-12 08:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026238 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.026172 -2.795728)'))) / (select extract(epoch from '2026-06-12 08:54:03'::timestamp) - extract(epoch from '2026-06-12 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026238 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.026172 -2.795728)'))) / (select extract(epoch from '2026-06-12 08:54:03'::timestamp) - extract(epoch from '2026-06-12 08:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.026135 -2.795655)', '2026-06-12 08:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026172 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.026135 -2.795655)'))) / (select extract(epoch from '2026-06-12 08:54:08'::timestamp) - extract(epoch from '2026-06-12 08:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026172 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.026135 -2.795655)'))) / (select extract(epoch from '2026-06-12 08:54:08'::timestamp) - extract(epoch from '2026-06-12 08:54: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'), 46702, 'SRID=4674;POINT (-40.026119 -2.795603)', '2026-06-12 08:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026135 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.026119 -2.795603)'))) / (select extract(epoch from '2026-06-12 08:54:11'::timestamp) - extract(epoch from '2026-06-12 08:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026135 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.026119 -2.795603)'))) / (select extract(epoch from '2026-06-12 08:54:11'::timestamp) - extract(epoch from '2026-06-12 08:54: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'), 46702, 'SRID=4674;POINT (-40.026074 -2.795474)', '2026-06-12 08:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026119 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.026074 -2.795474)'))) / (select extract(epoch from '2026-06-12 08:54:19'::timestamp) - extract(epoch from '2026-06-12 08:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026119 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.026074 -2.795474)'))) / (select extract(epoch from '2026-06-12 08:54:19'::timestamp) - extract(epoch from '2026-06-12 08:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.026039 -2.795379)', '2026-06-12 08:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026074 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.026039 -2.795379)'))) / (select extract(epoch from '2026-06-12 08:54:25'::timestamp) - extract(epoch from '2026-06-12 08:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026074 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.026039 -2.795379)'))) / (select extract(epoch from '2026-06-12 08:54:25'::timestamp) - extract(epoch from '2026-06-12 08:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025978 -2.795254)', '2026-06-12 08:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026039 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.025978 -2.795254)'))) / (select extract(epoch from '2026-06-12 08:54:33'::timestamp) - extract(epoch from '2026-06-12 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026039 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.025978 -2.795254)'))) / (select extract(epoch from '2026-06-12 08:54:33'::timestamp) - extract(epoch from '2026-06-12 08:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025911 -2.795119)', '2026-06-12 08:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025978 -2.795254)'), GeomFromEWKT('SRID=4674;POINT (-40.025911 -2.795119)'))) / (select extract(epoch from '2026-06-12 08:54:42'::timestamp) - extract(epoch from '2026-06-12 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025978 -2.795254)'), GeomFromEWKT('SRID=4674;POINT (-40.025911 -2.795119)'))) / (select extract(epoch from '2026-06-12 08:54:42'::timestamp) - extract(epoch from '2026-06-12 08:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025876 -2.795003)', '2026-06-12 08:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025911 -2.795119)'), GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.795003)'))) / (select extract(epoch from '2026-06-12 08:54:49'::timestamp) - extract(epoch from '2026-06-12 08:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025911 -2.795119)'), GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.795003)'))) / (select extract(epoch from '2026-06-12 08:54:49'::timestamp) - extract(epoch from '2026-06-12 08:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025855 -2.794845)', '2026-06-12 08:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.795003)'), GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.794845)'))) / (select extract(epoch from '2026-06-12 08:54:58'::timestamp) - extract(epoch from '2026-06-12 08:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.795003)'), GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.794845)'))) / (select extract(epoch from '2026-06-12 08:54:58'::timestamp) - extract(epoch from '2026-06-12 08:54: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'), 46702, 'SRID=4674;POINT (-40.025848 -2.794697)', '2026-06-12 08:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.025848 -2.794697)'))) / (select extract(epoch from '2026-06-12 08:55:07'::timestamp) - extract(epoch from '2026-06-12 08:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025855 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.025848 -2.794697)'))) / (select extract(epoch from '2026-06-12 08:55:07'::timestamp) - extract(epoch from '2026-06-12 08:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025831 -2.7946)', '2026-06-12 08:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025848 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.7946)'))) / (select extract(epoch from '2026-06-12 08:55:14'::timestamp) - extract(epoch from '2026-06-12 08:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025848 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.7946)'))) / (select extract(epoch from '2026-06-12 08:55:14'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025763 -2.794482)', '2026-06-12 08:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.7946)'), GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.794482)'))) / (select extract(epoch from '2026-06-12 08:55:23'::timestamp) - extract(epoch from '2026-06-12 08:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.7946)'), GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.794482)'))) / (select extract(epoch from '2026-06-12 08:55:23'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02573 -2.794395)', '2026-06-12 08:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794395)'))) / (select extract(epoch from '2026-06-12 08:55:29'::timestamp) - extract(epoch from '2026-06-12 08:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794395)'))) / (select extract(epoch from '2026-06-12 08:55:29'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025733 -2.79436)', '2026-06-12 08:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794395)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.79436)'))) / (select extract(epoch from '2026-06-12 08:55:31'::timestamp) - extract(epoch from '2026-06-12 08:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794395)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.79436)'))) / (select extract(epoch from '2026-06-12 08:55:31'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025761 -2.794297)', '2026-06-12 08:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.79436)'), GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794297)'))) / (select extract(epoch from '2026-06-12 08:55:35'::timestamp) - extract(epoch from '2026-06-12 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.79436)'), GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794297)'))) / (select extract(epoch from '2026-06-12 08:55:35'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.025766 -2.79419)', '2026-06-12 08:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794297)'), GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.79419)'))) / (select extract(epoch from '2026-06-12 08:55:42'::timestamp) - extract(epoch from '2026-06-12 08:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794297)'), GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.79419)'))) / (select extract(epoch from '2026-06-12 08:55:42'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025761 -2.794164)', '2026-06-12 08:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794164)'))) / (select extract(epoch from '2026-06-12 08:55:44'::timestamp) - extract(epoch from '2026-06-12 08:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794164)'))) / (select extract(epoch from '2026-06-12 08:55:44'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025747 -2.794126)', '2026-06-12 08:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.025747 -2.794126)'))) / (select extract(epoch from '2026-06-12 08:55:47'::timestamp) - extract(epoch from '2026-06-12 08:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025761 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.025747 -2.794126)'))) / (select extract(epoch from '2026-06-12 08:55:47'::timestamp) - extract(epoch from '2026-06-12 08:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02573 -2.794053)', '2026-06-12 08:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025747 -2.794126)'), GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794053)'))) / (select extract(epoch from '2026-06-12 08:55:53'::timestamp) - extract(epoch from '2026-06-12 08:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025747 -2.794126)'), GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794053)'))) / (select extract(epoch from '2026-06-12 08:55:53'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025733 -2.794042)', '2026-06-12 08:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794053)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794042)'))) / (select extract(epoch from '2026-06-12 08:55:54'::timestamp) - extract(epoch from '2026-06-12 08:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02573 -2.794053)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794042)'))) / (select extract(epoch from '2026-06-12 08:55:54'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025738 -2.794031)', '2026-06-12 08:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794042)'), GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.794031)'))) / (select extract(epoch from '2026-06-12 08:55:55'::timestamp) - extract(epoch from '2026-06-12 08:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794042)'), GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.794031)'))) / (select extract(epoch from '2026-06-12 08:55:55'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025751 -2.794012)', '2026-06-12 08:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.794031)'), GeomFromEWKT('SRID=4674;POINT (-40.025751 -2.794012)'))) / (select extract(epoch from '2026-06-12 08:55:57'::timestamp) - extract(epoch from '2026-06-12 08:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.794031)'), GeomFromEWKT('SRID=4674;POINT (-40.025751 -2.794012)'))) / (select extract(epoch from '2026-06-12 08:55:57'::timestamp) - extract(epoch from '2026-06-12 08:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025762 -2.794005)', '2026-06-12 08:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025751 -2.794012)'), GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794005)'))) / (select extract(epoch from '2026-06-12 08:55:58'::timestamp) - extract(epoch from '2026-06-12 08:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025751 -2.794012)'), GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794005)'))) / (select extract(epoch from '2026-06-12 08:55:58'::timestamp) - extract(epoch from '2026-06-12 08:55: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'), 46702, 'SRID=4674;POINT (-40.025774 -2.794001)', '2026-06-12 08:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.794001)'))) / (select extract(epoch from '2026-06-12 08:55:59'::timestamp) - extract(epoch from '2026-06-12 08:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.794001)'))) / (select extract(epoch from '2026-06-12 08:55:59'::timestamp) - extract(epoch from '2026-06-12 08:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025825 -2.79398)', '2026-06-12 08:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.794001)'), GeomFromEWKT('SRID=4674;POINT (-40.025825 -2.79398)'))) / (select extract(epoch from '2026-06-12 08:56:04'::timestamp) - extract(epoch from '2026-06-12 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.794001)'), GeomFromEWKT('SRID=4674;POINT (-40.025825 -2.79398)'))) / (select extract(epoch from '2026-06-12 08:56:04'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.025833 -2.793972)', '2026-06-12 08:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025825 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793972)'))) / (select extract(epoch from '2026-06-12 08:56:05'::timestamp) - extract(epoch from '2026-06-12 08:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025825 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793972)'))) / (select extract(epoch from '2026-06-12 08:56:05'::timestamp) - extract(epoch from '2026-06-12 08:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025843 -2.793922)', '2026-06-12 08:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793972)'), GeomFromEWKT('SRID=4674;POINT (-40.025843 -2.793922)'))) / (select extract(epoch from '2026-06-12 08:56:10'::timestamp) - extract(epoch from '2026-06-12 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793972)'), GeomFromEWKT('SRID=4674;POINT (-40.025843 -2.793922)'))) / (select extract(epoch from '2026-06-12 08:56:10'::timestamp) - extract(epoch from '2026-06-12 08:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025839 -2.793914)', '2026-06-12 08:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025843 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.025839 -2.793914)'))) / (select extract(epoch from '2026-06-12 08:56:11'::timestamp) - extract(epoch from '2026-06-12 08:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025843 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.025839 -2.793914)'))) / (select extract(epoch from '2026-06-12 08:56:11'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025809 -2.793896)', '2026-06-12 08:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025839 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.025809 -2.793896)'))) / (select extract(epoch from '2026-06-12 08:56:15'::timestamp) - extract(epoch from '2026-06-12 08:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025839 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.025809 -2.793896)'))) / (select extract(epoch from '2026-06-12 08:56:15'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025792 -2.793895)', '2026-06-12 08:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025809 -2.793896)'), GeomFromEWKT('SRID=4674;POINT (-40.025792 -2.793895)'))) / (select extract(epoch from '2026-06-12 08:56:17'::timestamp) - extract(epoch from '2026-06-12 08:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025809 -2.793896)'), GeomFromEWKT('SRID=4674;POINT (-40.025792 -2.793895)'))) / (select extract(epoch from '2026-06-12 08:56:17'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.025752 -2.793914)', '2026-06-12 08:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025792 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.793914)'))) / (select extract(epoch from '2026-06-12 08:56:23'::timestamp) - extract(epoch from '2026-06-12 08:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025792 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.793914)'))) / (select extract(epoch from '2026-06-12 08:56:23'::timestamp) - extract(epoch from '2026-06-12 08:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025743 -2.79393)', '2026-06-12 08:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.025743 -2.79393)'))) / (select extract(epoch from '2026-06-12 08:56:25'::timestamp) - extract(epoch from '2026-06-12 08:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.025743 -2.79393)'))) / (select extract(epoch from '2026-06-12 08:56:25'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025739 -2.793981)', '2026-06-12 08:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025743 -2.79393)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793981)'))) / (select extract(epoch from '2026-06-12 08:56:29'::timestamp) - extract(epoch from '2026-06-12 08:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025743 -2.79393)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793981)'))) / (select extract(epoch from '2026-06-12 08:56:29'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025762 -2.794084)', '2026-06-12 08:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793981)'), GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794084)'))) / (select extract(epoch from '2026-06-12 08:56:36'::timestamp) - extract(epoch from '2026-06-12 08:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793981)'), GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794084)'))) / (select extract(epoch from '2026-06-12 08:56:36'::timestamp) - extract(epoch from '2026-06-12 08:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025775 -2.79416)', '2026-06-12 08:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794084)'), GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.79416)'))) / (select extract(epoch from '2026-06-12 08:56:44'::timestamp) - extract(epoch from '2026-06-12 08:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025762 -2.794084)'), GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.79416)'))) / (select extract(epoch from '2026-06-12 08:56:44'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025793 -2.794191)', '2026-06-12 08:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.79416)'), GeomFromEWKT('SRID=4674;POINT (-40.025793 -2.794191)'))) / (select extract(epoch from '2026-06-12 08:56:54'::timestamp) - extract(epoch from '2026-06-12 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.79416)'), GeomFromEWKT('SRID=4674;POINT (-40.025793 -2.794191)'))) / (select extract(epoch from '2026-06-12 08:56:54'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025874 -2.79419)', '2026-06-12 08:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025793 -2.794191)'), GeomFromEWKT('SRID=4674;POINT (-40.025874 -2.79419)'))) / (select extract(epoch from '2026-06-12 08:57:18'::timestamp) - extract(epoch from '2026-06-12 08:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025793 -2.794191)'), GeomFromEWKT('SRID=4674;POINT (-40.025874 -2.79419)'))) / (select extract(epoch from '2026-06-12 08:57:18'::timestamp) - extract(epoch from '2026-06-12 08:56: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'), 46702, 'SRID=4674;POINT (-40.025896 -2.794162)', '2026-06-12 08:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025874 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.794162)'))) / (select extract(epoch from '2026-06-12 08:57:38'::timestamp) - extract(epoch from '2026-06-12 08:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025874 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.794162)'))) / (select extract(epoch from '2026-06-12 08:57:38'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.025894 -2.794128)', '2026-06-12 08:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.794162)'), GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794128)'))) / (select extract(epoch from '2026-06-12 08:58:09'::timestamp) - extract(epoch from '2026-06-12 08:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.794162)'), GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794128)'))) / (select extract(epoch from '2026-06-12 08:58:09'::timestamp) - extract(epoch from '2026-06-12 08:57: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'), 46702, 'SRID=4674;POINT (-40.025887 -2.794112)', '2026-06-12 08:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794128)'), GeomFromEWKT('SRID=4674;POINT (-40.025887 -2.794112)'))) / (select extract(epoch from '2026-06-12 08:58:42'::timestamp) - extract(epoch from '2026-06-12 08:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794128)'), GeomFromEWKT('SRID=4674;POINT (-40.025887 -2.794112)'))) / (select extract(epoch from '2026-06-12 08:58:42'::timestamp) - extract(epoch from '2026-06-12 08:58: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'), 46702, 'SRID=4674;POINT (-40.025893 -2.79411)', '2026-06-12 08:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025887 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.025893 -2.79411)'))) / (select extract(epoch from '2026-06-12 08:59:35'::timestamp) - extract(epoch from '2026-06-12 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025887 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.025893 -2.79411)'))) / (select extract(epoch from '2026-06-12 08:59:35'::timestamp) - extract(epoch from '2026-06-12 08:58: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'), 46702, 'SRID=4674;POINT (-40.025894 -2.794079)', '2026-06-12 09:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025893 -2.79411)'), GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794079)'))) / (select extract(epoch from '2026-06-12 09:00:11'::timestamp) - extract(epoch from '2026-06-12 08:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025893 -2.79411)'), GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794079)'))) / (select extract(epoch from '2026-06-12 09:00:11'::timestamp) - extract(epoch from '2026-06-12 08:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025884 -2.794069)', '2026-06-12 09:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794079)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.794069)'))) / (select extract(epoch from '2026-06-12 09:00:25'::timestamp) - extract(epoch from '2026-06-12 09:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025894 -2.794079)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.794069)'))) / (select extract(epoch from '2026-06-12 09:00:25'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025831 -2.794035)', '2026-06-12 09:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.794069)'), GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.794035)'))) / (select extract(epoch from '2026-06-12 09:00:38'::timestamp) - extract(epoch from '2026-06-12 09:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.794069)'), GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.794035)'))) / (select extract(epoch from '2026-06-12 09:00:38'::timestamp) - extract(epoch from '2026-06-12 09:00: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'), 46702, 'SRID=4674;POINT (-40.025811 -2.794083)', '2026-06-12 09:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.794035)'), GeomFromEWKT('SRID=4674;POINT (-40.025811 -2.794083)'))) / (select extract(epoch from '2026-06-12 09:00:45'::timestamp) - extract(epoch from '2026-06-12 09:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025831 -2.794035)'), GeomFromEWKT('SRID=4674;POINT (-40.025811 -2.794083)'))) / (select extract(epoch from '2026-06-12 09:00:45'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025752 -2.794153)', '2026-06-12 09:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025811 -2.794083)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.794153)'))) / (select extract(epoch from '2026-06-12 09:00:54'::timestamp) - extract(epoch from '2026-06-12 09:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025811 -2.794083)'), GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.794153)'))) / (select extract(epoch from '2026-06-12 09:00:54'::timestamp) - extract(epoch from '2026-06-12 09:00: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'), 46702, 'SRID=4674;POINT (-40.0257 -2.794167)', '2026-06-12 09:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.794153)'), GeomFromEWKT('SRID=4674;POINT (-40.0257 -2.794167)'))) / (select extract(epoch from '2026-06-12 09:01:03'::timestamp) - extract(epoch from '2026-06-12 09:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025752 -2.794153)'), GeomFromEWKT('SRID=4674;POINT (-40.0257 -2.794167)'))) / (select extract(epoch from '2026-06-12 09:01:03'::timestamp) - extract(epoch from '2026-06-12 09:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025645 -2.794123)', '2026-06-12 09:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0257 -2.794167)'), GeomFromEWKT('SRID=4674;POINT (-40.025645 -2.794123)'))) / (select extract(epoch from '2026-06-12 09:01:12'::timestamp) - extract(epoch from '2026-06-12 09:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0257 -2.794167)'), GeomFromEWKT('SRID=4674;POINT (-40.025645 -2.794123)'))) / (select extract(epoch from '2026-06-12 09:01:12'::timestamp) - extract(epoch from '2026-06-12 09:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025638 -2.794117)', '2026-06-12 09:01:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025645 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.794117)'))) / (select extract(epoch from '2026-06-12 09:01:13'::timestamp) - extract(epoch from '2026-06-12 09:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025645 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.794117)'))) / (select extract(epoch from '2026-06-12 09:01:13'::timestamp) - extract(epoch from '2026-06-12 09:01: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'), 46702, 'SRID=4674;POINT (-40.025628 -2.794105)', '2026-06-12 09:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.794117)'), GeomFromEWKT('SRID=4674;POINT (-40.025628 -2.794105)'))) / (select extract(epoch from '2026-06-12 09:01:15'::timestamp) - extract(epoch from '2026-06-12 09:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.794117)'), GeomFromEWKT('SRID=4674;POINT (-40.025628 -2.794105)'))) / (select extract(epoch from '2026-06-12 09:01:15'::timestamp) - extract(epoch from '2026-06-12 09:01: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'), 46702, 'SRID=4674;POINT (-40.025622 -2.794091)', '2026-06-12 09:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025628 -2.794105)'), GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.794091)'))) / (select extract(epoch from '2026-06-12 09:01:17'::timestamp) - extract(epoch from '2026-06-12 09:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025628 -2.794105)'), GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.794091)'))) / (select extract(epoch from '2026-06-12 09:01:17'::timestamp) - extract(epoch from '2026-06-12 09:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025608 -2.794048)', '2026-06-12 09:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.794091)'), GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.794048)'))) / (select extract(epoch from '2026-06-12 09:01:25'::timestamp) - extract(epoch from '2026-06-12 09:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.794091)'), GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.794048)'))) / (select extract(epoch from '2026-06-12 09:01:25'::timestamp) - extract(epoch from '2026-06-12 09:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025637 -2.794003)', '2026-06-12 09:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.794003)'))) / (select extract(epoch from '2026-06-12 09:01:40'::timestamp) - extract(epoch from '2026-06-12 09:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025608 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.794003)'))) / (select extract(epoch from '2026-06-12 09:01:40'::timestamp) - extract(epoch from '2026-06-12 09:01: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'), 46702, 'SRID=4674;POINT (-40.025686 -2.793984)', '2026-06-12 09:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.794003)'), GeomFromEWKT('SRID=4674;POINT (-40.025686 -2.793984)'))) / (select extract(epoch from '2026-06-12 09:01:53'::timestamp) - extract(epoch from '2026-06-12 09:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.794003)'), GeomFromEWKT('SRID=4674;POINT (-40.025686 -2.793984)'))) / (select extract(epoch from '2026-06-12 09:01:53'::timestamp) - extract(epoch from '2026-06-12 09:01: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'), 46702, 'SRID=4674;POINT (-40.025764 -2.79396)', '2026-06-12 09:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025686 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.79396)'))) / (select extract(epoch from '2026-06-12 09:02:21'::timestamp) - extract(epoch from '2026-06-12 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025686 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.79396)'))) / (select extract(epoch from '2026-06-12 09:02:21'::timestamp) - extract(epoch from '2026-06-12 09:01: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'), 46702, 'SRID=4674;POINT (-40.025764 -2.793941)', '2026-06-12 09:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.79396)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793941)'))) / (select extract(epoch from '2026-06-12 09:02:45'::timestamp) - extract(epoch from '2026-06-12 09:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.79396)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793941)'))) / (select extract(epoch from '2026-06-12 09:02:45'::timestamp) - extract(epoch from '2026-06-12 09:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025774 -2.793925)', '2026-06-12 09:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793941)'), GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.793925)'))) / (select extract(epoch from '2026-06-12 09:03:10'::timestamp) - extract(epoch from '2026-06-12 09:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793941)'), GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.793925)'))) / (select extract(epoch from '2026-06-12 09:03:10'::timestamp) - extract(epoch from '2026-06-12 09:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025764 -2.793907)', '2026-06-12 09:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793907)'))) / (select extract(epoch from '2026-06-12 09:03:44'::timestamp) - extract(epoch from '2026-06-12 09:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025774 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793907)'))) / (select extract(epoch from '2026-06-12 09:03:44'::timestamp) - extract(epoch from '2026-06-12 09:03: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'), 46702, 'SRID=4674;POINT (-40.025765 -2.793913)', '2026-06-12 09:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793907)'), GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.793913)'))) / (select extract(epoch from '2026-06-12 09:04:34'::timestamp) - extract(epoch from '2026-06-12 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025764 -2.793907)'), GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.793913)'))) / (select extract(epoch from '2026-06-12 09:04:34'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025769 -2.793916)', '2026-06-12 09:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.025769 -2.793916)'))) / (select extract(epoch from '2026-06-12 09:05:25'::timestamp) - extract(epoch from '2026-06-12 09:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.025769 -2.793916)'))) / (select extract(epoch from '2026-06-12 09:05:25'::timestamp) - extract(epoch from '2026-06-12 09:04: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'), 46702, 'SRID=4674;POINT (-40.02577 -2.793922)', '2026-06-12 09:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025769 -2.793916)'), GeomFromEWKT('SRID=4674;POINT (-40.02577 -2.793922)'))) / (select extract(epoch from '2026-06-12 09:06:15'::timestamp) - extract(epoch from '2026-06-12 09:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025769 -2.793916)'), GeomFromEWKT('SRID=4674;POINT (-40.02577 -2.793922)'))) / (select extract(epoch from '2026-06-12 09:06:15'::timestamp) - extract(epoch from '2026-06-12 09:05: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'), 46702, 'SRID=4674;POINT (-40.025771 -2.793923)', '2026-06-12 09:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02577 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.025771 -2.793923)'))) / (select extract(epoch from '2026-06-12 09:07:05'::timestamp) - extract(epoch from '2026-06-12 09:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02577 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.025771 -2.793923)'))) / (select extract(epoch from '2026-06-12 09:07:05'::timestamp) - extract(epoch from '2026-06-12 09:06: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'), 46702, 'SRID=4674;POINT (-40.025729 -2.793933)', '2026-06-12 09:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025771 -2.793923)'), GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793933)'))) / (select extract(epoch from '2026-06-12 09:07:23'::timestamp) - extract(epoch from '2026-06-12 09:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025771 -2.793923)'), GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793933)'))) / (select extract(epoch from '2026-06-12 09:07:23'::timestamp) - extract(epoch from '2026-06-12 09:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025634 -2.793983)', '2026-06-12 09:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793933)'), GeomFromEWKT('SRID=4674;POINT (-40.025634 -2.793983)'))) / (select extract(epoch from '2026-06-12 09:07:33'::timestamp) - extract(epoch from '2026-06-12 09:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793933)'), GeomFromEWKT('SRID=4674;POINT (-40.025634 -2.793983)'))) / (select extract(epoch from '2026-06-12 09:07:33'::timestamp) - extract(epoch from '2026-06-12 09:07: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'), 46702, 'SRID=4674;POINT (-40.025587 -2.794015)', '2026-06-12 09:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025634 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.025587 -2.794015)'))) / (select extract(epoch from '2026-06-12 09:07:40'::timestamp) - extract(epoch from '2026-06-12 09:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025634 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.025587 -2.794015)'))) / (select extract(epoch from '2026-06-12 09:07:40'::timestamp) - extract(epoch from '2026-06-12 09:07: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'), 46702, 'SRID=4674;POINT (-40.025519 -2.794006)', '2026-06-12 09:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025587 -2.794015)'), GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.794006)'))) / (select extract(epoch from '2026-06-12 09:07:51'::timestamp) - extract(epoch from '2026-06-12 09:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025587 -2.794015)'), GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.794006)'))) / (select extract(epoch from '2026-06-12 09:07:51'::timestamp) - extract(epoch from '2026-06-12 09:07: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'), 46702, 'SRID=4674;POINT (-40.025491 -2.793925)', '2026-06-12 09:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.794006)'), GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.793925)'))) / (select extract(epoch from '2026-06-12 09:07:58'::timestamp) - extract(epoch from '2026-06-12 09:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.794006)'), GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.793925)'))) / (select extract(epoch from '2026-06-12 09:07:58'::timestamp) - extract(epoch from '2026-06-12 09:07: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'), 46702, 'SRID=4674;POINT (-40.025515 -2.793801)', '2026-06-12 09:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.793801)'))) / (select extract(epoch from '2026-06-12 09:08:05'::timestamp) - extract(epoch from '2026-06-12 09:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025491 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.793801)'))) / (select extract(epoch from '2026-06-12 09:08:05'::timestamp) - extract(epoch from '2026-06-12 09:07: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'), 46702, 'SRID=4674;POINT (-40.025561 -2.793665)', '2026-06-12 09:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.025561 -2.793665)'))) / (select extract(epoch from '2026-06-12 09:08:12'::timestamp) - extract(epoch from '2026-06-12 09:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025515 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.025561 -2.793665)'))) / (select extract(epoch from '2026-06-12 09:08:12'::timestamp) - extract(epoch from '2026-06-12 09:08: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'), 46702, 'SRID=4674;POINT (-40.025596 -2.793561)', '2026-06-12 09:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025561 -2.793665)'), GeomFromEWKT('SRID=4674;POINT (-40.025596 -2.793561)'))) / (select extract(epoch from '2026-06-12 09:08:18'::timestamp) - extract(epoch from '2026-06-12 09:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025561 -2.793665)'), GeomFromEWKT('SRID=4674;POINT (-40.025596 -2.793561)'))) / (select extract(epoch from '2026-06-12 09:08:18'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025616 -2.793454)', '2026-06-12 09:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025596 -2.793561)'), GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793454)'))) / (select extract(epoch from '2026-06-12 09:08:24'::timestamp) - extract(epoch from '2026-06-12 09:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025596 -2.793561)'), GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793454)'))) / (select extract(epoch from '2026-06-12 09:08:24'::timestamp) - extract(epoch from '2026-06-12 09:08: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'), 46702, 'SRID=4674;POINT (-40.025613 -2.793279)', '2026-06-12 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793454)'), GeomFromEWKT('SRID=4674;POINT (-40.025613 -2.793279)'))) / (select extract(epoch from '2026-06-12 09:08:33'::timestamp) - extract(epoch from '2026-06-12 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793454)'), GeomFromEWKT('SRID=4674;POINT (-40.025613 -2.793279)'))) / (select extract(epoch from '2026-06-12 09:08:33'::timestamp) - extract(epoch from '2026-06-12 09:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025598 -2.793169)', '2026-06-12 09:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025613 -2.793279)'), GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.793169)'))) / (select extract(epoch from '2026-06-12 09:08:40'::timestamp) - extract(epoch from '2026-06-12 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025613 -2.793279)'), GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.793169)'))) / (select extract(epoch from '2026-06-12 09:08:40'::timestamp) - extract(epoch from '2026-06-12 09:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025582 -2.793036)', '2026-06-12 09:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.025582 -2.793036)'))) / (select extract(epoch from '2026-06-12 09:08:48'::timestamp) - extract(epoch from '2026-06-12 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025598 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.025582 -2.793036)'))) / (select extract(epoch from '2026-06-12 09:08:48'::timestamp) - extract(epoch from '2026-06-12 09:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025594 -2.792944)', '2026-06-12 09:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025582 -2.793036)'), GeomFromEWKT('SRID=4674;POINT (-40.025594 -2.792944)'))) / (select extract(epoch from '2026-06-12 09:08:53'::timestamp) - extract(epoch from '2026-06-12 09:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025582 -2.793036)'), GeomFromEWKT('SRID=4674;POINT (-40.025594 -2.792944)'))) / (select extract(epoch from '2026-06-12 09:08:53'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025609 -2.792811)', '2026-06-12 09:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025594 -2.792944)'), GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.792811)'))) / (select extract(epoch from '2026-06-12 09:09:00'::timestamp) - extract(epoch from '2026-06-12 09:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025594 -2.792944)'), GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.792811)'))) / (select extract(epoch from '2026-06-12 09:09:00'::timestamp) - extract(epoch from '2026-06-12 09:08: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'), 46702, 'SRID=4674;POINT (-40.025574 -2.792682)', '2026-06-12 09:09:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.792811)'), GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.792682)'))) / (select extract(epoch from '2026-06-12 09:09:08'::timestamp) - extract(epoch from '2026-06-12 09:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.792811)'), GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.792682)'))) / (select extract(epoch from '2026-06-12 09:09:08'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.025578 -2.792657)', '2026-06-12 09:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.792682)'), GeomFromEWKT('SRID=4674;POINT (-40.025578 -2.792657)'))) / (select extract(epoch from '2026-06-12 09:09:10'::timestamp) - extract(epoch from '2026-06-12 09:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.792682)'), GeomFromEWKT('SRID=4674;POINT (-40.025578 -2.792657)'))) / (select extract(epoch from '2026-06-12 09:09:10'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.025614 -2.792619)', '2026-06-12 09:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025578 -2.792657)'), GeomFromEWKT('SRID=4674;POINT (-40.025614 -2.792619)'))) / (select extract(epoch from '2026-06-12 09:09:14'::timestamp) - extract(epoch from '2026-06-12 09:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025578 -2.792657)'), GeomFromEWKT('SRID=4674;POINT (-40.025614 -2.792619)'))) / (select extract(epoch from '2026-06-12 09:09:14'::timestamp) - extract(epoch from '2026-06-12 09:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025665 -2.792568)', '2026-06-12 09:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025614 -2.792619)'), GeomFromEWKT('SRID=4674;POINT (-40.025665 -2.792568)'))) / (select extract(epoch from '2026-06-12 09:09:20'::timestamp) - extract(epoch from '2026-06-12 09:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025614 -2.792619)'), GeomFromEWKT('SRID=4674;POINT (-40.025665 -2.792568)'))) / (select extract(epoch from '2026-06-12 09:09:20'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.025663 -2.792545)', '2026-06-12 09:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025665 -2.792568)'), GeomFromEWKT('SRID=4674;POINT (-40.025663 -2.792545)'))) / (select extract(epoch from '2026-06-12 09:09:23'::timestamp) - extract(epoch from '2026-06-12 09:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025665 -2.792568)'), GeomFromEWKT('SRID=4674;POINT (-40.025663 -2.792545)'))) / (select extract(epoch from '2026-06-12 09:09:23'::timestamp) - extract(epoch from '2026-06-12 09:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025637 -2.792522)', '2026-06-12 09:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025663 -2.792545)'), GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.792522)'))) / (select extract(epoch from '2026-06-12 09:09:27'::timestamp) - extract(epoch from '2026-06-12 09:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025663 -2.792545)'), GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.792522)'))) / (select extract(epoch from '2026-06-12 09:09:27'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.025566 -2.792526)', '2026-06-12 09:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.792522)'), GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792526)'))) / (select extract(epoch from '2026-06-12 09:09:33'::timestamp) - extract(epoch from '2026-06-12 09:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025637 -2.792522)'), GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792526)'))) / (select extract(epoch from '2026-06-12 09:09:33'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.02545 -2.792546)', '2026-06-12 09:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792526)'), GeomFromEWKT('SRID=4674;POINT (-40.02545 -2.792546)'))) / (select extract(epoch from '2026-06-12 09:09:42'::timestamp) - extract(epoch from '2026-06-12 09:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792526)'), GeomFromEWKT('SRID=4674;POINT (-40.02545 -2.792546)'))) / (select extract(epoch from '2026-06-12 09:09:42'::timestamp) - extract(epoch from '2026-06-12 09:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025408 -2.792543)', '2026-06-12 09:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02545 -2.792546)'), GeomFromEWKT('SRID=4674;POINT (-40.025408 -2.792543)'))) / (select extract(epoch from '2026-06-12 09:09:46'::timestamp) - extract(epoch from '2026-06-12 09:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02545 -2.792546)'), GeomFromEWKT('SRID=4674;POINT (-40.025408 -2.792543)'))) / (select extract(epoch from '2026-06-12 09:09:46'::timestamp) - extract(epoch from '2026-06-12 09:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025383 -2.792541)', '2026-06-12 09:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025408 -2.792543)'), GeomFromEWKT('SRID=4674;POINT (-40.025383 -2.792541)'))) / (select extract(epoch from '2026-06-12 09:09:49'::timestamp) - extract(epoch from '2026-06-12 09:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025408 -2.792543)'), GeomFromEWKT('SRID=4674;POINT (-40.025383 -2.792541)'))) / (select extract(epoch from '2026-06-12 09:09:49'::timestamp) - extract(epoch from '2026-06-12 09:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025355 -2.792526)', '2026-06-12 09:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025383 -2.792541)'), GeomFromEWKT('SRID=4674;POINT (-40.025355 -2.792526)'))) / (select extract(epoch from '2026-06-12 09:09:58'::timestamp) - extract(epoch from '2026-06-12 09:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025383 -2.792541)'), GeomFromEWKT('SRID=4674;POINT (-40.025355 -2.792526)'))) / (select extract(epoch from '2026-06-12 09:09:58'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.025368 -2.792516)', '2026-06-12 09:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025355 -2.792526)'), GeomFromEWKT('SRID=4674;POINT (-40.025368 -2.792516)'))) / (select extract(epoch from '2026-06-12 09:10:07'::timestamp) - extract(epoch from '2026-06-12 09:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025355 -2.792526)'), GeomFromEWKT('SRID=4674;POINT (-40.025368 -2.792516)'))) / (select extract(epoch from '2026-06-12 09:10:07'::timestamp) - extract(epoch from '2026-06-12 09:09: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'), 46702, 'SRID=4674;POINT (-40.02544 -2.792487)', '2026-06-12 09:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025368 -2.792516)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.792487)'))) / (select extract(epoch from '2026-06-12 09:10:28'::timestamp) - extract(epoch from '2026-06-12 09:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025368 -2.792516)'), GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.792487)'))) / (select extract(epoch from '2026-06-12 09:10:28'::timestamp) - extract(epoch from '2026-06-12 09:10: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'), 46702, 'SRID=4674;POINT (-40.025545 -2.792444)', '2026-06-12 09:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.792487)'), GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.792444)'))) / (select extract(epoch from '2026-06-12 09:11:00'::timestamp) - extract(epoch from '2026-06-12 09:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02544 -2.792487)'), GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.792444)'))) / (select extract(epoch from '2026-06-12 09:11:00'::timestamp) - extract(epoch from '2026-06-12 09:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025549 -2.792446)', '2026-06-12 09:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.792444)'), GeomFromEWKT('SRID=4674;POINT (-40.025549 -2.792446)'))) / (select extract(epoch from '2026-06-12 09:11:18'::timestamp) - extract(epoch from '2026-06-12 09:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.792444)'), GeomFromEWKT('SRID=4674;POINT (-40.025549 -2.792446)'))) / (select extract(epoch from '2026-06-12 09:11:18'::timestamp) - extract(epoch from '2026-06-12 09:11: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'), 46702, 'SRID=4674;POINT (-40.025553 -2.792456)', '2026-06-12 09:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025549 -2.792446)'), GeomFromEWKT('SRID=4674;POINT (-40.025553 -2.792456)'))) / (select extract(epoch from '2026-06-12 09:11:40'::timestamp) - extract(epoch from '2026-06-12 09:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025549 -2.792446)'), GeomFromEWKT('SRID=4674;POINT (-40.025553 -2.792456)'))) / (select extract(epoch from '2026-06-12 09:11:40'::timestamp) - extract(epoch from '2026-06-12 09:11: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'), 46702, 'SRID=4674;POINT (-40.025552 -2.792457)', '2026-06-12 09:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025553 -2.792456)'), GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.792457)'))) / (select extract(epoch from '2026-06-12 09:12:21'::timestamp) - extract(epoch from '2026-06-12 09:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025553 -2.792456)'), GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.792457)'))) / (select extract(epoch from '2026-06-12 09:12:21'::timestamp) - extract(epoch from '2026-06-12 09:11: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'), 46702, 'SRID=4674;POINT (-40.025488 -2.792452)', '2026-06-12 09:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.025488 -2.792452)'))) / (select extract(epoch from '2026-06-12 09:12:32'::timestamp) - extract(epoch from '2026-06-12 09:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.025488 -2.792452)'))) / (select extract(epoch from '2026-06-12 09:12:32'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.025458 -2.792461)', '2026-06-12 09:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025488 -2.792452)'), GeomFromEWKT('SRID=4674;POINT (-40.025458 -2.792461)'))) / (select extract(epoch from '2026-06-12 09:12:35'::timestamp) - extract(epoch from '2026-06-12 09:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025488 -2.792452)'), GeomFromEWKT('SRID=4674;POINT (-40.025458 -2.792461)'))) / (select extract(epoch from '2026-06-12 09:12:35'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.025442 -2.792474)', '2026-06-12 09:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025458 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.792474)'))) / (select extract(epoch from '2026-06-12 09:12:37'::timestamp) - extract(epoch from '2026-06-12 09:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025458 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.792474)'))) / (select extract(epoch from '2026-06-12 09:12:37'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.02543 -2.792488)', '2026-06-12 09:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.792474)'), GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.792488)'))) / (select extract(epoch from '2026-06-12 09:12:39'::timestamp) - extract(epoch from '2026-06-12 09:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025442 -2.792474)'), GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.792488)'))) / (select extract(epoch from '2026-06-12 09:12:39'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.025414 -2.792517)', '2026-06-12 09:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.792488)'), GeomFromEWKT('SRID=4674;POINT (-40.025414 -2.792517)'))) / (select extract(epoch from '2026-06-12 09:12:45'::timestamp) - extract(epoch from '2026-06-12 09:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02543 -2.792488)'), GeomFromEWKT('SRID=4674;POINT (-40.025414 -2.792517)'))) / (select extract(epoch from '2026-06-12 09:12:45'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.025371 -2.792534)', '2026-06-12 09:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025414 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.792534)'))) / (select extract(epoch from '2026-06-12 09:12:53'::timestamp) - extract(epoch from '2026-06-12 09:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025414 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.792534)'))) / (select extract(epoch from '2026-06-12 09:12:53'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.025295 -2.792509)', '2026-06-12 09:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.792534)'), GeomFromEWKT('SRID=4674;POINT (-40.025295 -2.792509)'))) / (select extract(epoch from '2026-06-12 09:13:00'::timestamp) - extract(epoch from '2026-06-12 09:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.792534)'), GeomFromEWKT('SRID=4674;POINT (-40.025295 -2.792509)'))) / (select extract(epoch from '2026-06-12 09:13:00'::timestamp) - extract(epoch from '2026-06-12 09:12: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'), 46702, 'SRID=4674;POINT (-40.02525 -2.792416)', '2026-06-12 09:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025295 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.792416)'))) / (select extract(epoch from '2026-06-12 09:13:07'::timestamp) - extract(epoch from '2026-06-12 09:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025295 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.792416)'))) / (select extract(epoch from '2026-06-12 09:13:07'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025235 -2.792277)', '2026-06-12 09:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.792416)'), GeomFromEWKT('SRID=4674;POINT (-40.025235 -2.792277)'))) / (select extract(epoch from '2026-06-12 09:13:15'::timestamp) - extract(epoch from '2026-06-12 09:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.792416)'), GeomFromEWKT('SRID=4674;POINT (-40.025235 -2.792277)'))) / (select extract(epoch from '2026-06-12 09:13:15'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025218 -2.792163)', '2026-06-12 09:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025235 -2.792277)'), GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792163)'))) / (select extract(epoch from '2026-06-12 09:13:21'::timestamp) - extract(epoch from '2026-06-12 09:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025235 -2.792277)'), GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792163)'))) / (select extract(epoch from '2026-06-12 09:13:21'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025197 -2.792029)', '2026-06-12 09:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792163)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.792029)'))) / (select extract(epoch from '2026-06-12 09:13:28'::timestamp) - extract(epoch from '2026-06-12 09:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792163)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.792029)'))) / (select extract(epoch from '2026-06-12 09:13:28'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025175 -2.791918)', '2026-06-12 09:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.792029)'), GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791918)'))) / (select extract(epoch from '2026-06-12 09:13:34'::timestamp) - extract(epoch from '2026-06-12 09:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.792029)'), GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791918)'))) / (select extract(epoch from '2026-06-12 09:13:34'::timestamp) - extract(epoch from '2026-06-12 09:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025186 -2.791771)', '2026-06-12 09:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791918)'), GeomFromEWKT('SRID=4674;POINT (-40.025186 -2.791771)'))) / (select extract(epoch from '2026-06-12 09:13:42'::timestamp) - extract(epoch from '2026-06-12 09:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791918)'), GeomFromEWKT('SRID=4674;POINT (-40.025186 -2.791771)'))) / (select extract(epoch from '2026-06-12 09:13:42'::timestamp) - extract(epoch from '2026-06-12 09:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025197 -2.791648)', '2026-06-12 09:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025186 -2.791771)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.791648)'))) / (select extract(epoch from '2026-06-12 09:13:49'::timestamp) - extract(epoch from '2026-06-12 09:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025186 -2.791771)'), GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.791648)'))) / (select extract(epoch from '2026-06-12 09:13:49'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025192 -2.791537)', '2026-06-12 09:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.791648)'), GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791537)'))) / (select extract(epoch from '2026-06-12 09:13:55'::timestamp) - extract(epoch from '2026-06-12 09:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025197 -2.791648)'), GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791537)'))) / (select extract(epoch from '2026-06-12 09:13:55'::timestamp) - extract(epoch from '2026-06-12 09:13: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'), 46702, 'SRID=4674;POINT (-40.025171 -2.791393)', '2026-06-12 09:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791537)'), GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.791393)'))) / (select extract(epoch from '2026-06-12 09:14:03'::timestamp) - extract(epoch from '2026-06-12 09:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791537)'), GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.791393)'))) / (select extract(epoch from '2026-06-12 09:14:03'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025168 -2.791274)', '2026-06-12 09:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.791393)'), GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791274)'))) / (select extract(epoch from '2026-06-12 09:14:11'::timestamp) - extract(epoch from '2026-06-12 09:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.791393)'), GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791274)'))) / (select extract(epoch from '2026-06-12 09:14:11'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025175 -2.791263)', '2026-06-12 09:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791263)'))) / (select extract(epoch from '2026-06-12 09:14:12'::timestamp) - extract(epoch from '2026-06-12 09:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791263)'))) / (select extract(epoch from '2026-06-12 09:14:12'::timestamp) - extract(epoch from '2026-06-12 09:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025249 -2.791216)', '2026-06-12 09:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791263)'), GeomFromEWKT('SRID=4674;POINT (-40.025249 -2.791216)'))) / (select extract(epoch from '2026-06-12 09:14:19'::timestamp) - extract(epoch from '2026-06-12 09:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025175 -2.791263)'), GeomFromEWKT('SRID=4674;POINT (-40.025249 -2.791216)'))) / (select extract(epoch from '2026-06-12 09:14:19'::timestamp) - extract(epoch from '2026-06-12 09:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025329 -2.791161)', '2026-06-12 09:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025249 -2.791216)'), GeomFromEWKT('SRID=4674;POINT (-40.025329 -2.791161)'))) / (select extract(epoch from '2026-06-12 09:14:28'::timestamp) - extract(epoch from '2026-06-12 09:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025249 -2.791216)'), GeomFromEWKT('SRID=4674;POINT (-40.025329 -2.791161)'))) / (select extract(epoch from '2026-06-12 09:14:28'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025334 -2.791154)', '2026-06-12 09:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025329 -2.791161)'), GeomFromEWKT('SRID=4674;POINT (-40.025334 -2.791154)'))) / (select extract(epoch from '2026-06-12 09:14:29'::timestamp) - extract(epoch from '2026-06-12 09:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025329 -2.791161)'), GeomFromEWKT('SRID=4674;POINT (-40.025334 -2.791154)'))) / (select extract(epoch from '2026-06-12 09:14:29'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025345 -2.791113)', '2026-06-12 09:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025334 -2.791154)'), GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.791113)'))) / (select extract(epoch from '2026-06-12 09:14:34'::timestamp) - extract(epoch from '2026-06-12 09:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025334 -2.791154)'), GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.791113)'))) / (select extract(epoch from '2026-06-12 09:14:34'::timestamp) - extract(epoch from '2026-06-12 09:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025336 -2.791085)', '2026-06-12 09:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.791113)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.791085)'))) / (select extract(epoch from '2026-06-12 09:14:39'::timestamp) - extract(epoch from '2026-06-12 09:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.791113)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.791085)'))) / (select extract(epoch from '2026-06-12 09:14:39'::timestamp) - extract(epoch from '2026-06-12 09:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025276 -2.791087)', '2026-06-12 09:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.791085)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.791087)'))) / (select extract(epoch from '2026-06-12 09:14:47'::timestamp) - extract(epoch from '2026-06-12 09:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.791085)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.791087)'))) / (select extract(epoch from '2026-06-12 09:14:47'::timestamp) - extract(epoch from '2026-06-12 09:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025269 -2.791096)', '2026-06-12 09:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.791087)'), GeomFromEWKT('SRID=4674;POINT (-40.025269 -2.791096)'))) / (select extract(epoch from '2026-06-12 09:14:48'::timestamp) - extract(epoch from '2026-06-12 09:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.791087)'), GeomFromEWKT('SRID=4674;POINT (-40.025269 -2.791096)'))) / (select extract(epoch from '2026-06-12 09:14:48'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025258 -2.791163)', '2026-06-12 09:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025269 -2.791096)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791163)'))) / (select extract(epoch from '2026-06-12 09:14:53'::timestamp) - extract(epoch from '2026-06-12 09:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025269 -2.791096)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791163)'))) / (select extract(epoch from '2026-06-12 09:14:53'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025226 -2.791245)', '2026-06-12 09:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791163)'), GeomFromEWKT('SRID=4674;POINT (-40.025226 -2.791245)'))) / (select extract(epoch from '2026-06-12 09:14:59'::timestamp) - extract(epoch from '2026-06-12 09:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791163)'), GeomFromEWKT('SRID=4674;POINT (-40.025226 -2.791245)'))) / (select extract(epoch from '2026-06-12 09:14:59'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025188 -2.791309)', '2026-06-12 09:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025226 -2.791245)'), GeomFromEWKT('SRID=4674;POINT (-40.025188 -2.791309)'))) / (select extract(epoch from '2026-06-12 09:15:05'::timestamp) - extract(epoch from '2026-06-12 09:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025226 -2.791245)'), GeomFromEWKT('SRID=4674;POINT (-40.025188 -2.791309)'))) / (select extract(epoch from '2026-06-12 09:15:05'::timestamp) - extract(epoch from '2026-06-12 09:14: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'), 46702, 'SRID=4674;POINT (-40.025126 -2.791382)', '2026-06-12 09:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025188 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.791382)'))) / (select extract(epoch from '2026-06-12 09:15:12'::timestamp) - extract(epoch from '2026-06-12 09:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025188 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.791382)'))) / (select extract(epoch from '2026-06-12 09:15:12'::timestamp) - extract(epoch from '2026-06-12 09:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025073 -2.791438)', '2026-06-12 09:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.791382)'), GeomFromEWKT('SRID=4674;POINT (-40.025073 -2.791438)'))) / (select extract(epoch from '2026-06-12 09:15:21'::timestamp) - extract(epoch from '2026-06-12 09:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025126 -2.791382)'), GeomFromEWKT('SRID=4674;POINT (-40.025073 -2.791438)'))) / (select extract(epoch from '2026-06-12 09:15:21'::timestamp) - extract(epoch from '2026-06-12 09:15: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'), 46702, 'SRID=4674;POINT (-40.025063 -2.791477)', '2026-06-12 09:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025073 -2.791438)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791477)'))) / (select extract(epoch from '2026-06-12 09:15:37'::timestamp) - extract(epoch from '2026-06-12 09:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025073 -2.791438)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791477)'))) / (select extract(epoch from '2026-06-12 09:15:37'::timestamp) - extract(epoch from '2026-06-12 09:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025107 -2.791465)', '2026-06-12 09:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791477)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791465)'))) / (select extract(epoch from '2026-06-12 09:15:56'::timestamp) - extract(epoch from '2026-06-12 09:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791477)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791465)'))) / (select extract(epoch from '2026-06-12 09:15:56'::timestamp) - extract(epoch from '2026-06-12 09:15: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'), 46702, 'SRID=4674;POINT (-40.025205 -2.791436)', '2026-06-12 09:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791465)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.791436)'))) / (select extract(epoch from '2026-06-12 09:16:24'::timestamp) - extract(epoch from '2026-06-12 09:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791465)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.791436)'))) / (select extract(epoch from '2026-06-12 09:16:24'::timestamp) - extract(epoch from '2026-06-12 09:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025254 -2.791413)', '2026-06-12 09:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.791436)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791413)'))) / (select extract(epoch from '2026-06-12 09:16:42'::timestamp) - extract(epoch from '2026-06-12 09:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.791436)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791413)'))) / (select extract(epoch from '2026-06-12 09:16:42'::timestamp) - extract(epoch from '2026-06-12 09:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025264 -2.791383)', '2026-06-12 09:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791413)'), GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791383)'))) / (select extract(epoch from '2026-06-12 09:17:01'::timestamp) - extract(epoch from '2026-06-12 09:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791413)'), GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791383)'))) / (select extract(epoch from '2026-06-12 09:17:01'::timestamp) - extract(epoch from '2026-06-12 09:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025253 -2.791353)', '2026-06-12 09:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791383)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791353)'))) / (select extract(epoch from '2026-06-12 09:17:16'::timestamp) - extract(epoch from '2026-06-12 09:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791383)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791353)'))) / (select extract(epoch from '2026-06-12 09:17:16'::timestamp) - extract(epoch from '2026-06-12 09:17: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'), 46702, 'SRID=4674;POINT (-40.02525 -2.791349)', '2026-06-12 09:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791353)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791349)'))) / (select extract(epoch from '2026-06-12 09:17:38'::timestamp) - extract(epoch from '2026-06-12 09:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791353)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791349)'))) / (select extract(epoch from '2026-06-12 09:17:38'::timestamp) - extract(epoch from '2026-06-12 09:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025222 -2.791338)', '2026-06-12 09:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791349)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791338)'))) / (select extract(epoch from '2026-06-12 09:17:49'::timestamp) - extract(epoch from '2026-06-12 09:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791349)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791338)'))) / (select extract(epoch from '2026-06-12 09:17:49'::timestamp) - extract(epoch from '2026-06-12 09:17: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'), 46702, 'SRID=4674;POINT (-40.025156 -2.791357)', '2026-06-12 09:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791338)'), GeomFromEWKT('SRID=4674;POINT (-40.025156 -2.791357)'))) / (select extract(epoch from '2026-06-12 09:17:59'::timestamp) - extract(epoch from '2026-06-12 09:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791338)'), GeomFromEWKT('SRID=4674;POINT (-40.025156 -2.791357)'))) / (select extract(epoch from '2026-06-12 09:17:59'::timestamp) - extract(epoch from '2026-06-12 09:17: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'), 46702, 'SRID=4674;POINT (-40.025091 -2.791412)', '2026-06-12 09:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025156 -2.791357)'), GeomFromEWKT('SRID=4674;POINT (-40.025091 -2.791412)'))) / (select extract(epoch from '2026-06-12 09:18:09'::timestamp) - extract(epoch from '2026-06-12 09:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025156 -2.791357)'), GeomFromEWKT('SRID=4674;POINT (-40.025091 -2.791412)'))) / (select extract(epoch from '2026-06-12 09:18:09'::timestamp) - extract(epoch from '2026-06-12 09:17: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'), 46702, 'SRID=4674;POINT (-40.025052 -2.791431)', '2026-06-12 09:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025091 -2.791412)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.791431)'))) / (select extract(epoch from '2026-06-12 09:18:21'::timestamp) - extract(epoch from '2026-06-12 09:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025091 -2.791412)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.791431)'))) / (select extract(epoch from '2026-06-12 09:18:21'::timestamp) - extract(epoch from '2026-06-12 09:18: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'), 46702, 'SRID=4674;POINT (-40.025005 -2.791401)', '2026-06-12 09:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.791431)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.791401)'))) / (select extract(epoch from '2026-06-12 09:18:30'::timestamp) - extract(epoch from '2026-06-12 09:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.791431)'), GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.791401)'))) / (select extract(epoch from '2026-06-12 09:18:30'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024995 -2.791375)', '2026-06-12 09:18:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.791401)'), GeomFromEWKT('SRID=4674;POINT (-40.024995 -2.791375)'))) / (select extract(epoch from '2026-06-12 09:18:33'::timestamp) - extract(epoch from '2026-06-12 09:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025005 -2.791401)'), GeomFromEWKT('SRID=4674;POINT (-40.024995 -2.791375)'))) / (select extract(epoch from '2026-06-12 09:18:33'::timestamp) - extract(epoch from '2026-06-12 09:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024984 -2.791343)', '2026-06-12 09:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024995 -2.791375)'), GeomFromEWKT('SRID=4674;POINT (-40.024984 -2.791343)'))) / (select extract(epoch from '2026-06-12 09:18:36'::timestamp) - extract(epoch from '2026-06-12 09:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024995 -2.791375)'), GeomFromEWKT('SRID=4674;POINT (-40.024984 -2.791343)'))) / (select extract(epoch from '2026-06-12 09:18:36'::timestamp) - extract(epoch from '2026-06-12 09:18: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'), 46702, 'SRID=4674;POINT (-40.024963 -2.791289)', '2026-06-12 09:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024984 -2.791343)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.791289)'))) / (select extract(epoch from '2026-06-12 09:18:42'::timestamp) - extract(epoch from '2026-06-12 09:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024984 -2.791343)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.791289)'))) / (select extract(epoch from '2026-06-12 09:18:42'::timestamp) - extract(epoch from '2026-06-12 09:18: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'), 46702, 'SRID=4674;POINT (-40.024958 -2.791282)', '2026-06-12 09:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.791289)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.791282)'))) / (select extract(epoch from '2026-06-12 09:18:43'::timestamp) - extract(epoch from '2026-06-12 09:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.791289)'), GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.791282)'))) / (select extract(epoch from '2026-06-12 09:18:43'::timestamp) - extract(epoch from '2026-06-12 09:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024942 -2.791257)', '2026-06-12 09:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.791282)'), GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791257)'))) / (select extract(epoch from '2026-06-12 09:18:46'::timestamp) - extract(epoch from '2026-06-12 09:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024958 -2.791282)'), GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791257)'))) / (select extract(epoch from '2026-06-12 09:18:46'::timestamp) - extract(epoch from '2026-06-12 09:18: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'), 46702, 'SRID=4674;POINT (-40.024922 -2.791192)', '2026-06-12 09:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.791192)'))) / (select extract(epoch from '2026-06-12 09:18:55'::timestamp) - extract(epoch from '2026-06-12 09:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.791192)'))) / (select extract(epoch from '2026-06-12 09:18:55'::timestamp) - extract(epoch from '2026-06-12 09:18: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'), 46702, 'SRID=4674;POINT (-40.024926 -2.791135)', '2026-06-12 09:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.791192)'), GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.791135)'))) / (select extract(epoch from '2026-06-12 09:19:01'::timestamp) - extract(epoch from '2026-06-12 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.791192)'), GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.791135)'))) / (select extract(epoch from '2026-06-12 09:19:01'::timestamp) - extract(epoch from '2026-06-12 09:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02493 -2.791116)', '2026-06-12 09:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.791135)'), GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.791116)'))) / (select extract(epoch from '2026-06-12 09:19:03'::timestamp) - extract(epoch from '2026-06-12 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024926 -2.791135)'), GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.791116)'))) / (select extract(epoch from '2026-06-12 09:19:03'::timestamp) - extract(epoch from '2026-06-12 09:19: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'), 46702, 'SRID=4674;POINT (-40.024946 -2.791048)', '2026-06-12 09:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.791116)'), GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.791048)'))) / (select extract(epoch from '2026-06-12 09:19:11'::timestamp) - extract(epoch from '2026-06-12 09:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.791116)'), GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.791048)'))) / (select extract(epoch from '2026-06-12 09:19:11'::timestamp) - extract(epoch from '2026-06-12 09:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024979 -2.791)', '2026-06-12 09:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.791048)'), GeomFromEWKT('SRID=4674;POINT (-40.024979 -2.791)'))) / (select extract(epoch from '2026-06-12 09:19:20'::timestamp) - extract(epoch from '2026-06-12 09:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024946 -2.791048)'), GeomFromEWKT('SRID=4674;POINT (-40.024979 -2.791)'))) / (select extract(epoch from '2026-06-12 09:19:20'::timestamp) - extract(epoch from '2026-06-12 09:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025003 -2.790978)', '2026-06-12 09:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024979 -2.791)'), GeomFromEWKT('SRID=4674;POINT (-40.025003 -2.790978)'))) / (select extract(epoch from '2026-06-12 09:19:27'::timestamp) - extract(epoch from '2026-06-12 09:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024979 -2.791)'), GeomFromEWKT('SRID=4674;POINT (-40.025003 -2.790978)'))) / (select extract(epoch from '2026-06-12 09:19:27'::timestamp) - extract(epoch from '2026-06-12 09:19: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'), 46702, 'SRID=4674;POINT (-40.02507 -2.790955)', '2026-06-12 09:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025003 -2.790978)'), GeomFromEWKT('SRID=4674;POINT (-40.02507 -2.790955)'))) / (select extract(epoch from '2026-06-12 09:19:45'::timestamp) - extract(epoch from '2026-06-12 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025003 -2.790978)'), GeomFromEWKT('SRID=4674;POINT (-40.02507 -2.790955)'))) / (select extract(epoch from '2026-06-12 09:19:45'::timestamp) - extract(epoch from '2026-06-12 09:19: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'), 46702, 'SRID=4674;POINT (-40.025136 -2.79094)', '2026-06-12 09:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02507 -2.790955)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.79094)'))) / (select extract(epoch from '2026-06-12 09:20:03'::timestamp) - extract(epoch from '2026-06-12 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02507 -2.790955)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.79094)'))) / (select extract(epoch from '2026-06-12 09:20:03'::timestamp) - extract(epoch from '2026-06-12 09:19: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'), 46702, 'SRID=4674;POINT (-40.025193 -2.79092)', '2026-06-12 09:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.79094)'), GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.79092)'))) / (select extract(epoch from '2026-06-12 09:20:24'::timestamp) - extract(epoch from '2026-06-12 09:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.79094)'), GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.79092)'))) / (select extract(epoch from '2026-06-12 09:20:24'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46702, 'SRID=4674;POINT (-40.02519 -2.790929)', '2026-06-12 09:20:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.79092)'), GeomFromEWKT('SRID=4674;POINT (-40.02519 -2.790929)'))) / (select extract(epoch from '2026-06-12 09:20:41'::timestamp) - extract(epoch from '2026-06-12 09:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025193 -2.79092)'), GeomFromEWKT('SRID=4674;POINT (-40.02519 -2.790929)'))) / (select extract(epoch from '2026-06-12 09:20:41'::timestamp) - extract(epoch from '2026-06-12 09:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025191 -2.79095)', '2026-06-12 09:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02519 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.79095)'))) / (select extract(epoch from '2026-06-12 09:21:16'::timestamp) - extract(epoch from '2026-06-12 09:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02519 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.79095)'))) / (select extract(epoch from '2026-06-12 09:21:16'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46702, 'SRID=4674;POINT (-40.025203 -2.790967)', '2026-06-12 09:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.79095)'), GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.790967)'))) / (select extract(epoch from '2026-06-12 09:22:09'::timestamp) - extract(epoch from '2026-06-12 09:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.79095)'), GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.790967)'))) / (select extract(epoch from '2026-06-12 09:22:09'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46702, 'SRID=4674;POINT (-40.025244 -2.790953)', '2026-06-12 09:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.025244 -2.790953)'))) / (select extract(epoch from '2026-06-12 09:22:25'::timestamp) - extract(epoch from '2026-06-12 09:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.025244 -2.790953)'))) / (select extract(epoch from '2026-06-12 09:22:25'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46702, 'SRID=4674;POINT (-40.025275 -2.790951)', '2026-06-12 09:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025244 -2.790953)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.790951)'))) / (select extract(epoch from '2026-06-12 09:22:33'::timestamp) - extract(epoch from '2026-06-12 09:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025244 -2.790953)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.790951)'))) / (select extract(epoch from '2026-06-12 09:22:33'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46702, 'SRID=4674;POINT (-40.025309 -2.790939)', '2026-06-12 09:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.790951)'), GeomFromEWKT('SRID=4674;POINT (-40.025309 -2.790939)'))) / (select extract(epoch from '2026-06-12 09:22:42'::timestamp) - extract(epoch from '2026-06-12 09:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.790951)'), GeomFromEWKT('SRID=4674;POINT (-40.025309 -2.790939)'))) / (select extract(epoch from '2026-06-12 09:22:42'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46702, 'SRID=4674;POINT (-40.025333 -2.790922)', '2026-06-12 09:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025309 -2.790939)'), GeomFromEWKT('SRID=4674;POINT (-40.025333 -2.790922)'))) / (select extract(epoch from '2026-06-12 09:22:51'::timestamp) - extract(epoch from '2026-06-12 09:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025309 -2.790939)'), GeomFromEWKT('SRID=4674;POINT (-40.025333 -2.790922)'))) / (select extract(epoch from '2026-06-12 09:22:51'::timestamp) - extract(epoch from '2026-06-12 09:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025306 -2.790927)', '2026-06-12 09:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025333 -2.790922)'), GeomFromEWKT('SRID=4674;POINT (-40.025306 -2.790927)'))) / (select extract(epoch from '2026-06-12 09:23:02'::timestamp) - extract(epoch from '2026-06-12 09:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025333 -2.790922)'), GeomFromEWKT('SRID=4674;POINT (-40.025306 -2.790927)'))) / (select extract(epoch from '2026-06-12 09:23:02'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46702, 'SRID=4674;POINT (-40.02528 -2.790933)', '2026-06-12 09:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025306 -2.790927)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790933)'))) / (select extract(epoch from '2026-06-12 09:23:12'::timestamp) - extract(epoch from '2026-06-12 09:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025306 -2.790927)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790933)'))) / (select extract(epoch from '2026-06-12 09:23:12'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46702, 'SRID=4674;POINT (-40.025283 -2.790928)', '2026-06-12 09:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790933)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.790928)'))) / (select extract(epoch from '2026-06-12 09:23:24'::timestamp) - extract(epoch from '2026-06-12 09:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790933)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.790928)'))) / (select extract(epoch from '2026-06-12 09:23:24'::timestamp) - extract(epoch from '2026-06-12 09:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025253 -2.790931)', '2026-06-12 09:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.790928)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.790931)'))) / (select extract(epoch from '2026-06-12 09:23:37'::timestamp) - extract(epoch from '2026-06-12 09:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.790928)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.790931)'))) / (select extract(epoch from '2026-06-12 09:23:37'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46702, 'SRID=4674;POINT (-40.02516 -2.790963)', '2026-06-12 09:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.790931)'), GeomFromEWKT('SRID=4674;POINT (-40.02516 -2.790963)'))) / (select extract(epoch from '2026-06-12 09:23:46'::timestamp) - extract(epoch from '2026-06-12 09:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.790931)'), GeomFromEWKT('SRID=4674;POINT (-40.02516 -2.790963)'))) / (select extract(epoch from '2026-06-12 09:23:46'::timestamp) - extract(epoch from '2026-06-12 09:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025052 -2.790985)', '2026-06-12 09:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02516 -2.790963)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.790985)'))) / (select extract(epoch from '2026-06-12 09:23:54'::timestamp) - extract(epoch from '2026-06-12 09:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02516 -2.790963)'), GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.790985)'))) / (select extract(epoch from '2026-06-12 09:23:54'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46702, 'SRID=4674;POINT (-40.024963 -2.79099)', '2026-06-12 09:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.790985)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.79099)'))) / (select extract(epoch from '2026-06-12 09:24:01'::timestamp) - extract(epoch from '2026-06-12 09:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025052 -2.790985)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.79099)'))) / (select extract(epoch from '2026-06-12 09:24:01'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46702, 'SRID=4674;POINT (-40.024917 -2.790991)', '2026-06-12 09:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.024917 -2.790991)'))) / (select extract(epoch from '2026-06-12 09:24:06'::timestamp) - extract(epoch from '2026-06-12 09:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.024917 -2.790991)'))) / (select extract(epoch from '2026-06-12 09:24:06'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.024898 -2.790993)', '2026-06-12 09:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024917 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.024898 -2.790993)'))) / (select extract(epoch from '2026-06-12 09:24:09'::timestamp) - extract(epoch from '2026-06-12 09:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024917 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.024898 -2.790993)'))) / (select extract(epoch from '2026-06-12 09:24:09'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.02484 -2.790973)', '2026-06-12 09:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024898 -2.790993)'), GeomFromEWKT('SRID=4674;POINT (-40.02484 -2.790973)'))) / (select extract(epoch from '2026-06-12 09:24:19'::timestamp) - extract(epoch from '2026-06-12 09:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024898 -2.790993)'), GeomFromEWKT('SRID=4674;POINT (-40.02484 -2.790973)'))) / (select extract(epoch from '2026-06-12 09:24:19'::timestamp) - extract(epoch from '2026-06-12 09:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02483 -2.790897)', '2026-06-12 09:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02484 -2.790973)'), GeomFromEWKT('SRID=4674;POINT (-40.02483 -2.790897)'))) / (select extract(epoch from '2026-06-12 09:24:26'::timestamp) - extract(epoch from '2026-06-12 09:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02484 -2.790973)'), GeomFromEWKT('SRID=4674;POINT (-40.02483 -2.790897)'))) / (select extract(epoch from '2026-06-12 09:24:26'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.024903 -2.790831)', '2026-06-12 09:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02483 -2.790897)'), GeomFromEWKT('SRID=4674;POINT (-40.024903 -2.790831)'))) / (select extract(epoch from '2026-06-12 09:24:32'::timestamp) - extract(epoch from '2026-06-12 09:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02483 -2.790897)'), GeomFromEWKT('SRID=4674;POINT (-40.024903 -2.790831)'))) / (select extract(epoch from '2026-06-12 09:24:32'::timestamp) - extract(epoch from '2026-06-12 09:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024998 -2.79085)', '2026-06-12 09:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024903 -2.790831)'), GeomFromEWKT('SRID=4674;POINT (-40.024998 -2.79085)'))) / (select extract(epoch from '2026-06-12 09:24:38'::timestamp) - extract(epoch from '2026-06-12 09:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024903 -2.790831)'), GeomFromEWKT('SRID=4674;POINT (-40.024998 -2.79085)'))) / (select extract(epoch from '2026-06-12 09:24:38'::timestamp) - extract(epoch from '2026-06-12 09:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025055 -2.790907)', '2026-06-12 09:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024998 -2.79085)'), GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790907)'))) / (select extract(epoch from '2026-06-12 09:24:43'::timestamp) - extract(epoch from '2026-06-12 09:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024998 -2.79085)'), GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790907)'))) / (select extract(epoch from '2026-06-12 09:24:43'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.025107 -2.791006)', '2026-06-12 09:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790907)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791006)'))) / (select extract(epoch from '2026-06-12 09:24:51'::timestamp) - extract(epoch from '2026-06-12 09:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790907)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791006)'))) / (select extract(epoch from '2026-06-12 09:24:51'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.025206 -2.791041)', '2026-06-12 09:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791006)'), GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791041)'))) / (select extract(epoch from '2026-06-12 09:24:58'::timestamp) - extract(epoch from '2026-06-12 09:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.791006)'), GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791041)'))) / (select extract(epoch from '2026-06-12 09:24:58'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46702, 'SRID=4674;POINT (-40.025265 -2.791101)', '2026-06-12 09:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791041)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791101)'))) / (select extract(epoch from '2026-06-12 09:25:05'::timestamp) - extract(epoch from '2026-06-12 09:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791041)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791101)'))) / (select extract(epoch from '2026-06-12 09:25:05'::timestamp) - extract(epoch from '2026-06-12 09:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025282 -2.791178)', '2026-06-12 09:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791101)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791178)'))) / (select extract(epoch from '2026-06-12 09:25:13'::timestamp) - extract(epoch from '2026-06-12 09:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791101)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791178)'))) / (select extract(epoch from '2026-06-12 09:25:13'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46702, 'SRID=4674;POINT (-40.025232 -2.791219)', '2026-06-12 09:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791178)'), GeomFromEWKT('SRID=4674;POINT (-40.025232 -2.791219)'))) / (select extract(epoch from '2026-06-12 09:25:21'::timestamp) - extract(epoch from '2026-06-12 09:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791178)'), GeomFromEWKT('SRID=4674;POINT (-40.025232 -2.791219)'))) / (select extract(epoch from '2026-06-12 09:25:21'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46702, 'SRID=4674;POINT (-40.025195 -2.7912)', '2026-06-12 09:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025232 -2.791219)'), GeomFromEWKT('SRID=4674;POINT (-40.025195 -2.7912)'))) / (select extract(epoch from '2026-06-12 09:25:30'::timestamp) - extract(epoch from '2026-06-12 09:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025232 -2.791219)'), GeomFromEWKT('SRID=4674;POINT (-40.025195 -2.7912)'))) / (select extract(epoch from '2026-06-12 09:25:30'::timestamp) - extract(epoch from '2026-06-12 09:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025113 -2.791171)', '2026-06-12 09:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025195 -2.7912)'), GeomFromEWKT('SRID=4674;POINT (-40.025113 -2.791171)'))) / (select extract(epoch from '2026-06-12 09:25:38'::timestamp) - extract(epoch from '2026-06-12 09:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025195 -2.7912)'), GeomFromEWKT('SRID=4674;POINT (-40.025113 -2.791171)'))) / (select extract(epoch from '2026-06-12 09:25:38'::timestamp) - extract(epoch from '2026-06-12 09:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025014 -2.791166)', '2026-06-12 09:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025113 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791166)'))) / (select extract(epoch from '2026-06-12 09:25:46'::timestamp) - extract(epoch from '2026-06-12 09:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025113 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791166)'))) / (select extract(epoch from '2026-06-12 09:25:46'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46702, 'SRID=4674;POINT (-40.024983 -2.791156)', '2026-06-12 09:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.024983 -2.791156)'))) / (select extract(epoch from '2026-06-12 09:25:54'::timestamp) - extract(epoch from '2026-06-12 09:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.024983 -2.791156)'))) / (select extract(epoch from '2026-06-12 09:25:54'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46702, 'SRID=4674;POINT (-40.024991 -2.791138)', '2026-06-12 09:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024983 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.024991 -2.791138)'))) / (select extract(epoch from '2026-06-12 09:26:06'::timestamp) - extract(epoch from '2026-06-12 09:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024983 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.024991 -2.791138)'))) / (select extract(epoch from '2026-06-12 09:26:06'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46702, 'SRID=4674;POINT (-40.025024 -2.791128)', '2026-06-12 09:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024991 -2.791138)'), GeomFromEWKT('SRID=4674;POINT (-40.025024 -2.791128)'))) / (select extract(epoch from '2026-06-12 09:26:16'::timestamp) - extract(epoch from '2026-06-12 09:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024991 -2.791138)'), GeomFromEWKT('SRID=4674;POINT (-40.025024 -2.791128)'))) / (select extract(epoch from '2026-06-12 09:26:16'::timestamp) - extract(epoch from '2026-06-12 09:26: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'), 46702, 'SRID=4674;POINT (-40.025063 -2.791124)', '2026-06-12 09:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025024 -2.791128)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791124)'))) / (select extract(epoch from '2026-06-12 09:26:25'::timestamp) - extract(epoch from '2026-06-12 09:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025024 -2.791128)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791124)'))) / (select extract(epoch from '2026-06-12 09:26:25'::timestamp) - extract(epoch from '2026-06-12 09:26: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'), 46702, 'SRID=4674;POINT (-40.02513 -2.79109)', '2026-06-12 09:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791124)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:26:51'::timestamp) - extract(epoch from '2026-06-12 09:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791124)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:26:51'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025199 -2.791066)', '2026-06-12 09:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791066)'))) / (select extract(epoch from '2026-06-12 09:27:21'::timestamp) - extract(epoch from '2026-06-12 09:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791066)'))) / (select extract(epoch from '2026-06-12 09:27:21'::timestamp) - extract(epoch from '2026-06-12 09:26: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'), 46702, 'SRID=4674;POINT (-40.025243 -2.791043)', '2026-06-12 09:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.791043)'))) / (select extract(epoch from '2026-06-12 09:27:53'::timestamp) - extract(epoch from '2026-06-12 09:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.791043)'))) / (select extract(epoch from '2026-06-12 09:27:53'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46702, 'SRID=4674;POINT (-40.025254 -2.79109)', '2026-06-12 09:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.791043)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:28:26'::timestamp) - extract(epoch from '2026-06-12 09:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.791043)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:28:26'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025259 -2.791134)', '2026-06-12 09:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791134)'))) / (select extract(epoch from '2026-06-12 09:28:49'::timestamp) - extract(epoch from '2026-06-12 09:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791134)'))) / (select extract(epoch from '2026-06-12 09:28:49'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46702, 'SRID=4674;POINT (-40.02526 -2.791133)', '2026-06-12 09:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791133)'))) / (select extract(epoch from '2026-06-12 09:29:11'::timestamp) - extract(epoch from '2026-06-12 09:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791133)'))) / (select extract(epoch from '2026-06-12 09:29:11'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46702, 'SRID=4674;POINT (-40.025261 -2.791113)', '2026-06-12 09:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791133)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791113)'))) / (select extract(epoch from '2026-06-12 09:29:31'::timestamp) - extract(epoch from '2026-06-12 09:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791133)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791113)'))) / (select extract(epoch from '2026-06-12 09:29:31'::timestamp) - extract(epoch from '2026-06-12 09:29: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'), 46702, 'SRID=4674;POINT (-40.025258 -2.791092)', '2026-06-12 09:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791113)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791092)'))) / (select extract(epoch from '2026-06-12 09:30:00'::timestamp) - extract(epoch from '2026-06-12 09:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791113)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791092)'))) / (select extract(epoch from '2026-06-12 09:30:00'::timestamp) - extract(epoch from '2026-06-12 09:29: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'), 46702, 'SRID=4674;POINT (-40.025252 -2.791134)', '2026-06-12 09:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791092)'), GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791134)'))) / (select extract(epoch from '2026-06-12 09:30:59'::timestamp) - extract(epoch from '2026-06-12 09:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791092)'), GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791134)'))) / (select extract(epoch from '2026-06-12 09:30:59'::timestamp) - extract(epoch from '2026-06-12 09:30: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'), 46702, 'SRID=4674;POINT (-40.025256 -2.791115)', '2026-06-12 09:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.025256 -2.791115)'))) / (select extract(epoch from '2026-06-12 09:31:22'::timestamp) - extract(epoch from '2026-06-12 09:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.025256 -2.791115)'))) / (select extract(epoch from '2026-06-12 09:31:22'::timestamp) - extract(epoch from '2026-06-12 09:30: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'), 46702, 'SRID=4674;POINT (-40.025251 -2.79109)', '2026-06-12 09:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025256 -2.791115)'), GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:31:56'::timestamp) - extract(epoch from '2026-06-12 09:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025256 -2.791115)'), GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.79109)'))) / (select extract(epoch from '2026-06-12 09:31:56'::timestamp) - extract(epoch from '2026-06-12 09:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025254 -2.791101)', '2026-06-12 09:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791101)'))) / (select extract(epoch from '2026-06-12 09:32:13'::timestamp) - extract(epoch from '2026-06-12 09:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.79109)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791101)'))) / (select extract(epoch from '2026-06-12 09:32:13'::timestamp) - extract(epoch from '2026-06-12 09:31: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'), 46702, 'SRID=4674;POINT (-40.025252 -2.791131)', '2026-06-12 09:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791101)'), GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791131)'))) / (select extract(epoch from '2026-06-12 09:32:35'::timestamp) - extract(epoch from '2026-06-12 09:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.791101)'), GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791131)'))) / (select extract(epoch from '2026-06-12 09:32:35'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46702, 'SRID=4674;POINT (-40.025263 -2.791136)', '2026-06-12 09:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791131)'), GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791136)'))) / (select extract(epoch from '2026-06-12 09:33:05'::timestamp) - extract(epoch from '2026-06-12 09:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025252 -2.791131)'), GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791136)'))) / (select extract(epoch from '2026-06-12 09:33:05'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025263 -2.791124)', '2026-06-12 09:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791136)'), GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791124)'))) / (select extract(epoch from '2026-06-12 09:33:23'::timestamp) - extract(epoch from '2026-06-12 09:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791136)'), GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791124)'))) / (select extract(epoch from '2026-06-12 09:33:23'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46702, 'SRID=4674;POINT (-40.02526 -2.7911)', '2026-06-12 09:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791124)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.7911)'))) / (select extract(epoch from '2026-06-12 09:33:46'::timestamp) - extract(epoch from '2026-06-12 09:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025263 -2.791124)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.7911)'))) / (select extract(epoch from '2026-06-12 09:33:46'::timestamp) - extract(epoch from '2026-06-12 09:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02525 -2.791076)', '2026-06-12 09:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.7911)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791076)'))) / (select extract(epoch from '2026-06-12 09:34:21'::timestamp) - extract(epoch from '2026-06-12 09:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.7911)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791076)'))) / (select extract(epoch from '2026-06-12 09:34:21'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025254 -2.79111)', '2026-06-12 09:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791076)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79111)'))) / (select extract(epoch from '2026-06-12 09:35:02'::timestamp) - extract(epoch from '2026-06-12 09:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.791076)'), GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79111)'))) / (select extract(epoch from '2026-06-12 09:35:02'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46702, 'SRID=4674;POINT (-40.02526 -2.791111)', '2026-06-12 09:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79111)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791111)'))) / (select extract(epoch from '2026-06-12 09:35:09'::timestamp) - extract(epoch from '2026-06-12 09:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025254 -2.79111)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791111)'))) / (select extract(epoch from '2026-06-12 09:35:09'::timestamp) - extract(epoch from '2026-06-12 09:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02526 -2.79113)', '2026-06-12 09:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791111)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.79113)'))) / (select extract(epoch from '2026-06-12 09:35:25'::timestamp) - extract(epoch from '2026-06-12 09:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.791111)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.79113)'))) / (select extract(epoch from '2026-06-12 09:35:25'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46702, 'SRID=4674;POINT (-40.025258 -2.791156)', '2026-06-12 09:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.79113)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791156)'))) / (select extract(epoch from '2026-06-12 09:35:51'::timestamp) - extract(epoch from '2026-06-12 09:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.79113)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791156)'))) / (select extract(epoch from '2026-06-12 09:35:51'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46702, 'SRID=4674;POINT (-40.025259 -2.791168)', '2026-06-12 09:36:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791168)'))) / (select extract(epoch from '2026-06-12 09:36:21'::timestamp) - extract(epoch from '2026-06-12 09:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791168)'))) / (select extract(epoch from '2026-06-12 09:36:21'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46702, 'SRID=4674;POINT (-40.025261 -2.791172)', '2026-06-12 09:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791172)'))) / (select extract(epoch from '2026-06-12 09:37:11'::timestamp) - extract(epoch from '2026-06-12 09:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791172)'))) / (select extract(epoch from '2026-06-12 09:37:11'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46702, 'SRID=4674;POINT (-40.025258 -2.791171)', '2026-06-12 09:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791171)'))) / (select extract(epoch from '2026-06-12 09:37:21'::timestamp) - extract(epoch from '2026-06-12 09:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791171)'))) / (select extract(epoch from '2026-06-12 09:37:21'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46702, 'SRID=4674;POINT (-40.025264 -2.791167)', '2026-06-12 09:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:38:02'::timestamp) - extract(epoch from '2026-06-12 09:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025258 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:38:02'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46702, 'SRID=4674;POINT (-40.025265 -2.791175)', '2026-06-12 09:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791175)'))) / (select extract(epoch from '2026-06-12 09:38:59'::timestamp) - extract(epoch from '2026-06-12 09:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025264 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791175)'))) / (select extract(epoch from '2026-06-12 09:38:59'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46702, 'SRID=4674;POINT (-40.025266 -2.791172)', '2026-06-12 09:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791175)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791172)'))) / (select extract(epoch from '2026-06-12 09:39:10'::timestamp) - extract(epoch from '2026-06-12 09:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791175)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791172)'))) / (select extract(epoch from '2026-06-12 09:39:10'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46702, 'SRID=4674;POINT (-40.025273 -2.791167)', '2026-06-12 09:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025273 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:39:24'::timestamp) - extract(epoch from '2026-06-12 09:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025273 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:39:24'::timestamp) - extract(epoch from '2026-06-12 09:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025265 -2.791167)', '2026-06-12 09:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025273 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:39:41'::timestamp) - extract(epoch from '2026-06-12 09:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025273 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791167)'))) / (select extract(epoch from '2026-06-12 09:39:41'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46702, 'SRID=4674;POINT (-40.025243 -2.79118)', '2026-06-12 09:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.79118)'))) / (select extract(epoch from '2026-06-12 09:39:49'::timestamp) - extract(epoch from '2026-06-12 09:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025265 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.79118)'))) / (select extract(epoch from '2026-06-12 09:39:49'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46702, 'SRID=4674;POINT (-40.025192 -2.791198)', '2026-06-12 09:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.79118)'), GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791198)'))) / (select extract(epoch from '2026-06-12 09:39:59'::timestamp) - extract(epoch from '2026-06-12 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025243 -2.79118)'), GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791198)'))) / (select extract(epoch from '2026-06-12 09:39:59'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46702, 'SRID=4674;POINT (-40.0251 -2.791174)', '2026-06-12 09:40:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791198)'), GeomFromEWKT('SRID=4674;POINT (-40.0251 -2.791174)'))) / (select extract(epoch from '2026-06-12 09:40:09'::timestamp) - extract(epoch from '2026-06-12 09:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025192 -2.791198)'), GeomFromEWKT('SRID=4674;POINT (-40.0251 -2.791174)'))) / (select extract(epoch from '2026-06-12 09:40:09'::timestamp) - extract(epoch from '2026-06-12 09:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025013 -2.79114)', '2026-06-12 09:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0251 -2.791174)'), GeomFromEWKT('SRID=4674;POINT (-40.025013 -2.79114)'))) / (select extract(epoch from '2026-06-12 09:40:19'::timestamp) - extract(epoch from '2026-06-12 09:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0251 -2.791174)'), GeomFromEWKT('SRID=4674;POINT (-40.025013 -2.79114)'))) / (select extract(epoch from '2026-06-12 09:40:19'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46702, 'SRID=4674;POINT (-40.02498 -2.791127)', '2026-06-12 09:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025013 -2.79114)'), GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.791127)'))) / (select extract(epoch from '2026-06-12 09:40:26'::timestamp) - extract(epoch from '2026-06-12 09:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025013 -2.79114)'), GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.791127)'))) / (select extract(epoch from '2026-06-12 09:40:26'::timestamp) - extract(epoch from '2026-06-12 09:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024942 -2.791114)', '2026-06-12 09:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.791127)'), GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791114)'))) / (select extract(epoch from '2026-06-12 09:40:34'::timestamp) - extract(epoch from '2026-06-12 09:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02498 -2.791127)'), GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791114)'))) / (select extract(epoch from '2026-06-12 09:40:34'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46702, 'SRID=4674;POINT (-40.024886 -2.791063)', '2026-06-12 09:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.024886 -2.791063)'))) / (select extract(epoch from '2026-06-12 09:40:41'::timestamp) - extract(epoch from '2026-06-12 09:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024942 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.024886 -2.791063)'))) / (select extract(epoch from '2026-06-12 09:40:41'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46702, 'SRID=4674;POINT (-40.024841 -2.790991)', '2026-06-12 09:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024886 -2.791063)'), GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.790991)'))) / (select extract(epoch from '2026-06-12 09:40:48'::timestamp) - extract(epoch from '2026-06-12 09:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024886 -2.791063)'), GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.790991)'))) / (select extract(epoch from '2026-06-12 09:40:48'::timestamp) - extract(epoch from '2026-06-12 09:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024789 -2.790868)', '2026-06-12 09:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.024789 -2.790868)'))) / (select extract(epoch from '2026-06-12 09:40:57'::timestamp) - extract(epoch from '2026-06-12 09:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024841 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.024789 -2.790868)'))) / (select extract(epoch from '2026-06-12 09:40:57'::timestamp) - extract(epoch from '2026-06-12 09:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024773 -2.790821)', '2026-06-12 09:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024789 -2.790868)'), GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.790821)'))) / (select extract(epoch from '2026-06-12 09:41:00'::timestamp) - extract(epoch from '2026-06-12 09:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024789 -2.790868)'), GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.790821)'))) / (select extract(epoch from '2026-06-12 09:41:00'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46702, 'SRID=4674;POINT (-40.024775 -2.79077)', '2026-06-12 09:41:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.790821)'), GeomFromEWKT('SRID=4674;POINT (-40.024775 -2.79077)'))) / (select extract(epoch from '2026-06-12 09:41:03'::timestamp) - extract(epoch from '2026-06-12 09:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.790821)'), GeomFromEWKT('SRID=4674;POINT (-40.024775 -2.79077)'))) / (select extract(epoch from '2026-06-12 09:41:03'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024808 -2.79065)', '2026-06-12 09:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024775 -2.79077)'), GeomFromEWKT('SRID=4674;POINT (-40.024808 -2.79065)'))) / (select extract(epoch from '2026-06-12 09:41:10'::timestamp) - extract(epoch from '2026-06-12 09:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024775 -2.79077)'), GeomFromEWKT('SRID=4674;POINT (-40.024808 -2.79065)'))) / (select extract(epoch from '2026-06-12 09:41:10'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.024838 -2.790525)', '2026-06-12 09:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024808 -2.79065)'), GeomFromEWKT('SRID=4674;POINT (-40.024838 -2.790525)'))) / (select extract(epoch from '2026-06-12 09:41:17'::timestamp) - extract(epoch from '2026-06-12 09:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024808 -2.79065)'), GeomFromEWKT('SRID=4674;POINT (-40.024838 -2.790525)'))) / (select extract(epoch from '2026-06-12 09:41:17'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.024888 -2.790406)', '2026-06-12 09:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024838 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.024888 -2.790406)'))) / (select extract(epoch from '2026-06-12 09:41:24'::timestamp) - extract(epoch from '2026-06-12 09:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024838 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.024888 -2.790406)'))) / (select extract(epoch from '2026-06-12 09:41:24'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024966 -2.790326)', '2026-06-12 09:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024888 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.024966 -2.790326)'))) / (select extract(epoch from '2026-06-12 09:41:30'::timestamp) - extract(epoch from '2026-06-12 09:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024888 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.024966 -2.790326)'))) / (select extract(epoch from '2026-06-12 09:41:30'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.024999 -2.790244)', '2026-06-12 09:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024966 -2.790326)'), GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.790244)'))) / (select extract(epoch from '2026-06-12 09:41:35'::timestamp) - extract(epoch from '2026-06-12 09:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024966 -2.790326)'), GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.790244)'))) / (select extract(epoch from '2026-06-12 09:41:35'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.025006 -2.790227)', '2026-06-12 09:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.790244)'), GeomFromEWKT('SRID=4674;POINT (-40.025006 -2.790227)'))) / (select extract(epoch from '2026-06-12 09:41:36'::timestamp) - extract(epoch from '2026-06-12 09:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.790244)'), GeomFromEWKT('SRID=4674;POINT (-40.025006 -2.790227)'))) / (select extract(epoch from '2026-06-12 09:41:36'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.02503 -2.790158)', '2026-06-12 09:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025006 -2.790227)'), GeomFromEWKT('SRID=4674;POINT (-40.02503 -2.790158)'))) / (select extract(epoch from '2026-06-12 09:41:40'::timestamp) - extract(epoch from '2026-06-12 09:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025006 -2.790227)'), GeomFromEWKT('SRID=4674;POINT (-40.02503 -2.790158)'))) / (select extract(epoch from '2026-06-12 09:41:40'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.025055 -2.790039)', '2026-06-12 09:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02503 -2.790158)'), GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790039)'))) / (select extract(epoch from '2026-06-12 09:41:47'::timestamp) - extract(epoch from '2026-06-12 09:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02503 -2.790158)'), GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790039)'))) / (select extract(epoch from '2026-06-12 09:41:47'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.025032 -2.789945)', '2026-06-12 09:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.789945)'))) / (select extract(epoch from '2026-06-12 09:41:55'::timestamp) - extract(epoch from '2026-06-12 09:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025055 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.789945)'))) / (select extract(epoch from '2026-06-12 09:41:55'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.025029 -2.789865)', '2026-06-12 09:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.789945)'), GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.789865)'))) / (select extract(epoch from '2026-06-12 09:42:03'::timestamp) - extract(epoch from '2026-06-12 09:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.789945)'), GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.789865)'))) / (select extract(epoch from '2026-06-12 09:42:03'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46702, 'SRID=4674;POINT (-40.025104 -2.789827)', '2026-06-12 09:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.789865)'), GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789827)'))) / (select extract(epoch from '2026-06-12 09:42:09'::timestamp) - extract(epoch from '2026-06-12 09:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025029 -2.789865)'), GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789827)'))) / (select extract(epoch from '2026-06-12 09:42:09'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025205 -2.78984)', '2026-06-12 09:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789827)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78984)'))) / (select extract(epoch from '2026-06-12 09:42:17'::timestamp) - extract(epoch from '2026-06-12 09:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789827)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78984)'))) / (select extract(epoch from '2026-06-12 09:42:17'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025245 -2.789889)', '2026-06-12 09:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78984)'), GeomFromEWKT('SRID=4674;POINT (-40.025245 -2.789889)'))) / (select extract(epoch from '2026-06-12 09:42:24'::timestamp) - extract(epoch from '2026-06-12 09:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78984)'), GeomFromEWKT('SRID=4674;POINT (-40.025245 -2.789889)'))) / (select extract(epoch from '2026-06-12 09:42:24'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025246 -2.789898)', '2026-06-12 09:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025245 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.789898)'))) / (select extract(epoch from '2026-06-12 09:42:25'::timestamp) - extract(epoch from '2026-06-12 09:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025245 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.789898)'))) / (select extract(epoch from '2026-06-12 09:42:25'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025242 -2.789916)', '2026-06-12 09:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.789898)'), GeomFromEWKT('SRID=4674;POINT (-40.025242 -2.789916)'))) / (select extract(epoch from '2026-06-12 09:42:27'::timestamp) - extract(epoch from '2026-06-12 09:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.789898)'), GeomFromEWKT('SRID=4674;POINT (-40.025242 -2.789916)'))) / (select extract(epoch from '2026-06-12 09:42:27'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025237 -2.789938)', '2026-06-12 09:42:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025242 -2.789916)'), GeomFromEWKT('SRID=4674;POINT (-40.025237 -2.789938)'))) / (select extract(epoch from '2026-06-12 09:42:30'::timestamp) - extract(epoch from '2026-06-12 09:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025242 -2.789916)'), GeomFromEWKT('SRID=4674;POINT (-40.025237 -2.789938)'))) / (select extract(epoch from '2026-06-12 09:42:30'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025203 -2.789943)', '2026-06-12 09:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025237 -2.789938)'), GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.789943)'))) / (select extract(epoch from '2026-06-12 09:42:37'::timestamp) - extract(epoch from '2026-06-12 09:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025237 -2.789938)'), GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.789943)'))) / (select extract(epoch from '2026-06-12 09:42:37'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025184 -2.789905)', '2026-06-12 09:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.789943)'), GeomFromEWKT('SRID=4674;POINT (-40.025184 -2.789905)'))) / (select extract(epoch from '2026-06-12 09:42:42'::timestamp) - extract(epoch from '2026-06-12 09:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025203 -2.789943)'), GeomFromEWKT('SRID=4674;POINT (-40.025184 -2.789905)'))) / (select extract(epoch from '2026-06-12 09:42:42'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025171 -2.789885)', '2026-06-12 09:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025184 -2.789905)'), GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.789885)'))) / (select extract(epoch from '2026-06-12 09:42:44'::timestamp) - extract(epoch from '2026-06-12 09:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025184 -2.789905)'), GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.789885)'))) / (select extract(epoch from '2026-06-12 09:42:44'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025152 -2.789798)', '2026-06-12 09:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.789885)'), GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.789798)'))) / (select extract(epoch from '2026-06-12 09:42:51'::timestamp) - extract(epoch from '2026-06-12 09:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025171 -2.789885)'), GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.789798)'))) / (select extract(epoch from '2026-06-12 09:42:51'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025148 -2.789774)', '2026-06-12 09:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.789798)'), GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.789774)'))) / (select extract(epoch from '2026-06-12 09:42:54'::timestamp) - extract(epoch from '2026-06-12 09:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.789798)'), GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.789774)'))) / (select extract(epoch from '2026-06-12 09:42:54'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025143 -2.789758)', '2026-06-12 09:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789758)'))) / (select extract(epoch from '2026-06-12 09:42:56'::timestamp) - extract(epoch from '2026-06-12 09:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025148 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789758)'))) / (select extract(epoch from '2026-06-12 09:42:56'::timestamp) - extract(epoch from '2026-06-12 09:42: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'), 46702, 'SRID=4674;POINT (-40.025121 -2.78972)', '2026-06-12 09:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789758)'), GeomFromEWKT('SRID=4674;POINT (-40.025121 -2.78972)'))) / (select extract(epoch from '2026-06-12 09:43:01'::timestamp) - extract(epoch from '2026-06-12 09:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789758)'), GeomFromEWKT('SRID=4674;POINT (-40.025121 -2.78972)'))) / (select extract(epoch from '2026-06-12 09:43:01'::timestamp) - extract(epoch from '2026-06-12 09:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.025059 -2.789709)', '2026-06-12 09:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025121 -2.78972)'), GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.789709)'))) / (select extract(epoch from '2026-06-12 09:43:08'::timestamp) - extract(epoch from '2026-06-12 09:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025121 -2.78972)'), GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.789709)'))) / (select extract(epoch from '2026-06-12 09:43:08'::timestamp) - extract(epoch from '2026-06-12 09:43: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'), 46702, 'SRID=4674;POINT (-40.025002 -2.789737)', '2026-06-12 09:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.789709)'), GeomFromEWKT('SRID=4674;POINT (-40.025002 -2.789737)'))) / (select extract(epoch from '2026-06-12 09:43:14'::timestamp) - extract(epoch from '2026-06-12 09:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025059 -2.789709)'), GeomFromEWKT('SRID=4674;POINT (-40.025002 -2.789737)'))) / (select extract(epoch from '2026-06-12 09:43:14'::timestamp) - extract(epoch from '2026-06-12 09:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024986 -2.789755)', '2026-06-12 09:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025002 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.024986 -2.789755)'))) / (select extract(epoch from '2026-06-12 09:43:16'::timestamp) - extract(epoch from '2026-06-12 09:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025002 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.024986 -2.789755)'))) / (select extract(epoch from '2026-06-12 09:43:16'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024933 -2.789837)', '2026-06-12 09:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024986 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789837)'))) / (select extract(epoch from '2026-06-12 09:43:24'::timestamp) - extract(epoch from '2026-06-12 09:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024986 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789837)'))) / (select extract(epoch from '2026-06-12 09:43:24'::timestamp) - extract(epoch from '2026-06-12 09:43: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'), 46702, 'SRID=4674;POINT (-40.024922 -2.789907)', '2026-06-12 09:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789837)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.789907)'))) / (select extract(epoch from '2026-06-12 09:43:30'::timestamp) - extract(epoch from '2026-06-12 09:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789837)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.789907)'))) / (select extract(epoch from '2026-06-12 09:43:30'::timestamp) - extract(epoch from '2026-06-12 09:43: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'), 46702, 'SRID=4674;POINT (-40.024919 -2.789917)', '2026-06-12 09:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.789907)'), GeomFromEWKT('SRID=4674;POINT (-40.024919 -2.789917)'))) / (select extract(epoch from '2026-06-12 09:43:31'::timestamp) - extract(epoch from '2026-06-12 09:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.789907)'), GeomFromEWKT('SRID=4674;POINT (-40.024919 -2.789917)'))) / (select extract(epoch from '2026-06-12 09:43:31'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.02491 -2.789941)', '2026-06-12 09:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024919 -2.789917)'), GeomFromEWKT('SRID=4674;POINT (-40.02491 -2.789941)'))) / (select extract(epoch from '2026-06-12 09:43:36'::timestamp) - extract(epoch from '2026-06-12 09:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024919 -2.789917)'), GeomFromEWKT('SRID=4674;POINT (-40.02491 -2.789941)'))) / (select extract(epoch from '2026-06-12 09:43:36'::timestamp) - extract(epoch from '2026-06-12 09:43: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'), 46702, 'SRID=4674;POINT (-40.024933 -2.789946)', '2026-06-12 09:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02491 -2.789941)'), GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789946)'))) / (select extract(epoch from '2026-06-12 09:43:51'::timestamp) - extract(epoch from '2026-06-12 09:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02491 -2.789941)'), GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789946)'))) / (select extract(epoch from '2026-06-12 09:43:51'::timestamp) - extract(epoch from '2026-06-12 09:43: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'), 46702, 'SRID=4674;POINT (-40.025037 -2.789949)', '2026-06-12 09:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025037 -2.789949)'))) / (select extract(epoch from '2026-06-12 09:44:20'::timestamp) - extract(epoch from '2026-06-12 09:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024933 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025037 -2.789949)'))) / (select extract(epoch from '2026-06-12 09:44:20'::timestamp) - extract(epoch from '2026-06-12 09:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02513 -2.789946)', '2026-06-12 09:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025037 -2.789949)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789946)'))) / (select extract(epoch from '2026-06-12 09:44:49'::timestamp) - extract(epoch from '2026-06-12 09:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025037 -2.789949)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789946)'))) / (select extract(epoch from '2026-06-12 09:44:49'::timestamp) - extract(epoch from '2026-06-12 09:44: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'), 46702, 'SRID=4674;POINT (-40.025142 -2.789924)', '2026-06-12 09:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789924)'))) / (select extract(epoch from '2026-06-12 09:45:06'::timestamp) - extract(epoch from '2026-06-12 09:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789924)'))) / (select extract(epoch from '2026-06-12 09:45:06'::timestamp) - extract(epoch from '2026-06-12 09:44: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'), 46702, 'SRID=4674;POINT (-40.025137 -2.789889)', '2026-06-12 09:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789924)'), GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789889)'))) / (select extract(epoch from '2026-06-12 09:45:27'::timestamp) - extract(epoch from '2026-06-12 09:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789924)'), GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789889)'))) / (select extract(epoch from '2026-06-12 09:45:27'::timestamp) - extract(epoch from '2026-06-12 09:45: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'), 46702, 'SRID=4674;POINT (-40.025134 -2.789867)', '2026-06-12 09:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.025134 -2.789867)'))) / (select extract(epoch from '2026-06-12 09:45:50'::timestamp) - extract(epoch from '2026-06-12 09:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.025134 -2.789867)'))) / (select extract(epoch from '2026-06-12 09:45:50'::timestamp) - extract(epoch from '2026-06-12 09:45: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'), 46702, 'SRID=4674;POINT (-40.025127 -2.789855)', '2026-06-12 09:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025134 -2.789867)'), GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.789855)'))) / (select extract(epoch from '2026-06-12 09:46:02'::timestamp) - extract(epoch from '2026-06-12 09:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025134 -2.789867)'), GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.789855)'))) / (select extract(epoch from '2026-06-12 09:46:02'::timestamp) - extract(epoch from '2026-06-12 09:45: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'), 46702, 'SRID=4674;POINT (-40.025128 -2.789861)', '2026-06-12 09:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.789855)'), GeomFromEWKT('SRID=4674;POINT (-40.025128 -2.789861)'))) / (select extract(epoch from '2026-06-12 09:46:16'::timestamp) - extract(epoch from '2026-06-12 09:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025127 -2.789855)'), GeomFromEWKT('SRID=4674;POINT (-40.025128 -2.789861)'))) / (select extract(epoch from '2026-06-12 09:46:16'::timestamp) - extract(epoch from '2026-06-12 09:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02513 -2.789871)', '2026-06-12 09:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025128 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789871)'))) / (select extract(epoch from '2026-06-12 09:46:29'::timestamp) - extract(epoch from '2026-06-12 09:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025128 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789871)'))) / (select extract(epoch from '2026-06-12 09:46:29'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025071 -2.789861)', '2026-06-12 09:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789871)'), GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.789861)'))) / (select extract(epoch from '2026-06-12 09:46:49'::timestamp) - extract(epoch from '2026-06-12 09:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02513 -2.789871)'), GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.789861)'))) / (select extract(epoch from '2026-06-12 09:46:49'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.025001 -2.789903)', '2026-06-12 09:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.025001 -2.789903)'))) / (select extract(epoch from '2026-06-12 09:46:57'::timestamp) - extract(epoch from '2026-06-12 09:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.025001 -2.789903)'))) / (select extract(epoch from '2026-06-12 09:46:57'::timestamp) - extract(epoch from '2026-06-12 09:46: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'), 46702, 'SRID=4674;POINT (-40.02496 -2.789941)', '2026-06-12 09:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025001 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.02496 -2.789941)'))) / (select extract(epoch from '2026-06-12 09:47:02'::timestamp) - extract(epoch from '2026-06-12 09:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025001 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.02496 -2.789941)'))) / (select extract(epoch from '2026-06-12 09:47:02'::timestamp) - extract(epoch from '2026-06-12 09:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024943 -2.789957)', '2026-06-12 09:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02496 -2.789941)'), GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.789957)'))) / (select extract(epoch from '2026-06-12 09:47:04'::timestamp) - extract(epoch from '2026-06-12 09:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02496 -2.789941)'), GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.789957)'))) / (select extract(epoch from '2026-06-12 09:47:04'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024901 -2.789979)', '2026-06-12 09:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.789957)'), GeomFromEWKT('SRID=4674;POINT (-40.024901 -2.789979)'))) / (select extract(epoch from '2026-06-12 09:47:11'::timestamp) - extract(epoch from '2026-06-12 09:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.789957)'), GeomFromEWKT('SRID=4674;POINT (-40.024901 -2.789979)'))) / (select extract(epoch from '2026-06-12 09:47:11'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024864 -2.789943)', '2026-06-12 09:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024901 -2.789979)'), GeomFromEWKT('SRID=4674;POINT (-40.024864 -2.789943)'))) / (select extract(epoch from '2026-06-12 09:47:20'::timestamp) - extract(epoch from '2026-06-12 09:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024901 -2.789979)'), GeomFromEWKT('SRID=4674;POINT (-40.024864 -2.789943)'))) / (select extract(epoch from '2026-06-12 09:47:20'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024802 -2.789884)', '2026-06-12 09:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024864 -2.789943)'), GeomFromEWKT('SRID=4674;POINT (-40.024802 -2.789884)'))) / (select extract(epoch from '2026-06-12 09:47:30'::timestamp) - extract(epoch from '2026-06-12 09:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024864 -2.789943)'), GeomFromEWKT('SRID=4674;POINT (-40.024802 -2.789884)'))) / (select extract(epoch from '2026-06-12 09:47:30'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024721 -2.789868)', '2026-06-12 09:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024802 -2.789884)'), GeomFromEWKT('SRID=4674;POINT (-40.024721 -2.789868)'))) / (select extract(epoch from '2026-06-12 09:47:37'::timestamp) - extract(epoch from '2026-06-12 09:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024802 -2.789884)'), GeomFromEWKT('SRID=4674;POINT (-40.024721 -2.789868)'))) / (select extract(epoch from '2026-06-12 09:47:37'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024684 -2.789858)', '2026-06-12 09:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024721 -2.789868)'), GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.789858)'))) / (select extract(epoch from '2026-06-12 09:47:40'::timestamp) - extract(epoch from '2026-06-12 09:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024721 -2.789868)'), GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.789858)'))) / (select extract(epoch from '2026-06-12 09:47:40'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.02466 -2.789832)', '2026-06-12 09:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.789858)'), GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.789832)'))) / (select extract(epoch from '2026-06-12 09:47:43'::timestamp) - extract(epoch from '2026-06-12 09:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.789858)'), GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.789832)'))) / (select extract(epoch from '2026-06-12 09:47:43'::timestamp) - extract(epoch from '2026-06-12 09:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024645 -2.789776)', '2026-06-12 09:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.789832)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.789776)'))) / (select extract(epoch from '2026-06-12 09:47:47'::timestamp) - extract(epoch from '2026-06-12 09:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02466 -2.789832)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.789776)'))) / (select extract(epoch from '2026-06-12 09:47:47'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.02464 -2.789743)', '2026-06-12 09:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.789776)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.789743)'))) / (select extract(epoch from '2026-06-12 09:47:49'::timestamp) - extract(epoch from '2026-06-12 09:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.789776)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.789743)'))) / (select extract(epoch from '2026-06-12 09:47:49'::timestamp) - extract(epoch from '2026-06-12 09:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024635 -2.789625)', '2026-06-12 09:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.024635 -2.789625)'))) / (select extract(epoch from '2026-06-12 09:47:56'::timestamp) - extract(epoch from '2026-06-12 09:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.024635 -2.789625)'))) / (select extract(epoch from '2026-06-12 09:47:56'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024638 -2.789522)', '2026-06-12 09:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024635 -2.789625)'), GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.789522)'))) / (select extract(epoch from '2026-06-12 09:48:02'::timestamp) - extract(epoch from '2026-06-12 09:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024635 -2.789625)'), GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.789522)'))) / (select extract(epoch from '2026-06-12 09:48:02'::timestamp) - extract(epoch from '2026-06-12 09:47: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'), 46702, 'SRID=4674;POINT (-40.024633 -2.789416)', '2026-06-12 09:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.024633 -2.789416)'))) / (select extract(epoch from '2026-06-12 09:48:08'::timestamp) - extract(epoch from '2026-06-12 09:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.024633 -2.789416)'))) / (select extract(epoch from '2026-06-12 09:48:08'::timestamp) - extract(epoch from '2026-06-12 09:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024602 -2.789267)', '2026-06-12 09:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024633 -2.789416)'), GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.789267)'))) / (select extract(epoch from '2026-06-12 09:48:17'::timestamp) - extract(epoch from '2026-06-12 09:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024633 -2.789416)'), GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.789267)'))) / (select extract(epoch from '2026-06-12 09:48:17'::timestamp) - extract(epoch from '2026-06-12 09:48: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'), 46702, 'SRID=4674;POINT (-40.024565 -2.789182)', '2026-06-12 09:48:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.789182)'))) / (select extract(epoch from '2026-06-12 09:48:23'::timestamp) - extract(epoch from '2026-06-12 09:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.789182)'))) / (select extract(epoch from '2026-06-12 09:48:23'::timestamp) - extract(epoch from '2026-06-12 09:48: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'), 46702, 'SRID=4674;POINT (-40.024548 -2.789089)', '2026-06-12 09:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.789182)'), GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.789089)'))) / (select extract(epoch from '2026-06-12 09:48:29'::timestamp) - extract(epoch from '2026-06-12 09:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.789182)'), GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.789089)'))) / (select extract(epoch from '2026-06-12 09:48:29'::timestamp) - extract(epoch from '2026-06-12 09:48: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'), 46702, 'SRID=4674;POINT (-40.024536 -2.788982)', '2026-06-12 09:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.024536 -2.788982)'))) / (select extract(epoch from '2026-06-12 09:48:36'::timestamp) - extract(epoch from '2026-06-12 09:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.024536 -2.788982)'))) / (select extract(epoch from '2026-06-12 09:48:36'::timestamp) - extract(epoch from '2026-06-12 09:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024547 -2.78888)', '2026-06-12 09:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024536 -2.788982)'), GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.78888)'))) / (select extract(epoch from '2026-06-12 09:48:42'::timestamp) - extract(epoch from '2026-06-12 09:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024536 -2.788982)'), GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.78888)'))) / (select extract(epoch from '2026-06-12 09:48:42'::timestamp) - extract(epoch from '2026-06-12 09:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024578 -2.788773)', '2026-06-12 09:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.78888)'), GeomFromEWKT('SRID=4674;POINT (-40.024578 -2.788773)'))) / (select extract(epoch from '2026-06-12 09:48:48'::timestamp) - extract(epoch from '2026-06-12 09:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024547 -2.78888)'), GeomFromEWKT('SRID=4674;POINT (-40.024578 -2.788773)'))) / (select extract(epoch from '2026-06-12 09:48:48'::timestamp) - extract(epoch from '2026-06-12 09:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024631 -2.788615)', '2026-06-12 09:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024578 -2.788773)'), GeomFromEWKT('SRID=4674;POINT (-40.024631 -2.788615)'))) / (select extract(epoch from '2026-06-12 09:48:58'::timestamp) - extract(epoch from '2026-06-12 09:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024578 -2.788773)'), GeomFromEWKT('SRID=4674;POINT (-40.024631 -2.788615)'))) / (select extract(epoch from '2026-06-12 09:48:58'::timestamp) - extract(epoch from '2026-06-12 09:48: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'), 46702, 'SRID=4674;POINT (-40.024689 -2.788587)', '2026-06-12 09:49:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024631 -2.788615)'), GeomFromEWKT('SRID=4674;POINT (-40.024689 -2.788587)'))) / (select extract(epoch from '2026-06-12 09:49:03'::timestamp) - extract(epoch from '2026-06-12 09:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024631 -2.788615)'), GeomFromEWKT('SRID=4674;POINT (-40.024689 -2.788587)'))) / (select extract(epoch from '2026-06-12 09:49:03'::timestamp) - extract(epoch from '2026-06-12 09:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024714 -2.788591)', '2026-06-12 09:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024689 -2.788587)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788591)'))) / (select extract(epoch from '2026-06-12 09:49:05'::timestamp) - extract(epoch from '2026-06-12 09:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024689 -2.788587)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788591)'))) / (select extract(epoch from '2026-06-12 09:49:05'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024784 -2.78856)', '2026-06-12 09:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.78856)'))) / (select extract(epoch from '2026-06-12 09:49:11'::timestamp) - extract(epoch from '2026-06-12 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.78856)'))) / (select extract(epoch from '2026-06-12 09:49:11'::timestamp) - extract(epoch from '2026-06-12 09:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024791 -2.788528)', '2026-06-12 09:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.78856)'), GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.788528)'))) / (select extract(epoch from '2026-06-12 09:49:14'::timestamp) - extract(epoch from '2026-06-12 09:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024784 -2.78856)'), GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.788528)'))) / (select extract(epoch from '2026-06-12 09:49:14'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024785 -2.788511)', '2026-06-12 09:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.788528)'), GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.788511)'))) / (select extract(epoch from '2026-06-12 09:49:16'::timestamp) - extract(epoch from '2026-06-12 09:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.788528)'), GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.788511)'))) / (select extract(epoch from '2026-06-12 09:49:16'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.02478 -2.788503)', '2026-06-12 09:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.788511)'), GeomFromEWKT('SRID=4674;POINT (-40.02478 -2.788503)'))) / (select extract(epoch from '2026-06-12 09:49:17'::timestamp) - extract(epoch from '2026-06-12 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024785 -2.788511)'), GeomFromEWKT('SRID=4674;POINT (-40.02478 -2.788503)'))) / (select extract(epoch from '2026-06-12 09:49:17'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024773 -2.788496)', '2026-06-12 09:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02478 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.788496)'))) / (select extract(epoch from '2026-06-12 09:49:18'::timestamp) - extract(epoch from '2026-06-12 09:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02478 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.788496)'))) / (select extract(epoch from '2026-06-12 09:49:18'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024722 -2.788494)', '2026-06-12 09:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.024722 -2.788494)'))) / (select extract(epoch from '2026-06-12 09:49:23'::timestamp) - extract(epoch from '2026-06-12 09:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024773 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.024722 -2.788494)'))) / (select extract(epoch from '2026-06-12 09:49:23'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024642 -2.788559)', '2026-06-12 09:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024722 -2.788494)'), GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788559)'))) / (select extract(epoch from '2026-06-12 09:49:31'::timestamp) - extract(epoch from '2026-06-12 09:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024722 -2.788494)'), GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788559)'))) / (select extract(epoch from '2026-06-12 09:49:31'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024595 -2.788629)', '2026-06-12 09:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788559)'), GeomFromEWKT('SRID=4674;POINT (-40.024595 -2.788629)'))) / (select extract(epoch from '2026-06-12 09:49:37'::timestamp) - extract(epoch from '2026-06-12 09:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788559)'), GeomFromEWKT('SRID=4674;POINT (-40.024595 -2.788629)'))) / (select extract(epoch from '2026-06-12 09:49:37'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024518 -2.788675)', '2026-06-12 09:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024595 -2.788629)'), GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.788675)'))) / (select extract(epoch from '2026-06-12 09:49:44'::timestamp) - extract(epoch from '2026-06-12 09:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024595 -2.788629)'), GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.788675)'))) / (select extract(epoch from '2026-06-12 09:49:44'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024437 -2.788679)', '2026-06-12 09:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.788675)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788679)'))) / (select extract(epoch from '2026-06-12 09:49:52'::timestamp) - extract(epoch from '2026-06-12 09:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024518 -2.788675)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788679)'))) / (select extract(epoch from '2026-06-12 09:49:52'::timestamp) - extract(epoch from '2026-06-12 09:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024408 -2.788674)', '2026-06-12 09:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.788674)'))) / (select extract(epoch from '2026-06-12 09:50:00'::timestamp) - extract(epoch from '2026-06-12 09:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.788674)'))) / (select extract(epoch from '2026-06-12 09:50:00'::timestamp) - extract(epoch from '2026-06-12 09:49: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'), 46702, 'SRID=4674;POINT (-40.024411 -2.788659)', '2026-06-12 09:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.788674)'), GeomFromEWKT('SRID=4674;POINT (-40.024411 -2.788659)'))) / (select extract(epoch from '2026-06-12 09:50:07'::timestamp) - extract(epoch from '2026-06-12 09:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024408 -2.788674)'), GeomFromEWKT('SRID=4674;POINT (-40.024411 -2.788659)'))) / (select extract(epoch from '2026-06-12 09:50:07'::timestamp) - extract(epoch from '2026-06-12 09:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024438 -2.788642)', '2026-06-12 09:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024411 -2.788659)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788642)'))) / (select extract(epoch from '2026-06-12 09:50:19'::timestamp) - extract(epoch from '2026-06-12 09:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024411 -2.788659)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788642)'))) / (select extract(epoch from '2026-06-12 09:50:19'::timestamp) - extract(epoch from '2026-06-12 09:50: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'), 46702, 'SRID=4674;POINT (-40.024545 -2.788647)', '2026-06-12 09:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788642)'), GeomFromEWKT('SRID=4674;POINT (-40.024545 -2.788647)'))) / (select extract(epoch from '2026-06-12 09:50:46'::timestamp) - extract(epoch from '2026-06-12 09:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788642)'), GeomFromEWKT('SRID=4674;POINT (-40.024545 -2.788647)'))) / (select extract(epoch from '2026-06-12 09:50:46'::timestamp) - extract(epoch from '2026-06-12 09:50: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'), 46702, 'SRID=4674;POINT (-40.024623 -2.788656)', '2026-06-12 09:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024545 -2.788647)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.788656)'))) / (select extract(epoch from '2026-06-12 09:51:09'::timestamp) - extract(epoch from '2026-06-12 09:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024545 -2.788647)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.788656)'))) / (select extract(epoch from '2026-06-12 09:51:09'::timestamp) - extract(epoch from '2026-06-12 09:50: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'), 46702, 'SRID=4674;POINT (-40.024663 -2.788654)', '2026-06-12 09:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.024663 -2.788654)'))) / (select extract(epoch from '2026-06-12 09:51:29'::timestamp) - extract(epoch from '2026-06-12 09:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.024663 -2.788654)'))) / (select extract(epoch from '2026-06-12 09:51:29'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46702, 'SRID=4674;POINT (-40.024667 -2.788657)', '2026-06-12 09:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024663 -2.788654)'), GeomFromEWKT('SRID=4674;POINT (-40.024667 -2.788657)'))) / (select extract(epoch from '2026-06-12 09:52:16'::timestamp) - extract(epoch from '2026-06-12 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024663 -2.788654)'), GeomFromEWKT('SRID=4674;POINT (-40.024667 -2.788657)'))) / (select extract(epoch from '2026-06-12 09:52:16'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024641 -2.788656)', '2026-06-12 09:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024667 -2.788657)'), GeomFromEWKT('SRID=4674;POINT (-40.024641 -2.788656)'))) / (select extract(epoch from '2026-06-12 09:52:46'::timestamp) - extract(epoch from '2026-06-12 09:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024667 -2.788657)'), GeomFromEWKT('SRID=4674;POINT (-40.024641 -2.788656)'))) / (select extract(epoch from '2026-06-12 09:52:46'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46702, 'SRID=4674;POINT (-40.024549 -2.788667)', '2026-06-12 09:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024641 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.024549 -2.788667)'))) / (select extract(epoch from '2026-06-12 09:52:54'::timestamp) - extract(epoch from '2026-06-12 09:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024641 -2.788656)'), GeomFromEWKT('SRID=4674;POINT (-40.024549 -2.788667)'))) / (select extract(epoch from '2026-06-12 09:52:54'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024481 -2.788695)', '2026-06-12 09:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024549 -2.788667)'), GeomFromEWKT('SRID=4674;POINT (-40.024481 -2.788695)'))) / (select extract(epoch from '2026-06-12 09:53:01'::timestamp) - extract(epoch from '2026-06-12 09:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024549 -2.788667)'), GeomFromEWKT('SRID=4674;POINT (-40.024481 -2.788695)'))) / (select extract(epoch from '2026-06-12 09:53:01'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46702, 'SRID=4674;POINT (-40.024413 -2.788696)', '2026-06-12 09:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024481 -2.788695)'), GeomFromEWKT('SRID=4674;POINT (-40.024413 -2.788696)'))) / (select extract(epoch from '2026-06-12 09:53:10'::timestamp) - extract(epoch from '2026-06-12 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024481 -2.788695)'), GeomFromEWKT('SRID=4674;POINT (-40.024413 -2.788696)'))) / (select extract(epoch from '2026-06-12 09:53:10'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024354 -2.788638)', '2026-06-12 09:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024413 -2.788696)'), GeomFromEWKT('SRID=4674;POINT (-40.024354 -2.788638)'))) / (select extract(epoch from '2026-06-12 09:53:18'::timestamp) - extract(epoch from '2026-06-12 09:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024413 -2.788696)'), GeomFromEWKT('SRID=4674;POINT (-40.024354 -2.788638)'))) / (select extract(epoch from '2026-06-12 09:53:18'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024343 -2.788514)', '2026-06-12 09:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024354 -2.788638)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.788514)'))) / (select extract(epoch from '2026-06-12 09:53:26'::timestamp) - extract(epoch from '2026-06-12 09:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024354 -2.788638)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.788514)'))) / (select extract(epoch from '2026-06-12 09:53:26'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024383 -2.788371)', '2026-06-12 09:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.788514)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788371)'))) / (select extract(epoch from '2026-06-12 09:53:34'::timestamp) - extract(epoch from '2026-06-12 09:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.788514)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788371)'))) / (select extract(epoch from '2026-06-12 09:53:34'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024415 -2.788263)', '2026-06-12 09:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.024415 -2.788263)'))) / (select extract(epoch from '2026-06-12 09:53:40'::timestamp) - extract(epoch from '2026-06-12 09:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.024415 -2.788263)'))) / (select extract(epoch from '2026-06-12 09:53:40'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024437 -2.788132)', '2026-06-12 09:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024415 -2.788263)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788132)'))) / (select extract(epoch from '2026-06-12 09:53:47'::timestamp) - extract(epoch from '2026-06-12 09:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024415 -2.788263)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788132)'))) / (select extract(epoch from '2026-06-12 09:53:47'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024422 -2.788002)', '2026-06-12 09:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788132)'), GeomFromEWKT('SRID=4674;POINT (-40.024422 -2.788002)'))) / (select extract(epoch from '2026-06-12 09:53:54'::timestamp) - extract(epoch from '2026-06-12 09:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.788132)'), GeomFromEWKT('SRID=4674;POINT (-40.024422 -2.788002)'))) / (select extract(epoch from '2026-06-12 09:53:54'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024391 -2.787843)', '2026-06-12 09:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024422 -2.788002)'), GeomFromEWKT('SRID=4674;POINT (-40.024391 -2.787843)'))) / (select extract(epoch from '2026-06-12 09:54:03'::timestamp) - extract(epoch from '2026-06-12 09:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024422 -2.788002)'), GeomFromEWKT('SRID=4674;POINT (-40.024391 -2.787843)'))) / (select extract(epoch from '2026-06-12 09:54:03'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46702, 'SRID=4674;POINT (-40.024383 -2.787716)', '2026-06-12 09:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024391 -2.787843)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.787716)'))) / (select extract(epoch from '2026-06-12 09:54:10'::timestamp) - extract(epoch from '2026-06-12 09:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024391 -2.787843)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.787716)'))) / (select extract(epoch from '2026-06-12 09:54:10'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46702, 'SRID=4674;POINT (-40.024372 -2.787609)', '2026-06-12 09:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.024372 -2.787609)'))) / (select extract(epoch from '2026-06-12 09:54:16'::timestamp) - extract(epoch from '2026-06-12 09:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.024372 -2.787609)'))) / (select extract(epoch from '2026-06-12 09:54:16'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024353 -2.787468)', '2026-06-12 09:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024372 -2.787609)'), GeomFromEWKT('SRID=4674;POINT (-40.024353 -2.787468)'))) / (select extract(epoch from '2026-06-12 09:54:24'::timestamp) - extract(epoch from '2026-06-12 09:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024372 -2.787609)'), GeomFromEWKT('SRID=4674;POINT (-40.024353 -2.787468)'))) / (select extract(epoch from '2026-06-12 09:54:24'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46702, 'SRID=4674;POINT (-40.024351 -2.78735)', '2026-06-12 09:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024353 -2.787468)'), GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.78735)'))) / (select extract(epoch from '2026-06-12 09:54:31'::timestamp) - extract(epoch from '2026-06-12 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024353 -2.787468)'), GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.78735)'))) / (select extract(epoch from '2026-06-12 09:54:31'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46702, 'SRID=4674;POINT (-40.02434 -2.787328)', '2026-06-12 09:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.78735)'), GeomFromEWKT('SRID=4674;POINT (-40.02434 -2.787328)'))) / (select extract(epoch from '2026-06-12 09:54:33'::timestamp) - extract(epoch from '2026-06-12 09:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.78735)'), GeomFromEWKT('SRID=4674;POINT (-40.02434 -2.787328)'))) / (select extract(epoch from '2026-06-12 09:54:33'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024323 -2.787315)', '2026-06-12 09:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02434 -2.787328)'), GeomFromEWKT('SRID=4674;POINT (-40.024323 -2.787315)'))) / (select extract(epoch from '2026-06-12 09:54:35'::timestamp) - extract(epoch from '2026-06-12 09:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02434 -2.787328)'), GeomFromEWKT('SRID=4674;POINT (-40.024323 -2.787315)'))) / (select extract(epoch from '2026-06-12 09:54:35'::timestamp) - extract(epoch from '2026-06-12 09:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024301 -2.787305)', '2026-06-12 09:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024323 -2.787315)'), GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787305)'))) / (select extract(epoch from '2026-06-12 09:54:37'::timestamp) - extract(epoch from '2026-06-12 09:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024323 -2.787315)'), GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787305)'))) / (select extract(epoch from '2026-06-12 09:54:37'::timestamp) - extract(epoch from '2026-06-12 09:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024278 -2.787296)', '2026-06-12 09:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787296)'))) / (select extract(epoch from '2026-06-12 09:54:39'::timestamp) - extract(epoch from '2026-06-12 09:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787296)'))) / (select extract(epoch from '2026-06-12 09:54:39'::timestamp) - extract(epoch from '2026-06-12 09:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024253 -2.787295)', '2026-06-12 09:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787296)'), GeomFromEWKT('SRID=4674;POINT (-40.024253 -2.787295)'))) / (select extract(epoch from '2026-06-12 09:54:41'::timestamp) - extract(epoch from '2026-06-12 09:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787296)'), GeomFromEWKT('SRID=4674;POINT (-40.024253 -2.787295)'))) / (select extract(epoch from '2026-06-12 09:54:41'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46702, 'SRID=4674;POINT (-40.024225 -2.787294)', '2026-06-12 09:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024253 -2.787295)'), GeomFromEWKT('SRID=4674;POINT (-40.024225 -2.787294)'))) / (select extract(epoch from '2026-06-12 09:54:43'::timestamp) - extract(epoch from '2026-06-12 09:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024253 -2.787295)'), GeomFromEWKT('SRID=4674;POINT (-40.024225 -2.787294)'))) / (select extract(epoch from '2026-06-12 09:54:43'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46702, 'SRID=4674;POINT (-40.02415 -2.787287)', '2026-06-12 09:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024225 -2.787294)'), GeomFromEWKT('SRID=4674;POINT (-40.02415 -2.787287)'))) / (select extract(epoch from '2026-06-12 09:54:50'::timestamp) - extract(epoch from '2026-06-12 09:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024225 -2.787294)'), GeomFromEWKT('SRID=4674;POINT (-40.02415 -2.787287)'))) / (select extract(epoch from '2026-06-12 09:54:50'::timestamp) - extract(epoch from '2026-06-12 09:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024102 -2.78729)', '2026-06-12 09:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02415 -2.787287)'), GeomFromEWKT('SRID=4674;POINT (-40.024102 -2.78729)'))) / (select extract(epoch from '2026-06-12 09:55:00'::timestamp) - extract(epoch from '2026-06-12 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02415 -2.787287)'), GeomFromEWKT('SRID=4674;POINT (-40.024102 -2.78729)'))) / (select extract(epoch from '2026-06-12 09:55:00'::timestamp) - extract(epoch from '2026-06-12 09:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024112 -2.787283)', '2026-06-12 09:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024102 -2.78729)'), GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.787283)'))) / (select extract(epoch from '2026-06-12 09:55:14'::timestamp) - extract(epoch from '2026-06-12 09:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024102 -2.78729)'), GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.787283)'))) / (select extract(epoch from '2026-06-12 09:55:14'::timestamp) - extract(epoch from '2026-06-12 09:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02414 -2.787284)', '2026-06-12 09:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.787283)'), GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.787284)'))) / (select extract(epoch from '2026-06-12 09:55:24'::timestamp) - extract(epoch from '2026-06-12 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024112 -2.787283)'), GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.787284)'))) / (select extract(epoch from '2026-06-12 09:55:24'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46702, 'SRID=4674;POINT (-40.024249 -2.787277)', '2026-06-12 09:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.787284)'), GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.787277)'))) / (select extract(epoch from '2026-06-12 09:55:54'::timestamp) - extract(epoch from '2026-06-12 09:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02414 -2.787284)'), GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.787277)'))) / (select extract(epoch from '2026-06-12 09:55:54'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46702, 'SRID=4674;POINT (-40.024287 -2.787251)', '2026-06-12 09:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.787251)'))) / (select extract(epoch from '2026-06-12 09:56:19'::timestamp) - extract(epoch from '2026-06-12 09:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.787251)'))) / (select extract(epoch from '2026-06-12 09:56:19'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46702, 'SRID=4674;POINT (-40.024286 -2.787238)', '2026-06-12 09:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.787251)'), GeomFromEWKT('SRID=4674;POINT (-40.024286 -2.787238)'))) / (select extract(epoch from '2026-06-12 09:56:46'::timestamp) - extract(epoch from '2026-06-12 09:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024287 -2.787251)'), GeomFromEWKT('SRID=4674;POINT (-40.024286 -2.787238)'))) / (select extract(epoch from '2026-06-12 09:56:46'::timestamp) - extract(epoch from '2026-06-12 09:56: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'), 46702, 'SRID=4674;POINT (-40.024282 -2.787228)', '2026-06-12 09:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024286 -2.787238)'), GeomFromEWKT('SRID=4674;POINT (-40.024282 -2.787228)'))) / (select extract(epoch from '2026-06-12 09:57:19'::timestamp) - extract(epoch from '2026-06-12 09:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024286 -2.787238)'), GeomFromEWKT('SRID=4674;POINT (-40.024282 -2.787228)'))) / (select extract(epoch from '2026-06-12 09:57:19'::timestamp) - extract(epoch from '2026-06-12 09:56: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'), 46702, 'SRID=4674;POINT (-40.024278 -2.787214)', '2026-06-12 09:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024282 -2.787228)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787214)'))) / (select extract(epoch from '2026-06-12 09:57:57'::timestamp) - extract(epoch from '2026-06-12 09:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024282 -2.787228)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787214)'))) / (select extract(epoch from '2026-06-12 09:57:57'::timestamp) - extract(epoch from '2026-06-12 09:57: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'), 46702, 'SRID=4674;POINT (-40.024278 -2.787212)', '2026-06-12 09:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787212)'))) / (select extract(epoch from '2026-06-12 09:58:33'::timestamp) - extract(epoch from '2026-06-12 09:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787212)'))) / (select extract(epoch from '2026-06-12 09:58:33'::timestamp) - extract(epoch from '2026-06-12 09:57: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'), 46702, 'SRID=4674;POINT (-40.024279 -2.787214)', '2026-06-12 09:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787212)'), GeomFromEWKT('SRID=4674;POINT (-40.024279 -2.787214)'))) / (select extract(epoch from '2026-06-12 09:59:05'::timestamp) - extract(epoch from '2026-06-12 09:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024278 -2.787212)'), GeomFromEWKT('SRID=4674;POINT (-40.024279 -2.787214)'))) / (select extract(epoch from '2026-06-12 09:59:05'::timestamp) - extract(epoch from '2026-06-12 09:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024275 -2.787208)', '2026-06-12 09:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024279 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787208)'))) / (select extract(epoch from '2026-06-12 09:59:42'::timestamp) - extract(epoch from '2026-06-12 09:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024279 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787208)'))) / (select extract(epoch from '2026-06-12 09:59:42'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46702, 'SRID=4674;POINT (-40.024274 -2.787206)', '2026-06-12 10:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.024274 -2.787206)'))) / (select extract(epoch from '2026-06-12 10:00:08'::timestamp) - extract(epoch from '2026-06-12 09:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.024274 -2.787206)'))) / (select extract(epoch from '2026-06-12 10:00:08'::timestamp) - extract(epoch from '2026-06-12 09:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024271 -2.787201)', '2026-06-12 10:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024274 -2.787206)'), GeomFromEWKT('SRID=4674;POINT (-40.024271 -2.787201)'))) / (select extract(epoch from '2026-06-12 10:00:41'::timestamp) - extract(epoch from '2026-06-12 10:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024274 -2.787206)'), GeomFromEWKT('SRID=4674;POINT (-40.024271 -2.787201)'))) / (select extract(epoch from '2026-06-12 10:00:41'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46702, 'SRID=4674;POINT (-40.024277 -2.78722)', '2026-06-12 10:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024271 -2.787201)'), GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.78722)'))) / (select extract(epoch from '2026-06-12 10:01:09'::timestamp) - extract(epoch from '2026-06-12 10:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024271 -2.787201)'), GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.78722)'))) / (select extract(epoch from '2026-06-12 10:01:09'::timestamp) - extract(epoch from '2026-06-12 10:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02428 -2.787234)', '2026-06-12 10:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.78722)'), GeomFromEWKT('SRID=4674;POINT (-40.02428 -2.787234)'))) / (select extract(epoch from '2026-06-12 10:01:21'::timestamp) - extract(epoch from '2026-06-12 10:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024277 -2.78722)'), GeomFromEWKT('SRID=4674;POINT (-40.02428 -2.787234)'))) / (select extract(epoch from '2026-06-12 10:01:21'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46702, 'SRID=4674;POINT (-40.024275 -2.787219)', '2026-06-12 10:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02428 -2.787234)'), GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787219)'))) / (select extract(epoch from '2026-06-12 10:01:33'::timestamp) - extract(epoch from '2026-06-12 10:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02428 -2.787234)'), GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787219)'))) / (select extract(epoch from '2026-06-12 10:01:33'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46702, 'SRID=4674;POINT (-40.024273 -2.787223)', '2026-06-12 10:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.024273 -2.787223)'))) / (select extract(epoch from '2026-06-12 10:01:45'::timestamp) - extract(epoch from '2026-06-12 10:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024275 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.024273 -2.787223)'))) / (select extract(epoch from '2026-06-12 10:01:45'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46702, 'SRID=4674;POINT (-40.024256 -2.787214)', '2026-06-12 10:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024273 -2.787223)'), GeomFromEWKT('SRID=4674;POINT (-40.024256 -2.787214)'))) / (select extract(epoch from '2026-06-12 10:01:59'::timestamp) - extract(epoch from '2026-06-12 10:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024273 -2.787223)'), GeomFromEWKT('SRID=4674;POINT (-40.024256 -2.787214)'))) / (select extract(epoch from '2026-06-12 10:01:59'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46702, 'SRID=4674;POINT (-40.024201 -2.78721)', '2026-06-12 10:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024256 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.78721)'))) / (select extract(epoch from '2026-06-12 10:02:08'::timestamp) - extract(epoch from '2026-06-12 10:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024256 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.78721)'))) / (select extract(epoch from '2026-06-12 10:02:08'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46702, 'SRID=4674;POINT (-40.024128 -2.787258)', '2026-06-12 10:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.78721)'), GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.787258)'))) / (select extract(epoch from '2026-06-12 10:02:19'::timestamp) - extract(epoch from '2026-06-12 10:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.78721)'), GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.787258)'))) / (select extract(epoch from '2026-06-12 10:02:19'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46702, 'SRID=4674;POINT (-40.024083 -2.787256)', '2026-06-12 10:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.787258)'), GeomFromEWKT('SRID=4674;POINT (-40.024083 -2.787256)'))) / (select extract(epoch from '2026-06-12 10:02:27'::timestamp) - extract(epoch from '2026-06-12 10:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024128 -2.787258)'), GeomFromEWKT('SRID=4674;POINT (-40.024083 -2.787256)'))) / (select extract(epoch from '2026-06-12 10:02:27'::timestamp) - extract(epoch from '2026-06-12 10:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024064 -2.787198)', '2026-06-12 10:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024083 -2.787256)'), GeomFromEWKT('SRID=4674;POINT (-40.024064 -2.787198)'))) / (select extract(epoch from '2026-06-12 10:02:36'::timestamp) - extract(epoch from '2026-06-12 10:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024083 -2.787256)'), GeomFromEWKT('SRID=4674;POINT (-40.024064 -2.787198)'))) / (select extract(epoch from '2026-06-12 10:02:36'::timestamp) - extract(epoch from '2026-06-12 10:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024059 -2.78719)', '2026-06-12 10:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024064 -2.787198)'), GeomFromEWKT('SRID=4674;POINT (-40.024059 -2.78719)'))) / (select extract(epoch from '2026-06-12 10:02:37'::timestamp) - extract(epoch from '2026-06-12 10:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024064 -2.787198)'), GeomFromEWKT('SRID=4674;POINT (-40.024059 -2.78719)'))) / (select extract(epoch from '2026-06-12 10:02:37'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.024042 -2.787169)', '2026-06-12 10:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024059 -2.78719)'), GeomFromEWKT('SRID=4674;POINT (-40.024042 -2.787169)'))) / (select extract(epoch from '2026-06-12 10:02:40'::timestamp) - extract(epoch from '2026-06-12 10:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024059 -2.78719)'), GeomFromEWKT('SRID=4674;POINT (-40.024042 -2.787169)'))) / (select extract(epoch from '2026-06-12 10:02:40'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.024027 -2.787156)', '2026-06-12 10:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024042 -2.787169)'), GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.787156)'))) / (select extract(epoch from '2026-06-12 10:02:42'::timestamp) - extract(epoch from '2026-06-12 10:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024042 -2.787169)'), GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.787156)'))) / (select extract(epoch from '2026-06-12 10:02:42'::timestamp) - extract(epoch from '2026-06-12 10:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.024013 -2.78714)', '2026-06-12 10:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.787156)'), GeomFromEWKT('SRID=4674;POINT (-40.024013 -2.78714)'))) / (select extract(epoch from '2026-06-12 10:02:44'::timestamp) - extract(epoch from '2026-06-12 10:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024027 -2.787156)'), GeomFromEWKT('SRID=4674;POINT (-40.024013 -2.78714)'))) / (select extract(epoch from '2026-06-12 10:02:44'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023987 -2.78711)', '2026-06-12 10:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024013 -2.78714)'), GeomFromEWKT('SRID=4674;POINT (-40.023987 -2.78711)'))) / (select extract(epoch from '2026-06-12 10:02:47'::timestamp) - extract(epoch from '2026-06-12 10:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024013 -2.78714)'), GeomFromEWKT('SRID=4674;POINT (-40.023987 -2.78711)'))) / (select extract(epoch from '2026-06-12 10:02:47'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023978 -2.787099)', '2026-06-12 10:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023987 -2.78711)'), GeomFromEWKT('SRID=4674;POINT (-40.023978 -2.787099)'))) / (select extract(epoch from '2026-06-12 10:02:48'::timestamp) - extract(epoch from '2026-06-12 10:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023987 -2.78711)'), GeomFromEWKT('SRID=4674;POINT (-40.023978 -2.787099)'))) / (select extract(epoch from '2026-06-12 10:02:48'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023965 -2.787081)', '2026-06-12 10:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023978 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.787081)'))) / (select extract(epoch from '2026-06-12 10:02:50'::timestamp) - extract(epoch from '2026-06-12 10:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023978 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.787081)'))) / (select extract(epoch from '2026-06-12 10:02:50'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023955 -2.787058)', '2026-06-12 10:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.787081)'), GeomFromEWKT('SRID=4674;POINT (-40.023955 -2.787058)'))) / (select extract(epoch from '2026-06-12 10:02:52'::timestamp) - extract(epoch from '2026-06-12 10:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.787081)'), GeomFromEWKT('SRID=4674;POINT (-40.023955 -2.787058)'))) / (select extract(epoch from '2026-06-12 10:02:52'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023933 -2.786959)', '2026-06-12 10:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023955 -2.787058)'), GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.786959)'))) / (select extract(epoch from '2026-06-12 10:02:59'::timestamp) - extract(epoch from '2026-06-12 10:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023955 -2.787058)'), GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.786959)'))) / (select extract(epoch from '2026-06-12 10:02:59'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023932 -2.786943)', '2026-06-12 10:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.786959)'), GeomFromEWKT('SRID=4674;POINT (-40.023932 -2.786943)'))) / (select extract(epoch from '2026-06-12 10:03:00'::timestamp) - extract(epoch from '2026-06-12 10:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.786959)'), GeomFromEWKT('SRID=4674;POINT (-40.023932 -2.786943)'))) / (select extract(epoch from '2026-06-12 10:03:00'::timestamp) - extract(epoch from '2026-06-12 10:02: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'), 46702, 'SRID=4674;POINT (-40.023927 -2.786912)', '2026-06-12 10:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023932 -2.786943)'), GeomFromEWKT('SRID=4674;POINT (-40.023927 -2.786912)'))) / (select extract(epoch from '2026-06-12 10:03:02'::timestamp) - extract(epoch from '2026-06-12 10:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023932 -2.786943)'), GeomFromEWKT('SRID=4674;POINT (-40.023927 -2.786912)'))) / (select extract(epoch from '2026-06-12 10:03:02'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.023919 -2.786866)', '2026-06-12 10:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023927 -2.786912)'), GeomFromEWKT('SRID=4674;POINT (-40.023919 -2.786866)'))) / (select extract(epoch from '2026-06-12 10:03:05'::timestamp) - extract(epoch from '2026-06-12 10:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023927 -2.786912)'), GeomFromEWKT('SRID=4674;POINT (-40.023919 -2.786866)'))) / (select extract(epoch from '2026-06-12 10:03:05'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.023871 -2.786769)', '2026-06-12 10:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023919 -2.786866)'), GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.786769)'))) / (select extract(epoch from '2026-06-12 10:03:12'::timestamp) - extract(epoch from '2026-06-12 10:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023919 -2.786866)'), GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.786769)'))) / (select extract(epoch from '2026-06-12 10:03:12'::timestamp) - extract(epoch from '2026-06-12 10:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023821 -2.78667)', '2026-06-12 10:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.023821 -2.78667)'))) / (select extract(epoch from '2026-06-12 10:03:19'::timestamp) - extract(epoch from '2026-06-12 10:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023871 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.023821 -2.78667)'))) / (select extract(epoch from '2026-06-12 10:03:19'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.023769 -2.786607)', '2026-06-12 10:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023821 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.023769 -2.786607)'))) / (select extract(epoch from '2026-06-12 10:03:24'::timestamp) - extract(epoch from '2026-06-12 10:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023821 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.023769 -2.786607)'))) / (select extract(epoch from '2026-06-12 10:03:24'::timestamp) - extract(epoch from '2026-06-12 10:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023706 -2.786519)', '2026-06-12 10:03:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023769 -2.786607)'), GeomFromEWKT('SRID=4674;POINT (-40.023706 -2.786519)'))) / (select extract(epoch from '2026-06-12 10:03:31'::timestamp) - extract(epoch from '2026-06-12 10:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023769 -2.786607)'), GeomFromEWKT('SRID=4674;POINT (-40.023706 -2.786519)'))) / (select extract(epoch from '2026-06-12 10:03:31'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.02367 -2.786415)', '2026-06-12 10:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023706 -2.786519)'), GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.786415)'))) / (select extract(epoch from '2026-06-12 10:03:38'::timestamp) - extract(epoch from '2026-06-12 10:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023706 -2.786519)'), GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.786415)'))) / (select extract(epoch from '2026-06-12 10:03:38'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.023606 -2.786267)', '2026-06-12 10:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.786415)'), GeomFromEWKT('SRID=4674;POINT (-40.023606 -2.786267)'))) / (select extract(epoch from '2026-06-12 10:03:48'::timestamp) - extract(epoch from '2026-06-12 10:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02367 -2.786415)'), GeomFromEWKT('SRID=4674;POINT (-40.023606 -2.786267)'))) / (select extract(epoch from '2026-06-12 10:03:48'::timestamp) - extract(epoch from '2026-06-12 10:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023549 -2.786175)', '2026-06-12 10:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023606 -2.786267)'), GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.786175)'))) / (select extract(epoch from '2026-06-12 10:03:56'::timestamp) - extract(epoch from '2026-06-12 10:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023606 -2.786267)'), GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.786175)'))) / (select extract(epoch from '2026-06-12 10:03:56'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.0235 -2.78614)', '2026-06-12 10:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.786175)'), GeomFromEWKT('SRID=4674;POINT (-40.0235 -2.78614)'))) / (select extract(epoch from '2026-06-12 10:04:01'::timestamp) - extract(epoch from '2026-06-12 10:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.786175)'), GeomFromEWKT('SRID=4674;POINT (-40.0235 -2.78614)'))) / (select extract(epoch from '2026-06-12 10:04:01'::timestamp) - extract(epoch from '2026-06-12 10:03: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'), 46702, 'SRID=4674;POINT (-40.023486 -2.786126)', '2026-06-12 10:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0235 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.023486 -2.786126)'))) / (select extract(epoch from '2026-06-12 10:04:03'::timestamp) - extract(epoch from '2026-06-12 10:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0235 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.023486 -2.786126)'))) / (select extract(epoch from '2026-06-12 10:04:03'::timestamp) - extract(epoch from '2026-06-12 10:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023408 -2.786091)', '2026-06-12 10:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023486 -2.786126)'), GeomFromEWKT('SRID=4674;POINT (-40.023408 -2.786091)'))) / (select extract(epoch from '2026-06-12 10:04:11'::timestamp) - extract(epoch from '2026-06-12 10:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023486 -2.786126)'), GeomFromEWKT('SRID=4674;POINT (-40.023408 -2.786091)'))) / (select extract(epoch from '2026-06-12 10:04:11'::timestamp) - extract(epoch from '2026-06-12 10:04: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'), 46702, 'SRID=4674;POINT (-40.023301 -2.786078)', '2026-06-12 10:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023408 -2.786091)'), GeomFromEWKT('SRID=4674;POINT (-40.023301 -2.786078)'))) / (select extract(epoch from '2026-06-12 10:04:20'::timestamp) - extract(epoch from '2026-06-12 10:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023408 -2.786091)'), GeomFromEWKT('SRID=4674;POINT (-40.023301 -2.786078)'))) / (select extract(epoch from '2026-06-12 10:04:20'::timestamp) - extract(epoch from '2026-06-12 10:04: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'), 46702, 'SRID=4674;POINT (-40.023264 -2.786083)', '2026-06-12 10:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023301 -2.786078)'), GeomFromEWKT('SRID=4674;POINT (-40.023264 -2.786083)'))) / (select extract(epoch from '2026-06-12 10:04:27'::timestamp) - extract(epoch from '2026-06-12 10:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023301 -2.786078)'), GeomFromEWKT('SRID=4674;POINT (-40.023264 -2.786083)'))) / (select extract(epoch from '2026-06-12 10:04:27'::timestamp) - extract(epoch from '2026-06-12 10:04: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'), 46702, 'SRID=4674;POINT (-40.023279 -2.786084)', '2026-06-12 10:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023264 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.786084)'))) / (select extract(epoch from '2026-06-12 10:04:35'::timestamp) - extract(epoch from '2026-06-12 10:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023264 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.786084)'))) / (select extract(epoch from '2026-06-12 10:04:35'::timestamp) - extract(epoch from '2026-06-12 10:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023368 -2.786092)', '2026-06-12 10:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.786084)'), GeomFromEWKT('SRID=4674;POINT (-40.023368 -2.786092)'))) / (select extract(epoch from '2026-06-12 10:04:54'::timestamp) - extract(epoch from '2026-06-12 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023279 -2.786084)'), GeomFromEWKT('SRID=4674;POINT (-40.023368 -2.786092)'))) / (select extract(epoch from '2026-06-12 10:04:54'::timestamp) - extract(epoch from '2026-06-12 10:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023436 -2.786075)', '2026-06-12 10:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023368 -2.786092)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.786075)'))) / (select extract(epoch from '2026-06-12 10:05:17'::timestamp) - extract(epoch from '2026-06-12 10:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023368 -2.786092)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.786075)'))) / (select extract(epoch from '2026-06-12 10:05:17'::timestamp) - extract(epoch from '2026-06-12 10:04: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'), 46702, 'SRID=4674;POINT (-40.023474 -2.78605)', '2026-06-12 10:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.786075)'), GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.78605)'))) / (select extract(epoch from '2026-06-12 10:05:41'::timestamp) - extract(epoch from '2026-06-12 10:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.786075)'), GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.78605)'))) / (select extract(epoch from '2026-06-12 10:05:41'::timestamp) - extract(epoch from '2026-06-12 10:05: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'), 46702, 'SRID=4674;POINT (-40.023473 -2.786079)', '2026-06-12 10:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.78605)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786079)'))) / (select extract(epoch from '2026-06-12 10:05:55'::timestamp) - extract(epoch from '2026-06-12 10:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.78605)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786079)'))) / (select extract(epoch from '2026-06-12 10:05:55'::timestamp) - extract(epoch from '2026-06-12 10:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023475 -2.786118)', '2026-06-12 10:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786079)'), GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786118)'))) / (select extract(epoch from '2026-06-12 10:06:13'::timestamp) - extract(epoch from '2026-06-12 10:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786079)'), GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786118)'))) / (select extract(epoch from '2026-06-12 10:06:13'::timestamp) - extract(epoch from '2026-06-12 10:05: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'), 46702, 'SRID=4674;POINT (-40.023464 -2.786087)', '2026-06-12 10:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786118)'), GeomFromEWKT('SRID=4674;POINT (-40.023464 -2.786087)'))) / (select extract(epoch from '2026-06-12 10:06:32'::timestamp) - extract(epoch from '2026-06-12 10:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786118)'), GeomFromEWKT('SRID=4674;POINT (-40.023464 -2.786087)'))) / (select extract(epoch from '2026-06-12 10:06:32'::timestamp) - extract(epoch from '2026-06-12 10:06: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'), 46702, 'SRID=4674;POINT (-40.023398 -2.786066)', '2026-06-12 10:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023464 -2.786087)'), GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786066)'))) / (select extract(epoch from '2026-06-12 10:06:44'::timestamp) - extract(epoch from '2026-06-12 10:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023464 -2.786087)'), GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786066)'))) / (select extract(epoch from '2026-06-12 10:06:44'::timestamp) - extract(epoch from '2026-06-12 10:06: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'), 46702, 'SRID=4674;POINT (-40.02335 -2.786083)', '2026-06-12 10:06:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786066)'), GeomFromEWKT('SRID=4674;POINT (-40.02335 -2.786083)'))) / (select extract(epoch from '2026-06-12 10:06:50'::timestamp) - extract(epoch from '2026-06-12 10:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786066)'), GeomFromEWKT('SRID=4674;POINT (-40.02335 -2.786083)'))) / (select extract(epoch from '2026-06-12 10:06:50'::timestamp) - extract(epoch from '2026-06-12 10:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023272 -2.7861)', '2026-06-12 10:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02335 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.7861)'))) / (select extract(epoch from '2026-06-12 10:07:01'::timestamp) - extract(epoch from '2026-06-12 10:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02335 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.7861)'))) / (select extract(epoch from '2026-06-12 10:07:01'::timestamp) - extract(epoch from '2026-06-12 10:06: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'), 46702, 'SRID=4674;POINT (-40.023241 -2.786073)', '2026-06-12 10:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.7861)'), GeomFromEWKT('SRID=4674;POINT (-40.023241 -2.786073)'))) / (select extract(epoch from '2026-06-12 10:07:12'::timestamp) - extract(epoch from '2026-06-12 10:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.7861)'), GeomFromEWKT('SRID=4674;POINT (-40.023241 -2.786073)'))) / (select extract(epoch from '2026-06-12 10:07:12'::timestamp) - extract(epoch from '2026-06-12 10:07: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'), 46702, 'SRID=4674;POINT (-40.023207 -2.786001)', '2026-06-12 10:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023241 -2.786073)'), GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.786001)'))) / (select extract(epoch from '2026-06-12 10:07:19'::timestamp) - extract(epoch from '2026-06-12 10:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023241 -2.786073)'), GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.786001)'))) / (select extract(epoch from '2026-06-12 10:07:19'::timestamp) - extract(epoch from '2026-06-12 10:07: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'), 46702, 'SRID=4674;POINT (-40.023162 -2.785941)', '2026-06-12 10:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.786001)'), GeomFromEWKT('SRID=4674;POINT (-40.023162 -2.785941)'))) / (select extract(epoch from '2026-06-12 10:07:24'::timestamp) - extract(epoch from '2026-06-12 10:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023207 -2.786001)'), GeomFromEWKT('SRID=4674;POINT (-40.023162 -2.785941)'))) / (select extract(epoch from '2026-06-12 10:07:24'::timestamp) - extract(epoch from '2026-06-12 10:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023155 -2.785927)', '2026-06-12 10:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023162 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.023155 -2.785927)'))) / (select extract(epoch from '2026-06-12 10:07:25'::timestamp) - extract(epoch from '2026-06-12 10:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023162 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.023155 -2.785927)'))) / (select extract(epoch from '2026-06-12 10:07:25'::timestamp) - extract(epoch from '2026-06-12 10:07: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'), 46702, 'SRID=4674;POINT (-40.023121 -2.785859)', '2026-06-12 10:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023155 -2.785927)'), GeomFromEWKT('SRID=4674;POINT (-40.023121 -2.785859)'))) / (select extract(epoch from '2026-06-12 10:07:30'::timestamp) - extract(epoch from '2026-06-12 10:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023155 -2.785927)'), GeomFromEWKT('SRID=4674;POINT (-40.023121 -2.785859)'))) / (select extract(epoch from '2026-06-12 10:07:30'::timestamp) - extract(epoch from '2026-06-12 10:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023074 -2.785755)', '2026-06-12 10:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023121 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.785755)'))) / (select extract(epoch from '2026-06-12 10:07:37'::timestamp) - extract(epoch from '2026-06-12 10:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023121 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.785755)'))) / (select extract(epoch from '2026-06-12 10:07:37'::timestamp) - extract(epoch from '2026-06-12 10:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.023006 -2.785642)', '2026-06-12 10:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.785755)'), GeomFromEWKT('SRID=4674;POINT (-40.023006 -2.785642)'))) / (select extract(epoch from '2026-06-12 10:07:45'::timestamp) - extract(epoch from '2026-06-12 10:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023074 -2.785755)'), GeomFromEWKT('SRID=4674;POINT (-40.023006 -2.785642)'))) / (select extract(epoch from '2026-06-12 10:07:45'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46702, 'SRID=4674;POINT (-40.022959 -2.785558)', '2026-06-12 10:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023006 -2.785642)'), GeomFromEWKT('SRID=4674;POINT (-40.022959 -2.785558)'))) / (select extract(epoch from '2026-06-12 10:07:51'::timestamp) - extract(epoch from '2026-06-12 10:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023006 -2.785642)'), GeomFromEWKT('SRID=4674;POINT (-40.022959 -2.785558)'))) / (select extract(epoch from '2026-06-12 10:07:51'::timestamp) - extract(epoch from '2026-06-12 10:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022937 -2.785461)', '2026-06-12 10:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022959 -2.785558)'), GeomFromEWKT('SRID=4674;POINT (-40.022937 -2.785461)'))) / (select extract(epoch from '2026-06-12 10:07:57'::timestamp) - extract(epoch from '2026-06-12 10:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022959 -2.785558)'), GeomFromEWKT('SRID=4674;POINT (-40.022937 -2.785461)'))) / (select extract(epoch from '2026-06-12 10:07:57'::timestamp) - extract(epoch from '2026-06-12 10:07: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'), 46702, 'SRID=4674;POINT (-40.0229 -2.785375)', '2026-06-12 10:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022937 -2.785461)'), GeomFromEWKT('SRID=4674;POINT (-40.0229 -2.785375)'))) / (select extract(epoch from '2026-06-12 10:08:03'::timestamp) - extract(epoch from '2026-06-12 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022937 -2.785461)'), GeomFromEWKT('SRID=4674;POINT (-40.0229 -2.785375)'))) / (select extract(epoch from '2026-06-12 10:08:03'::timestamp) - extract(epoch from '2026-06-12 10:07: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'), 46702, 'SRID=4674;POINT (-40.022874 -2.785262)', '2026-06-12 10:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0229 -2.785375)'), GeomFromEWKT('SRID=4674;POINT (-40.022874 -2.785262)'))) / (select extract(epoch from '2026-06-12 10:08:10'::timestamp) - extract(epoch from '2026-06-12 10:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0229 -2.785375)'), GeomFromEWKT('SRID=4674;POINT (-40.022874 -2.785262)'))) / (select extract(epoch from '2026-06-12 10:08:10'::timestamp) - extract(epoch from '2026-06-12 10:08: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'), 46702, 'SRID=4674;POINT (-40.022842 -2.785172)', '2026-06-12 10:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022874 -2.785262)'), GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.785172)'))) / (select extract(epoch from '2026-06-12 10:08:16'::timestamp) - extract(epoch from '2026-06-12 10:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022874 -2.785262)'), GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.785172)'))) / (select extract(epoch from '2026-06-12 10:08:16'::timestamp) - extract(epoch from '2026-06-12 10:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
