 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02091 -2.795439)', '2026-06-13 08:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020985 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.02091 -2.795439)'))) / (select extract(epoch from '2026-06-13 08:24:24'::timestamp) - extract(epoch from '2026-06-13 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020985 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.02091 -2.795439)'))) / (select extract(epoch from '2026-06-13 08:24:24'::timestamp) - extract(epoch from '2026-06-13 08:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020841 -2.795388)', '2026-06-13 08:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02091 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.020841 -2.795388)'))) / (select extract(epoch from '2026-06-13 08:24:30'::timestamp) - extract(epoch from '2026-06-13 08:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02091 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.020841 -2.795388)'))) / (select extract(epoch from '2026-06-13 08:24:30'::timestamp) - extract(epoch from '2026-06-13 08:24: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'), 46703, 'SRID=4674;POINT (-40.020754 -2.79531)', '2026-06-13 08:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020841 -2.795388)'), GeomFromEWKT('SRID=4674;POINT (-40.020754 -2.79531)'))) / (select extract(epoch from '2026-06-13 08:24:39'::timestamp) - extract(epoch from '2026-06-13 08:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020841 -2.795388)'), GeomFromEWKT('SRID=4674;POINT (-40.020754 -2.79531)'))) / (select extract(epoch from '2026-06-13 08:24:39'::timestamp) - extract(epoch from '2026-06-13 08:24: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'), 46703, 'SRID=4674;POINT (-40.020643 -2.795226)', '2026-06-13 08:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020754 -2.79531)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.795226)'))) / (select extract(epoch from '2026-06-13 08:24:49'::timestamp) - extract(epoch from '2026-06-13 08:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020754 -2.79531)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.795226)'))) / (select extract(epoch from '2026-06-13 08:24:49'::timestamp) - extract(epoch from '2026-06-13 08:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020579 -2.795166)', '2026-06-13 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.795226)'), GeomFromEWKT('SRID=4674;POINT (-40.020579 -2.795166)'))) / (select extract(epoch from '2026-06-13 08:24:57'::timestamp) - extract(epoch from '2026-06-13 08:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.795226)'), GeomFromEWKT('SRID=4674;POINT (-40.020579 -2.795166)'))) / (select extract(epoch from '2026-06-13 08:24:57'::timestamp) - extract(epoch from '2026-06-13 08:24: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'), 46703, 'SRID=4674;POINT (-40.020511 -2.795092)', '2026-06-13 08:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020579 -2.795166)'), GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.795092)'))) / (select extract(epoch from '2026-06-13 08:25:05'::timestamp) - extract(epoch from '2026-06-13 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020579 -2.795166)'), GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.795092)'))) / (select extract(epoch from '2026-06-13 08:25:05'::timestamp) - extract(epoch from '2026-06-13 08:24: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'), 46703, 'SRID=4674;POINT (-40.020457 -2.795033)', '2026-06-13 08:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.020457 -2.795033)'))) / (select extract(epoch from '2026-06-13 08:25:13'::timestamp) - extract(epoch from '2026-06-13 08:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.020457 -2.795033)'))) / (select extract(epoch from '2026-06-13 08:25:13'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.020415 -2.794981)', '2026-06-13 08:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020457 -2.795033)'), GeomFromEWKT('SRID=4674;POINT (-40.020415 -2.794981)'))) / (select extract(epoch from '2026-06-13 08:25:19'::timestamp) - extract(epoch from '2026-06-13 08:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020457 -2.795033)'), GeomFromEWKT('SRID=4674;POINT (-40.020415 -2.794981)'))) / (select extract(epoch from '2026-06-13 08:25:19'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.020318 -2.794893)', '2026-06-13 08:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020415 -2.794981)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.794893)'))) / (select extract(epoch from '2026-06-13 08:25:29'::timestamp) - extract(epoch from '2026-06-13 08:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020415 -2.794981)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.794893)'))) / (select extract(epoch from '2026-06-13 08:25:29'::timestamp) - extract(epoch from '2026-06-13 08:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020242 -2.794802)', '2026-06-13 08:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.020242 -2.794802)'))) / (select extract(epoch from '2026-06-13 08:25:38'::timestamp) - extract(epoch from '2026-06-13 08:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.020242 -2.794802)'))) / (select extract(epoch from '2026-06-13 08:25:38'::timestamp) - extract(epoch from '2026-06-13 08:25: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'), 46703, 'SRID=4674;POINT (-40.020203 -2.794719)', '2026-06-13 08:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020242 -2.794802)'), GeomFromEWKT('SRID=4674;POINT (-40.020203 -2.794719)'))) / (select extract(epoch from '2026-06-13 08:25:46'::timestamp) - extract(epoch from '2026-06-13 08:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020242 -2.794802)'), GeomFromEWKT('SRID=4674;POINT (-40.020203 -2.794719)'))) / (select extract(epoch from '2026-06-13 08:25:46'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.020143 -2.794637)', '2026-06-13 08:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020203 -2.794719)'), GeomFromEWKT('SRID=4674;POINT (-40.020143 -2.794637)'))) / (select extract(epoch from '2026-06-13 08:25:54'::timestamp) - extract(epoch from '2026-06-13 08:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020203 -2.794719)'), GeomFromEWKT('SRID=4674;POINT (-40.020143 -2.794637)'))) / (select extract(epoch from '2026-06-13 08:25:54'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.020066 -2.794533)', '2026-06-13 08:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020143 -2.794637)'), GeomFromEWKT('SRID=4674;POINT (-40.020066 -2.794533)'))) / (select extract(epoch from '2026-06-13 08:26:03'::timestamp) - extract(epoch from '2026-06-13 08:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020143 -2.794637)'), GeomFromEWKT('SRID=4674;POINT (-40.020066 -2.794533)'))) / (select extract(epoch from '2026-06-13 08:26:03'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.02002 -2.794423)', '2026-06-13 08:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020066 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.02002 -2.794423)'))) / (select extract(epoch from '2026-06-13 08:26:11'::timestamp) - extract(epoch from '2026-06-13 08:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020066 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.02002 -2.794423)'))) / (select extract(epoch from '2026-06-13 08:26:11'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.020027 -2.794331)', '2026-06-13 08:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02002 -2.794423)'), GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794331)'))) / (select extract(epoch from '2026-06-13 08:26:18'::timestamp) - extract(epoch from '2026-06-13 08:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02002 -2.794423)'), GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794331)'))) / (select extract(epoch from '2026-06-13 08:26:18'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.020017 -2.794254)', '2026-06-13 08:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794331)'), GeomFromEWKT('SRID=4674;POINT (-40.020017 -2.794254)'))) / (select extract(epoch from '2026-06-13 08:26:26'::timestamp) - extract(epoch from '2026-06-13 08:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794331)'), GeomFromEWKT('SRID=4674;POINT (-40.020017 -2.794254)'))) / (select extract(epoch from '2026-06-13 08:26:26'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.020003 -2.794192)', '2026-06-13 08:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020017 -2.794254)'), GeomFromEWKT('SRID=4674;POINT (-40.020003 -2.794192)'))) / (select extract(epoch from '2026-06-13 08:26:33'::timestamp) - extract(epoch from '2026-06-13 08:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020017 -2.794254)'), GeomFromEWKT('SRID=4674;POINT (-40.020003 -2.794192)'))) / (select extract(epoch from '2026-06-13 08:26:33'::timestamp) - extract(epoch from '2026-06-13 08:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019994 -2.794134)', '2026-06-13 08:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020003 -2.794192)'), GeomFromEWKT('SRID=4674;POINT (-40.019994 -2.794134)'))) / (select extract(epoch from '2026-06-13 08:26:40'::timestamp) - extract(epoch from '2026-06-13 08:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020003 -2.794192)'), GeomFromEWKT('SRID=4674;POINT (-40.019994 -2.794134)'))) / (select extract(epoch from '2026-06-13 08:26:40'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.019975 -2.794097)', '2026-06-13 08:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019994 -2.794134)'), GeomFromEWKT('SRID=4674;POINT (-40.019975 -2.794097)'))) / (select extract(epoch from '2026-06-13 08:26:48'::timestamp) - extract(epoch from '2026-06-13 08:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019994 -2.794134)'), GeomFromEWKT('SRID=4674;POINT (-40.019975 -2.794097)'))) / (select extract(epoch from '2026-06-13 08:26:48'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.019966 -2.7941)', '2026-06-13 08:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019975 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.7941)'))) / (select extract(epoch from '2026-06-13 08:27:00'::timestamp) - extract(epoch from '2026-06-13 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019975 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.7941)'))) / (select extract(epoch from '2026-06-13 08:27:00'::timestamp) - extract(epoch from '2026-06-13 08:26: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'), 46703, 'SRID=4674;POINT (-40.019973 -2.794122)', '2026-06-13 08:27:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.7941)'), GeomFromEWKT('SRID=4674;POINT (-40.019973 -2.794122)'))) / (select extract(epoch from '2026-06-13 08:27:03'::timestamp) - extract(epoch from '2026-06-13 08:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.7941)'), GeomFromEWKT('SRID=4674;POINT (-40.019973 -2.794122)'))) / (select extract(epoch from '2026-06-13 08:27:03'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020009 -2.79417)', '2026-06-13 08:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019973 -2.794122)'), GeomFromEWKT('SRID=4674;POINT (-40.020009 -2.79417)'))) / (select extract(epoch from '2026-06-13 08:27:08'::timestamp) - extract(epoch from '2026-06-13 08:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019973 -2.794122)'), GeomFromEWKT('SRID=4674;POINT (-40.020009 -2.79417)'))) / (select extract(epoch from '2026-06-13 08:27:08'::timestamp) - extract(epoch from '2026-06-13 08:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02006 -2.79424)', '2026-06-13 08:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020009 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-40.02006 -2.79424)'))) / (select extract(epoch from '2026-06-13 08:27:17'::timestamp) - extract(epoch from '2026-06-13 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020009 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-40.02006 -2.79424)'))) / (select extract(epoch from '2026-06-13 08:27:17'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020069 -2.794248)', '2026-06-13 08:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02006 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.020069 -2.794248)'))) / (select extract(epoch from '2026-06-13 08:27:18'::timestamp) - extract(epoch from '2026-06-13 08:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02006 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.020069 -2.794248)'))) / (select extract(epoch from '2026-06-13 08:27:18'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020087 -2.794262)', '2026-06-13 08:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020069 -2.794248)'), GeomFromEWKT('SRID=4674;POINT (-40.020087 -2.794262)'))) / (select extract(epoch from '2026-06-13 08:27:20'::timestamp) - extract(epoch from '2026-06-13 08:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020069 -2.794248)'), GeomFromEWKT('SRID=4674;POINT (-40.020087 -2.794262)'))) / (select extract(epoch from '2026-06-13 08:27:20'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.02011 -2.794273)', '2026-06-13 08:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020087 -2.794262)'), GeomFromEWKT('SRID=4674;POINT (-40.02011 -2.794273)'))) / (select extract(epoch from '2026-06-13 08:27:22'::timestamp) - extract(epoch from '2026-06-13 08:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020087 -2.794262)'), GeomFromEWKT('SRID=4674;POINT (-40.02011 -2.794273)'))) / (select extract(epoch from '2026-06-13 08:27:22'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020196 -2.794269)', '2026-06-13 08:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02011 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.020196 -2.794269)'))) / (select extract(epoch from '2026-06-13 08:27:28'::timestamp) - extract(epoch from '2026-06-13 08:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02011 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.020196 -2.794269)'))) / (select extract(epoch from '2026-06-13 08:27:28'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020262 -2.794174)', '2026-06-13 08:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020196 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.020262 -2.794174)'))) / (select extract(epoch from '2026-06-13 08:27:35'::timestamp) - extract(epoch from '2026-06-13 08:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020196 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.020262 -2.794174)'))) / (select extract(epoch from '2026-06-13 08:27:35'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020255 -2.79407)', '2026-06-13 08:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020262 -2.794174)'), GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.79407)'))) / (select extract(epoch from '2026-06-13 08:27:42'::timestamp) - extract(epoch from '2026-06-13 08:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020262 -2.794174)'), GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.79407)'))) / (select extract(epoch from '2026-06-13 08:27:42'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020212 -2.793999)', '2026-06-13 08:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.79407)'), GeomFromEWKT('SRID=4674;POINT (-40.020212 -2.793999)'))) / (select extract(epoch from '2026-06-13 08:27:48'::timestamp) - extract(epoch from '2026-06-13 08:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.79407)'), GeomFromEWKT('SRID=4674;POINT (-40.020212 -2.793999)'))) / (select extract(epoch from '2026-06-13 08:27:48'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.020109 -2.793925)', '2026-06-13 08:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020212 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.793925)'))) / (select extract(epoch from '2026-06-13 08:27:57'::timestamp) - extract(epoch from '2026-06-13 08:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020212 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.793925)'))) / (select extract(epoch from '2026-06-13 08:27:57'::timestamp) - extract(epoch from '2026-06-13 08:27: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'), 46703, 'SRID=4674;POINT (-40.019988 -2.79387)', '2026-06-13 08:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.019988 -2.79387)'))) / (select extract(epoch from '2026-06-13 08:28:07'::timestamp) - extract(epoch from '2026-06-13 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.793925)'), GeomFromEWKT('SRID=4674;POINT (-40.019988 -2.79387)'))) / (select extract(epoch from '2026-06-13 08:28:07'::timestamp) - extract(epoch from '2026-06-13 08:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019918 -2.793815)', '2026-06-13 08:28:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019988 -2.79387)'), GeomFromEWKT('SRID=4674;POINT (-40.019918 -2.793815)'))) / (select extract(epoch from '2026-06-13 08:28:15'::timestamp) - extract(epoch from '2026-06-13 08:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019988 -2.79387)'), GeomFromEWKT('SRID=4674;POINT (-40.019918 -2.793815)'))) / (select extract(epoch from '2026-06-13 08:28:15'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019909 -2.793809)', '2026-06-13 08:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019918 -2.793815)'), GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.793809)'))) / (select extract(epoch from '2026-06-13 08:28:16'::timestamp) - extract(epoch from '2026-06-13 08:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019918 -2.793815)'), GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.793809)'))) / (select extract(epoch from '2026-06-13 08:28:16'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019864 -2.793769)', '2026-06-13 08:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.793809)'), GeomFromEWKT('SRID=4674;POINT (-40.019864 -2.793769)'))) / (select extract(epoch from '2026-06-13 08:28:21'::timestamp) - extract(epoch from '2026-06-13 08:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.793809)'), GeomFromEWKT('SRID=4674;POINT (-40.019864 -2.793769)'))) / (select extract(epoch from '2026-06-13 08:28:21'::timestamp) - extract(epoch from '2026-06-13 08:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019777 -2.79371)', '2026-06-13 08:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019864 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.79371)'))) / (select extract(epoch from '2026-06-13 08:28:31'::timestamp) - extract(epoch from '2026-06-13 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019864 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.79371)'))) / (select extract(epoch from '2026-06-13 08:28:31'::timestamp) - extract(epoch from '2026-06-13 08:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019711 -2.793648)', '2026-06-13 08:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.79371)'), GeomFromEWKT('SRID=4674;POINT (-40.019711 -2.793648)'))) / (select extract(epoch from '2026-06-13 08:28:39'::timestamp) - extract(epoch from '2026-06-13 08:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.79371)'), GeomFromEWKT('SRID=4674;POINT (-40.019711 -2.793648)'))) / (select extract(epoch from '2026-06-13 08:28:39'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019664 -2.793564)', '2026-06-13 08:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019711 -2.793648)'), GeomFromEWKT('SRID=4674;POINT (-40.019664 -2.793564)'))) / (select extract(epoch from '2026-06-13 08:28:46'::timestamp) - extract(epoch from '2026-06-13 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019711 -2.793648)'), GeomFromEWKT('SRID=4674;POINT (-40.019664 -2.793564)'))) / (select extract(epoch from '2026-06-13 08:28:46'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019603 -2.793468)', '2026-06-13 08:28:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019664 -2.793564)'), GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.793468)'))) / (select extract(epoch from '2026-06-13 08:28:54'::timestamp) - extract(epoch from '2026-06-13 08:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019664 -2.793564)'), GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.793468)'))) / (select extract(epoch from '2026-06-13 08:28:54'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019531 -2.793381)', '2026-06-13 08:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.793468)'), GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.793381)'))) / (select extract(epoch from '2026-06-13 08:29:03'::timestamp) - extract(epoch from '2026-06-13 08:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.793468)'), GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.793381)'))) / (select extract(epoch from '2026-06-13 08:29:03'::timestamp) - extract(epoch from '2026-06-13 08:28: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'), 46703, 'SRID=4674;POINT (-40.019468 -2.793291)', '2026-06-13 08:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.793381)'), GeomFromEWKT('SRID=4674;POINT (-40.019468 -2.793291)'))) / (select extract(epoch from '2026-06-13 08:29:12'::timestamp) - extract(epoch from '2026-06-13 08:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.793381)'), GeomFromEWKT('SRID=4674;POINT (-40.019468 -2.793291)'))) / (select extract(epoch from '2026-06-13 08:29:12'::timestamp) - extract(epoch from '2026-06-13 08:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019464 -2.793282)', '2026-06-13 08:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019468 -2.793291)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793282)'))) / (select extract(epoch from '2026-06-13 08:29:13'::timestamp) - extract(epoch from '2026-06-13 08:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019468 -2.793291)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793282)'))) / (select extract(epoch from '2026-06-13 08:29:13'::timestamp) - extract(epoch from '2026-06-13 08:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019469 -2.793234)', '2026-06-13 08:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793282)'), GeomFromEWKT('SRID=4674;POINT (-40.019469 -2.793234)'))) / (select extract(epoch from '2026-06-13 08:29:18'::timestamp) - extract(epoch from '2026-06-13 08:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793282)'), GeomFromEWKT('SRID=4674;POINT (-40.019469 -2.793234)'))) / (select extract(epoch from '2026-06-13 08:29:18'::timestamp) - extract(epoch from '2026-06-13 08:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019455 -2.793156)', '2026-06-13 08:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019469 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.793156)'))) / (select extract(epoch from '2026-06-13 08:29:25'::timestamp) - extract(epoch from '2026-06-13 08:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019469 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.793156)'))) / (select extract(epoch from '2026-06-13 08:29:25'::timestamp) - extract(epoch from '2026-06-13 08:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019442 -2.793092)', '2026-06-13 08:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.019442 -2.793092)'))) / (select extract(epoch from '2026-06-13 08:29:34'::timestamp) - extract(epoch from '2026-06-13 08:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.019442 -2.793092)'))) / (select extract(epoch from '2026-06-13 08:29:34'::timestamp) - extract(epoch from '2026-06-13 08:29: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'), 46703, 'SRID=4674;POINT (-40.019447 -2.793053)', '2026-06-13 08:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019442 -2.793092)'), GeomFromEWKT('SRID=4674;POINT (-40.019447 -2.793053)'))) / (select extract(epoch from '2026-06-13 08:29:42'::timestamp) - extract(epoch from '2026-06-13 08:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019442 -2.793092)'), GeomFromEWKT('SRID=4674;POINT (-40.019447 -2.793053)'))) / (select extract(epoch from '2026-06-13 08:29:42'::timestamp) - extract(epoch from '2026-06-13 08:29: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'), 46703, 'SRID=4674;POINT (-40.019464 -2.793014)', '2026-06-13 08:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019447 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793014)'))) / (select extract(epoch from '2026-06-13 08:29:51'::timestamp) - extract(epoch from '2026-06-13 08:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019447 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793014)'))) / (select extract(epoch from '2026-06-13 08:29:51'::timestamp) - extract(epoch from '2026-06-13 08:29: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'), 46703, 'SRID=4674;POINT (-40.019443 -2.792938)', '2026-06-13 08:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.019443 -2.792938)'))) / (select extract(epoch from '2026-06-13 08:30:01'::timestamp) - extract(epoch from '2026-06-13 08:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.019443 -2.792938)'))) / (select extract(epoch from '2026-06-13 08:30:01'::timestamp) - extract(epoch from '2026-06-13 08:29: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'), 46703, 'SRID=4674;POINT (-40.019409 -2.792941)', '2026-06-13 08:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019443 -2.792938)'), GeomFromEWKT('SRID=4674;POINT (-40.019409 -2.792941)'))) / (select extract(epoch from '2026-06-13 08:30:07'::timestamp) - extract(epoch from '2026-06-13 08:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019443 -2.792938)'), GeomFromEWKT('SRID=4674;POINT (-40.019409 -2.792941)'))) / (select extract(epoch from '2026-06-13 08:30:07'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019445 -2.792991)', '2026-06-13 08:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019409 -2.792941)'), GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.792991)'))) / (select extract(epoch from '2026-06-13 08:30:16'::timestamp) - extract(epoch from '2026-06-13 08:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019409 -2.792941)'), GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.792991)'))) / (select extract(epoch from '2026-06-13 08:30:16'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019509 -2.793014)', '2026-06-13 08:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.019509 -2.793014)'))) / (select extract(epoch from '2026-06-13 08:30:24'::timestamp) - extract(epoch from '2026-06-13 08:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.019509 -2.793014)'))) / (select extract(epoch from '2026-06-13 08:30:24'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019574 -2.793043)', '2026-06-13 08:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019509 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.019574 -2.793043)'))) / (select extract(epoch from '2026-06-13 08:30:31'::timestamp) - extract(epoch from '2026-06-13 08:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019509 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.019574 -2.793043)'))) / (select extract(epoch from '2026-06-13 08:30:31'::timestamp) - extract(epoch from '2026-06-13 08:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019645 -2.793019)', '2026-06-13 08:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019574 -2.793043)'), GeomFromEWKT('SRID=4674;POINT (-40.019645 -2.793019)'))) / (select extract(epoch from '2026-06-13 08:30:37'::timestamp) - extract(epoch from '2026-06-13 08:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019574 -2.793043)'), GeomFromEWKT('SRID=4674;POINT (-40.019645 -2.793019)'))) / (select extract(epoch from '2026-06-13 08:30:37'::timestamp) - extract(epoch from '2026-06-13 08:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019654 -2.793013)', '2026-06-13 08:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019645 -2.793019)'), GeomFromEWKT('SRID=4674;POINT (-40.019654 -2.793013)'))) / (select extract(epoch from '2026-06-13 08:30:38'::timestamp) - extract(epoch from '2026-06-13 08:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019645 -2.793019)'), GeomFromEWKT('SRID=4674;POINT (-40.019654 -2.793013)'))) / (select extract(epoch from '2026-06-13 08:30:38'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019684 -2.792984)', '2026-06-13 08:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019654 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.019684 -2.792984)'))) / (select extract(epoch from '2026-06-13 08:30:42'::timestamp) - extract(epoch from '2026-06-13 08:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019654 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.019684 -2.792984)'))) / (select extract(epoch from '2026-06-13 08:30:42'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019717 -2.79293)', '2026-06-13 08:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019684 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.019717 -2.79293)'))) / (select extract(epoch from '2026-06-13 08:30:49'::timestamp) - extract(epoch from '2026-06-13 08:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019684 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.019717 -2.79293)'))) / (select extract(epoch from '2026-06-13 08:30:49'::timestamp) - extract(epoch from '2026-06-13 08:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019698 -2.792853)', '2026-06-13 08:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019717 -2.79293)'), GeomFromEWKT('SRID=4674;POINT (-40.019698 -2.792853)'))) / (select extract(epoch from '2026-06-13 08:30:57'::timestamp) - extract(epoch from '2026-06-13 08:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019717 -2.79293)'), GeomFromEWKT('SRID=4674;POINT (-40.019698 -2.792853)'))) / (select extract(epoch from '2026-06-13 08:30:57'::timestamp) - extract(epoch from '2026-06-13 08:30: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'), 46703, 'SRID=4674;POINT (-40.019652 -2.792862)', '2026-06-13 08:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019698 -2.792853)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792862)'))) / (select extract(epoch from '2026-06-13 08:31:05'::timestamp) - extract(epoch from '2026-06-13 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019698 -2.792853)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792862)'))) / (select extract(epoch from '2026-06-13 08:31:05'::timestamp) - extract(epoch from '2026-06-13 08:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019652 -2.792905)', '2026-06-13 08:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792862)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792905)'))) / (select extract(epoch from '2026-06-13 08:31:15'::timestamp) - extract(epoch from '2026-06-13 08:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792862)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792905)'))) / (select extract(epoch from '2026-06-13 08:31:15'::timestamp) - extract(epoch from '2026-06-13 08:31: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'), 46703, 'SRID=4674;POINT (-40.019666 -2.792969)', '2026-06-13 08:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792905)'), GeomFromEWKT('SRID=4674;POINT (-40.019666 -2.792969)'))) / (select extract(epoch from '2026-06-13 08:31:26'::timestamp) - extract(epoch from '2026-06-13 08:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.792905)'), GeomFromEWKT('SRID=4674;POINT (-40.019666 -2.792969)'))) / (select extract(epoch from '2026-06-13 08:31:26'::timestamp) - extract(epoch from '2026-06-13 08:31: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'), 46703, 'SRID=4674;POINT (-40.019705 -2.793035)', '2026-06-13 08:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019666 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.019705 -2.793035)'))) / (select extract(epoch from '2026-06-13 08:31:46'::timestamp) - extract(epoch from '2026-06-13 08:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019666 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.019705 -2.793035)'))) / (select extract(epoch from '2026-06-13 08:31:46'::timestamp) - extract(epoch from '2026-06-13 08:31: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'), 46703, 'SRID=4674;POINT (-40.01973 -2.793096)', '2026-06-13 08:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019705 -2.793035)'), GeomFromEWKT('SRID=4674;POINT (-40.01973 -2.793096)'))) / (select extract(epoch from '2026-06-13 08:31:54'::timestamp) - extract(epoch from '2026-06-13 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019705 -2.793035)'), GeomFromEWKT('SRID=4674;POINT (-40.01973 -2.793096)'))) / (select extract(epoch from '2026-06-13 08:31:54'::timestamp) - extract(epoch from '2026-06-13 08:31: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'), 46703, 'SRID=4674;POINT (-40.019752 -2.793113)', '2026-06-13 08:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01973 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.019752 -2.793113)'))) / (select extract(epoch from '2026-06-13 08:31:56'::timestamp) - extract(epoch from '2026-06-13 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01973 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.019752 -2.793113)'))) / (select extract(epoch from '2026-06-13 08:31:56'::timestamp) - extract(epoch from '2026-06-13 08:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019813 -2.793119)', '2026-06-13 08:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019752 -2.793113)'), GeomFromEWKT('SRID=4674;POINT (-40.019813 -2.793119)'))) / (select extract(epoch from '2026-06-13 08:32:00'::timestamp) - extract(epoch from '2026-06-13 08:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019752 -2.793113)'), GeomFromEWKT('SRID=4674;POINT (-40.019813 -2.793119)'))) / (select extract(epoch from '2026-06-13 08:32:00'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.019859 -2.793072)', '2026-06-13 08:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019813 -2.793119)'), GeomFromEWKT('SRID=4674;POINT (-40.019859 -2.793072)'))) / (select extract(epoch from '2026-06-13 08:32:05'::timestamp) - extract(epoch from '2026-06-13 08:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019813 -2.793119)'), GeomFromEWKT('SRID=4674;POINT (-40.019859 -2.793072)'))) / (select extract(epoch from '2026-06-13 08:32:05'::timestamp) - extract(epoch from '2026-06-13 08:32: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'), 46703, 'SRID=4674;POINT (-40.019844 -2.792977)', '2026-06-13 08:32:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019859 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.792977)'))) / (select extract(epoch from '2026-06-13 08:32:12'::timestamp) - extract(epoch from '2026-06-13 08:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019859 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.792977)'))) / (select extract(epoch from '2026-06-13 08:32:12'::timestamp) - extract(epoch from '2026-06-13 08:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019771 -2.792926)', '2026-06-13 08:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.792977)'), GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.792926)'))) / (select extract(epoch from '2026-06-13 08:32:19'::timestamp) - extract(epoch from '2026-06-13 08:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.792977)'), GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.792926)'))) / (select extract(epoch from '2026-06-13 08:32:19'::timestamp) - extract(epoch from '2026-06-13 08:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019694 -2.792865)', '2026-06-13 08:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.792926)'), GeomFromEWKT('SRID=4674;POINT (-40.019694 -2.792865)'))) / (select extract(epoch from '2026-06-13 08:32:27'::timestamp) - extract(epoch from '2026-06-13 08:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.792926)'), GeomFromEWKT('SRID=4674;POINT (-40.019694 -2.792865)'))) / (select extract(epoch from '2026-06-13 08:32:27'::timestamp) - extract(epoch from '2026-06-13 08:32: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'), 46703, 'SRID=4674;POINT (-40.019614 -2.792786)', '2026-06-13 08:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019694 -2.792865)'), GeomFromEWKT('SRID=4674;POINT (-40.019614 -2.792786)'))) / (select extract(epoch from '2026-06-13 08:32:35'::timestamp) - extract(epoch from '2026-06-13 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019694 -2.792865)'), GeomFromEWKT('SRID=4674;POINT (-40.019614 -2.792786)'))) / (select extract(epoch from '2026-06-13 08:32:35'::timestamp) - extract(epoch from '2026-06-13 08:32: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'), 46703, 'SRID=4674;POINT (-40.019564 -2.792714)', '2026-06-13 08:32:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019614 -2.792786)'), GeomFromEWKT('SRID=4674;POINT (-40.019564 -2.792714)'))) / (select extract(epoch from '2026-06-13 08:32:42'::timestamp) - extract(epoch from '2026-06-13 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019614 -2.792786)'), GeomFromEWKT('SRID=4674;POINT (-40.019564 -2.792714)'))) / (select extract(epoch from '2026-06-13 08:32:42'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.019521 -2.792636)', '2026-06-13 08:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019564 -2.792714)'), GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.792636)'))) / (select extract(epoch from '2026-06-13 08:32:50'::timestamp) - extract(epoch from '2026-06-13 08:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019564 -2.792714)'), GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.792636)'))) / (select extract(epoch from '2026-06-13 08:32:50'::timestamp) - extract(epoch from '2026-06-13 08:32: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'), 46703, 'SRID=4674;POINT (-40.019428 -2.792548)', '2026-06-13 08:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.792636)'), GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.792548)'))) / (select extract(epoch from '2026-06-13 08:32:59'::timestamp) - extract(epoch from '2026-06-13 08:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.792636)'), GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.792548)'))) / (select extract(epoch from '2026-06-13 08:32:59'::timestamp) - extract(epoch from '2026-06-13 08:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01937 -2.792479)', '2026-06-13 08:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.792548)'), GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.792479)'))) / (select extract(epoch from '2026-06-13 08:33:06'::timestamp) - extract(epoch from '2026-06-13 08:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.792548)'), GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.792479)'))) / (select extract(epoch from '2026-06-13 08:33:06'::timestamp) - extract(epoch from '2026-06-13 08:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019297 -2.792402)', '2026-06-13 08:33:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.792479)'), GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.792402)'))) / (select extract(epoch from '2026-06-13 08:33:14'::timestamp) - extract(epoch from '2026-06-13 08:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.792479)'), GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.792402)'))) / (select extract(epoch from '2026-06-13 08:33:14'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019236 -2.792344)', '2026-06-13 08:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.792402)'), GeomFromEWKT('SRID=4674;POINT (-40.019236 -2.792344)'))) / (select extract(epoch from '2026-06-13 08:33:21'::timestamp) - extract(epoch from '2026-06-13 08:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.792402)'), GeomFromEWKT('SRID=4674;POINT (-40.019236 -2.792344)'))) / (select extract(epoch from '2026-06-13 08:33:21'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019172 -2.792276)', '2026-06-13 08:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019236 -2.792344)'), GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.792276)'))) / (select extract(epoch from '2026-06-13 08:33:28'::timestamp) - extract(epoch from '2026-06-13 08:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019236 -2.792344)'), GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.792276)'))) / (select extract(epoch from '2026-06-13 08:33:28'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019108 -2.792198)', '2026-06-13 08:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.792276)'), GeomFromEWKT('SRID=4674;POINT (-40.019108 -2.792198)'))) / (select extract(epoch from '2026-06-13 08:33:36'::timestamp) - extract(epoch from '2026-06-13 08:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.792276)'), GeomFromEWKT('SRID=4674;POINT (-40.019108 -2.792198)'))) / (select extract(epoch from '2026-06-13 08:33:36'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019061 -2.792138)', '2026-06-13 08:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019108 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.019061 -2.792138)'))) / (select extract(epoch from '2026-06-13 08:33:42'::timestamp) - extract(epoch from '2026-06-13 08:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019108 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.019061 -2.792138)'))) / (select extract(epoch from '2026-06-13 08:33:42'::timestamp) - extract(epoch from '2026-06-13 08:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019039 -2.792111)', '2026-06-13 08:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019061 -2.792138)'), GeomFromEWKT('SRID=4674;POINT (-40.019039 -2.792111)'))) / (select extract(epoch from '2026-06-13 08:33:45'::timestamp) - extract(epoch from '2026-06-13 08:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019061 -2.792138)'), GeomFromEWKT('SRID=4674;POINT (-40.019039 -2.792111)'))) / (select extract(epoch from '2026-06-13 08:33:45'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019023 -2.792093)', '2026-06-13 08:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019039 -2.792111)'), GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.792093)'))) / (select extract(epoch from '2026-06-13 08:33:48'::timestamp) - extract(epoch from '2026-06-13 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019039 -2.792111)'), GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.792093)'))) / (select extract(epoch from '2026-06-13 08:33:48'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019008 -2.792041)', '2026-06-13 08:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.792093)'), GeomFromEWKT('SRID=4674;POINT (-40.019008 -2.792041)'))) / (select extract(epoch from '2026-06-13 08:33:56'::timestamp) - extract(epoch from '2026-06-13 08:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.792093)'), GeomFromEWKT('SRID=4674;POINT (-40.019008 -2.792041)'))) / (select extract(epoch from '2026-06-13 08:33:56'::timestamp) - extract(epoch from '2026-06-13 08:33: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'), 46703, 'SRID=4674;POINT (-40.019015 -2.791936)', '2026-06-13 08:34:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019008 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.019015 -2.791936)'))) / (select extract(epoch from '2026-06-13 08:34:10'::timestamp) - extract(epoch from '2026-06-13 08:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019008 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.019015 -2.791936)'))) / (select extract(epoch from '2026-06-13 08:34:10'::timestamp) - extract(epoch from '2026-06-13 08:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018993 -2.791867)', '2026-06-13 08:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019015 -2.791936)'), GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.791867)'))) / (select extract(epoch from '2026-06-13 08:34:18'::timestamp) - extract(epoch from '2026-06-13 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019015 -2.791936)'), GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.791867)'))) / (select extract(epoch from '2026-06-13 08:34:18'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.018962 -2.791835)', '2026-06-13 08:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.791867)'), GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.791835)'))) / (select extract(epoch from '2026-06-13 08:34:26'::timestamp) - extract(epoch from '2026-06-13 08:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.791867)'), GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.791835)'))) / (select extract(epoch from '2026-06-13 08:34:26'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.01897 -2.791847)', '2026-06-13 08:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.791835)'), GeomFromEWKT('SRID=4674;POINT (-40.01897 -2.791847)'))) / (select extract(epoch from '2026-06-13 08:34:36'::timestamp) - extract(epoch from '2026-06-13 08:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.791835)'), GeomFromEWKT('SRID=4674;POINT (-40.01897 -2.791847)'))) / (select extract(epoch from '2026-06-13 08:34:36'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.019013 -2.791892)', '2026-06-13 08:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01897 -2.791847)'), GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.791892)'))) / (select extract(epoch from '2026-06-13 08:34:45'::timestamp) - extract(epoch from '2026-06-13 08:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01897 -2.791847)'), GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.791892)'))) / (select extract(epoch from '2026-06-13 08:34:45'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.019052 -2.791954)', '2026-06-13 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.791892)'), GeomFromEWKT('SRID=4674;POINT (-40.019052 -2.791954)'))) / (select extract(epoch from '2026-06-13 08:34:55'::timestamp) - extract(epoch from '2026-06-13 08:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.791892)'), GeomFromEWKT('SRID=4674;POINT (-40.019052 -2.791954)'))) / (select extract(epoch from '2026-06-13 08:34:55'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.01905 -2.791985)', '2026-06-13 08:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019052 -2.791954)'), GeomFromEWKT('SRID=4674;POINT (-40.01905 -2.791985)'))) / (select extract(epoch from '2026-06-13 08:34:58'::timestamp) - extract(epoch from '2026-06-13 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019052 -2.791954)'), GeomFromEWKT('SRID=4674;POINT (-40.01905 -2.791985)'))) / (select extract(epoch from '2026-06-13 08:34:58'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.019021 -2.792017)', '2026-06-13 08:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01905 -2.791985)'), GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.792017)'))) / (select extract(epoch from '2026-06-13 08:35:03'::timestamp) - extract(epoch from '2026-06-13 08:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01905 -2.791985)'), GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.792017)'))) / (select extract(epoch from '2026-06-13 08:35:03'::timestamp) - extract(epoch from '2026-06-13 08:34: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'), 46703, 'SRID=4674;POINT (-40.018962 -2.792011)', '2026-06-13 08:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.792011)'))) / (select extract(epoch from '2026-06-13 08:35:10'::timestamp) - extract(epoch from '2026-06-13 08:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019021 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.792011)'))) / (select extract(epoch from '2026-06-13 08:35:10'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018888 -2.791934)', '2026-06-13 08:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.792011)'), GeomFromEWKT('SRID=4674;POINT (-40.018888 -2.791934)'))) / (select extract(epoch from '2026-06-13 08:35:18'::timestamp) - extract(epoch from '2026-06-13 08:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018962 -2.792011)'), GeomFromEWKT('SRID=4674;POINT (-40.018888 -2.791934)'))) / (select extract(epoch from '2026-06-13 08:35:18'::timestamp) - extract(epoch from '2026-06-13 08:35:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018829 -2.791838)', '2026-06-13 08:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018888 -2.791934)'), GeomFromEWKT('SRID=4674;POINT (-40.018829 -2.791838)'))) / (select extract(epoch from '2026-06-13 08:35:26'::timestamp) - extract(epoch from '2026-06-13 08:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018888 -2.791934)'), GeomFromEWKT('SRID=4674;POINT (-40.018829 -2.791838)'))) / (select extract(epoch from '2026-06-13 08:35:26'::timestamp) - extract(epoch from '2026-06-13 08:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018799 -2.79177)', '2026-06-13 08:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018829 -2.791838)'), GeomFromEWKT('SRID=4674;POINT (-40.018799 -2.79177)'))) / (select extract(epoch from '2026-06-13 08:35:31'::timestamp) - extract(epoch from '2026-06-13 08:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018829 -2.791838)'), GeomFromEWKT('SRID=4674;POINT (-40.018799 -2.79177)'))) / (select extract(epoch from '2026-06-13 08:35:31'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018756 -2.791711)', '2026-06-13 08:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018799 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.791711)'))) / (select extract(epoch from '2026-06-13 08:35:37'::timestamp) - extract(epoch from '2026-06-13 08:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018799 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.791711)'))) / (select extract(epoch from '2026-06-13 08:35:37'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018695 -2.791636)', '2026-06-13 08:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.791711)'), GeomFromEWKT('SRID=4674;POINT (-40.018695 -2.791636)'))) / (select extract(epoch from '2026-06-13 08:35:44'::timestamp) - extract(epoch from '2026-06-13 08:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.791711)'), GeomFromEWKT('SRID=4674;POINT (-40.018695 -2.791636)'))) / (select extract(epoch from '2026-06-13 08:35:44'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018641 -2.791579)', '2026-06-13 08:35:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018695 -2.791636)'), GeomFromEWKT('SRID=4674;POINT (-40.018641 -2.791579)'))) / (select extract(epoch from '2026-06-13 08:35:50'::timestamp) - extract(epoch from '2026-06-13 08:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018695 -2.791636)'), GeomFromEWKT('SRID=4674;POINT (-40.018641 -2.791579)'))) / (select extract(epoch from '2026-06-13 08:35:50'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018635 -2.79157)', '2026-06-13 08:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018641 -2.791579)'), GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.79157)'))) / (select extract(epoch from '2026-06-13 08:35:51'::timestamp) - extract(epoch from '2026-06-13 08:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018641 -2.791579)'), GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.79157)'))) / (select extract(epoch from '2026-06-13 08:35:51'::timestamp) - extract(epoch from '2026-06-13 08:35: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'), 46703, 'SRID=4674;POINT (-40.018607 -2.791534)', '2026-06-13 08:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.79157)'), GeomFromEWKT('SRID=4674;POINT (-40.018607 -2.791534)'))) / (select extract(epoch from '2026-06-13 08:35:55'::timestamp) - extract(epoch from '2026-06-13 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.79157)'), GeomFromEWKT('SRID=4674;POINT (-40.018607 -2.791534)'))) / (select extract(epoch from '2026-06-13 08:35:55'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.018568 -2.791471)', '2026-06-13 08:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018607 -2.791534)'), GeomFromEWKT('SRID=4674;POINT (-40.018568 -2.791471)'))) / (select extract(epoch from '2026-06-13 08:36:01'::timestamp) - extract(epoch from '2026-06-13 08:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018607 -2.791534)'), GeomFromEWKT('SRID=4674;POINT (-40.018568 -2.791471)'))) / (select extract(epoch from '2026-06-13 08:36:01'::timestamp) - extract(epoch from '2026-06-13 08:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018498 -2.791366)', '2026-06-13 08:36:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018568 -2.791471)'), GeomFromEWKT('SRID=4674;POINT (-40.018498 -2.791366)'))) / (select extract(epoch from '2026-06-13 08:36:10'::timestamp) - extract(epoch from '2026-06-13 08:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018568 -2.791471)'), GeomFromEWKT('SRID=4674;POINT (-40.018498 -2.791366)'))) / (select extract(epoch from '2026-06-13 08:36:10'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.01849 -2.791355)', '2026-06-13 08:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018498 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.01849 -2.791355)'))) / (select extract(epoch from '2026-06-13 08:36:11'::timestamp) - extract(epoch from '2026-06-13 08:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018498 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.01849 -2.791355)'))) / (select extract(epoch from '2026-06-13 08:36:11'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018461 -2.791311)', '2026-06-13 08:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01849 -2.791355)'), GeomFromEWKT('SRID=4674;POINT (-40.018461 -2.791311)'))) / (select extract(epoch from '2026-06-13 08:36:16'::timestamp) - extract(epoch from '2026-06-13 08:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01849 -2.791355)'), GeomFromEWKT('SRID=4674;POINT (-40.018461 -2.791311)'))) / (select extract(epoch from '2026-06-13 08:36:16'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018425 -2.791233)', '2026-06-13 08:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018461 -2.791311)'), GeomFromEWKT('SRID=4674;POINT (-40.018425 -2.791233)'))) / (select extract(epoch from '2026-06-13 08:36:24'::timestamp) - extract(epoch from '2026-06-13 08:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018461 -2.791311)'), GeomFromEWKT('SRID=4674;POINT (-40.018425 -2.791233)'))) / (select extract(epoch from '2026-06-13 08:36:24'::timestamp) - extract(epoch from '2026-06-13 08:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018379 -2.791141)', '2026-06-13 08:36:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018425 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.018379 -2.791141)'))) / (select extract(epoch from '2026-06-13 08:36:32'::timestamp) - extract(epoch from '2026-06-13 08:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018425 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.018379 -2.791141)'))) / (select extract(epoch from '2026-06-13 08:36:32'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018396 -2.791043)', '2026-06-13 08:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018379 -2.791141)'), GeomFromEWKT('SRID=4674;POINT (-40.018396 -2.791043)'))) / (select extract(epoch from '2026-06-13 08:36:40'::timestamp) - extract(epoch from '2026-06-13 08:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018379 -2.791141)'), GeomFromEWKT('SRID=4674;POINT (-40.018396 -2.791043)'))) / (select extract(epoch from '2026-06-13 08:36:40'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018377 -2.790954)', '2026-06-13 08:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018396 -2.791043)'), GeomFromEWKT('SRID=4674;POINT (-40.018377 -2.790954)'))) / (select extract(epoch from '2026-06-13 08:36:50'::timestamp) - extract(epoch from '2026-06-13 08:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018396 -2.791043)'), GeomFromEWKT('SRID=4674;POINT (-40.018377 -2.790954)'))) / (select extract(epoch from '2026-06-13 08:36:50'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018381 -2.790934)', '2026-06-13 08:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018377 -2.790954)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.790934)'))) / (select extract(epoch from '2026-06-13 08:36:52'::timestamp) - extract(epoch from '2026-06-13 08:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018377 -2.790954)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.790934)'))) / (select extract(epoch from '2026-06-13 08:36:52'::timestamp) - extract(epoch from '2026-06-13 08:36: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'), 46703, 'SRID=4674;POINT (-40.018386 -2.79091)', '2026-06-13 08:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.790934)'), GeomFromEWKT('SRID=4674;POINT (-40.018386 -2.79091)'))) / (select extract(epoch from '2026-06-13 08:36:55'::timestamp) - extract(epoch from '2026-06-13 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.790934)'), GeomFromEWKT('SRID=4674;POINT (-40.018386 -2.79091)'))) / (select extract(epoch from '2026-06-13 08:36:55'::timestamp) - extract(epoch from '2026-06-13 08:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018387 -2.790873)', '2026-06-13 08:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018386 -2.79091)'), GeomFromEWKT('SRID=4674;POINT (-40.018387 -2.790873)'))) / (select extract(epoch from '2026-06-13 08:37:00'::timestamp) - extract(epoch from '2026-06-13 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018386 -2.79091)'), GeomFromEWKT('SRID=4674;POINT (-40.018387 -2.790873)'))) / (select extract(epoch from '2026-06-13 08:37:00'::timestamp) - extract(epoch from '2026-06-13 08:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01838 -2.79081)', '2026-06-13 08:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018387 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.01838 -2.79081)'))) / (select extract(epoch from '2026-06-13 08:37:12'::timestamp) - extract(epoch from '2026-06-13 08:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018387 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.01838 -2.79081)'))) / (select extract(epoch from '2026-06-13 08:37:12'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018368 -2.790786)', '2026-06-13 08:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01838 -2.79081)'), GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.790786)'))) / (select extract(epoch from '2026-06-13 08:37:19'::timestamp) - extract(epoch from '2026-06-13 08:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01838 -2.79081)'), GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.790786)'))) / (select extract(epoch from '2026-06-13 08:37:19'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018366 -2.790802)', '2026-06-13 08:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.790786)'), GeomFromEWKT('SRID=4674;POINT (-40.018366 -2.790802)'))) / (select extract(epoch from '2026-06-13 08:37:31'::timestamp) - extract(epoch from '2026-06-13 08:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.790786)'), GeomFromEWKT('SRID=4674;POINT (-40.018366 -2.790802)'))) / (select extract(epoch from '2026-06-13 08:37:31'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018397 -2.790843)', '2026-06-13 08:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018366 -2.790802)'), GeomFromEWKT('SRID=4674;POINT (-40.018397 -2.790843)'))) / (select extract(epoch from '2026-06-13 08:37:40'::timestamp) - extract(epoch from '2026-06-13 08:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018366 -2.790802)'), GeomFromEWKT('SRID=4674;POINT (-40.018397 -2.790843)'))) / (select extract(epoch from '2026-06-13 08:37:40'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018453 -2.790874)', '2026-06-13 08:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018397 -2.790843)'), GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.790874)'))) / (select extract(epoch from '2026-06-13 08:37:46'::timestamp) - extract(epoch from '2026-06-13 08:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018397 -2.790843)'), GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.790874)'))) / (select extract(epoch from '2026-06-13 08:37:46'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018528 -2.790852)', '2026-06-13 08:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.790874)'), GeomFromEWKT('SRID=4674;POINT (-40.018528 -2.790852)'))) / (select extract(epoch from '2026-06-13 08:37:52'::timestamp) - extract(epoch from '2026-06-13 08:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.790874)'), GeomFromEWKT('SRID=4674;POINT (-40.018528 -2.790852)'))) / (select extract(epoch from '2026-06-13 08:37:52'::timestamp) - extract(epoch from '2026-06-13 08:37: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'), 46703, 'SRID=4674;POINT (-40.018557 -2.790788)', '2026-06-13 08:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018528 -2.790852)'), GeomFromEWKT('SRID=4674;POINT (-40.018557 -2.790788)'))) / (select extract(epoch from '2026-06-13 08:37:58'::timestamp) - extract(epoch from '2026-06-13 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018528 -2.790852)'), GeomFromEWKT('SRID=4674;POINT (-40.018557 -2.790788)'))) / (select extract(epoch from '2026-06-13 08:37:58'::timestamp) - extract(epoch from '2026-06-13 08:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018534 -2.790727)', '2026-06-13 08:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018557 -2.790788)'), GeomFromEWKT('SRID=4674;POINT (-40.018534 -2.790727)'))) / (select extract(epoch from '2026-06-13 08:38:05'::timestamp) - extract(epoch from '2026-06-13 08:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018557 -2.790788)'), GeomFromEWKT('SRID=4674;POINT (-40.018534 -2.790727)'))) / (select extract(epoch from '2026-06-13 08:38:05'::timestamp) - extract(epoch from '2026-06-13 08:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018487 -2.790675)', '2026-06-13 08:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018534 -2.790727)'), GeomFromEWKT('SRID=4674;POINT (-40.018487 -2.790675)'))) / (select extract(epoch from '2026-06-13 08:38:12'::timestamp) - extract(epoch from '2026-06-13 08:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018534 -2.790727)'), GeomFromEWKT('SRID=4674;POINT (-40.018487 -2.790675)'))) / (select extract(epoch from '2026-06-13 08:38:12'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.018469 -2.790661)', '2026-06-13 08:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018487 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.018469 -2.790661)'))) / (select extract(epoch from '2026-06-13 08:38:14'::timestamp) - extract(epoch from '2026-06-13 08:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018487 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.018469 -2.790661)'))) / (select extract(epoch from '2026-06-13 08:38:14'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.018439 -2.790641)', '2026-06-13 08:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018469 -2.790661)'), GeomFromEWKT('SRID=4674;POINT (-40.018439 -2.790641)'))) / (select extract(epoch from '2026-06-13 08:38:17'::timestamp) - extract(epoch from '2026-06-13 08:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018469 -2.790661)'), GeomFromEWKT('SRID=4674;POINT (-40.018439 -2.790641)'))) / (select extract(epoch from '2026-06-13 08:38:17'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.01839 -2.790587)', '2026-06-13 08:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018439 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.01839 -2.790587)'))) / (select extract(epoch from '2026-06-13 08:38:23'::timestamp) - extract(epoch from '2026-06-13 08:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018439 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.01839 -2.790587)'))) / (select extract(epoch from '2026-06-13 08:38:23'::timestamp) - extract(epoch from '2026-06-13 08:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018354 -2.790516)', '2026-06-13 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01839 -2.790587)'), GeomFromEWKT('SRID=4674;POINT (-40.018354 -2.790516)'))) / (select extract(epoch from '2026-06-13 08:38:29'::timestamp) - extract(epoch from '2026-06-13 08:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01839 -2.790587)'), GeomFromEWKT('SRID=4674;POINT (-40.018354 -2.790516)'))) / (select extract(epoch from '2026-06-13 08:38:29'::timestamp) - extract(epoch from '2026-06-13 08:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018288 -2.790408)', '2026-06-13 08:38:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018354 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.790408)'))) / (select extract(epoch from '2026-06-13 08:38:38'::timestamp) - extract(epoch from '2026-06-13 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018354 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.790408)'))) / (select extract(epoch from '2026-06-13 08:38:38'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.018211 -2.790318)', '2026-06-13 08:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.018211 -2.790318)'))) / (select extract(epoch from '2026-06-13 08:38:47'::timestamp) - extract(epoch from '2026-06-13 08:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.018211 -2.790318)'))) / (select extract(epoch from '2026-06-13 08:38:47'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.018176 -2.79025)', '2026-06-13 08:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018211 -2.790318)'), GeomFromEWKT('SRID=4674;POINT (-40.018176 -2.79025)'))) / (select extract(epoch from '2026-06-13 08:38:53'::timestamp) - extract(epoch from '2026-06-13 08:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018211 -2.790318)'), GeomFromEWKT('SRID=4674;POINT (-40.018176 -2.79025)'))) / (select extract(epoch from '2026-06-13 08:38:53'::timestamp) - extract(epoch from '2026-06-13 08:38: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'), 46703, 'SRID=4674;POINT (-40.018139 -2.790182)', '2026-06-13 08:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018176 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.018139 -2.790182)'))) / (select extract(epoch from '2026-06-13 08:38:59'::timestamp) - extract(epoch from '2026-06-13 08:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018176 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.018139 -2.790182)'))) / (select extract(epoch from '2026-06-13 08:38:59'::timestamp) - extract(epoch from '2026-06-13 08:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018106 -2.790127)', '2026-06-13 08:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018139 -2.790182)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.790127)'))) / (select extract(epoch from '2026-06-13 08:39:05'::timestamp) - extract(epoch from '2026-06-13 08:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018139 -2.790182)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.790127)'))) / (select extract(epoch from '2026-06-13 08:39:05'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.01808 -2.790062)', '2026-06-13 08:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.790127)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.790062)'))) / (select extract(epoch from '2026-06-13 08:39:11'::timestamp) - extract(epoch from '2026-06-13 08:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.790127)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.790062)'))) / (select extract(epoch from '2026-06-13 08:39:11'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.018032 -2.789976)', '2026-06-13 08:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.790062)'), GeomFromEWKT('SRID=4674;POINT (-40.018032 -2.789976)'))) / (select extract(epoch from '2026-06-13 08:39:19'::timestamp) - extract(epoch from '2026-06-13 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.790062)'), GeomFromEWKT('SRID=4674;POINT (-40.018032 -2.789976)'))) / (select extract(epoch from '2026-06-13 08:39:19'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017993 -2.789877)', '2026-06-13 08:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018032 -2.789976)'), GeomFromEWKT('SRID=4674;POINT (-40.017993 -2.789877)'))) / (select extract(epoch from '2026-06-13 08:39:27'::timestamp) - extract(epoch from '2026-06-13 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018032 -2.789976)'), GeomFromEWKT('SRID=4674;POINT (-40.017993 -2.789877)'))) / (select extract(epoch from '2026-06-13 08:39:27'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017983 -2.789856)', '2026-06-13 08:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017993 -2.789877)'), GeomFromEWKT('SRID=4674;POINT (-40.017983 -2.789856)'))) / (select extract(epoch from '2026-06-13 08:39:29'::timestamp) - extract(epoch from '2026-06-13 08:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017993 -2.789877)'), GeomFromEWKT('SRID=4674;POINT (-40.017983 -2.789856)'))) / (select extract(epoch from '2026-06-13 08:39:29'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017942 -2.78983)', '2026-06-13 08:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017983 -2.789856)'), GeomFromEWKT('SRID=4674;POINT (-40.017942 -2.78983)'))) / (select extract(epoch from '2026-06-13 08:39:34'::timestamp) - extract(epoch from '2026-06-13 08:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017983 -2.789856)'), GeomFromEWKT('SRID=4674;POINT (-40.017942 -2.78983)'))) / (select extract(epoch from '2026-06-13 08:39:34'::timestamp) - extract(epoch from '2026-06-13 08:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017923 -2.789824)', '2026-06-13 08:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017942 -2.78983)'), GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.789824)'))) / (select extract(epoch from '2026-06-13 08:39:36'::timestamp) - extract(epoch from '2026-06-13 08:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017942 -2.78983)'), GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.789824)'))) / (select extract(epoch from '2026-06-13 08:39:36'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017904 -2.789816)', '2026-06-13 08:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.017904 -2.789816)'))) / (select extract(epoch from '2026-06-13 08:39:39'::timestamp) - extract(epoch from '2026-06-13 08:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.017904 -2.789816)'))) / (select extract(epoch from '2026-06-13 08:39:39'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017887 -2.789774)', '2026-06-13 08:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017904 -2.789816)'), GeomFromEWKT('SRID=4674;POINT (-40.017887 -2.789774)'))) / (select extract(epoch from '2026-06-13 08:39:46'::timestamp) - extract(epoch from '2026-06-13 08:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017904 -2.789816)'), GeomFromEWKT('SRID=4674;POINT (-40.017887 -2.789774)'))) / (select extract(epoch from '2026-06-13 08:39:46'::timestamp) - extract(epoch from '2026-06-13 08:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017874 -2.789713)', '2026-06-13 08:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017887 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.017874 -2.789713)'))) / (select extract(epoch from '2026-06-13 08:39:54'::timestamp) - extract(epoch from '2026-06-13 08:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017887 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.017874 -2.789713)'))) / (select extract(epoch from '2026-06-13 08:39:54'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017863 -2.789664)', '2026-06-13 08:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017874 -2.789713)'), GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789664)'))) / (select extract(epoch from '2026-06-13 08:40:03'::timestamp) - extract(epoch from '2026-06-13 08:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017874 -2.789713)'), GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789664)'))) / (select extract(epoch from '2026-06-13 08:40:03'::timestamp) - extract(epoch from '2026-06-13 08:39: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'), 46703, 'SRID=4674;POINT (-40.017857 -2.789652)', '2026-06-13 08:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789664)'), GeomFromEWKT('SRID=4674;POINT (-40.017857 -2.789652)'))) / (select extract(epoch from '2026-06-13 08:40:11'::timestamp) - extract(epoch from '2026-06-13 08:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789664)'), GeomFromEWKT('SRID=4674;POINT (-40.017857 -2.789652)'))) / (select extract(epoch from '2026-06-13 08:40:11'::timestamp) - extract(epoch from '2026-06-13 08:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017862 -2.789681)', '2026-06-13 08:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017857 -2.789652)'), GeomFromEWKT('SRID=4674;POINT (-40.017862 -2.789681)'))) / (select extract(epoch from '2026-06-13 08:40:19'::timestamp) - extract(epoch from '2026-06-13 08:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017857 -2.789652)'), GeomFromEWKT('SRID=4674;POINT (-40.017862 -2.789681)'))) / (select extract(epoch from '2026-06-13 08:40:19'::timestamp) - extract(epoch from '2026-06-13 08:40: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'), 46703, 'SRID=4674;POINT (-40.017873 -2.789748)', '2026-06-13 08:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017862 -2.789681)'), GeomFromEWKT('SRID=4674;POINT (-40.017873 -2.789748)'))) / (select extract(epoch from '2026-06-13 08:40:28'::timestamp) - extract(epoch from '2026-06-13 08:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017862 -2.789681)'), GeomFromEWKT('SRID=4674;POINT (-40.017873 -2.789748)'))) / (select extract(epoch from '2026-06-13 08:40:28'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017875 -2.789797)', '2026-06-13 08:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017873 -2.789748)'), GeomFromEWKT('SRID=4674;POINT (-40.017875 -2.789797)'))) / (select extract(epoch from '2026-06-13 08:40:42'::timestamp) - extract(epoch from '2026-06-13 08:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017873 -2.789748)'), GeomFromEWKT('SRID=4674;POINT (-40.017875 -2.789797)'))) / (select extract(epoch from '2026-06-13 08:40:42'::timestamp) - extract(epoch from '2026-06-13 08:40: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'), 46703, 'SRID=4674;POINT (-40.017911 -2.78988)', '2026-06-13 08:40:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017875 -2.789797)'), GeomFromEWKT('SRID=4674;POINT (-40.017911 -2.78988)'))) / (select extract(epoch from '2026-06-13 08:40:58'::timestamp) - extract(epoch from '2026-06-13 08:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017875 -2.789797)'), GeomFromEWKT('SRID=4674;POINT (-40.017911 -2.78988)'))) / (select extract(epoch from '2026-06-13 08:40:58'::timestamp) - extract(epoch from '2026-06-13 08:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017901 -2.789925)', '2026-06-13 08:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017911 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.789925)'))) / (select extract(epoch from '2026-06-13 08:41:04'::timestamp) - extract(epoch from '2026-06-13 08:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017911 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.789925)'))) / (select extract(epoch from '2026-06-13 08:41:04'::timestamp) - extract(epoch from '2026-06-13 08:40: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'), 46703, 'SRID=4674;POINT (-40.017855 -2.789926)', '2026-06-13 08:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.789925)'), GeomFromEWKT('SRID=4674;POINT (-40.017855 -2.789926)'))) / (select extract(epoch from '2026-06-13 08:41:13'::timestamp) - extract(epoch from '2026-06-13 08:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.789925)'), GeomFromEWKT('SRID=4674;POINT (-40.017855 -2.789926)'))) / (select extract(epoch from '2026-06-13 08:41:13'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017811 -2.789878)', '2026-06-13 08:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017855 -2.789926)'), GeomFromEWKT('SRID=4674;POINT (-40.017811 -2.789878)'))) / (select extract(epoch from '2026-06-13 08:41:21'::timestamp) - extract(epoch from '2026-06-13 08:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017855 -2.789926)'), GeomFromEWKT('SRID=4674;POINT (-40.017811 -2.789878)'))) / (select extract(epoch from '2026-06-13 08:41:21'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017777 -2.789821)', '2026-06-13 08:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017811 -2.789878)'), GeomFromEWKT('SRID=4674;POINT (-40.017777 -2.789821)'))) / (select extract(epoch from '2026-06-13 08:41:28'::timestamp) - extract(epoch from '2026-06-13 08:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017811 -2.789878)'), GeomFromEWKT('SRID=4674;POINT (-40.017777 -2.789821)'))) / (select extract(epoch from '2026-06-13 08:41:28'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017771 -2.789811)', '2026-06-13 08:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017777 -2.789821)'), GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.789811)'))) / (select extract(epoch from '2026-06-13 08:41:29'::timestamp) - extract(epoch from '2026-06-13 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017777 -2.789821)'), GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.789811)'))) / (select extract(epoch from '2026-06-13 08:41:29'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017759 -2.789793)', '2026-06-13 08:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.789811)'), GeomFromEWKT('SRID=4674;POINT (-40.017759 -2.789793)'))) / (select extract(epoch from '2026-06-13 08:41:31'::timestamp) - extract(epoch from '2026-06-13 08:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.789811)'), GeomFromEWKT('SRID=4674;POINT (-40.017759 -2.789793)'))) / (select extract(epoch from '2026-06-13 08:41:31'::timestamp) - extract(epoch from '2026-06-13 08:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017741 -2.789769)', '2026-06-13 08:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017759 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.017741 -2.789769)'))) / (select extract(epoch from '2026-06-13 08:41:34'::timestamp) - extract(epoch from '2026-06-13 08:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017759 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.017741 -2.789769)'))) / (select extract(epoch from '2026-06-13 08:41:34'::timestamp) - extract(epoch from '2026-06-13 08:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017707 -2.789731)', '2026-06-13 08:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017741 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.017707 -2.789731)'))) / (select extract(epoch from '2026-06-13 08:41:41'::timestamp) - extract(epoch from '2026-06-13 08:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017741 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.017707 -2.789731)'))) / (select extract(epoch from '2026-06-13 08:41:41'::timestamp) - extract(epoch from '2026-06-13 08:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017686 -2.789665)', '2026-06-13 08:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017707 -2.789731)'), GeomFromEWKT('SRID=4674;POINT (-40.017686 -2.789665)'))) / (select extract(epoch from '2026-06-13 08:41:49'::timestamp) - extract(epoch from '2026-06-13 08:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017707 -2.789731)'), GeomFromEWKT('SRID=4674;POINT (-40.017686 -2.789665)'))) / (select extract(epoch from '2026-06-13 08:41:49'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017634 -2.789595)', '2026-06-13 08:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017686 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789595)'))) / (select extract(epoch from '2026-06-13 08:41:56'::timestamp) - extract(epoch from '2026-06-13 08:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017686 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789595)'))) / (select extract(epoch from '2026-06-13 08:41:56'::timestamp) - extract(epoch from '2026-06-13 08:41: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'), 46703, 'SRID=4674;POINT (-40.017587 -2.789534)', '2026-06-13 08:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.017587 -2.789534)'))) / (select extract(epoch from '2026-06-13 08:42:02'::timestamp) - extract(epoch from '2026-06-13 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.017587 -2.789534)'))) / (select extract(epoch from '2026-06-13 08:42:02'::timestamp) - extract(epoch from '2026-06-13 08:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017557 -2.789482)', '2026-06-13 08:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017587 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.789482)'))) / (select extract(epoch from '2026-06-13 08:42:08'::timestamp) - extract(epoch from '2026-06-13 08:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017587 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.789482)'))) / (select extract(epoch from '2026-06-13 08:42:08'::timestamp) - extract(epoch from '2026-06-13 08:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017527 -2.789402)', '2026-06-13 08:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.789482)'), GeomFromEWKT('SRID=4674;POINT (-40.017527 -2.789402)'))) / (select extract(epoch from '2026-06-13 08:42:14'::timestamp) - extract(epoch from '2026-06-13 08:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.789482)'), GeomFromEWKT('SRID=4674;POINT (-40.017527 -2.789402)'))) / (select extract(epoch from '2026-06-13 08:42:14'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.017491 -2.7893)', '2026-06-13 08:42:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017527 -2.789402)'), GeomFromEWKT('SRID=4674;POINT (-40.017491 -2.7893)'))) / (select extract(epoch from '2026-06-13 08:42:22'::timestamp) - extract(epoch from '2026-06-13 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017527 -2.789402)'), GeomFromEWKT('SRID=4674;POINT (-40.017491 -2.7893)'))) / (select extract(epoch from '2026-06-13 08:42:22'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017462 -2.789224)', '2026-06-13 08:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017491 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.789224)'))) / (select extract(epoch from '2026-06-13 08:42:27'::timestamp) - extract(epoch from '2026-06-13 08:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017491 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.789224)'))) / (select extract(epoch from '2026-06-13 08:42:27'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017418 -2.789138)', '2026-06-13 08:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.789224)'), GeomFromEWKT('SRID=4674;POINT (-40.017418 -2.789138)'))) / (select extract(epoch from '2026-06-13 08:42:33'::timestamp) - extract(epoch from '2026-06-13 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017462 -2.789224)'), GeomFromEWKT('SRID=4674;POINT (-40.017418 -2.789138)'))) / (select extract(epoch from '2026-06-13 08:42:33'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017383 -2.789087)', '2026-06-13 08:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017418 -2.789138)'), GeomFromEWKT('SRID=4674;POINT (-40.017383 -2.789087)'))) / (select extract(epoch from '2026-06-13 08:42:37'::timestamp) - extract(epoch from '2026-06-13 08:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017418 -2.789138)'), GeomFromEWKT('SRID=4674;POINT (-40.017383 -2.789087)'))) / (select extract(epoch from '2026-06-13 08:42:37'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017369 -2.789062)', '2026-06-13 08:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017383 -2.789087)'), GeomFromEWKT('SRID=4674;POINT (-40.017369 -2.789062)'))) / (select extract(epoch from '2026-06-13 08:42:39'::timestamp) - extract(epoch from '2026-06-13 08:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017383 -2.789087)'), GeomFromEWKT('SRID=4674;POINT (-40.017369 -2.789062)'))) / (select extract(epoch from '2026-06-13 08:42:39'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017324 -2.788968)', '2026-06-13 08:42:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017369 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.017324 -2.788968)'))) / (select extract(epoch from '2026-06-13 08:42:46'::timestamp) - extract(epoch from '2026-06-13 08:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017369 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.017324 -2.788968)'))) / (select extract(epoch from '2026-06-13 08:42:46'::timestamp) - extract(epoch from '2026-06-13 08:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017305 -2.788865)', '2026-06-13 08:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017324 -2.788968)'), GeomFromEWKT('SRID=4674;POINT (-40.017305 -2.788865)'))) / (select extract(epoch from '2026-06-13 08:42:52'::timestamp) - extract(epoch from '2026-06-13 08:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017324 -2.788968)'), GeomFromEWKT('SRID=4674;POINT (-40.017305 -2.788865)'))) / (select extract(epoch from '2026-06-13 08:42:52'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017285 -2.788743)', '2026-06-13 08:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017305 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.017285 -2.788743)'))) / (select extract(epoch from '2026-06-13 08:42:59'::timestamp) - extract(epoch from '2026-06-13 08:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017305 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.017285 -2.788743)'))) / (select extract(epoch from '2026-06-13 08:42:59'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017256 -2.788608)', '2026-06-13 08:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017285 -2.788743)'), GeomFromEWKT('SRID=4674;POINT (-40.017256 -2.788608)'))) / (select extract(epoch from '2026-06-13 08:43:07'::timestamp) - extract(epoch from '2026-06-13 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017285 -2.788743)'), GeomFromEWKT('SRID=4674;POINT (-40.017256 -2.788608)'))) / (select extract(epoch from '2026-06-13 08:43:07'::timestamp) - extract(epoch from '2026-06-13 08:42: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'), 46703, 'SRID=4674;POINT (-40.017281 -2.788472)', '2026-06-13 08:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017256 -2.788608)'), GeomFromEWKT('SRID=4674;POINT (-40.017281 -2.788472)'))) / (select extract(epoch from '2026-06-13 08:43:14'::timestamp) - extract(epoch from '2026-06-13 08:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017256 -2.788608)'), GeomFromEWKT('SRID=4674;POINT (-40.017281 -2.788472)'))) / (select extract(epoch from '2026-06-13 08:43:14'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.017312 -2.788309)', '2026-06-13 08:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017281 -2.788472)'), GeomFromEWKT('SRID=4674;POINT (-40.017312 -2.788309)'))) / (select extract(epoch from '2026-06-13 08:43:23'::timestamp) - extract(epoch from '2026-06-13 08:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017281 -2.788472)'), GeomFromEWKT('SRID=4674;POINT (-40.017312 -2.788309)'))) / (select extract(epoch from '2026-06-13 08:43:23'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.01733 -2.788236)', '2026-06-13 08:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017312 -2.788309)'), GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.788236)'))) / (select extract(epoch from '2026-06-13 08:43:28'::timestamp) - extract(epoch from '2026-06-13 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017312 -2.788309)'), GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.788236)'))) / (select extract(epoch from '2026-06-13 08:43:28'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.017334 -2.788223)', '2026-06-13 08:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.788236)'), GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788223)'))) / (select extract(epoch from '2026-06-13 08:43:29'::timestamp) - extract(epoch from '2026-06-13 08:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01733 -2.788236)'), GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788223)'))) / (select extract(epoch from '2026-06-13 08:43:29'::timestamp) - extract(epoch from '2026-06-13 08:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01734 -2.788202)', '2026-06-13 08:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.01734 -2.788202)'))) / (select extract(epoch from '2026-06-13 08:43:31'::timestamp) - extract(epoch from '2026-06-13 08:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.01734 -2.788202)'))) / (select extract(epoch from '2026-06-13 08:43:31'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.01736 -2.788165)', '2026-06-13 08:43:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01734 -2.788202)'), GeomFromEWKT('SRID=4674;POINT (-40.01736 -2.788165)'))) / (select extract(epoch from '2026-06-13 08:43:35'::timestamp) - extract(epoch from '2026-06-13 08:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01734 -2.788202)'), GeomFromEWKT('SRID=4674;POINT (-40.01736 -2.788165)'))) / (select extract(epoch from '2026-06-13 08:43:35'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017401 -2.788099)', '2026-06-13 08:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01736 -2.788165)'), GeomFromEWKT('SRID=4674;POINT (-40.017401 -2.788099)'))) / (select extract(epoch from '2026-06-13 08:43:42'::timestamp) - extract(epoch from '2026-06-13 08:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01736 -2.788165)'), GeomFromEWKT('SRID=4674;POINT (-40.017401 -2.788099)'))) / (select extract(epoch from '2026-06-13 08:43:42'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.0175 -2.788083)', '2026-06-13 08:43:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017401 -2.788099)'), GeomFromEWKT('SRID=4674;POINT (-40.0175 -2.788083)'))) / (select extract(epoch from '2026-06-13 08:43:50'::timestamp) - extract(epoch from '2026-06-13 08:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017401 -2.788099)'), GeomFromEWKT('SRID=4674;POINT (-40.0175 -2.788083)'))) / (select extract(epoch from '2026-06-13 08:43:50'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.017548 -2.788133)', '2026-06-13 08:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0175 -2.788083)'), GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.788133)'))) / (select extract(epoch from '2026-06-13 08:43:57'::timestamp) - extract(epoch from '2026-06-13 08:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0175 -2.788083)'), GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.788133)'))) / (select extract(epoch from '2026-06-13 08:43:57'::timestamp) - extract(epoch from '2026-06-13 08:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017554 -2.788185)', '2026-06-13 08:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.788133)'), GeomFromEWKT('SRID=4674;POINT (-40.017554 -2.788185)'))) / (select extract(epoch from '2026-06-13 08:44:02'::timestamp) - extract(epoch from '2026-06-13 08:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.788133)'), GeomFromEWKT('SRID=4674;POINT (-40.017554 -2.788185)'))) / (select extract(epoch from '2026-06-13 08:44:02'::timestamp) - extract(epoch from '2026-06-13 08:43: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'), 46703, 'SRID=4674;POINT (-40.017545 -2.788231)', '2026-06-13 08:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017554 -2.788185)'), GeomFromEWKT('SRID=4674;POINT (-40.017545 -2.788231)'))) / (select extract(epoch from '2026-06-13 08:44:08'::timestamp) - extract(epoch from '2026-06-13 08:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017554 -2.788185)'), GeomFromEWKT('SRID=4674;POINT (-40.017545 -2.788231)'))) / (select extract(epoch from '2026-06-13 08:44:08'::timestamp) - extract(epoch from '2026-06-13 08:44: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'), 46703, 'SRID=4674;POINT (-40.017525 -2.78828)', '2026-06-13 08:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017545 -2.788231)'), GeomFromEWKT('SRID=4674;POINT (-40.017525 -2.78828)'))) / (select extract(epoch from '2026-06-13 08:44:16'::timestamp) - extract(epoch from '2026-06-13 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017545 -2.788231)'), GeomFromEWKT('SRID=4674;POINT (-40.017525 -2.78828)'))) / (select extract(epoch from '2026-06-13 08:44:16'::timestamp) - extract(epoch from '2026-06-13 08:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017464 -2.78831)', '2026-06-13 08:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017525 -2.78828)'), GeomFromEWKT('SRID=4674;POINT (-40.017464 -2.78831)'))) / (select extract(epoch from '2026-06-13 08:44:30'::timestamp) - extract(epoch from '2026-06-13 08:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017525 -2.78828)'), GeomFromEWKT('SRID=4674;POINT (-40.017464 -2.78831)'))) / (select extract(epoch from '2026-06-13 08:44:30'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.017452 -2.788277)', '2026-06-13 08:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017464 -2.78831)'), GeomFromEWKT('SRID=4674;POINT (-40.017452 -2.788277)'))) / (select extract(epoch from '2026-06-13 08:44:37'::timestamp) - extract(epoch from '2026-06-13 08:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017464 -2.78831)'), GeomFromEWKT('SRID=4674;POINT (-40.017452 -2.788277)'))) / (select extract(epoch from '2026-06-13 08:44:37'::timestamp) - extract(epoch from '2026-06-13 08:44: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'), 46703, 'SRID=4674;POINT (-40.017468 -2.788197)', '2026-06-13 08:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017452 -2.788277)'), GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788197)'))) / (select extract(epoch from '2026-06-13 08:44:49'::timestamp) - extract(epoch from '2026-06-13 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017452 -2.788277)'), GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788197)'))) / (select extract(epoch from '2026-06-13 08:44:49'::timestamp) - extract(epoch from '2026-06-13 08:44: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'), 46703, 'SRID=4674;POINT (-40.017468 -2.788187)', '2026-06-13 08:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788197)'), GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788187)'))) / (select extract(epoch from '2026-06-13 08:44:50'::timestamp) - extract(epoch from '2026-06-13 08:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788197)'), GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788187)'))) / (select extract(epoch from '2026-06-13 08:44:50'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017467 -2.78816)', '2026-06-13 08:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788187)'), GeomFromEWKT('SRID=4674;POINT (-40.017467 -2.78816)'))) / (select extract(epoch from '2026-06-13 08:44:53'::timestamp) - extract(epoch from '2026-06-13 08:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017468 -2.788187)'), GeomFromEWKT('SRID=4674;POINT (-40.017467 -2.78816)'))) / (select extract(epoch from '2026-06-13 08:44:53'::timestamp) - extract(epoch from '2026-06-13 08:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01746 -2.788145)', '2026-06-13 08:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017467 -2.78816)'), GeomFromEWKT('SRID=4674;POINT (-40.01746 -2.788145)'))) / (select extract(epoch from '2026-06-13 08:44:55'::timestamp) - extract(epoch from '2026-06-13 08:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017467 -2.78816)'), GeomFromEWKT('SRID=4674;POINT (-40.01746 -2.788145)'))) / (select extract(epoch from '2026-06-13 08:44:55'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.017432 -2.788117)', '2026-06-13 08:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01746 -2.788145)'), GeomFromEWKT('SRID=4674;POINT (-40.017432 -2.788117)'))) / (select extract(epoch from '2026-06-13 08:45:01'::timestamp) - extract(epoch from '2026-06-13 08:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01746 -2.788145)'), GeomFromEWKT('SRID=4674;POINT (-40.017432 -2.788117)'))) / (select extract(epoch from '2026-06-13 08:45:01'::timestamp) - extract(epoch from '2026-06-13 08:44: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'), 46703, 'SRID=4674;POINT (-40.01738 -2.788163)', '2026-06-13 08:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017432 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.788163)'))) / (select extract(epoch from '2026-06-13 08:45:12'::timestamp) - extract(epoch from '2026-06-13 08:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017432 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.788163)'))) / (select extract(epoch from '2026-06-13 08:45:12'::timestamp) - extract(epoch from '2026-06-13 08:45: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'), 46703, 'SRID=4674;POINT (-40.017379 -2.788215)', '2026-06-13 08:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.788163)'), GeomFromEWKT('SRID=4674;POINT (-40.017379 -2.788215)'))) / (select extract(epoch from '2026-06-13 08:45:19'::timestamp) - extract(epoch from '2026-06-13 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.788163)'), GeomFromEWKT('SRID=4674;POINT (-40.017379 -2.788215)'))) / (select extract(epoch from '2026-06-13 08:45:19'::timestamp) - extract(epoch from '2026-06-13 08:45: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'), 46703, 'SRID=4674;POINT (-40.017372 -2.788249)', '2026-06-13 08:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017379 -2.788215)'), GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.788249)'))) / (select extract(epoch from '2026-06-13 08:45:28'::timestamp) - extract(epoch from '2026-06-13 08:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017379 -2.788215)'), GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.788249)'))) / (select extract(epoch from '2026-06-13 08:45:28'::timestamp) - extract(epoch from '2026-06-13 08:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017373 -2.788283)', '2026-06-13 08:45:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.788249)'), GeomFromEWKT('SRID=4674;POINT (-40.017373 -2.788283)'))) / (select extract(epoch from '2026-06-13 08:45:40'::timestamp) - extract(epoch from '2026-06-13 08:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.788249)'), GeomFromEWKT('SRID=4674;POINT (-40.017373 -2.788283)'))) / (select extract(epoch from '2026-06-13 08:45:40'::timestamp) - extract(epoch from '2026-06-13 08:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017414 -2.788324)', '2026-06-13 08:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017373 -2.788283)'), GeomFromEWKT('SRID=4674;POINT (-40.017414 -2.788324)'))) / (select extract(epoch from '2026-06-13 08:45:48'::timestamp) - extract(epoch from '2026-06-13 08:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017373 -2.788283)'), GeomFromEWKT('SRID=4674;POINT (-40.017414 -2.788324)'))) / (select extract(epoch from '2026-06-13 08:45:48'::timestamp) - extract(epoch from '2026-06-13 08:45: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'), 46703, 'SRID=4674;POINT (-40.017429 -2.788333)', '2026-06-13 08:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017414 -2.788324)'), GeomFromEWKT('SRID=4674;POINT (-40.017429 -2.788333)'))) / (select extract(epoch from '2026-06-13 08:45:50'::timestamp) - extract(epoch from '2026-06-13 08:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017414 -2.788324)'), GeomFromEWKT('SRID=4674;POINT (-40.017429 -2.788333)'))) / (select extract(epoch from '2026-06-13 08:45:50'::timestamp) - extract(epoch from '2026-06-13 08:45: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'), 46703, 'SRID=4674;POINT (-40.017444 -2.788343)', '2026-06-13 08:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017429 -2.788333)'), GeomFromEWKT('SRID=4674;POINT (-40.017444 -2.788343)'))) / (select extract(epoch from '2026-06-13 08:45:52'::timestamp) - extract(epoch from '2026-06-13 08:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017429 -2.788333)'), GeomFromEWKT('SRID=4674;POINT (-40.017444 -2.788343)'))) / (select extract(epoch from '2026-06-13 08:45:52'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017453 -2.788347)', '2026-06-13 08:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017444 -2.788343)'), GeomFromEWKT('SRID=4674;POINT (-40.017453 -2.788347)'))) / (select extract(epoch from '2026-06-13 08:45:53'::timestamp) - extract(epoch from '2026-06-13 08:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017444 -2.788343)'), GeomFromEWKT('SRID=4674;POINT (-40.017453 -2.788347)'))) / (select extract(epoch from '2026-06-13 08:45:53'::timestamp) - extract(epoch from '2026-06-13 08:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017476 -2.788352)', '2026-06-13 08:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017453 -2.788347)'), GeomFromEWKT('SRID=4674;POINT (-40.017476 -2.788352)'))) / (select extract(epoch from '2026-06-13 08:45:55'::timestamp) - extract(epoch from '2026-06-13 08:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017453 -2.788347)'), GeomFromEWKT('SRID=4674;POINT (-40.017476 -2.788352)'))) / (select extract(epoch from '2026-06-13 08:45:55'::timestamp) - extract(epoch from '2026-06-13 08:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017514 -2.788352)', '2026-06-13 08:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017476 -2.788352)'), GeomFromEWKT('SRID=4674;POINT (-40.017514 -2.788352)'))) / (select extract(epoch from '2026-06-13 08:45:58'::timestamp) - extract(epoch from '2026-06-13 08:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017476 -2.788352)'), GeomFromEWKT('SRID=4674;POINT (-40.017514 -2.788352)'))) / (select extract(epoch from '2026-06-13 08:45:58'::timestamp) - extract(epoch from '2026-06-13 08:45: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'), 46703, 'SRID=4674;POINT (-40.017562 -2.788334)', '2026-06-13 08:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017514 -2.788352)'), GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788334)'))) / (select extract(epoch from '2026-06-13 08:46:02'::timestamp) - extract(epoch from '2026-06-13 08:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017514 -2.788352)'), GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788334)'))) / (select extract(epoch from '2026-06-13 08:46:02'::timestamp) - extract(epoch from '2026-06-13 08:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017585 -2.788306)', '2026-06-13 08:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788334)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788306)'))) / (select extract(epoch from '2026-06-13 08:46:05'::timestamp) - extract(epoch from '2026-06-13 08:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788334)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788306)'))) / (select extract(epoch from '2026-06-13 08:46:05'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017585 -2.788242)', '2026-06-13 08:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788306)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788242)'))) / (select extract(epoch from '2026-06-13 08:46:12'::timestamp) - extract(epoch from '2026-06-13 08:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788306)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788242)'))) / (select extract(epoch from '2026-06-13 08:46:12'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.017562 -2.788185)', '2026-06-13 08:46:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788242)'), GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788185)'))) / (select extract(epoch from '2026-06-13 08:46:22'::timestamp) - extract(epoch from '2026-06-13 08:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.788242)'), GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788185)'))) / (select extract(epoch from '2026-06-13 08:46:22'::timestamp) - extract(epoch from '2026-06-13 08:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017532 -2.788177)', '2026-06-13 08:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788185)'), GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788177)'))) / (select extract(epoch from '2026-06-13 08:46:30'::timestamp) - extract(epoch from '2026-06-13 08:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017562 -2.788185)'), GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788177)'))) / (select extract(epoch from '2026-06-13 08:46:30'::timestamp) - extract(epoch from '2026-06-13 08:46: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'), 46703, 'SRID=4674;POINT (-40.017532 -2.788178)', '2026-06-13 08:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788177)'), GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788178)'))) / (select extract(epoch from '2026-06-13 08:46:38'::timestamp) - extract(epoch from '2026-06-13 08:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788177)'), GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788178)'))) / (select extract(epoch from '2026-06-13 08:46:38'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.01754 -2.788214)', '2026-06-13 08:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788178)'), GeomFromEWKT('SRID=4674;POINT (-40.01754 -2.788214)'))) / (select extract(epoch from '2026-06-13 08:46:46'::timestamp) - extract(epoch from '2026-06-13 08:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017532 -2.788178)'), GeomFromEWKT('SRID=4674;POINT (-40.01754 -2.788214)'))) / (select extract(epoch from '2026-06-13 08:46:46'::timestamp) - extract(epoch from '2026-06-13 08:46: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'), 46703, 'SRID=4674;POINT (-40.017565 -2.788279)', '2026-06-13 08:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01754 -2.788214)'), GeomFromEWKT('SRID=4674;POINT (-40.017565 -2.788279)'))) / (select extract(epoch from '2026-06-13 08:46:53'::timestamp) - extract(epoch from '2026-06-13 08:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01754 -2.788214)'), GeomFromEWKT('SRID=4674;POINT (-40.017565 -2.788279)'))) / (select extract(epoch from '2026-06-13 08:46:53'::timestamp) - extract(epoch from '2026-06-13 08:46: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'), 46703, 'SRID=4674;POINT (-40.01762 -2.788298)', '2026-06-13 08:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017565 -2.788279)'), GeomFromEWKT('SRID=4674;POINT (-40.01762 -2.788298)'))) / (select extract(epoch from '2026-06-13 08:46:57'::timestamp) - extract(epoch from '2026-06-13 08:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017565 -2.788279)'), GeomFromEWKT('SRID=4674;POINT (-40.01762 -2.788298)'))) / (select extract(epoch from '2026-06-13 08:46:57'::timestamp) - extract(epoch from '2026-06-13 08:46: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'), 46703, 'SRID=4674;POINT (-40.017635 -2.788296)', '2026-06-13 08:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01762 -2.788298)'), GeomFromEWKT('SRID=4674;POINT (-40.017635 -2.788296)'))) / (select extract(epoch from '2026-06-13 08:46:58'::timestamp) - extract(epoch from '2026-06-13 08:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01762 -2.788298)'), GeomFromEWKT('SRID=4674;POINT (-40.017635 -2.788296)'))) / (select extract(epoch from '2026-06-13 08:46:58'::timestamp) - extract(epoch from '2026-06-13 08:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01771 -2.788245)', '2026-06-13 08:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017635 -2.788296)'), GeomFromEWKT('SRID=4674;POINT (-40.01771 -2.788245)'))) / (select extract(epoch from '2026-06-13 08:47:04'::timestamp) - extract(epoch from '2026-06-13 08:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017635 -2.788296)'), GeomFromEWKT('SRID=4674;POINT (-40.01771 -2.788245)'))) / (select extract(epoch from '2026-06-13 08:47:04'::timestamp) - extract(epoch from '2026-06-13 08:46: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'), 46703, 'SRID=4674;POINT (-40.017719 -2.788231)', '2026-06-13 08:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01771 -2.788245)'), GeomFromEWKT('SRID=4674;POINT (-40.017719 -2.788231)'))) / (select extract(epoch from '2026-06-13 08:47:05'::timestamp) - extract(epoch from '2026-06-13 08:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01771 -2.788245)'), GeomFromEWKT('SRID=4674;POINT (-40.017719 -2.788231)'))) / (select extract(epoch from '2026-06-13 08:47:05'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.01773 -2.788177)', '2026-06-13 08:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017719 -2.788231)'), GeomFromEWKT('SRID=4674;POINT (-40.01773 -2.788177)'))) / (select extract(epoch from '2026-06-13 08:47:09'::timestamp) - extract(epoch from '2026-06-13 08:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017719 -2.788231)'), GeomFromEWKT('SRID=4674;POINT (-40.01773 -2.788177)'))) / (select extract(epoch from '2026-06-13 08:47:09'::timestamp) - extract(epoch from '2026-06-13 08:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017728 -2.788165)', '2026-06-13 08:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01773 -2.788177)'), GeomFromEWKT('SRID=4674;POINT (-40.017728 -2.788165)'))) / (select extract(epoch from '2026-06-13 08:47:10'::timestamp) - extract(epoch from '2026-06-13 08:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01773 -2.788177)'), GeomFromEWKT('SRID=4674;POINT (-40.017728 -2.788165)'))) / (select extract(epoch from '2026-06-13 08:47:10'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017713 -2.788109)', '2026-06-13 08:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017728 -2.788165)'), GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.788109)'))) / (select extract(epoch from '2026-06-13 08:47:15'::timestamp) - extract(epoch from '2026-06-13 08:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017728 -2.788165)'), GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.788109)'))) / (select extract(epoch from '2026-06-13 08:47:15'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017669 -2.788056)', '2026-06-13 08:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.788109)'), GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.788056)'))) / (select extract(epoch from '2026-06-13 08:47:22'::timestamp) - extract(epoch from '2026-06-13 08:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.788109)'), GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.788056)'))) / (select extract(epoch from '2026-06-13 08:47:22'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017604 -2.78803)', '2026-06-13 08:47:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.788056)'), GeomFromEWKT('SRID=4674;POINT (-40.017604 -2.78803)'))) / (select extract(epoch from '2026-06-13 08:47:29'::timestamp) - extract(epoch from '2026-06-13 08:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.788056)'), GeomFromEWKT('SRID=4674;POINT (-40.017604 -2.78803)'))) / (select extract(epoch from '2026-06-13 08:47:29'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017546 -2.787999)', '2026-06-13 08:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017604 -2.78803)'), GeomFromEWKT('SRID=4674;POINT (-40.017546 -2.787999)'))) / (select extract(epoch from '2026-06-13 08:47:36'::timestamp) - extract(epoch from '2026-06-13 08:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017604 -2.78803)'), GeomFromEWKT('SRID=4674;POINT (-40.017546 -2.787999)'))) / (select extract(epoch from '2026-06-13 08:47:36'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017526 -2.787968)', '2026-06-13 08:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017546 -2.787999)'), GeomFromEWKT('SRID=4674;POINT (-40.017526 -2.787968)'))) / (select extract(epoch from '2026-06-13 08:47:40'::timestamp) - extract(epoch from '2026-06-13 08:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017546 -2.787999)'), GeomFromEWKT('SRID=4674;POINT (-40.017526 -2.787968)'))) / (select extract(epoch from '2026-06-13 08:47:40'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017512 -2.787951)', '2026-06-13 08:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017526 -2.787968)'), GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.787951)'))) / (select extract(epoch from '2026-06-13 08:47:42'::timestamp) - extract(epoch from '2026-06-13 08:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017526 -2.787968)'), GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.787951)'))) / (select extract(epoch from '2026-06-13 08:47:42'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.017499 -2.787935)', '2026-06-13 08:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.787951)'), GeomFromEWKT('SRID=4674;POINT (-40.017499 -2.787935)'))) / (select extract(epoch from '2026-06-13 08:47:44'::timestamp) - extract(epoch from '2026-06-13 08:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.787951)'), GeomFromEWKT('SRID=4674;POINT (-40.017499 -2.787935)'))) / (select extract(epoch from '2026-06-13 08:47:44'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017469 -2.787916)', '2026-06-13 08:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017499 -2.787935)'), GeomFromEWKT('SRID=4674;POINT (-40.017469 -2.787916)'))) / (select extract(epoch from '2026-06-13 08:47:48'::timestamp) - extract(epoch from '2026-06-13 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017499 -2.787935)'), GeomFromEWKT('SRID=4674;POINT (-40.017469 -2.787916)'))) / (select extract(epoch from '2026-06-13 08:47:48'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017391 -2.787874)', '2026-06-13 08:47:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017469 -2.787916)'), GeomFromEWKT('SRID=4674;POINT (-40.017391 -2.787874)'))) / (select extract(epoch from '2026-06-13 08:47:57'::timestamp) - extract(epoch from '2026-06-13 08:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017469 -2.787916)'), GeomFromEWKT('SRID=4674;POINT (-40.017391 -2.787874)'))) / (select extract(epoch from '2026-06-13 08:47:57'::timestamp) - extract(epoch from '2026-06-13 08:47: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'), 46703, 'SRID=4674;POINT (-40.017273 -2.787827)', '2026-06-13 08:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017391 -2.787874)'), GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.787827)'))) / (select extract(epoch from '2026-06-13 08:48:07'::timestamp) - extract(epoch from '2026-06-13 08:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017391 -2.787874)'), GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.787827)'))) / (select extract(epoch from '2026-06-13 08:48:07'::timestamp) - extract(epoch from '2026-06-13 08:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017192 -2.787777)', '2026-06-13 08:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.787827)'), GeomFromEWKT('SRID=4674;POINT (-40.017192 -2.787777)'))) / (select extract(epoch from '2026-06-13 08:48:14'::timestamp) - extract(epoch from '2026-06-13 08:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.787827)'), GeomFromEWKT('SRID=4674;POINT (-40.017192 -2.787777)'))) / (select extract(epoch from '2026-06-13 08:48:14'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.017098 -2.787706)', '2026-06-13 08:48:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017192 -2.787777)'), GeomFromEWKT('SRID=4674;POINT (-40.017098 -2.787706)'))) / (select extract(epoch from '2026-06-13 08:48:23'::timestamp) - extract(epoch from '2026-06-13 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017192 -2.787777)'), GeomFromEWKT('SRID=4674;POINT (-40.017098 -2.787706)'))) / (select extract(epoch from '2026-06-13 08:48:23'::timestamp) - extract(epoch from '2026-06-13 08:48: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'), 46703, 'SRID=4674;POINT (-40.017043 -2.787665)', '2026-06-13 08:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017098 -2.787706)'), GeomFromEWKT('SRID=4674;POINT (-40.017043 -2.787665)'))) / (select extract(epoch from '2026-06-13 08:48:30'::timestamp) - extract(epoch from '2026-06-13 08:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017098 -2.787706)'), GeomFromEWKT('SRID=4674;POINT (-40.017043 -2.787665)'))) / (select extract(epoch from '2026-06-13 08:48:30'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016983 -2.787621)', '2026-06-13 08:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017043 -2.787665)'), GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.787621)'))) / (select extract(epoch from '2026-06-13 08:48:37'::timestamp) - extract(epoch from '2026-06-13 08:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017043 -2.787665)'), GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.787621)'))) / (select extract(epoch from '2026-06-13 08:48:37'::timestamp) - extract(epoch from '2026-06-13 08:48: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'), 46703, 'SRID=4674;POINT (-40.016914 -2.787571)', '2026-06-13 08:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.787621)'), GeomFromEWKT('SRID=4674;POINT (-40.016914 -2.787571)'))) / (select extract(epoch from '2026-06-13 08:48:44'::timestamp) - extract(epoch from '2026-06-13 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016983 -2.787621)'), GeomFromEWKT('SRID=4674;POINT (-40.016914 -2.787571)'))) / (select extract(epoch from '2026-06-13 08:48:44'::timestamp) - extract(epoch from '2026-06-13 08:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016884 -2.78755)', '2026-06-13 08:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016914 -2.787571)'), GeomFromEWKT('SRID=4674;POINT (-40.016884 -2.78755)'))) / (select extract(epoch from '2026-06-13 08:48:47'::timestamp) - extract(epoch from '2026-06-13 08:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016914 -2.787571)'), GeomFromEWKT('SRID=4674;POINT (-40.016884 -2.78755)'))) / (select extract(epoch from '2026-06-13 08:48:47'::timestamp) - extract(epoch from '2026-06-13 08:48: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'), 46703, 'SRID=4674;POINT (-40.016868 -2.787538)', '2026-06-13 08:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016884 -2.78755)'), GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.787538)'))) / (select extract(epoch from '2026-06-13 08:48:49'::timestamp) - extract(epoch from '2026-06-13 08:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016884 -2.78755)'), GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.787538)'))) / (select extract(epoch from '2026-06-13 08:48:49'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.016799 -2.787496)', '2026-06-13 08:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.787538)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787496)'))) / (select extract(epoch from '2026-06-13 08:48:56'::timestamp) - extract(epoch from '2026-06-13 08:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.787538)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787496)'))) / (select extract(epoch from '2026-06-13 08:48:56'::timestamp) - extract(epoch from '2026-06-13 08:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01679 -2.78749)', '2026-06-13 08:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787496)'), GeomFromEWKT('SRID=4674;POINT (-40.01679 -2.78749)'))) / (select extract(epoch from '2026-06-13 08:48:57'::timestamp) - extract(epoch from '2026-06-13 08:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787496)'), GeomFromEWKT('SRID=4674;POINT (-40.01679 -2.78749)'))) / (select extract(epoch from '2026-06-13 08:48:57'::timestamp) - extract(epoch from '2026-06-13 08:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016784 -2.787484)', '2026-06-13 08:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01679 -2.78749)'), GeomFromEWKT('SRID=4674;POINT (-40.016784 -2.787484)'))) / (select extract(epoch from '2026-06-13 08:48:58'::timestamp) - extract(epoch from '2026-06-13 08:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01679 -2.78749)'), GeomFromEWKT('SRID=4674;POINT (-40.016784 -2.787484)'))) / (select extract(epoch from '2026-06-13 08:48:58'::timestamp) - extract(epoch from '2026-06-13 08:48: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'), 46703, 'SRID=4674;POINT (-40.016751 -2.787451)', '2026-06-13 08:49:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016784 -2.787484)'), GeomFromEWKT('SRID=4674;POINT (-40.016751 -2.787451)'))) / (select extract(epoch from '2026-06-13 08:49:03'::timestamp) - extract(epoch from '2026-06-13 08:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016784 -2.787484)'), GeomFromEWKT('SRID=4674;POINT (-40.016751 -2.787451)'))) / (select extract(epoch from '2026-06-13 08:49:03'::timestamp) - extract(epoch from '2026-06-13 08:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016695 -2.7874)', '2026-06-13 08:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016751 -2.787451)'), GeomFromEWKT('SRID=4674;POINT (-40.016695 -2.7874)'))) / (select extract(epoch from '2026-06-13 08:49:10'::timestamp) - extract(epoch from '2026-06-13 08:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016751 -2.787451)'), GeomFromEWKT('SRID=4674;POINT (-40.016695 -2.7874)'))) / (select extract(epoch from '2026-06-13 08:49:10'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.016634 -2.787376)', '2026-06-13 08:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016695 -2.7874)'), GeomFromEWKT('SRID=4674;POINT (-40.016634 -2.787376)'))) / (select extract(epoch from '2026-06-13 08:49:17'::timestamp) - extract(epoch from '2026-06-13 08:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016695 -2.7874)'), GeomFromEWKT('SRID=4674;POINT (-40.016634 -2.787376)'))) / (select extract(epoch from '2026-06-13 08:49:17'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.016574 -2.787349)', '2026-06-13 08:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016634 -2.787376)'), GeomFromEWKT('SRID=4674;POINT (-40.016574 -2.787349)'))) / (select extract(epoch from '2026-06-13 08:49:23'::timestamp) - extract(epoch from '2026-06-13 08:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016634 -2.787376)'), GeomFromEWKT('SRID=4674;POINT (-40.016574 -2.787349)'))) / (select extract(epoch from '2026-06-13 08:49:23'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016506 -2.787326)', '2026-06-13 08:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016574 -2.787349)'), GeomFromEWKT('SRID=4674;POINT (-40.016506 -2.787326)'))) / (select extract(epoch from '2026-06-13 08:49:31'::timestamp) - extract(epoch from '2026-06-13 08:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016574 -2.787349)'), GeomFromEWKT('SRID=4674;POINT (-40.016506 -2.787326)'))) / (select extract(epoch from '2026-06-13 08:49:31'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016465 -2.787287)', '2026-06-13 08:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016506 -2.787326)'), GeomFromEWKT('SRID=4674;POINT (-40.016465 -2.787287)'))) / (select extract(epoch from '2026-06-13 08:49:38'::timestamp) - extract(epoch from '2026-06-13 08:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016506 -2.787326)'), GeomFromEWKT('SRID=4674;POINT (-40.016465 -2.787287)'))) / (select extract(epoch from '2026-06-13 08:49:38'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016437 -2.787281)', '2026-06-13 08:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016465 -2.787287)'), GeomFromEWKT('SRID=4674;POINT (-40.016437 -2.787281)'))) / (select extract(epoch from '2026-06-13 08:49:45'::timestamp) - extract(epoch from '2026-06-13 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016465 -2.787287)'), GeomFromEWKT('SRID=4674;POINT (-40.016437 -2.787281)'))) / (select extract(epoch from '2026-06-13 08:49:45'::timestamp) - extract(epoch from '2026-06-13 08:49: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'), 46703, 'SRID=4674;POINT (-40.016399 -2.787296)', '2026-06-13 08:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016437 -2.787281)'), GeomFromEWKT('SRID=4674;POINT (-40.016399 -2.787296)'))) / (select extract(epoch from '2026-06-13 08:49:52'::timestamp) - extract(epoch from '2026-06-13 08:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016437 -2.787281)'), GeomFromEWKT('SRID=4674;POINT (-40.016399 -2.787296)'))) / (select extract(epoch from '2026-06-13 08:49:52'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.016382 -2.787313)', '2026-06-13 08:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016399 -2.787296)'), GeomFromEWKT('SRID=4674;POINT (-40.016382 -2.787313)'))) / (select extract(epoch from '2026-06-13 08:49:59'::timestamp) - extract(epoch from '2026-06-13 08:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016399 -2.787296)'), GeomFromEWKT('SRID=4674;POINT (-40.016382 -2.787313)'))) / (select extract(epoch from '2026-06-13 08:49:59'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016377 -2.787315)', '2026-06-13 08:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016382 -2.787313)'), GeomFromEWKT('SRID=4674;POINT (-40.016377 -2.787315)'))) / (select extract(epoch from '2026-06-13 08:50:08'::timestamp) - extract(epoch from '2026-06-13 08:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016382 -2.787313)'), GeomFromEWKT('SRID=4674;POINT (-40.016377 -2.787315)'))) / (select extract(epoch from '2026-06-13 08:50:08'::timestamp) - extract(epoch from '2026-06-13 08:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016361 -2.787305)', '2026-06-13 08:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016377 -2.787315)'), GeomFromEWKT('SRID=4674;POINT (-40.016361 -2.787305)'))) / (select extract(epoch from '2026-06-13 08:50:19'::timestamp) - extract(epoch from '2026-06-13 08:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016377 -2.787315)'), GeomFromEWKT('SRID=4674;POINT (-40.016361 -2.787305)'))) / (select extract(epoch from '2026-06-13 08:50:19'::timestamp) - extract(epoch from '2026-06-13 08:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016345 -2.787268)', '2026-06-13 08:50:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016361 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.016345 -2.787268)'))) / (select extract(epoch from '2026-06-13 08:50:27'::timestamp) - extract(epoch from '2026-06-13 08:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016361 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.016345 -2.787268)'))) / (select extract(epoch from '2026-06-13 08:50:27'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.016326 -2.787253)', '2026-06-13 08:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016345 -2.787268)'), GeomFromEWKT('SRID=4674;POINT (-40.016326 -2.787253)'))) / (select extract(epoch from '2026-06-13 08:50:36'::timestamp) - extract(epoch from '2026-06-13 08:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016345 -2.787268)'), GeomFromEWKT('SRID=4674;POINT (-40.016326 -2.787253)'))) / (select extract(epoch from '2026-06-13 08:50:36'::timestamp) - extract(epoch from '2026-06-13 08:50: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'), 46703, 'SRID=4674;POINT (-40.016307 -2.787254)', '2026-06-13 08:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016326 -2.787253)'), GeomFromEWKT('SRID=4674;POINT (-40.016307 -2.787254)'))) / (select extract(epoch from '2026-06-13 08:50:45'::timestamp) - extract(epoch from '2026-06-13 08:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016326 -2.787253)'), GeomFromEWKT('SRID=4674;POINT (-40.016307 -2.787254)'))) / (select extract(epoch from '2026-06-13 08:50:45'::timestamp) - extract(epoch from '2026-06-13 08:50: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'), 46703, 'SRID=4674;POINT (-40.016329 -2.787277)', '2026-06-13 08:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016307 -2.787254)'), GeomFromEWKT('SRID=4674;POINT (-40.016329 -2.787277)'))) / (select extract(epoch from '2026-06-13 08:50:54'::timestamp) - extract(epoch from '2026-06-13 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016307 -2.787254)'), GeomFromEWKT('SRID=4674;POINT (-40.016329 -2.787277)'))) / (select extract(epoch from '2026-06-13 08:50:54'::timestamp) - extract(epoch from '2026-06-13 08:50: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'), 46703, 'SRID=4674;POINT (-40.016411 -2.787325)', '2026-06-13 08:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016329 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787325)'))) / (select extract(epoch from '2026-06-13 08:51:07'::timestamp) - extract(epoch from '2026-06-13 08:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016329 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787325)'))) / (select extract(epoch from '2026-06-13 08:51:07'::timestamp) - extract(epoch from '2026-06-13 08:50: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'), 46703, 'SRID=4674;POINT (-40.016498 -2.787303)', '2026-06-13 08:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787325)'), GeomFromEWKT('SRID=4674;POINT (-40.016498 -2.787303)'))) / (select extract(epoch from '2026-06-13 08:51:14'::timestamp) - extract(epoch from '2026-06-13 08:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787325)'), GeomFromEWKT('SRID=4674;POINT (-40.016498 -2.787303)'))) / (select extract(epoch from '2026-06-13 08:51:14'::timestamp) - extract(epoch from '2026-06-13 08:51: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'), 46703, 'SRID=4674;POINT (-40.016532 -2.787227)', '2026-06-13 08:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016498 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.016532 -2.787227)'))) / (select extract(epoch from '2026-06-13 08:51:20'::timestamp) - extract(epoch from '2026-06-13 08:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016498 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.016532 -2.787227)'))) / (select extract(epoch from '2026-06-13 08:51:20'::timestamp) - extract(epoch from '2026-06-13 08:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016496 -2.787144)', '2026-06-13 08:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016532 -2.787227)'), GeomFromEWKT('SRID=4674;POINT (-40.016496 -2.787144)'))) / (select extract(epoch from '2026-06-13 08:51:27'::timestamp) - extract(epoch from '2026-06-13 08:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016532 -2.787227)'), GeomFromEWKT('SRID=4674;POINT (-40.016496 -2.787144)'))) / (select extract(epoch from '2026-06-13 08:51:27'::timestamp) - extract(epoch from '2026-06-13 08:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01643 -2.787076)', '2026-06-13 08:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016496 -2.787144)'), GeomFromEWKT('SRID=4674;POINT (-40.01643 -2.787076)'))) / (select extract(epoch from '2026-06-13 08:51:34'::timestamp) - extract(epoch from '2026-06-13 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016496 -2.787144)'), GeomFromEWKT('SRID=4674;POINT (-40.01643 -2.787076)'))) / (select extract(epoch from '2026-06-13 08:51:34'::timestamp) - extract(epoch from '2026-06-13 08:51: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'), 46703, 'SRID=4674;POINT (-40.016365 -2.787004)', '2026-06-13 08:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01643 -2.787076)'), GeomFromEWKT('SRID=4674;POINT (-40.016365 -2.787004)'))) / (select extract(epoch from '2026-06-13 08:51:42'::timestamp) - extract(epoch from '2026-06-13 08:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01643 -2.787076)'), GeomFromEWKT('SRID=4674;POINT (-40.016365 -2.787004)'))) / (select extract(epoch from '2026-06-13 08:51:42'::timestamp) - extract(epoch from '2026-06-13 08:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016304 -2.786929)', '2026-06-13 08:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016365 -2.787004)'), GeomFromEWKT('SRID=4674;POINT (-40.016304 -2.786929)'))) / (select extract(epoch from '2026-06-13 08:51:49'::timestamp) - extract(epoch from '2026-06-13 08:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016365 -2.787004)'), GeomFromEWKT('SRID=4674;POINT (-40.016304 -2.786929)'))) / (select extract(epoch from '2026-06-13 08:51:49'::timestamp) - extract(epoch from '2026-06-13 08:51: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'), 46703, 'SRID=4674;POINT (-40.016225 -2.786828)', '2026-06-13 08:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016304 -2.786929)'), GeomFromEWKT('SRID=4674;POINT (-40.016225 -2.786828)'))) / (select extract(epoch from '2026-06-13 08:51:58'::timestamp) - extract(epoch from '2026-06-13 08:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016304 -2.786929)'), GeomFromEWKT('SRID=4674;POINT (-40.016225 -2.786828)'))) / (select extract(epoch from '2026-06-13 08:51:58'::timestamp) - extract(epoch from '2026-06-13 08:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016165 -2.786764)', '2026-06-13 08:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016225 -2.786828)'), GeomFromEWKT('SRID=4674;POINT (-40.016165 -2.786764)'))) / (select extract(epoch from '2026-06-13 08:52:05'::timestamp) - extract(epoch from '2026-06-13 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016225 -2.786828)'), GeomFromEWKT('SRID=4674;POINT (-40.016165 -2.786764)'))) / (select extract(epoch from '2026-06-13 08:52:05'::timestamp) - extract(epoch from '2026-06-13 08:51: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'), 46703, 'SRID=4674;POINT (-40.016095 -2.786694)', '2026-06-13 08:52:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016165 -2.786764)'), GeomFromEWKT('SRID=4674;POINT (-40.016095 -2.786694)'))) / (select extract(epoch from '2026-06-13 08:52:13'::timestamp) - extract(epoch from '2026-06-13 08:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016165 -2.786764)'), GeomFromEWKT('SRID=4674;POINT (-40.016095 -2.786694)'))) / (select extract(epoch from '2026-06-13 08:52:13'::timestamp) - extract(epoch from '2026-06-13 08:52: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'), 46703, 'SRID=4674;POINT (-40.016029 -2.786621)', '2026-06-13 08:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016095 -2.786694)'), GeomFromEWKT('SRID=4674;POINT (-40.016029 -2.786621)'))) / (select extract(epoch from '2026-06-13 08:52:21'::timestamp) - extract(epoch from '2026-06-13 08:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016095 -2.786694)'), GeomFromEWKT('SRID=4674;POINT (-40.016029 -2.786621)'))) / (select extract(epoch from '2026-06-13 08:52:21'::timestamp) - extract(epoch from '2026-06-13 08:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015966 -2.78653)', '2026-06-13 08:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016029 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.015966 -2.78653)'))) / (select extract(epoch from '2026-06-13 08:52:30'::timestamp) - extract(epoch from '2026-06-13 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016029 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.015966 -2.78653)'))) / (select extract(epoch from '2026-06-13 08:52:30'::timestamp) - extract(epoch from '2026-06-13 08:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015868 -2.786444)', '2026-06-13 08:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015966 -2.78653)'), GeomFromEWKT('SRID=4674;POINT (-40.015868 -2.786444)'))) / (select extract(epoch from '2026-06-13 08:52:39'::timestamp) - extract(epoch from '2026-06-13 08:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015966 -2.78653)'), GeomFromEWKT('SRID=4674;POINT (-40.015868 -2.786444)'))) / (select extract(epoch from '2026-06-13 08:52:39'::timestamp) - extract(epoch from '2026-06-13 08:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015796 -2.786357)', '2026-06-13 08:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015868 -2.786444)'), GeomFromEWKT('SRID=4674;POINT (-40.015796 -2.786357)'))) / (select extract(epoch from '2026-06-13 08:52:47'::timestamp) - extract(epoch from '2026-06-13 08:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015868 -2.786444)'), GeomFromEWKT('SRID=4674;POINT (-40.015796 -2.786357)'))) / (select extract(epoch from '2026-06-13 08:52:47'::timestamp) - extract(epoch from '2026-06-13 08:52: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'), 46703, 'SRID=4674;POINT (-40.015722 -2.786267)', '2026-06-13 08:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015796 -2.786357)'), GeomFromEWKT('SRID=4674;POINT (-40.015722 -2.786267)'))) / (select extract(epoch from '2026-06-13 08:52:56'::timestamp) - extract(epoch from '2026-06-13 08:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015796 -2.786357)'), GeomFromEWKT('SRID=4674;POINT (-40.015722 -2.786267)'))) / (select extract(epoch from '2026-06-13 08:52:56'::timestamp) - extract(epoch from '2026-06-13 08:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015666 -2.786237)', '2026-06-13 08:53:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015722 -2.786267)'), GeomFromEWKT('SRID=4674;POINT (-40.015666 -2.786237)'))) / (select extract(epoch from '2026-06-13 08:53:03'::timestamp) - extract(epoch from '2026-06-13 08:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015722 -2.786267)'), GeomFromEWKT('SRID=4674;POINT (-40.015666 -2.786237)'))) / (select extract(epoch from '2026-06-13 08:53:03'::timestamp) - extract(epoch from '2026-06-13 08:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01565 -2.78621)', '2026-06-13 08:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015666 -2.786237)'), GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78621)'))) / (select extract(epoch from '2026-06-13 08:53:07'::timestamp) - extract(epoch from '2026-06-13 08:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015666 -2.786237)'), GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78621)'))) / (select extract(epoch from '2026-06-13 08:53:07'::timestamp) - extract(epoch from '2026-06-13 08:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01565 -2.78618)', '2026-06-13 08:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78621)'), GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78618)'))) / (select extract(epoch from '2026-06-13 08:53:10'::timestamp) - extract(epoch from '2026-06-13 08:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78621)'), GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78618)'))) / (select extract(epoch from '2026-06-13 08:53:10'::timestamp) - extract(epoch from '2026-06-13 08:53: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'), 46703, 'SRID=4674;POINT (-40.015616 -2.786121)', '2026-06-13 08:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.015616 -2.786121)'))) / (select extract(epoch from '2026-06-13 08:53:17'::timestamp) - extract(epoch from '2026-06-13 08:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01565 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.015616 -2.786121)'))) / (select extract(epoch from '2026-06-13 08:53:17'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.015591 -2.786119)', '2026-06-13 08:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015616 -2.786121)'), GeomFromEWKT('SRID=4674;POINT (-40.015591 -2.786119)'))) / (select extract(epoch from '2026-06-13 08:53:25'::timestamp) - extract(epoch from '2026-06-13 08:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015616 -2.786121)'), GeomFromEWKT('SRID=4674;POINT (-40.015591 -2.786119)'))) / (select extract(epoch from '2026-06-13 08:53:25'::timestamp) - extract(epoch from '2026-06-13 08:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015554 -2.78612)', '2026-06-13 08:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015591 -2.786119)'), GeomFromEWKT('SRID=4674;POINT (-40.015554 -2.78612)'))) / (select extract(epoch from '2026-06-13 08:53:34'::timestamp) - extract(epoch from '2026-06-13 08:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015591 -2.786119)'), GeomFromEWKT('SRID=4674;POINT (-40.015554 -2.78612)'))) / (select extract(epoch from '2026-06-13 08:53:34'::timestamp) - extract(epoch from '2026-06-13 08:53: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'), 46703, 'SRID=4674;POINT (-40.015514 -2.786125)', '2026-06-13 08:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015554 -2.78612)'), GeomFromEWKT('SRID=4674;POINT (-40.015514 -2.786125)'))) / (select extract(epoch from '2026-06-13 08:53:42'::timestamp) - extract(epoch from '2026-06-13 08:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015554 -2.78612)'), GeomFromEWKT('SRID=4674;POINT (-40.015514 -2.786125)'))) / (select extract(epoch from '2026-06-13 08:53:42'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.015501 -2.786106)', '2026-06-13 08:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015514 -2.786125)'), GeomFromEWKT('SRID=4674;POINT (-40.015501 -2.786106)'))) / (select extract(epoch from '2026-06-13 08:53:49'::timestamp) - extract(epoch from '2026-06-13 08:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015514 -2.786125)'), GeomFromEWKT('SRID=4674;POINT (-40.015501 -2.786106)'))) / (select extract(epoch from '2026-06-13 08:53:49'::timestamp) - extract(epoch from '2026-06-13 08:53: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'), 46703, 'SRID=4674;POINT (-40.015507 -2.786061)', '2026-06-13 08:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015501 -2.786106)'), GeomFromEWKT('SRID=4674;POINT (-40.015507 -2.786061)'))) / (select extract(epoch from '2026-06-13 08:53:58'::timestamp) - extract(epoch from '2026-06-13 08:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015501 -2.786106)'), GeomFromEWKT('SRID=4674;POINT (-40.015507 -2.786061)'))) / (select extract(epoch from '2026-06-13 08:53:58'::timestamp) - extract(epoch from '2026-06-13 08:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015544 -2.78601)', '2026-06-13 08:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015507 -2.786061)'), GeomFromEWKT('SRID=4674;POINT (-40.015544 -2.78601)'))) / (select extract(epoch from '2026-06-13 08:54:06'::timestamp) - extract(epoch from '2026-06-13 08:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015507 -2.786061)'), GeomFromEWKT('SRID=4674;POINT (-40.015544 -2.78601)'))) / (select extract(epoch from '2026-06-13 08:54:06'::timestamp) - extract(epoch from '2026-06-13 08:53: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'), 46703, 'SRID=4674;POINT (-40.01562 -2.78594)', '2026-06-13 08:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015544 -2.78601)'), GeomFromEWKT('SRID=4674;POINT (-40.01562 -2.78594)'))) / (select extract(epoch from '2026-06-13 08:54:20'::timestamp) - extract(epoch from '2026-06-13 08:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015544 -2.78601)'), GeomFromEWKT('SRID=4674;POINT (-40.01562 -2.78594)'))) / (select extract(epoch from '2026-06-13 08:54:20'::timestamp) - extract(epoch from '2026-06-13 08:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015634 -2.785848)', '2026-06-13 08:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01562 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.015634 -2.785848)'))) / (select extract(epoch from '2026-06-13 08:54:28'::timestamp) - extract(epoch from '2026-06-13 08:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01562 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.015634 -2.785848)'))) / (select extract(epoch from '2026-06-13 08:54:28'::timestamp) - extract(epoch from '2026-06-13 08:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015581 -2.785771)', '2026-06-13 08:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015634 -2.785848)'), GeomFromEWKT('SRID=4674;POINT (-40.015581 -2.785771)'))) / (select extract(epoch from '2026-06-13 08:54:35'::timestamp) - extract(epoch from '2026-06-13 08:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015634 -2.785848)'), GeomFromEWKT('SRID=4674;POINT (-40.015581 -2.785771)'))) / (select extract(epoch from '2026-06-13 08:54:35'::timestamp) - extract(epoch from '2026-06-13 08:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015526 -2.785706)', '2026-06-13 08:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015581 -2.785771)'), GeomFromEWKT('SRID=4674;POINT (-40.015526 -2.785706)'))) / (select extract(epoch from '2026-06-13 08:54:43'::timestamp) - extract(epoch from '2026-06-13 08:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015581 -2.785771)'), GeomFromEWKT('SRID=4674;POINT (-40.015526 -2.785706)'))) / (select extract(epoch from '2026-06-13 08:54:43'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.015483 -2.785615)', '2026-06-13 08:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015526 -2.785706)'), GeomFromEWKT('SRID=4674;POINT (-40.015483 -2.785615)'))) / (select extract(epoch from '2026-06-13 08:54:50'::timestamp) - extract(epoch from '2026-06-13 08:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015526 -2.785706)'), GeomFromEWKT('SRID=4674;POINT (-40.015483 -2.785615)'))) / (select extract(epoch from '2026-06-13 08:54:50'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.015447 -2.785537)', '2026-06-13 08:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015483 -2.785615)'), GeomFromEWKT('SRID=4674;POINT (-40.015447 -2.785537)'))) / (select extract(epoch from '2026-06-13 08:54:56'::timestamp) - extract(epoch from '2026-06-13 08:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015483 -2.785615)'), GeomFromEWKT('SRID=4674;POINT (-40.015447 -2.785537)'))) / (select extract(epoch from '2026-06-13 08:54:56'::timestamp) - extract(epoch from '2026-06-13 08:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015412 -2.785494)', '2026-06-13 08:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015447 -2.785537)'), GeomFromEWKT('SRID=4674;POINT (-40.015412 -2.785494)'))) / (select extract(epoch from '2026-06-13 08:55:00'::timestamp) - extract(epoch from '2026-06-13 08:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015447 -2.785537)'), GeomFromEWKT('SRID=4674;POINT (-40.015412 -2.785494)'))) / (select extract(epoch from '2026-06-13 08:55:00'::timestamp) - extract(epoch from '2026-06-13 08:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015389 -2.785477)', '2026-06-13 08:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015412 -2.785494)'), GeomFromEWKT('SRID=4674;POINT (-40.015389 -2.785477)'))) / (select extract(epoch from '2026-06-13 08:55:02'::timestamp) - extract(epoch from '2026-06-13 08:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015412 -2.785494)'), GeomFromEWKT('SRID=4674;POINT (-40.015389 -2.785477)'))) / (select extract(epoch from '2026-06-13 08:55:02'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.015291 -2.785419)', '2026-06-13 08:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015389 -2.785477)'), GeomFromEWKT('SRID=4674;POINT (-40.015291 -2.785419)'))) / (select extract(epoch from '2026-06-13 08:55:11'::timestamp) - extract(epoch from '2026-06-13 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015389 -2.785477)'), GeomFromEWKT('SRID=4674;POINT (-40.015291 -2.785419)'))) / (select extract(epoch from '2026-06-13 08:55:11'::timestamp) - extract(epoch from '2026-06-13 08:55: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'), 46703, 'SRID=4674;POINT (-40.015227 -2.785357)', '2026-06-13 08:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015291 -2.785419)'), GeomFromEWKT('SRID=4674;POINT (-40.015227 -2.785357)'))) / (select extract(epoch from '2026-06-13 08:55:18'::timestamp) - extract(epoch from '2026-06-13 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015291 -2.785419)'), GeomFromEWKT('SRID=4674;POINT (-40.015227 -2.785357)'))) / (select extract(epoch from '2026-06-13 08:55:18'::timestamp) - extract(epoch from '2026-06-13 08:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015146 -2.785275)', '2026-06-13 08:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015227 -2.785357)'), GeomFromEWKT('SRID=4674;POINT (-40.015146 -2.785275)'))) / (select extract(epoch from '2026-06-13 08:55:26'::timestamp) - extract(epoch from '2026-06-13 08:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015227 -2.785357)'), GeomFromEWKT('SRID=4674;POINT (-40.015146 -2.785275)'))) / (select extract(epoch from '2026-06-13 08:55:26'::timestamp) - extract(epoch from '2026-06-13 08:55: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'), 46703, 'SRID=4674;POINT (-40.01509 -2.785201)', '2026-06-13 08:55:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015146 -2.785275)'), GeomFromEWKT('SRID=4674;POINT (-40.01509 -2.785201)'))) / (select extract(epoch from '2026-06-13 08:55:33'::timestamp) - extract(epoch from '2026-06-13 08:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015146 -2.785275)'), GeomFromEWKT('SRID=4674;POINT (-40.01509 -2.785201)'))) / (select extract(epoch from '2026-06-13 08:55:33'::timestamp) - extract(epoch from '2026-06-13 08:55: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'), 46703, 'SRID=4674;POINT (-40.015049 -2.785127)', '2026-06-13 08:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01509 -2.785201)'), GeomFromEWKT('SRID=4674;POINT (-40.015049 -2.785127)'))) / (select extract(epoch from '2026-06-13 08:55:40'::timestamp) - extract(epoch from '2026-06-13 08:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01509 -2.785201)'), GeomFromEWKT('SRID=4674;POINT (-40.015049 -2.785127)'))) / (select extract(epoch from '2026-06-13 08:55:40'::timestamp) - extract(epoch from '2026-06-13 08:55: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'), 46703, 'SRID=4674;POINT (-40.01499 -2.785061)', '2026-06-13 08:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015049 -2.785127)'), GeomFromEWKT('SRID=4674;POINT (-40.01499 -2.785061)'))) / (select extract(epoch from '2026-06-13 08:55:48'::timestamp) - extract(epoch from '2026-06-13 08:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015049 -2.785127)'), GeomFromEWKT('SRID=4674;POINT (-40.01499 -2.785061)'))) / (select extract(epoch from '2026-06-13 08:55:48'::timestamp) - extract(epoch from '2026-06-13 08:55: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'), 46703, 'SRID=4674;POINT (-40.014921 -2.78501)', '2026-06-13 08:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01499 -2.785061)'), GeomFromEWKT('SRID=4674;POINT (-40.014921 -2.78501)'))) / (select extract(epoch from '2026-06-13 08:55:55'::timestamp) - extract(epoch from '2026-06-13 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01499 -2.785061)'), GeomFromEWKT('SRID=4674;POINT (-40.014921 -2.78501)'))) / (select extract(epoch from '2026-06-13 08:55:55'::timestamp) - extract(epoch from '2026-06-13 08:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01487 -2.784926)', '2026-06-13 08:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014921 -2.78501)'), GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784926)'))) / (select extract(epoch from '2026-06-13 08:56:03'::timestamp) - extract(epoch from '2026-06-13 08:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014921 -2.78501)'), GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784926)'))) / (select extract(epoch from '2026-06-13 08:56:03'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.01486 -2.784888)', '2026-06-13 08:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784926)'), GeomFromEWKT('SRID=4674;POINT (-40.01486 -2.784888)'))) / (select extract(epoch from '2026-06-13 08:56:06'::timestamp) - extract(epoch from '2026-06-13 08:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784926)'), GeomFromEWKT('SRID=4674;POINT (-40.01486 -2.784888)'))) / (select extract(epoch from '2026-06-13 08:56:06'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.01485 -2.784866)', '2026-06-13 08:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01486 -2.784888)'), GeomFromEWKT('SRID=4674;POINT (-40.01485 -2.784866)'))) / (select extract(epoch from '2026-06-13 08:56:08'::timestamp) - extract(epoch from '2026-06-13 08:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01486 -2.784888)'), GeomFromEWKT('SRID=4674;POINT (-40.01485 -2.784866)'))) / (select extract(epoch from '2026-06-13 08:56:08'::timestamp) - extract(epoch from '2026-06-13 08:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014843 -2.784857)', '2026-06-13 08:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01485 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.014843 -2.784857)'))) / (select extract(epoch from '2026-06-13 08:56:09'::timestamp) - extract(epoch from '2026-06-13 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01485 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.014843 -2.784857)'))) / (select extract(epoch from '2026-06-13 08:56:09'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014816 -2.784832)', '2026-06-13 08:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014843 -2.784857)'), GeomFromEWKT('SRID=4674;POINT (-40.014816 -2.784832)'))) / (select extract(epoch from '2026-06-13 08:56:13'::timestamp) - extract(epoch from '2026-06-13 08:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014843 -2.784857)'), GeomFromEWKT('SRID=4674;POINT (-40.014816 -2.784832)'))) / (select extract(epoch from '2026-06-13 08:56:13'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014797 -2.784821)', '2026-06-13 08:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014816 -2.784832)'), GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.784821)'))) / (select extract(epoch from '2026-06-13 08:56:16'::timestamp) - extract(epoch from '2026-06-13 08:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014816 -2.784832)'), GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.784821)'))) / (select extract(epoch from '2026-06-13 08:56:16'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014753 -2.784788)', '2026-06-13 08:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.784821)'), GeomFromEWKT('SRID=4674;POINT (-40.014753 -2.784788)'))) / (select extract(epoch from '2026-06-13 08:56:23'::timestamp) - extract(epoch from '2026-06-13 08:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014797 -2.784821)'), GeomFromEWKT('SRID=4674;POINT (-40.014753 -2.784788)'))) / (select extract(epoch from '2026-06-13 08:56:23'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014712 -2.784752)', '2026-06-13 08:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014753 -2.784788)'), GeomFromEWKT('SRID=4674;POINT (-40.014712 -2.784752)'))) / (select extract(epoch from '2026-06-13 08:56:32'::timestamp) - extract(epoch from '2026-06-13 08:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014753 -2.784788)'), GeomFromEWKT('SRID=4674;POINT (-40.014712 -2.784752)'))) / (select extract(epoch from '2026-06-13 08:56:32'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.014697 -2.784769)', '2026-06-13 08:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014712 -2.784752)'), GeomFromEWKT('SRID=4674;POINT (-40.014697 -2.784769)'))) / (select extract(epoch from '2026-06-13 08:56:41'::timestamp) - extract(epoch from '2026-06-13 08:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014712 -2.784752)'), GeomFromEWKT('SRID=4674;POINT (-40.014697 -2.784769)'))) / (select extract(epoch from '2026-06-13 08:56:41'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014744 -2.7848)', '2026-06-13 08:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014697 -2.784769)'), GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.7848)'))) / (select extract(epoch from '2026-06-13 08:56:49'::timestamp) - extract(epoch from '2026-06-13 08:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014697 -2.784769)'), GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.7848)'))) / (select extract(epoch from '2026-06-13 08:56:49'::timestamp) - extract(epoch from '2026-06-13 08:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014751 -2.784807)', '2026-06-13 08:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.7848)'), GeomFromEWKT('SRID=4674;POINT (-40.014751 -2.784807)'))) / (select extract(epoch from '2026-06-13 08:56:50'::timestamp) - extract(epoch from '2026-06-13 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014744 -2.7848)'), GeomFromEWKT('SRID=4674;POINT (-40.014751 -2.784807)'))) / (select extract(epoch from '2026-06-13 08:56:50'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.014774 -2.784846)', '2026-06-13 08:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014751 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.784846)'))) / (select extract(epoch from '2026-06-13 08:56:55'::timestamp) - extract(epoch from '2026-06-13 08:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014751 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.784846)'))) / (select extract(epoch from '2026-06-13 08:56:55'::timestamp) - extract(epoch from '2026-06-13 08:56: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'), 46703, 'SRID=4674;POINT (-40.01479 -2.784901)', '2026-06-13 08:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.01479 -2.784901)'))) / (select extract(epoch from '2026-06-13 08:57:04'::timestamp) - extract(epoch from '2026-06-13 08:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.01479 -2.784901)'))) / (select extract(epoch from '2026-06-13 08:57:04'::timestamp) - extract(epoch from '2026-06-13 08:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01475 -2.78494)', '2026-06-13 08:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01479 -2.784901)'), GeomFromEWKT('SRID=4674;POINT (-40.01475 -2.78494)'))) / (select extract(epoch from '2026-06-13 08:57:12'::timestamp) - extract(epoch from '2026-06-13 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01479 -2.784901)'), GeomFromEWKT('SRID=4674;POINT (-40.01475 -2.78494)'))) / (select extract(epoch from '2026-06-13 08:57:12'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.014737 -2.784899)', '2026-06-13 08:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01475 -2.78494)'), GeomFromEWKT('SRID=4674;POINT (-40.014737 -2.784899)'))) / (select extract(epoch from '2026-06-13 08:57:19'::timestamp) - extract(epoch from '2026-06-13 08:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01475 -2.78494)'), GeomFromEWKT('SRID=4674;POINT (-40.014737 -2.784899)'))) / (select extract(epoch from '2026-06-13 08:57:19'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.014785 -2.784834)', '2026-06-13 08:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014737 -2.784899)'), GeomFromEWKT('SRID=4674;POINT (-40.014785 -2.784834)'))) / (select extract(epoch from '2026-06-13 08:57:28'::timestamp) - extract(epoch from '2026-06-13 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014737 -2.784899)'), GeomFromEWKT('SRID=4674;POINT (-40.014785 -2.784834)'))) / (select extract(epoch from '2026-06-13 08:57:28'::timestamp) - extract(epoch from '2026-06-13 08: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'), 46703, 'SRID=4674;POINT (-40.014832 -2.784781)', '2026-06-13 08:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014785 -2.784834)'), GeomFromEWKT('SRID=4674;POINT (-40.014832 -2.784781)'))) / (select extract(epoch from '2026-06-13 08:57:37'::timestamp) - extract(epoch from '2026-06-13 08:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014785 -2.784834)'), GeomFromEWKT('SRID=4674;POINT (-40.014832 -2.784781)'))) / (select extract(epoch from '2026-06-13 08:57:37'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.01487 -2.784738)', '2026-06-13 08:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014832 -2.784781)'), GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784738)'))) / (select extract(epoch from '2026-06-13 08:57:46'::timestamp) - extract(epoch from '2026-06-13 08:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014832 -2.784781)'), GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784738)'))) / (select extract(epoch from '2026-06-13 08:57:46'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.014862 -2.784654)', '2026-06-13 08:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784738)'), GeomFromEWKT('SRID=4674;POINT (-40.014862 -2.784654)'))) / (select extract(epoch from '2026-06-13 08:57:53'::timestamp) - extract(epoch from '2026-06-13 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01487 -2.784738)'), GeomFromEWKT('SRID=4674;POINT (-40.014862 -2.784654)'))) / (select extract(epoch from '2026-06-13 08:57:53'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.014809 -2.784594)', '2026-06-13 08:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014862 -2.784654)'), GeomFromEWKT('SRID=4674;POINT (-40.014809 -2.784594)'))) / (select extract(epoch from '2026-06-13 08:58:00'::timestamp) - extract(epoch from '2026-06-13 08:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014862 -2.784654)'), GeomFromEWKT('SRID=4674;POINT (-40.014809 -2.784594)'))) / (select extract(epoch from '2026-06-13 08:58:00'::timestamp) - extract(epoch from '2026-06-13 08:57: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'), 46703, 'SRID=4674;POINT (-40.014736 -2.784545)', '2026-06-13 08:58:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014809 -2.784594)'), GeomFromEWKT('SRID=4674;POINT (-40.014736 -2.784545)'))) / (select extract(epoch from '2026-06-13 08:58:08'::timestamp) - extract(epoch from '2026-06-13 08:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014809 -2.784594)'), GeomFromEWKT('SRID=4674;POINT (-40.014736 -2.784545)'))) / (select extract(epoch from '2026-06-13 08:58:08'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014705 -2.784505)', '2026-06-13 08:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014736 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.014705 -2.784505)'))) / (select extract(epoch from '2026-06-13 08:58:12'::timestamp) - extract(epoch from '2026-06-13 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014736 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.014705 -2.784505)'))) / (select extract(epoch from '2026-06-13 08:58:12'::timestamp) - extract(epoch from '2026-06-13 08:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014694 -2.784482)', '2026-06-13 08:58:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014705 -2.784505)'), GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.784482)'))) / (select extract(epoch from '2026-06-13 08:58:14'::timestamp) - extract(epoch from '2026-06-13 08:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014705 -2.784505)'), GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.784482)'))) / (select extract(epoch from '2026-06-13 08:58:14'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014686 -2.784472)', '2026-06-13 08:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.784482)'), GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.784472)'))) / (select extract(epoch from '2026-06-13 08:58:15'::timestamp) - extract(epoch from '2026-06-13 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014694 -2.784482)'), GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.784472)'))) / (select extract(epoch from '2026-06-13 08:58:15'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014664 -2.784432)', '2026-06-13 08:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.784472)'), GeomFromEWKT('SRID=4674;POINT (-40.014664 -2.784432)'))) / (select extract(epoch from '2026-06-13 08:58:19'::timestamp) - extract(epoch from '2026-06-13 08:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.784472)'), GeomFromEWKT('SRID=4674;POINT (-40.014664 -2.784432)'))) / (select extract(epoch from '2026-06-13 08:58:19'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014624 -2.784332)', '2026-06-13 08:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014664 -2.784432)'), GeomFromEWKT('SRID=4674;POINT (-40.014624 -2.784332)'))) / (select extract(epoch from '2026-06-13 08:58:27'::timestamp) - extract(epoch from '2026-06-13 08:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014664 -2.784432)'), GeomFromEWKT('SRID=4674;POINT (-40.014624 -2.784332)'))) / (select extract(epoch from '2026-06-13 08:58:27'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014594 -2.784263)', '2026-06-13 08:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014624 -2.784332)'), GeomFromEWKT('SRID=4674;POINT (-40.014594 -2.784263)'))) / (select extract(epoch from '2026-06-13 08:58:32'::timestamp) - extract(epoch from '2026-06-13 08:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014624 -2.784332)'), GeomFromEWKT('SRID=4674;POINT (-40.014594 -2.784263)'))) / (select extract(epoch from '2026-06-13 08:58:32'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014575 -2.784238)', '2026-06-13 08:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014594 -2.784263)'), GeomFromEWKT('SRID=4674;POINT (-40.014575 -2.784238)'))) / (select extract(epoch from '2026-06-13 08:58:34'::timestamp) - extract(epoch from '2026-06-13 08:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014594 -2.784263)'), GeomFromEWKT('SRID=4674;POINT (-40.014575 -2.784238)'))) / (select extract(epoch from '2026-06-13 08:58:34'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014517 -2.784171)', '2026-06-13 08:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014575 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.014517 -2.784171)'))) / (select extract(epoch from '2026-06-13 08:58:40'::timestamp) - extract(epoch from '2026-06-13 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014575 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.014517 -2.784171)'))) / (select extract(epoch from '2026-06-13 08:58:40'::timestamp) - extract(epoch from '2026-06-13 08:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014443 -2.78408)', '2026-06-13 08:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014517 -2.784171)'), GeomFromEWKT('SRID=4674;POINT (-40.014443 -2.78408)'))) / (select extract(epoch from '2026-06-13 08:58:48'::timestamp) - extract(epoch from '2026-06-13 08:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014517 -2.784171)'), GeomFromEWKT('SRID=4674;POINT (-40.014443 -2.78408)'))) / (select extract(epoch from '2026-06-13 08:58:48'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014392 -2.784009)', '2026-06-13 08:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014443 -2.78408)'), GeomFromEWKT('SRID=4674;POINT (-40.014392 -2.784009)'))) / (select extract(epoch from '2026-06-13 08:58:54'::timestamp) - extract(epoch from '2026-06-13 08:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014443 -2.78408)'), GeomFromEWKT('SRID=4674;POINT (-40.014392 -2.784009)'))) / (select extract(epoch from '2026-06-13 08:58:54'::timestamp) - extract(epoch from '2026-06-13 08:58: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'), 46703, 'SRID=4674;POINT (-40.014336 -2.783943)', '2026-06-13 08:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014392 -2.784009)'), GeomFromEWKT('SRID=4674;POINT (-40.014336 -2.783943)'))) / (select extract(epoch from '2026-06-13 08:59:00'::timestamp) - extract(epoch from '2026-06-13 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014392 -2.784009)'), GeomFromEWKT('SRID=4674;POINT (-40.014336 -2.783943)'))) / (select extract(epoch from '2026-06-13 08:59:00'::timestamp) - extract(epoch from '2026-06-13 08:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014279 -2.783869)', '2026-06-13 08:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014336 -2.783943)'), GeomFromEWKT('SRID=4674;POINT (-40.014279 -2.783869)'))) / (select extract(epoch from '2026-06-13 08:59:06'::timestamp) - extract(epoch from '2026-06-13 08:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014336 -2.783943)'), GeomFromEWKT('SRID=4674;POINT (-40.014279 -2.783869)'))) / (select extract(epoch from '2026-06-13 08:59:06'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014262 -2.783845)', '2026-06-13 08:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014279 -2.783869)'), GeomFromEWKT('SRID=4674;POINT (-40.014262 -2.783845)'))) / (select extract(epoch from '2026-06-13 08:59:08'::timestamp) - extract(epoch from '2026-06-13 08:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014279 -2.783869)'), GeomFromEWKT('SRID=4674;POINT (-40.014262 -2.783845)'))) / (select extract(epoch from '2026-06-13 08:59:08'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014236 -2.783804)', '2026-06-13 08:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014262 -2.783845)'), GeomFromEWKT('SRID=4674;POINT (-40.014236 -2.783804)'))) / (select extract(epoch from '2026-06-13 08:59:11'::timestamp) - extract(epoch from '2026-06-13 08:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014262 -2.783845)'), GeomFromEWKT('SRID=4674;POINT (-40.014236 -2.783804)'))) / (select extract(epoch from '2026-06-13 08:59:11'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014173 -2.783723)', '2026-06-13 08:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014236 -2.783804)'), GeomFromEWKT('SRID=4674;POINT (-40.014173 -2.783723)'))) / (select extract(epoch from '2026-06-13 08:59:18'::timestamp) - extract(epoch from '2026-06-13 08:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014236 -2.783804)'), GeomFromEWKT('SRID=4674;POINT (-40.014173 -2.783723)'))) / (select extract(epoch from '2026-06-13 08:59:18'::timestamp) - extract(epoch from '2026-06-13 08:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014157 -2.7837)', '2026-06-13 08:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014173 -2.783723)'), GeomFromEWKT('SRID=4674;POINT (-40.014157 -2.7837)'))) / (select extract(epoch from '2026-06-13 08:59:20'::timestamp) - extract(epoch from '2026-06-13 08:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014173 -2.783723)'), GeomFromEWKT('SRID=4674;POINT (-40.014157 -2.7837)'))) / (select extract(epoch from '2026-06-13 08:59:20'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014131 -2.783661)', '2026-06-13 08:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014157 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.783661)'))) / (select extract(epoch from '2026-06-13 08:59:24'::timestamp) - extract(epoch from '2026-06-13 08:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014157 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.783661)'))) / (select extract(epoch from '2026-06-13 08:59:24'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014064 -2.783573)', '2026-06-13 08:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.783661)'), GeomFromEWKT('SRID=4674;POINT (-40.014064 -2.783573)'))) / (select extract(epoch from '2026-06-13 08:59:32'::timestamp) - extract(epoch from '2026-06-13 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.783661)'), GeomFromEWKT('SRID=4674;POINT (-40.014064 -2.783573)'))) / (select extract(epoch from '2026-06-13 08:59:32'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.014006 -2.783494)', '2026-06-13 08:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014064 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.014006 -2.783494)'))) / (select extract(epoch from '2026-06-13 08:59:39'::timestamp) - extract(epoch from '2026-06-13 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014064 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.014006 -2.783494)'))) / (select extract(epoch from '2026-06-13 08:59:39'::timestamp) - extract(epoch from '2026-06-13 08:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.013998 -2.783482)', '2026-06-13 08:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014006 -2.783494)'), GeomFromEWKT('SRID=4674;POINT (-40.013998 -2.783482)'))) / (select extract(epoch from '2026-06-13 08:59:40'::timestamp) - extract(epoch from '2026-06-13 08:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014006 -2.783494)'), GeomFromEWKT('SRID=4674;POINT (-40.013998 -2.783482)'))) / (select extract(epoch from '2026-06-13 08:59:40'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.013948 -2.783395)', '2026-06-13 08:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013998 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.013948 -2.783395)'))) / (select extract(epoch from '2026-06-13 08:59:47'::timestamp) - extract(epoch from '2026-06-13 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013998 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.013948 -2.783395)'))) / (select extract(epoch from '2026-06-13 08:59:47'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.013928 -2.783364)', '2026-06-13 08:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013948 -2.783395)'), GeomFromEWKT('SRID=4674;POINT (-40.013928 -2.783364)'))) / (select extract(epoch from '2026-06-13 08:59:50'::timestamp) - extract(epoch from '2026-06-13 08:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013948 -2.783395)'), GeomFromEWKT('SRID=4674;POINT (-40.013928 -2.783364)'))) / (select extract(epoch from '2026-06-13 08:59:50'::timestamp) - extract(epoch from '2026-06-13 08:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.013919 -2.783342)', '2026-06-13 08:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013928 -2.783364)'), GeomFromEWKT('SRID=4674;POINT (-40.013919 -2.783342)'))) / (select extract(epoch from '2026-06-13 08:59:52'::timestamp) - extract(epoch from '2026-06-13 08:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013928 -2.783364)'), GeomFromEWKT('SRID=4674;POINT (-40.013919 -2.783342)'))) / (select extract(epoch from '2026-06-13 08:59:52'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.013907 -2.783287)', '2026-06-13 08:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013919 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.013907 -2.783287)'))) / (select extract(epoch from '2026-06-13 08:59:58'::timestamp) - extract(epoch from '2026-06-13 08:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013919 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.013907 -2.783287)'))) / (select extract(epoch from '2026-06-13 08:59:58'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.013906 -2.783249)', '2026-06-13 09:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013907 -2.783287)'), GeomFromEWKT('SRID=4674;POINT (-40.013906 -2.783249)'))) / (select extract(epoch from '2026-06-13 09:00:02'::timestamp) - extract(epoch from '2026-06-13 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013907 -2.783287)'), GeomFromEWKT('SRID=4674;POINT (-40.013906 -2.783249)'))) / (select extract(epoch from '2026-06-13 09:00:02'::timestamp) - extract(epoch from '2026-06-13 08:59: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'), 46703, 'SRID=4674;POINT (-40.01391 -2.783229)', '2026-06-13 09:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013906 -2.783249)'), GeomFromEWKT('SRID=4674;POINT (-40.01391 -2.783229)'))) / (select extract(epoch from '2026-06-13 09:00:04'::timestamp) - extract(epoch from '2026-06-13 09:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013906 -2.783249)'), GeomFromEWKT('SRID=4674;POINT (-40.01391 -2.783229)'))) / (select extract(epoch from '2026-06-13 09:00:04'::timestamp) - extract(epoch from '2026-06-13 09:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.013912 -2.78322)', '2026-06-13 09:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01391 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.78322)'))) / (select extract(epoch from '2026-06-13 09:00:05'::timestamp) - extract(epoch from '2026-06-13 09:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01391 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.78322)'))) / (select extract(epoch from '2026-06-13 09:00:05'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.013916 -2.783203)', '2026-06-13 09:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.78322)'), GeomFromEWKT('SRID=4674;POINT (-40.013916 -2.783203)'))) / (select extract(epoch from '2026-06-13 09:00:07'::timestamp) - extract(epoch from '2026-06-13 09:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.78322)'), GeomFromEWKT('SRID=4674;POINT (-40.013916 -2.783203)'))) / (select extract(epoch from '2026-06-13 09:00:07'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.01393 -2.78317)', '2026-06-13 09:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013916 -2.783203)'), GeomFromEWKT('SRID=4674;POINT (-40.01393 -2.78317)'))) / (select extract(epoch from '2026-06-13 09:00:11'::timestamp) - extract(epoch from '2026-06-13 09:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013916 -2.783203)'), GeomFromEWKT('SRID=4674;POINT (-40.01393 -2.78317)'))) / (select extract(epoch from '2026-06-13 09:00:11'::timestamp) - extract(epoch from '2026-06-13 09:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.013936 -2.783105)', '2026-06-13 09:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01393 -2.78317)'), GeomFromEWKT('SRID=4674;POINT (-40.013936 -2.783105)'))) / (select extract(epoch from '2026-06-13 09:00:17'::timestamp) - extract(epoch from '2026-06-13 09:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01393 -2.78317)'), GeomFromEWKT('SRID=4674;POINT (-40.013936 -2.783105)'))) / (select extract(epoch from '2026-06-13 09:00:17'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.013912 -2.783071)', '2026-06-13 09:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013936 -2.783105)'), GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.783071)'))) / (select extract(epoch from '2026-06-13 09:00:24'::timestamp) - extract(epoch from '2026-06-13 09:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013936 -2.783105)'), GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.783071)'))) / (select extract(epoch from '2026-06-13 09:00:24'::timestamp) - extract(epoch from '2026-06-13 09:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.0139 -2.78308)', '2026-06-13 09:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.783071)'), GeomFromEWKT('SRID=4674;POINT (-40.0139 -2.78308)'))) / (select extract(epoch from '2026-06-13 09:00:35'::timestamp) - extract(epoch from '2026-06-13 09:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013912 -2.783071)'), GeomFromEWKT('SRID=4674;POINT (-40.0139 -2.78308)'))) / (select extract(epoch from '2026-06-13 09:00:35'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.013924 -2.783102)', '2026-06-13 09:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0139 -2.78308)'), GeomFromEWKT('SRID=4674;POINT (-40.013924 -2.783102)'))) / (select extract(epoch from '2026-06-13 09:00:43'::timestamp) - extract(epoch from '2026-06-13 09:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0139 -2.78308)'), GeomFromEWKT('SRID=4674;POINT (-40.013924 -2.783102)'))) / (select extract(epoch from '2026-06-13 09:00:43'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.013963 -2.783159)', '2026-06-13 09:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013924 -2.783102)'), GeomFromEWKT('SRID=4674;POINT (-40.013963 -2.783159)'))) / (select extract(epoch from '2026-06-13 09:00:56'::timestamp) - extract(epoch from '2026-06-13 09:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013924 -2.783102)'), GeomFromEWKT('SRID=4674;POINT (-40.013963 -2.783159)'))) / (select extract(epoch from '2026-06-13 09:00:56'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.014003 -2.783229)', '2026-06-13 09:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013963 -2.783159)'), GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.783229)'))) / (select extract(epoch from '2026-06-13 09:01:04'::timestamp) - extract(epoch from '2026-06-13 09:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013963 -2.783159)'), GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.783229)'))) / (select extract(epoch from '2026-06-13 09:01:04'::timestamp) - extract(epoch from '2026-06-13 09:00: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'), 46703, 'SRID=4674;POINT (-40.014073 -2.783298)', '2026-06-13 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.014073 -2.783298)'))) / (select extract(epoch from '2026-06-13 09:01:10'::timestamp) - extract(epoch from '2026-06-13 09:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.783229)'), GeomFromEWKT('SRID=4674;POINT (-40.014073 -2.783298)'))) / (select extract(epoch from '2026-06-13 09:01:10'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.01418 -2.783337)', '2026-06-13 09:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014073 -2.783298)'), GeomFromEWKT('SRID=4674;POINT (-40.01418 -2.783337)'))) / (select extract(epoch from '2026-06-13 09:01:16'::timestamp) - extract(epoch from '2026-06-13 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014073 -2.783298)'), GeomFromEWKT('SRID=4674;POINT (-40.01418 -2.783337)'))) / (select extract(epoch from '2026-06-13 09:01:16'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.01431 -2.78339)', '2026-06-13 09:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01418 -2.783337)'), GeomFromEWKT('SRID=4674;POINT (-40.01431 -2.78339)'))) / (select extract(epoch from '2026-06-13 09:01:23'::timestamp) - extract(epoch from '2026-06-13 09:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01418 -2.783337)'), GeomFromEWKT('SRID=4674;POINT (-40.01431 -2.78339)'))) / (select extract(epoch from '2026-06-13 09:01:23'::timestamp) - extract(epoch from '2026-06-13 09:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014403 -2.783425)', '2026-06-13 09:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01431 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.014403 -2.783425)'))) / (select extract(epoch from '2026-06-13 09:01:28'::timestamp) - extract(epoch from '2026-06-13 09:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01431 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.014403 -2.783425)'))) / (select extract(epoch from '2026-06-13 09:01:28'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.014519 -2.783477)', '2026-06-13 09:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014403 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.783477)'))) / (select extract(epoch from '2026-06-13 09:01:34'::timestamp) - extract(epoch from '2026-06-13 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014403 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.783477)'))) / (select extract(epoch from '2026-06-13 09:01:34'::timestamp) - extract(epoch from '2026-06-13 09:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.014651 -2.783531)', '2026-06-13 09:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.014651 -2.783531)'))) / (select extract(epoch from '2026-06-13 09:01:41'::timestamp) - extract(epoch from '2026-06-13 09:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014519 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.014651 -2.783531)'))) / (select extract(epoch from '2026-06-13 09:01:41'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.014772 -2.783551)', '2026-06-13 09:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014651 -2.783531)'), GeomFromEWKT('SRID=4674;POINT (-40.014772 -2.783551)'))) / (select extract(epoch from '2026-06-13 09:01:47'::timestamp) - extract(epoch from '2026-06-13 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014651 -2.783531)'), GeomFromEWKT('SRID=4674;POINT (-40.014772 -2.783551)'))) / (select extract(epoch from '2026-06-13 09:01:47'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.014887 -2.783539)', '2026-06-13 09:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014772 -2.783551)'), GeomFromEWKT('SRID=4674;POINT (-40.014887 -2.783539)'))) / (select extract(epoch from '2026-06-13 09:01:53'::timestamp) - extract(epoch from '2026-06-13 09:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014772 -2.783551)'), GeomFromEWKT('SRID=4674;POINT (-40.014887 -2.783539)'))) / (select extract(epoch from '2026-06-13 09:01:53'::timestamp) - extract(epoch from '2026-06-13 09:01: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'), 46703, 'SRID=4674;POINT (-40.015047 -2.783501)', '2026-06-13 09:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014887 -2.783539)'), GeomFromEWKT('SRID=4674;POINT (-40.015047 -2.783501)'))) / (select extract(epoch from '2026-06-13 09:02:01'::timestamp) - extract(epoch from '2026-06-13 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014887 -2.783539)'), GeomFromEWKT('SRID=4674;POINT (-40.015047 -2.783501)'))) / (select extract(epoch from '2026-06-13 09:02:01'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.015166 -2.78346)', '2026-06-13 09:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015047 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.015166 -2.78346)'))) / (select extract(epoch from '2026-06-13 09:02:07'::timestamp) - extract(epoch from '2026-06-13 09:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015047 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.015166 -2.78346)'))) / (select extract(epoch from '2026-06-13 09:02:07'::timestamp) - extract(epoch from '2026-06-13 09:02: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'), 46703, 'SRID=4674;POINT (-40.015326 -2.783411)', '2026-06-13 09:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015166 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.015326 -2.783411)'))) / (select extract(epoch from '2026-06-13 09:02:15'::timestamp) - extract(epoch from '2026-06-13 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015166 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.015326 -2.783411)'))) / (select extract(epoch from '2026-06-13 09:02:15'::timestamp) - extract(epoch from '2026-06-13 09:02: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'), 46703, 'SRID=4674;POINT (-40.015449 -2.783402)', '2026-06-13 09:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015326 -2.783411)'), GeomFromEWKT('SRID=4674;POINT (-40.015449 -2.783402)'))) / (select extract(epoch from '2026-06-13 09:02:21'::timestamp) - extract(epoch from '2026-06-13 09:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015326 -2.783411)'), GeomFromEWKT('SRID=4674;POINT (-40.015449 -2.783402)'))) / (select extract(epoch from '2026-06-13 09:02:21'::timestamp) - extract(epoch from '2026-06-13 09:02: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'), 46703, 'SRID=4674;POINT (-40.015569 -2.783429)', '2026-06-13 09:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015449 -2.783402)'), GeomFromEWKT('SRID=4674;POINT (-40.015569 -2.783429)'))) / (select extract(epoch from '2026-06-13 09:02:27'::timestamp) - extract(epoch from '2026-06-13 09:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015449 -2.783402)'), GeomFromEWKT('SRID=4674;POINT (-40.015569 -2.783429)'))) / (select extract(epoch from '2026-06-13 09:02:27'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.015696 -2.783489)', '2026-06-13 09:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015569 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.015696 -2.783489)'))) / (select extract(epoch from '2026-06-13 09:02:34'::timestamp) - extract(epoch from '2026-06-13 09:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015569 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.015696 -2.783489)'))) / (select extract(epoch from '2026-06-13 09:02:34'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.015767 -2.78352)', '2026-06-13 09:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015696 -2.783489)'), GeomFromEWKT('SRID=4674;POINT (-40.015767 -2.78352)'))) / (select extract(epoch from '2026-06-13 09:02:38'::timestamp) - extract(epoch from '2026-06-13 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015696 -2.783489)'), GeomFromEWKT('SRID=4674;POINT (-40.015767 -2.78352)'))) / (select extract(epoch from '2026-06-13 09:02:38'::timestamp) - extract(epoch from '2026-06-13 09:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.015783 -2.78353)', '2026-06-13 09:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015767 -2.78352)'), GeomFromEWKT('SRID=4674;POINT (-40.015783 -2.78353)'))) / (select extract(epoch from '2026-06-13 09:02:39'::timestamp) - extract(epoch from '2026-06-13 09:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015767 -2.78352)'), GeomFromEWKT('SRID=4674;POINT (-40.015783 -2.78353)'))) / (select extract(epoch from '2026-06-13 09:02:39'::timestamp) - extract(epoch from '2026-06-13 09:02: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'), 46703, 'SRID=4674;POINT (-40.015871 -2.783567)', '2026-06-13 09:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015783 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.015871 -2.783567)'))) / (select extract(epoch from '2026-06-13 09:02:44'::timestamp) - extract(epoch from '2026-06-13 09:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015783 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.015871 -2.783567)'))) / (select extract(epoch from '2026-06-13 09:02:44'::timestamp) - extract(epoch from '2026-06-13 09:02: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'), 46703, 'SRID=4674;POINT (-40.015962 -2.783607)', '2026-06-13 09:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015871 -2.783567)'), GeomFromEWKT('SRID=4674;POINT (-40.015962 -2.783607)'))) / (select extract(epoch from '2026-06-13 09:02:49'::timestamp) - extract(epoch from '2026-06-13 09:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015871 -2.783567)'), GeomFromEWKT('SRID=4674;POINT (-40.015962 -2.783607)'))) / (select extract(epoch from '2026-06-13 09:02:49'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.016071 -2.783652)', '2026-06-13 09:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015962 -2.783607)'), GeomFromEWKT('SRID=4674;POINT (-40.016071 -2.783652)'))) / (select extract(epoch from '2026-06-13 09:02:55'::timestamp) - extract(epoch from '2026-06-13 09:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015962 -2.783607)'), GeomFromEWKT('SRID=4674;POINT (-40.016071 -2.783652)'))) / (select extract(epoch from '2026-06-13 09:02:55'::timestamp) - extract(epoch from '2026-06-13 09:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016162 -2.783689)', '2026-06-13 09:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016071 -2.783652)'), GeomFromEWKT('SRID=4674;POINT (-40.016162 -2.783689)'))) / (select extract(epoch from '2026-06-13 09:03:00'::timestamp) - extract(epoch from '2026-06-13 09:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016071 -2.783652)'), GeomFromEWKT('SRID=4674;POINT (-40.016162 -2.783689)'))) / (select extract(epoch from '2026-06-13 09:03:00'::timestamp) - extract(epoch from '2026-06-13 09:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016256 -2.78372)', '2026-06-13 09:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016162 -2.783689)'), GeomFromEWKT('SRID=4674;POINT (-40.016256 -2.78372)'))) / (select extract(epoch from '2026-06-13 09:03:05'::timestamp) - extract(epoch from '2026-06-13 09:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016162 -2.783689)'), GeomFromEWKT('SRID=4674;POINT (-40.016256 -2.78372)'))) / (select extract(epoch from '2026-06-13 09:03:05'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.016366 -2.783744)', '2026-06-13 09:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016256 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.016366 -2.783744)'))) / (select extract(epoch from '2026-06-13 09:03:11'::timestamp) - extract(epoch from '2026-06-13 09:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016256 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.016366 -2.783744)'))) / (select extract(epoch from '2026-06-13 09:03:11'::timestamp) - extract(epoch from '2026-06-13 09:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016509 -2.783752)', '2026-06-13 09:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016366 -2.783744)'), GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.783752)'))) / (select extract(epoch from '2026-06-13 09:03:19'::timestamp) - extract(epoch from '2026-06-13 09:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016366 -2.783744)'), GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.783752)'))) / (select extract(epoch from '2026-06-13 09:03:19'::timestamp) - extract(epoch from '2026-06-13 09:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016637 -2.783748)', '2026-06-13 09:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.783752)'), GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.783748)'))) / (select extract(epoch from '2026-06-13 09:03:26'::timestamp) - extract(epoch from '2026-06-13 09:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.783752)'), GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.783748)'))) / (select extract(epoch from '2026-06-13 09:03:26'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.016768 -2.783735)', '2026-06-13 09:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.783748)'), GeomFromEWKT('SRID=4674;POINT (-40.016768 -2.783735)'))) / (select extract(epoch from '2026-06-13 09:03:34'::timestamp) - extract(epoch from '2026-06-13 09:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.783748)'), GeomFromEWKT('SRID=4674;POINT (-40.016768 -2.783735)'))) / (select extract(epoch from '2026-06-13 09:03:34'::timestamp) - extract(epoch from '2026-06-13 09:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.016905 -2.783723)', '2026-06-13 09:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016768 -2.783735)'), GeomFromEWKT('SRID=4674;POINT (-40.016905 -2.783723)'))) / (select extract(epoch from '2026-06-13 09:03:42'::timestamp) - extract(epoch from '2026-06-13 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016768 -2.783735)'), GeomFromEWKT('SRID=4674;POINT (-40.016905 -2.783723)'))) / (select extract(epoch from '2026-06-13 09:03:42'::timestamp) - extract(epoch from '2026-06-13 09:03: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'), 46703, 'SRID=4674;POINT (-40.017007 -2.783696)', '2026-06-13 09:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016905 -2.783723)'), GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.783696)'))) / (select extract(epoch from '2026-06-13 09:03:48'::timestamp) - extract(epoch from '2026-06-13 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016905 -2.783723)'), GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.783696)'))) / (select extract(epoch from '2026-06-13 09:03:48'::timestamp) - extract(epoch from '2026-06-13 09:03: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'), 46703, 'SRID=4674;POINT (-40.017095 -2.783643)', '2026-06-13 09:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.783696)'), GeomFromEWKT('SRID=4674;POINT (-40.017095 -2.783643)'))) / (select extract(epoch from '2026-06-13 09:03:54'::timestamp) - extract(epoch from '2026-06-13 09:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017007 -2.783696)'), GeomFromEWKT('SRID=4674;POINT (-40.017095 -2.783643)'))) / (select extract(epoch from '2026-06-13 09:03:54'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.017212 -2.783586)', '2026-06-13 09:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017095 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.783586)'))) / (select extract(epoch from '2026-06-13 09:04:01'::timestamp) - extract(epoch from '2026-06-13 09:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017095 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.783586)'))) / (select extract(epoch from '2026-06-13 09:04:01'::timestamp) - extract(epoch from '2026-06-13 09:03: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'), 46703, 'SRID=4674;POINT (-40.017228 -2.783579)', '2026-06-13 09:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.017228 -2.783579)'))) / (select extract(epoch from '2026-06-13 09:04:02'::timestamp) - extract(epoch from '2026-06-13 09:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.017228 -2.783579)'))) / (select extract(epoch from '2026-06-13 09:04:02'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.017289 -2.78357)', '2026-06-13 09:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017228 -2.783579)'), GeomFromEWKT('SRID=4674;POINT (-40.017289 -2.78357)'))) / (select extract(epoch from '2026-06-13 09:04:05'::timestamp) - extract(epoch from '2026-06-13 09:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017228 -2.783579)'), GeomFromEWKT('SRID=4674;POINT (-40.017289 -2.78357)'))) / (select extract(epoch from '2026-06-13 09:04:05'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.0174 -2.783568)', '2026-06-13 09:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017289 -2.78357)'), GeomFromEWKT('SRID=4674;POINT (-40.0174 -2.783568)'))) / (select extract(epoch from '2026-06-13 09:04:11'::timestamp) - extract(epoch from '2026-06-13 09:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017289 -2.78357)'), GeomFromEWKT('SRID=4674;POINT (-40.0174 -2.783568)'))) / (select extract(epoch from '2026-06-13 09:04:11'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.017477 -2.783578)', '2026-06-13 09:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0174 -2.783568)'), GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.783578)'))) / (select extract(epoch from '2026-06-13 09:04:15'::timestamp) - extract(epoch from '2026-06-13 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0174 -2.783568)'), GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.783578)'))) / (select extract(epoch from '2026-06-13 09:04:15'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.017512 -2.783585)', '2026-06-13 09:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.783578)'), GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.783585)'))) / (select extract(epoch from '2026-06-13 09:04:17'::timestamp) - extract(epoch from '2026-06-13 09:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.783578)'), GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.783585)'))) / (select extract(epoch from '2026-06-13 09:04:17'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.017601 -2.783609)', '2026-06-13 09:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.783585)'), GeomFromEWKT('SRID=4674;POINT (-40.017601 -2.783609)'))) / (select extract(epoch from '2026-06-13 09:04:22'::timestamp) - extract(epoch from '2026-06-13 09:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017512 -2.783585)'), GeomFromEWKT('SRID=4674;POINT (-40.017601 -2.783609)'))) / (select extract(epoch from '2026-06-13 09:04:22'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.017692 -2.783625)', '2026-06-13 09:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017601 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.017692 -2.783625)'))) / (select extract(epoch from '2026-06-13 09:04:27'::timestamp) - extract(epoch from '2026-06-13 09:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017601 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.017692 -2.783625)'))) / (select extract(epoch from '2026-06-13 09:04:27'::timestamp) - extract(epoch from '2026-06-13 09:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.017744 -2.783635)', '2026-06-13 09:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017692 -2.783625)'), GeomFromEWKT('SRID=4674;POINT (-40.017744 -2.783635)'))) / (select extract(epoch from '2026-06-13 09:04:30'::timestamp) - extract(epoch from '2026-06-13 09:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017692 -2.783625)'), GeomFromEWKT('SRID=4674;POINT (-40.017744 -2.783635)'))) / (select extract(epoch from '2026-06-13 09:04:30'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.017798 -2.783646)', '2026-06-13 09:04:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017744 -2.783635)'), GeomFromEWKT('SRID=4674;POINT (-40.017798 -2.783646)'))) / (select extract(epoch from '2026-06-13 09:04:33'::timestamp) - extract(epoch from '2026-06-13 09:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017744 -2.783635)'), GeomFromEWKT('SRID=4674;POINT (-40.017798 -2.783646)'))) / (select extract(epoch from '2026-06-13 09:04:33'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.017901 -2.783656)', '2026-06-13 09:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017798 -2.783646)'), GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.783656)'))) / (select extract(epoch from '2026-06-13 09:04:39'::timestamp) - extract(epoch from '2026-06-13 09:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017798 -2.783646)'), GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.783656)'))) / (select extract(epoch from '2026-06-13 09:04:39'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.018027 -2.783665)', '2026-06-13 09:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.783656)'), GeomFromEWKT('SRID=4674;POINT (-40.018027 -2.783665)'))) / (select extract(epoch from '2026-06-13 09:04:46'::timestamp) - extract(epoch from '2026-06-13 09:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017901 -2.783656)'), GeomFromEWKT('SRID=4674;POINT (-40.018027 -2.783665)'))) / (select extract(epoch from '2026-06-13 09:04:46'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.018136 -2.78367)', '2026-06-13 09:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018027 -2.783665)'), GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.78367)'))) / (select extract(epoch from '2026-06-13 09:04:52'::timestamp) - extract(epoch from '2026-06-13 09:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018027 -2.783665)'), GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.78367)'))) / (select extract(epoch from '2026-06-13 09:04:52'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.018258 -2.783657)', '2026-06-13 09:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.78367)'), GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.783657)'))) / (select extract(epoch from '2026-06-13 09:04:59'::timestamp) - extract(epoch from '2026-06-13 09:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.78367)'), GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.783657)'))) / (select extract(epoch from '2026-06-13 09:04:59'::timestamp) - extract(epoch from '2026-06-13 09:04: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'), 46703, 'SRID=4674;POINT (-40.018373 -2.783637)', '2026-06-13 09:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.018373 -2.783637)'))) / (select extract(epoch from '2026-06-13 09:05:05'::timestamp) - extract(epoch from '2026-06-13 09:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.018373 -2.783637)'))) / (select extract(epoch from '2026-06-13 09:05:05'::timestamp) - extract(epoch from '2026-06-13 09:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.018489 -2.783589)', '2026-06-13 09:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018373 -2.783637)'), GeomFromEWKT('SRID=4674;POINT (-40.018489 -2.783589)'))) / (select extract(epoch from '2026-06-13 09:05:12'::timestamp) - extract(epoch from '2026-06-13 09:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018373 -2.783637)'), GeomFromEWKT('SRID=4674;POINT (-40.018489 -2.783589)'))) / (select extract(epoch from '2026-06-13 09:05:12'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.018602 -2.783533)', '2026-06-13 09:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018489 -2.783589)'), GeomFromEWKT('SRID=4674;POINT (-40.018602 -2.783533)'))) / (select extract(epoch from '2026-06-13 09:05:18'::timestamp) - extract(epoch from '2026-06-13 09:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018489 -2.783589)'), GeomFromEWKT('SRID=4674;POINT (-40.018602 -2.783533)'))) / (select extract(epoch from '2026-06-13 09:05:18'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.018724 -2.783495)', '2026-06-13 09:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018602 -2.783533)'), GeomFromEWKT('SRID=4674;POINT (-40.018724 -2.783495)'))) / (select extract(epoch from '2026-06-13 09:05:24'::timestamp) - extract(epoch from '2026-06-13 09:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018602 -2.783533)'), GeomFromEWKT('SRID=4674;POINT (-40.018724 -2.783495)'))) / (select extract(epoch from '2026-06-13 09:05:24'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.018849 -2.783511)', '2026-06-13 09:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018724 -2.783495)'), GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.783511)'))) / (select extract(epoch from '2026-06-13 09:05:30'::timestamp) - extract(epoch from '2026-06-13 09:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018724 -2.783495)'), GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.783511)'))) / (select extract(epoch from '2026-06-13 09:05:30'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.018976 -2.783536)', '2026-06-13 09:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.783511)'), GeomFromEWKT('SRID=4674;POINT (-40.018976 -2.783536)'))) / (select extract(epoch from '2026-06-13 09:05:36'::timestamp) - extract(epoch from '2026-06-13 09:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.783511)'), GeomFromEWKT('SRID=4674;POINT (-40.018976 -2.783536)'))) / (select extract(epoch from '2026-06-13 09:05:36'::timestamp) - extract(epoch from '2026-06-13 09:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.01917 -2.783553)', '2026-06-13 09:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018976 -2.783536)'), GeomFromEWKT('SRID=4674;POINT (-40.01917 -2.783553)'))) / (select extract(epoch from '2026-06-13 09:05:45'::timestamp) - extract(epoch from '2026-06-13 09:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018976 -2.783536)'), GeomFromEWKT('SRID=4674;POINT (-40.01917 -2.783553)'))) / (select extract(epoch from '2026-06-13 09:05:45'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.019329 -2.78356)', '2026-06-13 09:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01917 -2.783553)'), GeomFromEWKT('SRID=4674;POINT (-40.019329 -2.78356)'))) / (select extract(epoch from '2026-06-13 09:05:52'::timestamp) - extract(epoch from '2026-06-13 09:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01917 -2.783553)'), GeomFromEWKT('SRID=4674;POINT (-40.019329 -2.78356)'))) / (select extract(epoch from '2026-06-13 09:05:52'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.019458 -2.783573)', '2026-06-13 09:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019329 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.019458 -2.783573)'))) / (select extract(epoch from '2026-06-13 09:05:58'::timestamp) - extract(epoch from '2026-06-13 09:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019329 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.019458 -2.783573)'))) / (select extract(epoch from '2026-06-13 09:05:58'::timestamp) - extract(epoch from '2026-06-13 09:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.019611 -2.783592)', '2026-06-13 09:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019458 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.783592)'))) / (select extract(epoch from '2026-06-13 09:06:05'::timestamp) - extract(epoch from '2026-06-13 09:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019458 -2.783573)'), GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.783592)'))) / (select extract(epoch from '2026-06-13 09:06:05'::timestamp) - extract(epoch from '2026-06-13 09:05: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'), 46703, 'SRID=4674;POINT (-40.019777 -2.783595)', '2026-06-13 09:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.783595)'))) / (select extract(epoch from '2026-06-13 09:06:13'::timestamp) - extract(epoch from '2026-06-13 09:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.783595)'))) / (select extract(epoch from '2026-06-13 09:06:13'::timestamp) - extract(epoch from '2026-06-13 09:06: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'), 46703, 'SRID=4674;POINT (-40.019924 -2.783588)', '2026-06-13 09:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.019924 -2.783588)'))) / (select extract(epoch from '2026-06-13 09:06:20'::timestamp) - extract(epoch from '2026-06-13 09:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019777 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.019924 -2.783588)'))) / (select extract(epoch from '2026-06-13 09:06:20'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.020075 -2.783591)', '2026-06-13 09:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019924 -2.783588)'), GeomFromEWKT('SRID=4674;POINT (-40.020075 -2.783591)'))) / (select extract(epoch from '2026-06-13 09:06:27'::timestamp) - extract(epoch from '2026-06-13 09:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019924 -2.783588)'), GeomFromEWKT('SRID=4674;POINT (-40.020075 -2.783591)'))) / (select extract(epoch from '2026-06-13 09:06:27'::timestamp) - extract(epoch from '2026-06-13 09:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020209 -2.783582)', '2026-06-13 09:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020075 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.020209 -2.783582)'))) / (select extract(epoch from '2026-06-13 09:06:33'::timestamp) - extract(epoch from '2026-06-13 09:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020075 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.020209 -2.783582)'))) / (select extract(epoch from '2026-06-13 09:06:33'::timestamp) - extract(epoch from '2026-06-13 09:06: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'), 46703, 'SRID=4674;POINT (-40.020313 -2.783583)', '2026-06-13 09:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020209 -2.783582)'), GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.783583)'))) / (select extract(epoch from '2026-06-13 09:06:38'::timestamp) - extract(epoch from '2026-06-13 09:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020209 -2.783582)'), GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.783583)'))) / (select extract(epoch from '2026-06-13 09:06:38'::timestamp) - extract(epoch from '2026-06-13 09:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020496 -2.783581)', '2026-06-13 09:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.783583)'), GeomFromEWKT('SRID=4674;POINT (-40.020496 -2.783581)'))) / (select extract(epoch from '2026-06-13 09:06:47'::timestamp) - extract(epoch from '2026-06-13 09:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.783583)'), GeomFromEWKT('SRID=4674;POINT (-40.020496 -2.783581)'))) / (select extract(epoch from '2026-06-13 09:06:47'::timestamp) - extract(epoch from '2026-06-13 09:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.020643 -2.78358)', '2026-06-13 09:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020496 -2.783581)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.78358)'))) / (select extract(epoch from '2026-06-13 09:06:54'::timestamp) - extract(epoch from '2026-06-13 09:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020496 -2.783581)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.78358)'))) / (select extract(epoch from '2026-06-13 09:06:54'::timestamp) - extract(epoch from '2026-06-13 09:06: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'), 46703, 'SRID=4674;POINT (-40.020773 -2.783564)', '2026-06-13 09:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.78358)'), GeomFromEWKT('SRID=4674;POINT (-40.020773 -2.783564)'))) / (select extract(epoch from '2026-06-13 09:07:00'::timestamp) - extract(epoch from '2026-06-13 09:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.78358)'), GeomFromEWKT('SRID=4674;POINT (-40.020773 -2.783564)'))) / (select extract(epoch from '2026-06-13 09:07:00'::timestamp) - extract(epoch from '2026-06-13 09:06: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'), 46703, 'SRID=4674;POINT (-40.020909 -2.783523)', '2026-06-13 09:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020773 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.020909 -2.783523)'))) / (select extract(epoch from '2026-06-13 09:07:07'::timestamp) - extract(epoch from '2026-06-13 09:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020773 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.020909 -2.783523)'))) / (select extract(epoch from '2026-06-13 09:07:07'::timestamp) - extract(epoch from '2026-06-13 09:07: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'), 46703, 'SRID=4674;POINT (-40.021029 -2.783485)', '2026-06-13 09:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020909 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.021029 -2.783485)'))) / (select extract(epoch from '2026-06-13 09:07:13'::timestamp) - extract(epoch from '2026-06-13 09:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020909 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.021029 -2.783485)'))) / (select extract(epoch from '2026-06-13 09:07:13'::timestamp) - extract(epoch from '2026-06-13 09:07: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'), 46703, 'SRID=4674;POINT (-40.021146 -2.783445)', '2026-06-13 09:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021029 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.021146 -2.783445)'))) / (select extract(epoch from '2026-06-13 09:07:19'::timestamp) - extract(epoch from '2026-06-13 09:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021029 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.021146 -2.783445)'))) / (select extract(epoch from '2026-06-13 09:07:19'::timestamp) - extract(epoch from '2026-06-13 09:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.021267 -2.78341)', '2026-06-13 09:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021146 -2.783445)'), GeomFromEWKT('SRID=4674;POINT (-40.021267 -2.78341)'))) / (select extract(epoch from '2026-06-13 09:07:25'::timestamp) - extract(epoch from '2026-06-13 09:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021146 -2.783445)'), GeomFromEWKT('SRID=4674;POINT (-40.021267 -2.78341)'))) / (select extract(epoch from '2026-06-13 09:07:25'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.021437 -2.783369)', '2026-06-13 09:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021267 -2.78341)'), GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.783369)'))) / (select extract(epoch from '2026-06-13 09:07:33'::timestamp) - extract(epoch from '2026-06-13 09:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021267 -2.78341)'), GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.783369)'))) / (select extract(epoch from '2026-06-13 09:07:33'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.021564 -2.783333)', '2026-06-13 09:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.021564 -2.783333)'))) / (select extract(epoch from '2026-06-13 09:07:39'::timestamp) - extract(epoch from '2026-06-13 09:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021437 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.021564 -2.783333)'))) / (select extract(epoch from '2026-06-13 09:07:39'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.021688 -2.7833)', '2026-06-13 09:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021564 -2.783333)'), GeomFromEWKT('SRID=4674;POINT (-40.021688 -2.7833)'))) / (select extract(epoch from '2026-06-13 09:07:45'::timestamp) - extract(epoch from '2026-06-13 09:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021564 -2.783333)'), GeomFromEWKT('SRID=4674;POINT (-40.021688 -2.7833)'))) / (select extract(epoch from '2026-06-13 09:07:45'::timestamp) - extract(epoch from '2026-06-13 09:07: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'), 46703, 'SRID=4674;POINT (-40.021815 -2.783276)', '2026-06-13 09:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021688 -2.7833)'), GeomFromEWKT('SRID=4674;POINT (-40.021815 -2.783276)'))) / (select extract(epoch from '2026-06-13 09:07:51'::timestamp) - extract(epoch from '2026-06-13 09:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021688 -2.7833)'), GeomFromEWKT('SRID=4674;POINT (-40.021815 -2.783276)'))) / (select extract(epoch from '2026-06-13 09:07:51'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46703, 'SRID=4674;POINT (-40.021961 -2.78326)', '2026-06-13 09:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021815 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.021961 -2.78326)'))) / (select extract(epoch from '2026-06-13 09:07:58'::timestamp) - extract(epoch from '2026-06-13 09:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021815 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.021961 -2.78326)'))) / (select extract(epoch from '2026-06-13 09:07:58'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.022108 -2.783246)', '2026-06-13 09:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021961 -2.78326)'), GeomFromEWKT('SRID=4674;POINT (-40.022108 -2.783246)'))) / (select extract(epoch from '2026-06-13 09:08:05'::timestamp) - extract(epoch from '2026-06-13 09:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021961 -2.78326)'), GeomFromEWKT('SRID=4674;POINT (-40.022108 -2.783246)'))) / (select extract(epoch from '2026-06-13 09:08:05'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.022221 -2.783198)', '2026-06-13 09:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022108 -2.783246)'), GeomFromEWKT('SRID=4674;POINT (-40.022221 -2.783198)'))) / (select extract(epoch from '2026-06-13 09:08:11'::timestamp) - extract(epoch from '2026-06-13 09:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022108 -2.783246)'), GeomFromEWKT('SRID=4674;POINT (-40.022221 -2.783198)'))) / (select extract(epoch from '2026-06-13 09:08:11'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.022336 -2.783147)', '2026-06-13 09:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022221 -2.783198)'), GeomFromEWKT('SRID=4674;POINT (-40.022336 -2.783147)'))) / (select extract(epoch from '2026-06-13 09:08:17'::timestamp) - extract(epoch from '2026-06-13 09:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022221 -2.783198)'), GeomFromEWKT('SRID=4674;POINT (-40.022336 -2.783147)'))) / (select extract(epoch from '2026-06-13 09:08:17'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.022477 -2.783112)', '2026-06-13 09:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022336 -2.783147)'), GeomFromEWKT('SRID=4674;POINT (-40.022477 -2.783112)'))) / (select extract(epoch from '2026-06-13 09:08:24'::timestamp) - extract(epoch from '2026-06-13 09:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022336 -2.783147)'), GeomFromEWKT('SRID=4674;POINT (-40.022477 -2.783112)'))) / (select extract(epoch from '2026-06-13 09:08:24'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.022599 -2.783088)', '2026-06-13 09:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022477 -2.783112)'), GeomFromEWKT('SRID=4674;POINT (-40.022599 -2.783088)'))) / (select extract(epoch from '2026-06-13 09:08:30'::timestamp) - extract(epoch from '2026-06-13 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022477 -2.783112)'), GeomFromEWKT('SRID=4674;POINT (-40.022599 -2.783088)'))) / (select extract(epoch from '2026-06-13 09:08:30'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.022727 -2.783067)', '2026-06-13 09:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022599 -2.783088)'), GeomFromEWKT('SRID=4674;POINT (-40.022727 -2.783067)'))) / (select extract(epoch from '2026-06-13 09:08:36'::timestamp) - extract(epoch from '2026-06-13 09:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022599 -2.783088)'), GeomFromEWKT('SRID=4674;POINT (-40.022727 -2.783067)'))) / (select extract(epoch from '2026-06-13 09:08:36'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.02286 -2.783059)', '2026-06-13 09:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022727 -2.783067)'), GeomFromEWKT('SRID=4674;POINT (-40.02286 -2.783059)'))) / (select extract(epoch from '2026-06-13 09:08:42'::timestamp) - extract(epoch from '2026-06-13 09:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022727 -2.783067)'), GeomFromEWKT('SRID=4674;POINT (-40.02286 -2.783059)'))) / (select extract(epoch from '2026-06-13 09:08:42'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.022985 -2.78305)', '2026-06-13 09:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02286 -2.783059)'), GeomFromEWKT('SRID=4674;POINT (-40.022985 -2.78305)'))) / (select extract(epoch from '2026-06-13 09:08:48'::timestamp) - extract(epoch from '2026-06-13 09:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02286 -2.783059)'), GeomFromEWKT('SRID=4674;POINT (-40.022985 -2.78305)'))) / (select extract(epoch from '2026-06-13 09:08:48'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.023131 -2.783042)', '2026-06-13 09:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022985 -2.78305)'), GeomFromEWKT('SRID=4674;POINT (-40.023131 -2.783042)'))) / (select extract(epoch from '2026-06-13 09:08:55'::timestamp) - extract(epoch from '2026-06-13 09:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022985 -2.78305)'), GeomFromEWKT('SRID=4674;POINT (-40.023131 -2.783042)'))) / (select extract(epoch from '2026-06-13 09:08:55'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.023321 -2.783039)', '2026-06-13 09:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023131 -2.783042)'), GeomFromEWKT('SRID=4674;POINT (-40.023321 -2.783039)'))) / (select extract(epoch from '2026-06-13 09:09:04'::timestamp) - extract(epoch from '2026-06-13 09:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023131 -2.783042)'), GeomFromEWKT('SRID=4674;POINT (-40.023321 -2.783039)'))) / (select extract(epoch from '2026-06-13 09:09:04'::timestamp) - extract(epoch from '2026-06-13 09:08: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'), 46703, 'SRID=4674;POINT (-40.023467 -2.783021)', '2026-06-13 09:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023321 -2.783039)'), GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.783021)'))) / (select extract(epoch from '2026-06-13 09:09:11'::timestamp) - extract(epoch from '2026-06-13 09:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023321 -2.783039)'), GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.783021)'))) / (select extract(epoch from '2026-06-13 09:09:11'::timestamp) - extract(epoch from '2026-06-13 09:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.023613 -2.782998)', '2026-06-13 09:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.783021)'), GeomFromEWKT('SRID=4674;POINT (-40.023613 -2.782998)'))) / (select extract(epoch from '2026-06-13 09:09:18'::timestamp) - extract(epoch from '2026-06-13 09:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023467 -2.783021)'), GeomFromEWKT('SRID=4674;POINT (-40.023613 -2.782998)'))) / (select extract(epoch from '2026-06-13 09:09:18'::timestamp) - extract(epoch from '2026-06-13 09:09: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'), 46703, 'SRID=4674;POINT (-40.023793 -2.782938)', '2026-06-13 09:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023613 -2.782998)'), GeomFromEWKT('SRID=4674;POINT (-40.023793 -2.782938)'))) / (select extract(epoch from '2026-06-13 09:09:27'::timestamp) - extract(epoch from '2026-06-13 09:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023613 -2.782998)'), GeomFromEWKT('SRID=4674;POINT (-40.023793 -2.782938)'))) / (select extract(epoch from '2026-06-13 09:09:27'::timestamp) - extract(epoch from '2026-06-13 09:09: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'), 46703, 'SRID=4674;POINT (-40.023967 -2.782896)', '2026-06-13 09:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023793 -2.782938)'), GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.782896)'))) / (select extract(epoch from '2026-06-13 09:09:35'::timestamp) - extract(epoch from '2026-06-13 09:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023793 -2.782938)'), GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.782896)'))) / (select extract(epoch from '2026-06-13 09:09:35'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.024103 -2.782881)', '2026-06-13 09:09:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.782896)'), GeomFromEWKT('SRID=4674;POINT (-40.024103 -2.782881)'))) / (select extract(epoch from '2026-06-13 09:09:41'::timestamp) - extract(epoch from '2026-06-13 09:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.782896)'), GeomFromEWKT('SRID=4674;POINT (-40.024103 -2.782881)'))) / (select extract(epoch from '2026-06-13 09:09:41'::timestamp) - extract(epoch from '2026-06-13 09:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024214 -2.782881)', '2026-06-13 09:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024103 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.024214 -2.782881)'))) / (select extract(epoch from '2026-06-13 09:09:46'::timestamp) - extract(epoch from '2026-06-13 09:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024103 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.024214 -2.782881)'))) / (select extract(epoch from '2026-06-13 09:09:46'::timestamp) - extract(epoch from '2026-06-13 09:09: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'), 46703, 'SRID=4674;POINT (-40.024339 -2.782883)', '2026-06-13 09:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024214 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.782883)'))) / (select extract(epoch from '2026-06-13 09:09:52'::timestamp) - extract(epoch from '2026-06-13 09:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024214 -2.782881)'), GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.782883)'))) / (select extract(epoch from '2026-06-13 09:09:52'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.024494 -2.782892)', '2026-06-13 09:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.782883)'), GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.782892)'))) / (select extract(epoch from '2026-06-13 09:09:59'::timestamp) - extract(epoch from '2026-06-13 09:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.782883)'), GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.782892)'))) / (select extract(epoch from '2026-06-13 09:09:59'::timestamp) - extract(epoch from '2026-06-13 09:09: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'), 46703, 'SRID=4674;POINT (-40.024602 -2.782899)', '2026-06-13 09:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.782892)'), GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.782899)'))) / (select extract(epoch from '2026-06-13 09:10:04'::timestamp) - extract(epoch from '2026-06-13 09:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.782892)'), GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.782899)'))) / (select extract(epoch from '2026-06-13 09:10:04'::timestamp) - extract(epoch from '2026-06-13 09:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024725 -2.782889)', '2026-06-13 09:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.782899)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.782889)'))) / (select extract(epoch from '2026-06-13 09:10:10'::timestamp) - extract(epoch from '2026-06-13 09:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024602 -2.782899)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.782889)'))) / (select extract(epoch from '2026-06-13 09:10:10'::timestamp) - extract(epoch from '2026-06-13 09:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.024842 -2.782873)', '2026-06-13 09:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.782889)'), GeomFromEWKT('SRID=4674;POINT (-40.024842 -2.782873)'))) / (select extract(epoch from '2026-06-13 09:10:16'::timestamp) - extract(epoch from '2026-06-13 09:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.782889)'), GeomFromEWKT('SRID=4674;POINT (-40.024842 -2.782873)'))) / (select extract(epoch from '2026-06-13 09:10:16'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.024943 -2.782858)', '2026-06-13 09:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024842 -2.782873)'), GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.782858)'))) / (select extract(epoch from '2026-06-13 09:10:21'::timestamp) - extract(epoch from '2026-06-13 09:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024842 -2.782873)'), GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.782858)'))) / (select extract(epoch from '2026-06-13 09:10:21'::timestamp) - extract(epoch from '2026-06-13 09:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.025053 -2.782853)', '2026-06-13 09:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.782858)'), GeomFromEWKT('SRID=4674;POINT (-40.025053 -2.782853)'))) / (select extract(epoch from '2026-06-13 09:10:26'::timestamp) - extract(epoch from '2026-06-13 09:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024943 -2.782858)'), GeomFromEWKT('SRID=4674;POINT (-40.025053 -2.782853)'))) / (select extract(epoch from '2026-06-13 09:10:26'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025181 -2.782836)', '2026-06-13 09:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025053 -2.782853)'), GeomFromEWKT('SRID=4674;POINT (-40.025181 -2.782836)'))) / (select extract(epoch from '2026-06-13 09:10:32'::timestamp) - extract(epoch from '2026-06-13 09:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025053 -2.782853)'), GeomFromEWKT('SRID=4674;POINT (-40.025181 -2.782836)'))) / (select extract(epoch from '2026-06-13 09:10:32'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025311 -2.782804)', '2026-06-13 09:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025181 -2.782836)'), GeomFromEWKT('SRID=4674;POINT (-40.025311 -2.782804)'))) / (select extract(epoch from '2026-06-13 09:10:38'::timestamp) - extract(epoch from '2026-06-13 09:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025181 -2.782836)'), GeomFromEWKT('SRID=4674;POINT (-40.025311 -2.782804)'))) / (select extract(epoch from '2026-06-13 09:10:38'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025482 -2.78276)', '2026-06-13 09:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025311 -2.782804)'), GeomFromEWKT('SRID=4674;POINT (-40.025482 -2.78276)'))) / (select extract(epoch from '2026-06-13 09:10:46'::timestamp) - extract(epoch from '2026-06-13 09:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025311 -2.782804)'), GeomFromEWKT('SRID=4674;POINT (-40.025482 -2.78276)'))) / (select extract(epoch from '2026-06-13 09:10:46'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025652 -2.782736)', '2026-06-13 09:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025482 -2.78276)'), GeomFromEWKT('SRID=4674;POINT (-40.025652 -2.782736)'))) / (select extract(epoch from '2026-06-13 09:10:54'::timestamp) - extract(epoch from '2026-06-13 09:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025482 -2.78276)'), GeomFromEWKT('SRID=4674;POINT (-40.025652 -2.782736)'))) / (select extract(epoch from '2026-06-13 09:10:54'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025776 -2.782706)', '2026-06-13 09:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025652 -2.782736)'), GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.782706)'))) / (select extract(epoch from '2026-06-13 09:11:00'::timestamp) - extract(epoch from '2026-06-13 09:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025652 -2.782736)'), GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.782706)'))) / (select extract(epoch from '2026-06-13 09:11:00'::timestamp) - extract(epoch from '2026-06-13 09:10: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'), 46703, 'SRID=4674;POINT (-40.025884 -2.78268)', '2026-06-13 09:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.782706)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.78268)'))) / (select extract(epoch from '2026-06-13 09:11:05'::timestamp) - extract(epoch from '2026-06-13 09:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.782706)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.78268)'))) / (select extract(epoch from '2026-06-13 09:11:05'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.02601 -2.782654)', '2026-06-13 09:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.78268)'), GeomFromEWKT('SRID=4674;POINT (-40.02601 -2.782654)'))) / (select extract(epoch from '2026-06-13 09:11:11'::timestamp) - extract(epoch from '2026-06-13 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.78268)'), GeomFromEWKT('SRID=4674;POINT (-40.02601 -2.782654)'))) / (select extract(epoch from '2026-06-13 09:11:11'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.026188 -2.782631)', '2026-06-13 09:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02601 -2.782654)'), GeomFromEWKT('SRID=4674;POINT (-40.026188 -2.782631)'))) / (select extract(epoch from '2026-06-13 09:11:19'::timestamp) - extract(epoch from '2026-06-13 09:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02601 -2.782654)'), GeomFromEWKT('SRID=4674;POINT (-40.026188 -2.782631)'))) / (select extract(epoch from '2026-06-13 09:11:19'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.02634 -2.78263)', '2026-06-13 09:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026188 -2.782631)'), GeomFromEWKT('SRID=4674;POINT (-40.02634 -2.78263)'))) / (select extract(epoch from '2026-06-13 09:11:26'::timestamp) - extract(epoch from '2026-06-13 09:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026188 -2.782631)'), GeomFromEWKT('SRID=4674;POINT (-40.02634 -2.78263)'))) / (select extract(epoch from '2026-06-13 09:11:26'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.026488 -2.78262)', '2026-06-13 09:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02634 -2.78263)'), GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.78262)'))) / (select extract(epoch from '2026-06-13 09:11:33'::timestamp) - extract(epoch from '2026-06-13 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02634 -2.78263)'), GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.78262)'))) / (select extract(epoch from '2026-06-13 09:11:33'::timestamp) - extract(epoch from '2026-06-13 09:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.026631 -2.782636)', '2026-06-13 09:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.78262)'), GeomFromEWKT('SRID=4674;POINT (-40.026631 -2.782636)'))) / (select extract(epoch from '2026-06-13 09:11:40'::timestamp) - extract(epoch from '2026-06-13 09:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.78262)'), GeomFromEWKT('SRID=4674;POINT (-40.026631 -2.782636)'))) / (select extract(epoch from '2026-06-13 09:11:40'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.026757 -2.78266)', '2026-06-13 09:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026631 -2.782636)'), GeomFromEWKT('SRID=4674;POINT (-40.026757 -2.78266)'))) / (select extract(epoch from '2026-06-13 09:11:46'::timestamp) - extract(epoch from '2026-06-13 09:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026631 -2.782636)'), GeomFromEWKT('SRID=4674;POINT (-40.026757 -2.78266)'))) / (select extract(epoch from '2026-06-13 09:11:46'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.026883 -2.782679)', '2026-06-13 09:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026757 -2.78266)'), GeomFromEWKT('SRID=4674;POINT (-40.026883 -2.782679)'))) / (select extract(epoch from '2026-06-13 09:11:52'::timestamp) - extract(epoch from '2026-06-13 09:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026757 -2.78266)'), GeomFromEWKT('SRID=4674;POINT (-40.026883 -2.782679)'))) / (select extract(epoch from '2026-06-13 09:11:52'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.02701 -2.782718)', '2026-06-13 09:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026883 -2.782679)'), GeomFromEWKT('SRID=4674;POINT (-40.02701 -2.782718)'))) / (select extract(epoch from '2026-06-13 09:11:58'::timestamp) - extract(epoch from '2026-06-13 09:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026883 -2.782679)'), GeomFromEWKT('SRID=4674;POINT (-40.02701 -2.782718)'))) / (select extract(epoch from '2026-06-13 09:11:58'::timestamp) - extract(epoch from '2026-06-13 09:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027158 -2.782759)', '2026-06-13 09:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02701 -2.782718)'), GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.782759)'))) / (select extract(epoch from '2026-06-13 09:12:05'::timestamp) - extract(epoch from '2026-06-13 09:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02701 -2.782718)'), GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.782759)'))) / (select extract(epoch from '2026-06-13 09:12:05'::timestamp) - extract(epoch from '2026-06-13 09:11: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'), 46703, 'SRID=4674;POINT (-40.027283 -2.782792)', '2026-06-13 09:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.782759)'), GeomFromEWKT('SRID=4674;POINT (-40.027283 -2.782792)'))) / (select extract(epoch from '2026-06-13 09:12:11'::timestamp) - extract(epoch from '2026-06-13 09:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027158 -2.782759)'), GeomFromEWKT('SRID=4674;POINT (-40.027283 -2.782792)'))) / (select extract(epoch from '2026-06-13 09:12:11'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.027405 -2.782833)', '2026-06-13 09:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027283 -2.782792)'), GeomFromEWKT('SRID=4674;POINT (-40.027405 -2.782833)'))) / (select extract(epoch from '2026-06-13 09:12:17'::timestamp) - extract(epoch from '2026-06-13 09:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027283 -2.782792)'), GeomFromEWKT('SRID=4674;POINT (-40.027405 -2.782833)'))) / (select extract(epoch from '2026-06-13 09:12:17'::timestamp) - extract(epoch from '2026-06-13 09:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027517 -2.782877)', '2026-06-13 09:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027405 -2.782833)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.782877)'))) / (select extract(epoch from '2026-06-13 09:12:23'::timestamp) - extract(epoch from '2026-06-13 09:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027405 -2.782833)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.782877)'))) / (select extract(epoch from '2026-06-13 09:12:23'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.027647 -2.782939)', '2026-06-13 09:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.782877)'), GeomFromEWKT('SRID=4674;POINT (-40.027647 -2.782939)'))) / (select extract(epoch from '2026-06-13 09:12:30'::timestamp) - extract(epoch from '2026-06-13 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.782877)'), GeomFromEWKT('SRID=4674;POINT (-40.027647 -2.782939)'))) / (select extract(epoch from '2026-06-13 09:12:30'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.027763 -2.782993)', '2026-06-13 09:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027647 -2.782939)'), GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.782993)'))) / (select extract(epoch from '2026-06-13 09:12:36'::timestamp) - extract(epoch from '2026-06-13 09:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027647 -2.782939)'), GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.782993)'))) / (select extract(epoch from '2026-06-13 09:12:36'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.027885 -2.783023)', '2026-06-13 09:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.782993)'), GeomFromEWKT('SRID=4674;POINT (-40.027885 -2.783023)'))) / (select extract(epoch from '2026-06-13 09:12:42'::timestamp) - extract(epoch from '2026-06-13 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.782993)'), GeomFromEWKT('SRID=4674;POINT (-40.027885 -2.783023)'))) / (select extract(epoch from '2026-06-13 09:12:42'::timestamp) - extract(epoch from '2026-06-13 09:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027906 -2.783025)', '2026-06-13 09:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027885 -2.783023)'), GeomFromEWKT('SRID=4674;POINT (-40.027906 -2.783025)'))) / (select extract(epoch from '2026-06-13 09:12:43'::timestamp) - extract(epoch from '2026-06-13 09:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027885 -2.783023)'), GeomFromEWKT('SRID=4674;POINT (-40.027906 -2.783025)'))) / (select extract(epoch from '2026-06-13 09:12:43'::timestamp) - extract(epoch from '2026-06-13 09:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.027971 -2.783028)', '2026-06-13 09:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027906 -2.783025)'), GeomFromEWKT('SRID=4674;POINT (-40.027971 -2.783028)'))) / (select extract(epoch from '2026-06-13 09:12:46'::timestamp) - extract(epoch from '2026-06-13 09:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027906 -2.783025)'), GeomFromEWKT('SRID=4674;POINT (-40.027971 -2.783028)'))) / (select extract(epoch from '2026-06-13 09:12:46'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.028122 -2.783032)', '2026-06-13 09:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027971 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.028122 -2.783032)'))) / (select extract(epoch from '2026-06-13 09:12:53'::timestamp) - extract(epoch from '2026-06-13 09:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027971 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.028122 -2.783032)'))) / (select extract(epoch from '2026-06-13 09:12:53'::timestamp) - extract(epoch from '2026-06-13 09:12: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'), 46703, 'SRID=4674;POINT (-40.028264 -2.783056)', '2026-06-13 09:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028122 -2.783032)'), GeomFromEWKT('SRID=4674;POINT (-40.028264 -2.783056)'))) / (select extract(epoch from '2026-06-13 09:13:00'::timestamp) - extract(epoch from '2026-06-13 09:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028122 -2.783032)'), GeomFromEWKT('SRID=4674;POINT (-40.028264 -2.783056)'))) / (select extract(epoch from '2026-06-13 09:13:00'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.028391 -2.783067)', '2026-06-13 09:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028264 -2.783056)'), GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.783067)'))) / (select extract(epoch from '2026-06-13 09:13:06'::timestamp) - extract(epoch from '2026-06-13 09:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028264 -2.783056)'), GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.783067)'))) / (select extract(epoch from '2026-06-13 09:13:06'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.028493 -2.783072)', '2026-06-13 09:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.783067)'), GeomFromEWKT('SRID=4674;POINT (-40.028493 -2.783072)'))) / (select extract(epoch from '2026-06-13 09:13:11'::timestamp) - extract(epoch from '2026-06-13 09:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.783067)'), GeomFromEWKT('SRID=4674;POINT (-40.028493 -2.783072)'))) / (select extract(epoch from '2026-06-13 09:13:11'::timestamp) - extract(epoch from '2026-06-13 09:13: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'), 46703, 'SRID=4674;POINT (-40.028594 -2.783087)', '2026-06-13 09:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028493 -2.783072)'), GeomFromEWKT('SRID=4674;POINT (-40.028594 -2.783087)'))) / (select extract(epoch from '2026-06-13 09:13:16'::timestamp) - extract(epoch from '2026-06-13 09:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028493 -2.783072)'), GeomFromEWKT('SRID=4674;POINT (-40.028594 -2.783087)'))) / (select extract(epoch from '2026-06-13 09:13:16'::timestamp) - extract(epoch from '2026-06-13 09:13: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'), 46703, 'SRID=4674;POINT (-40.028653 -2.783099)', '2026-06-13 09:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028594 -2.783087)'), GeomFromEWKT('SRID=4674;POINT (-40.028653 -2.783099)'))) / (select extract(epoch from '2026-06-13 09:13:19'::timestamp) - extract(epoch from '2026-06-13 09:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028594 -2.783087)'), GeomFromEWKT('SRID=4674;POINT (-40.028653 -2.783099)'))) / (select extract(epoch from '2026-06-13 09:13:19'::timestamp) - extract(epoch from '2026-06-13 09:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.02869 -2.783101)', '2026-06-13 09:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028653 -2.783099)'), GeomFromEWKT('SRID=4674;POINT (-40.02869 -2.783101)'))) / (select extract(epoch from '2026-06-13 09:13:21'::timestamp) - extract(epoch from '2026-06-13 09:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028653 -2.783099)'), GeomFromEWKT('SRID=4674;POINT (-40.02869 -2.783101)'))) / (select extract(epoch from '2026-06-13 09:13:21'::timestamp) - extract(epoch from '2026-06-13 09:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.028828 -2.783117)', '2026-06-13 09:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02869 -2.783101)'), GeomFromEWKT('SRID=4674;POINT (-40.028828 -2.783117)'))) / (select extract(epoch from '2026-06-13 09:13:28'::timestamp) - extract(epoch from '2026-06-13 09:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02869 -2.783101)'), GeomFromEWKT('SRID=4674;POINT (-40.028828 -2.783117)'))) / (select extract(epoch from '2026-06-13 09:13:28'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.028937 -2.783159)', '2026-06-13 09:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028828 -2.783117)'), GeomFromEWKT('SRID=4674;POINT (-40.028937 -2.783159)'))) / (select extract(epoch from '2026-06-13 09:13:34'::timestamp) - extract(epoch from '2026-06-13 09:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028828 -2.783117)'), GeomFromEWKT('SRID=4674;POINT (-40.028937 -2.783159)'))) / (select extract(epoch from '2026-06-13 09:13:34'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.029043 -2.783206)', '2026-06-13 09:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028937 -2.783159)'), GeomFromEWKT('SRID=4674;POINT (-40.029043 -2.783206)'))) / (select extract(epoch from '2026-06-13 09:13:40'::timestamp) - extract(epoch from '2026-06-13 09:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028937 -2.783159)'), GeomFromEWKT('SRID=4674;POINT (-40.029043 -2.783206)'))) / (select extract(epoch from '2026-06-13 09:13:40'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.029139 -2.783234)', '2026-06-13 09:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029043 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.029139 -2.783234)'))) / (select extract(epoch from '2026-06-13 09:13:45'::timestamp) - extract(epoch from '2026-06-13 09:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029043 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.029139 -2.783234)'))) / (select extract(epoch from '2026-06-13 09:13:45'::timestamp) - extract(epoch from '2026-06-13 09:13: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'), 46703, 'SRID=4674;POINT (-40.029261 -2.783247)', '2026-06-13 09:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029139 -2.783234)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.783247)'))) / (select extract(epoch from '2026-06-13 09:13:51'::timestamp) - extract(epoch from '2026-06-13 09:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029139 -2.783234)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.783247)'))) / (select extract(epoch from '2026-06-13 09:13:51'::timestamp) - extract(epoch from '2026-06-13 09:13: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'), 46703, 'SRID=4674;POINT (-40.029385 -2.783236)', '2026-06-13 09:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.783247)'), GeomFromEWKT('SRID=4674;POINT (-40.029385 -2.783236)'))) / (select extract(epoch from '2026-06-13 09:13:57'::timestamp) - extract(epoch from '2026-06-13 09:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.783247)'), GeomFromEWKT('SRID=4674;POINT (-40.029385 -2.783236)'))) / (select extract(epoch from '2026-06-13 09:13:57'::timestamp) - extract(epoch from '2026-06-13 09:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46703, 'SRID=4674;POINT (-40.029545 -2.783205)', '2026-06-13 09:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029385 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.029545 -2.783205)'))) / (select extract(epoch from '2026-06-13 09:14:05'::timestamp) - extract(epoch from '2026-06-13 09:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029385 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.029545 -2.783205)'))) / (select extract(epoch from '2026-06-13 09:14:05'::timestamp) - extract(epoch from '2026-06-13 09:13: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'), 46703, 'SRID=4674;POINT (-40.029685 -2.783164)', '2026-06-13 09:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029545 -2.783205)'), GeomFromEWKT('SRID=4674;POINT (-40.029685 -2.783164)'))) / (select extract(epoch from '2026-06-13 09:14:12'::timestamp) - extract(epoch from '2026-06-13 09:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029545 -2.783205)'), GeomFromEWKT('SRID=4674;POINT (-40.029685 -2.783164)'))) / (select extract(epoch from '2026-06-13 09:14:12'::timestamp) - extract(epoch from '2026-06-13 09:14: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'), 46703, 'SRID=4674;POINT (-40.029811 -2.783132)', '2026-06-13 09:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029685 -2.783164)'), GeomFromEWKT('SRID=4674;POINT (-40.029811 -2.783132)'))) / (select extract(epoch from '2026-06-13 09:14:18'::timestamp) - extract(epoch from '2026-06-13 09:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029685 -2.783164)'), GeomFromEWKT('SRID=4674;POINT (-40.029811 -2.783132)'))) / (select extract(epoch from '2026-06-13 09:14:18'::timestamp) - extract(epoch from '2026-06-13 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'), 46703, 'SRID=4674;POINT (-40.029928 -2.783139)', '2026-06-13 09:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029811 -2.783132)'), GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.783139)'))) / (select extract(epoch from '2026-06-13 09:14:24'::timestamp) - extract(epoch from '2026-06-13 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029811 -2.783132)'), GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.783139)'))) / (select extract(epoch from '2026-06-13 09:14:24'::timestamp) - extract(epoch from '2026-06-13 09:14: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'), 46703, 'SRID=4674;POINT (-40.030044 -2.783168)', '2026-06-13 09:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.783139)'), GeomFromEWKT('SRID=4674;POINT (-40.030044 -2.783168)'))) / (select extract(epoch from '2026-06-13 09:14:30'::timestamp) - extract(epoch from '2026-06-13 09:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029928 -2.783139)'), GeomFromEWKT('SRID=4674;POINT (-40.030044 -2.783168)'))) / (select extract(epoch from '2026-06-13 09:14:30'::timestamp) - extract(epoch from '2026-06-13 09:14: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'), 46703, 'SRID=4674;POINT (-40.030159 -2.783206)', '2026-06-13 09:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030044 -2.783168)'), GeomFromEWKT('SRID=4674;POINT (-40.030159 -2.783206)'))) / (select extract(epoch from '2026-06-13 09:14:36'::timestamp) - extract(epoch from '2026-06-13 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030044 -2.783168)'), GeomFromEWKT('SRID=4674;POINT (-40.030159 -2.783206)'))) / (select extract(epoch from '2026-06-13 09:14:36'::timestamp) - extract(epoch from '2026-06-13 09:14: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'), 46703, 'SRID=4674;POINT (-40.0303 -2.783253)', '2026-06-13 09:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030159 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.0303 -2.783253)'))) / (select extract(epoch from '2026-06-13 09:14:43'::timestamp) - extract(epoch from '2026-06-13 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030159 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.0303 -2.783253)'))) / (select extract(epoch from '2026-06-13 09:14:43'::timestamp) - extract(epoch from '2026-06-13 09:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
