 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026104 -2.832712)', '2026-06-12 13:57:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02603 -2.832723)'), GeomFromEWKT('SRID=4674;POINT (-40.026104 -2.832712)'))) / (select extract(epoch from '2026-06-12 13:57:10'::timestamp) - extract(epoch from '2026-06-12 13:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02603 -2.832723)'), GeomFromEWKT('SRID=4674;POINT (-40.026104 -2.832712)'))) / (select extract(epoch from '2026-06-12 13:57:10'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.026174 -2.83271)', '2026-06-12 13:57:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026104 -2.832712)'), GeomFromEWKT('SRID=4674;POINT (-40.026174 -2.83271)'))) / (select extract(epoch from '2026-06-12 13:57:27'::timestamp) - extract(epoch from '2026-06-12 13:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026104 -2.832712)'), GeomFromEWKT('SRID=4674;POINT (-40.026174 -2.83271)'))) / (select extract(epoch from '2026-06-12 13:57:27'::timestamp) - extract(epoch from '2026-06-12 13:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026243 -2.8327)', '2026-06-12 13:57:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026174 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.8327)'))) / (select extract(epoch from '2026-06-12 13:57:41'::timestamp) - extract(epoch from '2026-06-12 13:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026174 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.8327)'))) / (select extract(epoch from '2026-06-12 13:57:41'::timestamp) - extract(epoch from '2026-06-12 13:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026308 -2.832695)', '2026-06-12 13:57:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.8327)'), GeomFromEWKT('SRID=4674;POINT (-40.026308 -2.832695)'))) / (select extract(epoch from '2026-06-12 13:57:56'::timestamp) - extract(epoch from '2026-06-12 13:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026243 -2.8327)'), GeomFromEWKT('SRID=4674;POINT (-40.026308 -2.832695)'))) / (select extract(epoch from '2026-06-12 13:57:56'::timestamp) - extract(epoch from '2026-06-12 13:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026368 -2.832688)', '2026-06-12 13:58:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026308 -2.832695)'), GeomFromEWKT('SRID=4674;POINT (-40.026368 -2.832688)'))) / (select extract(epoch from '2026-06-12 13:58:13'::timestamp) - extract(epoch from '2026-06-12 13:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026308 -2.832695)'), GeomFromEWKT('SRID=4674;POINT (-40.026368 -2.832688)'))) / (select extract(epoch from '2026-06-12 13:58:13'::timestamp) - extract(epoch from '2026-06-12 13:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02644 -2.832668)', '2026-06-12 13:58:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026368 -2.832688)'), GeomFromEWKT('SRID=4674;POINT (-40.02644 -2.832668)'))) / (select extract(epoch from '2026-06-12 13:58:32'::timestamp) - extract(epoch from '2026-06-12 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026368 -2.832688)'), GeomFromEWKT('SRID=4674;POINT (-40.02644 -2.832668)'))) / (select extract(epoch from '2026-06-12 13:58:32'::timestamp) - extract(epoch from '2026-06-12 13:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026488 -2.832656)', '2026-06-12 13:58:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02644 -2.832668)'), GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.832656)'))) / (select extract(epoch from '2026-06-12 13:58:47'::timestamp) - extract(epoch from '2026-06-12 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02644 -2.832668)'), GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.832656)'))) / (select extract(epoch from '2026-06-12 13:58:47'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.026563 -2.832661)', '2026-06-12 13:59:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.832656)'), GeomFromEWKT('SRID=4674;POINT (-40.026563 -2.832661)'))) / (select extract(epoch from '2026-06-12 13:59:02'::timestamp) - extract(epoch from '2026-06-12 13:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026488 -2.832656)'), GeomFromEWKT('SRID=4674;POINT (-40.026563 -2.832661)'))) / (select extract(epoch from '2026-06-12 13:59:02'::timestamp) - extract(epoch from '2026-06-12 13:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026643 -2.83266)', '2026-06-12 13:59:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026563 -2.832661)'), GeomFromEWKT('SRID=4674;POINT (-40.026643 -2.83266)'))) / (select extract(epoch from '2026-06-12 13:59:21'::timestamp) - extract(epoch from '2026-06-12 13:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026563 -2.832661)'), GeomFromEWKT('SRID=4674;POINT (-40.026643 -2.83266)'))) / (select extract(epoch from '2026-06-12 13:59:21'::timestamp) - extract(epoch from '2026-06-12 13:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026729 -2.832631)', '2026-06-12 13:59:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026643 -2.83266)'), GeomFromEWKT('SRID=4674;POINT (-40.026729 -2.832631)'))) / (select extract(epoch from '2026-06-12 13:59:39'::timestamp) - extract(epoch from '2026-06-12 13:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026643 -2.83266)'), GeomFromEWKT('SRID=4674;POINT (-40.026729 -2.832631)'))) / (select extract(epoch from '2026-06-12 13:59:39'::timestamp) - extract(epoch from '2026-06-12 13:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026791 -2.832609)', '2026-06-12 13:59:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026729 -2.832631)'), GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.832609)'))) / (select extract(epoch from '2026-06-12 13:59:57'::timestamp) - extract(epoch from '2026-06-12 13:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026729 -2.832631)'), GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.832609)'))) / (select extract(epoch from '2026-06-12 13:59:57'::timestamp) - extract(epoch from '2026-06-12 13: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'), 46699, 'SRID=4674;POINT (-40.026865 -2.83262)', '2026-06-12 14:00:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.832609)'), GeomFromEWKT('SRID=4674;POINT (-40.026865 -2.83262)'))) / (select extract(epoch from '2026-06-12 14:00:14'::timestamp) - extract(epoch from '2026-06-12 13:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026791 -2.832609)'), GeomFromEWKT('SRID=4674;POINT (-40.026865 -2.83262)'))) / (select extract(epoch from '2026-06-12 14:00:14'::timestamp) - extract(epoch from '2026-06-12 13:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.026953 -2.832641)', '2026-06-12 14:00:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026865 -2.83262)'), GeomFromEWKT('SRID=4674;POINT (-40.026953 -2.832641)'))) / (select extract(epoch from '2026-06-12 14:00:32'::timestamp) - extract(epoch from '2026-06-12 14:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026865 -2.83262)'), GeomFromEWKT('SRID=4674;POINT (-40.026953 -2.832641)'))) / (select extract(epoch from '2026-06-12 14:00:32'::timestamp) - extract(epoch from '2026-06-12 14:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027025 -2.832647)', '2026-06-12 14:00:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026953 -2.832641)'), GeomFromEWKT('SRID=4674;POINT (-40.027025 -2.832647)'))) / (select extract(epoch from '2026-06-12 14:00:48'::timestamp) - extract(epoch from '2026-06-12 14:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026953 -2.832641)'), GeomFromEWKT('SRID=4674;POINT (-40.027025 -2.832647)'))) / (select extract(epoch from '2026-06-12 14:00:48'::timestamp) - extract(epoch from '2026-06-12 14:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027089 -2.832581)', '2026-06-12 14:01:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027025 -2.832647)'), GeomFromEWKT('SRID=4674;POINT (-40.027089 -2.832581)'))) / (select extract(epoch from '2026-06-12 14:01:01'::timestamp) - extract(epoch from '2026-06-12 14:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027025 -2.832647)'), GeomFromEWKT('SRID=4674;POINT (-40.027089 -2.832581)'))) / (select extract(epoch from '2026-06-12 14:01:01'::timestamp) - extract(epoch from '2026-06-12 14:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027157 -2.832481)', '2026-06-12 14:01:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027089 -2.832581)'), GeomFromEWKT('SRID=4674;POINT (-40.027157 -2.832481)'))) / (select extract(epoch from '2026-06-12 14:01:08'::timestamp) - extract(epoch from '2026-06-12 14:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027089 -2.832581)'), GeomFromEWKT('SRID=4674;POINT (-40.027157 -2.832481)'))) / (select extract(epoch from '2026-06-12 14:01:08'::timestamp) - extract(epoch from '2026-06-12 14:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027295 -2.832344)', '2026-06-12 14:01:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027157 -2.832481)'), GeomFromEWKT('SRID=4674;POINT (-40.027295 -2.832344)'))) / (select extract(epoch from '2026-06-12 14:01:16'::timestamp) - extract(epoch from '2026-06-12 14:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027157 -2.832481)'), GeomFromEWKT('SRID=4674;POINT (-40.027295 -2.832344)'))) / (select extract(epoch from '2026-06-12 14:01:16'::timestamp) - extract(epoch from '2026-06-12 14:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027434 -2.832208)', '2026-06-12 14:01:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027295 -2.832344)'), GeomFromEWKT('SRID=4674;POINT (-40.027434 -2.832208)'))) / (select extract(epoch from '2026-06-12 14:01:24'::timestamp) - extract(epoch from '2026-06-12 14:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027295 -2.832344)'), GeomFromEWKT('SRID=4674;POINT (-40.027434 -2.832208)'))) / (select extract(epoch from '2026-06-12 14:01:24'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027574 -2.832055)', '2026-06-12 14:01:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027434 -2.832208)'), GeomFromEWKT('SRID=4674;POINT (-40.027574 -2.832055)'))) / (select extract(epoch from '2026-06-12 14:01:32'::timestamp) - extract(epoch from '2026-06-12 14:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027434 -2.832208)'), GeomFromEWKT('SRID=4674;POINT (-40.027574 -2.832055)'))) / (select extract(epoch from '2026-06-12 14:01:32'::timestamp) - extract(epoch from '2026-06-12 14:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027709 -2.831933)', '2026-06-12 14:01:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027574 -2.832055)'), GeomFromEWKT('SRID=4674;POINT (-40.027709 -2.831933)'))) / (select extract(epoch from '2026-06-12 14:01:39'::timestamp) - extract(epoch from '2026-06-12 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027574 -2.832055)'), GeomFromEWKT('SRID=4674;POINT (-40.027709 -2.831933)'))) / (select extract(epoch from '2026-06-12 14:01:39'::timestamp) - extract(epoch from '2026-06-12 14:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027823 -2.831844)', '2026-06-12 14:01:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027709 -2.831933)'), GeomFromEWKT('SRID=4674;POINT (-40.027823 -2.831844)'))) / (select extract(epoch from '2026-06-12 14:01:45'::timestamp) - extract(epoch from '2026-06-12 14:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027709 -2.831933)'), GeomFromEWKT('SRID=4674;POINT (-40.027823 -2.831844)'))) / (select extract(epoch from '2026-06-12 14:01:45'::timestamp) - extract(epoch from '2026-06-12 14:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027962 -2.831682)', '2026-06-12 14:01:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027823 -2.831844)'), GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.831682)'))) / (select extract(epoch from '2026-06-12 14:01:54'::timestamp) - extract(epoch from '2026-06-12 14:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027823 -2.831844)'), GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.831682)'))) / (select extract(epoch from '2026-06-12 14:01:54'::timestamp) - extract(epoch from '2026-06-12 14:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02812 -2.831499)', '2026-06-12 14:02:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.831682)'), GeomFromEWKT('SRID=4674;POINT (-40.02812 -2.831499)'))) / (select extract(epoch from '2026-06-12 14:02:04'::timestamp) - extract(epoch from '2026-06-12 14:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.831682)'), GeomFromEWKT('SRID=4674;POINT (-40.02812 -2.831499)'))) / (select extract(epoch from '2026-06-12 14:02:04'::timestamp) - extract(epoch from '2026-06-12 14:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028252 -2.831327)', '2026-06-12 14:02:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02812 -2.831499)'), GeomFromEWKT('SRID=4674;POINT (-40.028252 -2.831327)'))) / (select extract(epoch from '2026-06-12 14:02:13'::timestamp) - extract(epoch from '2026-06-12 14:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02812 -2.831499)'), GeomFromEWKT('SRID=4674;POINT (-40.028252 -2.831327)'))) / (select extract(epoch from '2026-06-12 14:02:13'::timestamp) - extract(epoch from '2026-06-12 14:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028408 -2.831139)', '2026-06-12 14:02:23', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028252 -2.831327)'), GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.831139)'))) / (select extract(epoch from '2026-06-12 14:02:23'::timestamp) - extract(epoch from '2026-06-12 14:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028252 -2.831327)'), GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.831139)'))) / (select extract(epoch from '2026-06-12 14:02:23'::timestamp) - extract(epoch from '2026-06-12 14:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028535 -2.831016)', '2026-06-12 14:02:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.831139)'), GeomFromEWKT('SRID=4674;POINT (-40.028535 -2.831016)'))) / (select extract(epoch from '2026-06-12 14:02:30'::timestamp) - extract(epoch from '2026-06-12 14:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.831139)'), GeomFromEWKT('SRID=4674;POINT (-40.028535 -2.831016)'))) / (select extract(epoch from '2026-06-12 14:02:30'::timestamp) - extract(epoch from '2026-06-12 14:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028625 -2.830901)', '2026-06-12 14:02:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028535 -2.831016)'), GeomFromEWKT('SRID=4674;POINT (-40.028625 -2.830901)'))) / (select extract(epoch from '2026-06-12 14:02:36'::timestamp) - extract(epoch from '2026-06-12 14:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028535 -2.831016)'), GeomFromEWKT('SRID=4674;POINT (-40.028625 -2.830901)'))) / (select extract(epoch from '2026-06-12 14:02:36'::timestamp) - extract(epoch from '2026-06-12 14:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028702 -2.830735)', '2026-06-12 14:02:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028625 -2.830901)'), GeomFromEWKT('SRID=4674;POINT (-40.028702 -2.830735)'))) / (select extract(epoch from '2026-06-12 14:02:44'::timestamp) - extract(epoch from '2026-06-12 14:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028625 -2.830901)'), GeomFromEWKT('SRID=4674;POINT (-40.028702 -2.830735)'))) / (select extract(epoch from '2026-06-12 14:02:44'::timestamp) - extract(epoch from '2026-06-12 14:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028766 -2.830569)', '2026-06-12 14:02:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028702 -2.830735)'), GeomFromEWKT('SRID=4674;POINT (-40.028766 -2.830569)'))) / (select extract(epoch from '2026-06-12 14:02:53'::timestamp) - extract(epoch from '2026-06-12 14:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028702 -2.830735)'), GeomFromEWKT('SRID=4674;POINT (-40.028766 -2.830569)'))) / (select extract(epoch from '2026-06-12 14:02:53'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.028757 -2.830492)', '2026-06-12 14:02:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028766 -2.830569)'), GeomFromEWKT('SRID=4674;POINT (-40.028757 -2.830492)'))) / (select extract(epoch from '2026-06-12 14:02:59'::timestamp) - extract(epoch from '2026-06-12 14:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028766 -2.830569)'), GeomFromEWKT('SRID=4674;POINT (-40.028757 -2.830492)'))) / (select extract(epoch from '2026-06-12 14:02:59'::timestamp) - extract(epoch from '2026-06-12 14:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028704 -2.830502)', '2026-06-12 14:03:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028757 -2.830492)'), GeomFromEWKT('SRID=4674;POINT (-40.028704 -2.830502)'))) / (select extract(epoch from '2026-06-12 14:03:07'::timestamp) - extract(epoch from '2026-06-12 14:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028757 -2.830492)'), GeomFromEWKT('SRID=4674;POINT (-40.028704 -2.830502)'))) / (select extract(epoch from '2026-06-12 14:03:07'::timestamp) - extract(epoch from '2026-06-12 14:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028635 -2.830517)', '2026-06-12 14:03:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028704 -2.830502)'), GeomFromEWKT('SRID=4674;POINT (-40.028635 -2.830517)'))) / (select extract(epoch from '2026-06-12 14:03:19'::timestamp) - extract(epoch from '2026-06-12 14:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028704 -2.830502)'), GeomFromEWKT('SRID=4674;POINT (-40.028635 -2.830517)'))) / (select extract(epoch from '2026-06-12 14:03:19'::timestamp) - extract(epoch from '2026-06-12 14:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028589 -2.830462)', '2026-06-12 14:03:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028635 -2.830517)'), GeomFromEWKT('SRID=4674;POINT (-40.028589 -2.830462)'))) / (select extract(epoch from '2026-06-12 14:03:34'::timestamp) - extract(epoch from '2026-06-12 14:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028635 -2.830517)'), GeomFromEWKT('SRID=4674;POINT (-40.028589 -2.830462)'))) / (select extract(epoch from '2026-06-12 14:03:34'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.028601 -2.830358)', '2026-06-12 14:03:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028589 -2.830462)'), GeomFromEWKT('SRID=4674;POINT (-40.028601 -2.830358)'))) / (select extract(epoch from '2026-06-12 14:03:47'::timestamp) - extract(epoch from '2026-06-12 14:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028589 -2.830462)'), GeomFromEWKT('SRID=4674;POINT (-40.028601 -2.830358)'))) / (select extract(epoch from '2026-06-12 14:03:47'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.028621 -2.830231)', '2026-06-12 14:04:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028601 -2.830358)'), GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.830231)'))) / (select extract(epoch from '2026-06-12 14:04:03'::timestamp) - extract(epoch from '2026-06-12 14:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028601 -2.830358)'), GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.830231)'))) / (select extract(epoch from '2026-06-12 14:04:03'::timestamp) - extract(epoch from '2026-06-12 14:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028631 -2.830134)', '2026-06-12 14:04:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.830231)'), GeomFromEWKT('SRID=4674;POINT (-40.028631 -2.830134)'))) / (select extract(epoch from '2026-06-12 14:04:18'::timestamp) - extract(epoch from '2026-06-12 14:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.830231)'), GeomFromEWKT('SRID=4674;POINT (-40.028631 -2.830134)'))) / (select extract(epoch from '2026-06-12 14:04:18'::timestamp) - extract(epoch from '2026-06-12 14:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028661 -2.83005)', '2026-06-12 14:04:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028631 -2.830134)'), GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.83005)'))) / (select extract(epoch from '2026-06-12 14:04:34'::timestamp) - extract(epoch from '2026-06-12 14:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028631 -2.830134)'), GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.83005)'))) / (select extract(epoch from '2026-06-12 14:04:34'::timestamp) - extract(epoch from '2026-06-12 14:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028674 -2.829979)', '2026-06-12 14:04:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.83005)'), GeomFromEWKT('SRID=4674;POINT (-40.028674 -2.829979)'))) / (select extract(epoch from '2026-06-12 14:04:50'::timestamp) - extract(epoch from '2026-06-12 14:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028661 -2.83005)'), GeomFromEWKT('SRID=4674;POINT (-40.028674 -2.829979)'))) / (select extract(epoch from '2026-06-12 14:04:50'::timestamp) - extract(epoch from '2026-06-12 14:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028685 -2.82989)', '2026-06-12 14:05:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028674 -2.829979)'), GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.82989)'))) / (select extract(epoch from '2026-06-12 14:05:06'::timestamp) - extract(epoch from '2026-06-12 14:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028674 -2.829979)'), GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.82989)'))) / (select extract(epoch from '2026-06-12 14:05:06'::timestamp) - extract(epoch from '2026-06-12 14:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028666 -2.829824)', '2026-06-12 14:05:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.82989)'), GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.829824)'))) / (select extract(epoch from '2026-06-12 14:05:22'::timestamp) - extract(epoch from '2026-06-12 14:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028685 -2.82989)'), GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.829824)'))) / (select extract(epoch from '2026-06-12 14:05:22'::timestamp) - extract(epoch from '2026-06-12 14:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028621 -2.829778)', '2026-06-12 14:05:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.829824)'), GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.829778)'))) / (select extract(epoch from '2026-06-12 14:05:39'::timestamp) - extract(epoch from '2026-06-12 14:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.829824)'), GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.829778)'))) / (select extract(epoch from '2026-06-12 14:05:39'::timestamp) - extract(epoch from '2026-06-12 14:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028606 -2.829741)', '2026-06-12 14:05:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.829778)'), GeomFromEWKT('SRID=4674;POINT (-40.028606 -2.829741)'))) / (select extract(epoch from '2026-06-12 14:05:56'::timestamp) - extract(epoch from '2026-06-12 14:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028621 -2.829778)'), GeomFromEWKT('SRID=4674;POINT (-40.028606 -2.829741)'))) / (select extract(epoch from '2026-06-12 14:05:56'::timestamp) - extract(epoch from '2026-06-12 14:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02853 -2.829706)', '2026-06-12 14:06:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028606 -2.829741)'), GeomFromEWKT('SRID=4674;POINT (-40.02853 -2.829706)'))) / (select extract(epoch from '2026-06-12 14:06:12'::timestamp) - extract(epoch from '2026-06-12 14:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028606 -2.829741)'), GeomFromEWKT('SRID=4674;POINT (-40.02853 -2.829706)'))) / (select extract(epoch from '2026-06-12 14:06:12'::timestamp) - extract(epoch from '2026-06-12 14:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028463 -2.829683)', '2026-06-12 14:06:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02853 -2.829706)'), GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.829683)'))) / (select extract(epoch from '2026-06-12 14:06:31'::timestamp) - extract(epoch from '2026-06-12 14:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02853 -2.829706)'), GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.829683)'))) / (select extract(epoch from '2026-06-12 14:06:31'::timestamp) - extract(epoch from '2026-06-12 14:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028415 -2.829663)', '2026-06-12 14:06:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.829683)'), GeomFromEWKT('SRID=4674;POINT (-40.028415 -2.829663)'))) / (select extract(epoch from '2026-06-12 14:06:45'::timestamp) - extract(epoch from '2026-06-12 14:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.829683)'), GeomFromEWKT('SRID=4674;POINT (-40.028415 -2.829663)'))) / (select extract(epoch from '2026-06-12 14:06:45'::timestamp) - extract(epoch from '2026-06-12 14:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028372 -2.829662)', '2026-06-12 14:07:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028415 -2.829663)'), GeomFromEWKT('SRID=4674;POINT (-40.028372 -2.829662)'))) / (select extract(epoch from '2026-06-12 14:07:00'::timestamp) - extract(epoch from '2026-06-12 14:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028415 -2.829663)'), GeomFromEWKT('SRID=4674;POINT (-40.028372 -2.829662)'))) / (select extract(epoch from '2026-06-12 14:07:00'::timestamp) - extract(epoch from '2026-06-12 14:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028343 -2.829658)', '2026-06-12 14:07:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028372 -2.829662)'), GeomFromEWKT('SRID=4674;POINT (-40.028343 -2.829658)'))) / (select extract(epoch from '2026-06-12 14:07:18'::timestamp) - extract(epoch from '2026-06-12 14:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028372 -2.829662)'), GeomFromEWKT('SRID=4674;POINT (-40.028343 -2.829658)'))) / (select extract(epoch from '2026-06-12 14:07:18'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.028259 -2.829656)', '2026-06-12 14:07:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028343 -2.829658)'), GeomFromEWKT('SRID=4674;POINT (-40.028259 -2.829656)'))) / (select extract(epoch from '2026-06-12 14:07:36'::timestamp) - extract(epoch from '2026-06-12 14:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028343 -2.829658)'), GeomFromEWKT('SRID=4674;POINT (-40.028259 -2.829656)'))) / (select extract(epoch from '2026-06-12 14:07:36'::timestamp) - extract(epoch from '2026-06-12 14:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028164 -2.829671)', '2026-06-12 14:07:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028259 -2.829656)'), GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.829671)'))) / (select extract(epoch from '2026-06-12 14:07:51'::timestamp) - extract(epoch from '2026-06-12 14:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028259 -2.829656)'), GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.829671)'))) / (select extract(epoch from '2026-06-12 14:07:51'::timestamp) - extract(epoch from '2026-06-12 14:07:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028079 -2.829689)', '2026-06-12 14:08:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.829671)'), GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.829689)'))) / (select extract(epoch from '2026-06-12 14:08:05'::timestamp) - extract(epoch from '2026-06-12 14:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.829671)'), GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.829689)'))) / (select extract(epoch from '2026-06-12 14:08:05'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027985 -2.829714)', '2026-06-12 14:08:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.829689)'), GeomFromEWKT('SRID=4674;POINT (-40.027985 -2.829714)'))) / (select extract(epoch from '2026-06-12 14:08:21'::timestamp) - extract(epoch from '2026-06-12 14:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.829689)'), GeomFromEWKT('SRID=4674;POINT (-40.027985 -2.829714)'))) / (select extract(epoch from '2026-06-12 14:08:21'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027902 -2.829704)', '2026-06-12 14:08:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027985 -2.829714)'), GeomFromEWKT('SRID=4674;POINT (-40.027902 -2.829704)'))) / (select extract(epoch from '2026-06-12 14:08:37'::timestamp) - extract(epoch from '2026-06-12 14:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027985 -2.829714)'), GeomFromEWKT('SRID=4674;POINT (-40.027902 -2.829704)'))) / (select extract(epoch from '2026-06-12 14:08:37'::timestamp) - extract(epoch from '2026-06-12 14:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027816 -2.829741)', '2026-06-12 14:08:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027902 -2.829704)'), GeomFromEWKT('SRID=4674;POINT (-40.027816 -2.829741)'))) / (select extract(epoch from '2026-06-12 14:08:54'::timestamp) - extract(epoch from '2026-06-12 14:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027902 -2.829704)'), GeomFromEWKT('SRID=4674;POINT (-40.027816 -2.829741)'))) / (select extract(epoch from '2026-06-12 14:08:54'::timestamp) - extract(epoch from '2026-06-12 14:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027755 -2.829747)', '2026-06-12 14:09:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027816 -2.829741)'), GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.829747)'))) / (select extract(epoch from '2026-06-12 14:09:08'::timestamp) - extract(epoch from '2026-06-12 14:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027816 -2.829741)'), GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.829747)'))) / (select extract(epoch from '2026-06-12 14:09:08'::timestamp) - extract(epoch from '2026-06-12 14:08:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027696 -2.829809)', '2026-06-12 14:09:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.829747)'), GeomFromEWKT('SRID=4674;POINT (-40.027696 -2.829809)'))) / (select extract(epoch from '2026-06-12 14:09:23'::timestamp) - extract(epoch from '2026-06-12 14:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.829747)'), GeomFromEWKT('SRID=4674;POINT (-40.027696 -2.829809)'))) / (select extract(epoch from '2026-06-12 14:09:23'::timestamp) - extract(epoch from '2026-06-12 14:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027617 -2.829819)', '2026-06-12 14:09:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027696 -2.829809)'), GeomFromEWKT('SRID=4674;POINT (-40.027617 -2.829819)'))) / (select extract(epoch from '2026-06-12 14:09:37'::timestamp) - extract(epoch from '2026-06-12 14:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027696 -2.829809)'), GeomFromEWKT('SRID=4674;POINT (-40.027617 -2.829819)'))) / (select extract(epoch from '2026-06-12 14:09:37'::timestamp) - extract(epoch from '2026-06-12 14:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027573 -2.82988)', '2026-06-12 14:09:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027617 -2.829819)'), GeomFromEWKT('SRID=4674;POINT (-40.027573 -2.82988)'))) / (select extract(epoch from '2026-06-12 14:09:54'::timestamp) - extract(epoch from '2026-06-12 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027617 -2.829819)'), GeomFromEWKT('SRID=4674;POINT (-40.027573 -2.82988)'))) / (select extract(epoch from '2026-06-12 14:09:54'::timestamp) - extract(epoch from '2026-06-12 14:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027567 -2.829938)', '2026-06-12 14:10:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027573 -2.82988)'), GeomFromEWKT('SRID=4674;POINT (-40.027567 -2.829938)'))) / (select extract(epoch from '2026-06-12 14:10:09'::timestamp) - extract(epoch from '2026-06-12 14:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027573 -2.82988)'), GeomFromEWKT('SRID=4674;POINT (-40.027567 -2.829938)'))) / (select extract(epoch from '2026-06-12 14:10:09'::timestamp) - extract(epoch from '2026-06-12 14:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027538 -2.830023)', '2026-06-12 14:10:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027567 -2.829938)'), GeomFromEWKT('SRID=4674;POINT (-40.027538 -2.830023)'))) / (select extract(epoch from '2026-06-12 14:10:26'::timestamp) - extract(epoch from '2026-06-12 14:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027567 -2.829938)'), GeomFromEWKT('SRID=4674;POINT (-40.027538 -2.830023)'))) / (select extract(epoch from '2026-06-12 14:10:26'::timestamp) - extract(epoch from '2026-06-12 14:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027521 -2.830073)', '2026-06-12 14:10:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027538 -2.830023)'), GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.830073)'))) / (select extract(epoch from '2026-06-12 14:10:42'::timestamp) - extract(epoch from '2026-06-12 14:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027538 -2.830023)'), GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.830073)'))) / (select extract(epoch from '2026-06-12 14:10:42'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027523 -2.830121)', '2026-06-12 14:11:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.830073)'), GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830121)'))) / (select extract(epoch from '2026-06-12 14:11:00'::timestamp) - extract(epoch from '2026-06-12 14:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.830073)'), GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830121)'))) / (select extract(epoch from '2026-06-12 14:11:00'::timestamp) - extract(epoch from '2026-06-12 14:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02753 -2.830163)', '2026-06-12 14:11:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830121)'), GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.830163)'))) / (select extract(epoch from '2026-06-12 14:11:17'::timestamp) - extract(epoch from '2026-06-12 14:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830121)'), GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.830163)'))) / (select extract(epoch from '2026-06-12 14:11:17'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027521 -2.83019)', '2026-06-12 14:11:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.830163)'), GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.83019)'))) / (select extract(epoch from '2026-06-12 14:11:31'::timestamp) - extract(epoch from '2026-06-12 14:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.830163)'), GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.83019)'))) / (select extract(epoch from '2026-06-12 14:11:31'::timestamp) - extract(epoch from '2026-06-12 14:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027523 -2.830204)', '2026-06-12 14:11:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.83019)'), GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830204)'))) / (select extract(epoch from '2026-06-12 14:11:43'::timestamp) - extract(epoch from '2026-06-12 14:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027521 -2.83019)'), GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830204)'))) / (select extract(epoch from '2026-06-12 14:11:43'::timestamp) - extract(epoch from '2026-06-12 14:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027524 -2.830267)', '2026-06-12 14:11:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830204)'), GeomFromEWKT('SRID=4674;POINT (-40.027524 -2.830267)'))) / (select extract(epoch from '2026-06-12 14:11:59'::timestamp) - extract(epoch from '2026-06-12 14:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027523 -2.830204)'), GeomFromEWKT('SRID=4674;POINT (-40.027524 -2.830267)'))) / (select extract(epoch from '2026-06-12 14:11:59'::timestamp) - extract(epoch from '2026-06-12 14:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027552 -2.83034)', '2026-06-12 14:12:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027524 -2.830267)'), GeomFromEWKT('SRID=4674;POINT (-40.027552 -2.83034)'))) / (select extract(epoch from '2026-06-12 14:12:15'::timestamp) - extract(epoch from '2026-06-12 14:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027524 -2.830267)'), GeomFromEWKT('SRID=4674;POINT (-40.027552 -2.83034)'))) / (select extract(epoch from '2026-06-12 14:12:15'::timestamp) - extract(epoch from '2026-06-12 14:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027582 -2.830414)', '2026-06-12 14:12:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027552 -2.83034)'), GeomFromEWKT('SRID=4674;POINT (-40.027582 -2.830414)'))) / (select extract(epoch from '2026-06-12 14:12:32'::timestamp) - extract(epoch from '2026-06-12 14:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027552 -2.83034)'), GeomFromEWKT('SRID=4674;POINT (-40.027582 -2.830414)'))) / (select extract(epoch from '2026-06-12 14:12:32'::timestamp) - extract(epoch from '2026-06-12 14:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027658 -2.83049)', '2026-06-12 14:12:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027582 -2.830414)'), GeomFromEWKT('SRID=4674;POINT (-40.027658 -2.83049)'))) / (select extract(epoch from '2026-06-12 14:12:46'::timestamp) - extract(epoch from '2026-06-12 14:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027582 -2.830414)'), GeomFromEWKT('SRID=4674;POINT (-40.027658 -2.83049)'))) / (select extract(epoch from '2026-06-12 14:12:46'::timestamp) - extract(epoch from '2026-06-12 14:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027732 -2.830599)', '2026-06-12 14:13:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027658 -2.83049)'), GeomFromEWKT('SRID=4674;POINT (-40.027732 -2.830599)'))) / (select extract(epoch from '2026-06-12 14:13:03'::timestamp) - extract(epoch from '2026-06-12 14:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027658 -2.83049)'), GeomFromEWKT('SRID=4674;POINT (-40.027732 -2.830599)'))) / (select extract(epoch from '2026-06-12 14:13:03'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.027755 -2.830729)', '2026-06-12 14:13:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027732 -2.830599)'), GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.830729)'))) / (select extract(epoch from '2026-06-12 14:13:20'::timestamp) - extract(epoch from '2026-06-12 14:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027732 -2.830599)'), GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.830729)'))) / (select extract(epoch from '2026-06-12 14:13:20'::timestamp) - extract(epoch from '2026-06-12 14:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027741 -2.830757)', '2026-06-12 14:13:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.830729)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.830757)'))) / (select extract(epoch from '2026-06-12 14:13:33'::timestamp) - extract(epoch from '2026-06-12 14:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027755 -2.830729)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.830757)'))) / (select extract(epoch from '2026-06-12 14:13:33'::timestamp) - extract(epoch from '2026-06-12 14:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027704 -2.830722)', '2026-06-12 14:13:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.830757)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.830722)'))) / (select extract(epoch from '2026-06-12 14:13:46'::timestamp) - extract(epoch from '2026-06-12 14:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.830757)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.830722)'))) / (select extract(epoch from '2026-06-12 14:13:46'::timestamp) - extract(epoch from '2026-06-12 14:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027705 -2.830728)', '2026-06-12 14:13:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.830722)'), GeomFromEWKT('SRID=4674;POINT (-40.027705 -2.830728)'))) / (select extract(epoch from '2026-06-12 14:13:58'::timestamp) - extract(epoch from '2026-06-12 14:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.830722)'), GeomFromEWKT('SRID=4674;POINT (-40.027705 -2.830728)'))) / (select extract(epoch from '2026-06-12 14:13:58'::timestamp) - extract(epoch from '2026-06-12 14:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.02777 -2.830772)', '2026-06-12 14:14:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027705 -2.830728)'), GeomFromEWKT('SRID=4674;POINT (-40.02777 -2.830772)'))) / (select extract(epoch from '2026-06-12 14:14:15'::timestamp) - extract(epoch from '2026-06-12 14:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027705 -2.830728)'), GeomFromEWKT('SRID=4674;POINT (-40.02777 -2.830772)'))) / (select extract(epoch from '2026-06-12 14:14:15'::timestamp) - extract(epoch from '2026-06-12 14:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027862 -2.830807)', '2026-06-12 14:14:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02777 -2.830772)'), GeomFromEWKT('SRID=4674;POINT (-40.027862 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:14:32'::timestamp) - extract(epoch from '2026-06-12 14:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02777 -2.830772)'), GeomFromEWKT('SRID=4674;POINT (-40.027862 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:14:32'::timestamp) - extract(epoch from '2026-06-12 14:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.027976 -2.830814)', '2026-06-12 14:14:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027862 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.027976 -2.830814)'))) / (select extract(epoch from '2026-06-12 14:14:44'::timestamp) - extract(epoch from '2026-06-12 14:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027862 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.027976 -2.830814)'))) / (select extract(epoch from '2026-06-12 14:14:44'::timestamp) - extract(epoch from '2026-06-12 14:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028171 -2.830837)', '2026-06-12 14:15:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027976 -2.830814)'), GeomFromEWKT('SRID=4674;POINT (-40.028171 -2.830837)'))) / (select extract(epoch from '2026-06-12 14:15:00'::timestamp) - extract(epoch from '2026-06-12 14:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027976 -2.830814)'), GeomFromEWKT('SRID=4674;POINT (-40.028171 -2.830837)'))) / (select extract(epoch from '2026-06-12 14:15:00'::timestamp) - extract(epoch from '2026-06-12 14:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028362 -2.83092)', '2026-06-12 14:15:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028171 -2.830837)'), GeomFromEWKT('SRID=4674;POINT (-40.028362 -2.83092)'))) / (select extract(epoch from '2026-06-12 14:15:11'::timestamp) - extract(epoch from '2026-06-12 14:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028171 -2.830837)'), GeomFromEWKT('SRID=4674;POINT (-40.028362 -2.83092)'))) / (select extract(epoch from '2026-06-12 14:15:11'::timestamp) - extract(epoch from '2026-06-12 14:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028519 -2.831007)', '2026-06-12 14:15:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028362 -2.83092)'), GeomFromEWKT('SRID=4674;POINT (-40.028519 -2.831007)'))) / (select extract(epoch from '2026-06-12 14:15:19'::timestamp) - extract(epoch from '2026-06-12 14:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028362 -2.83092)'), GeomFromEWKT('SRID=4674;POINT (-40.028519 -2.831007)'))) / (select extract(epoch from '2026-06-12 14:15:19'::timestamp) - extract(epoch from '2026-06-12 14:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028645 -2.831086)', '2026-06-12 14:15:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028519 -2.831007)'), GeomFromEWKT('SRID=4674;POINT (-40.028645 -2.831086)'))) / (select extract(epoch from '2026-06-12 14:15:27'::timestamp) - extract(epoch from '2026-06-12 14:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028519 -2.831007)'), GeomFromEWKT('SRID=4674;POINT (-40.028645 -2.831086)'))) / (select extract(epoch from '2026-06-12 14:15:27'::timestamp) - extract(epoch from '2026-06-12 14:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028758 -2.831131)', '2026-06-12 14:15:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028645 -2.831086)'), GeomFromEWKT('SRID=4674;POINT (-40.028758 -2.831131)'))) / (select extract(epoch from '2026-06-12 14:15:34'::timestamp) - extract(epoch from '2026-06-12 14:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028645 -2.831086)'), GeomFromEWKT('SRID=4674;POINT (-40.028758 -2.831131)'))) / (select extract(epoch from '2026-06-12 14:15:34'::timestamp) - extract(epoch from '2026-06-12 14:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028868 -2.831165)', '2026-06-12 14:15:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028758 -2.831131)'), GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.831165)'))) / (select extract(epoch from '2026-06-12 14:15:40'::timestamp) - extract(epoch from '2026-06-12 14:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028758 -2.831131)'), GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.831165)'))) / (select extract(epoch from '2026-06-12 14:15:40'::timestamp) - extract(epoch from '2026-06-12 14:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.028981 -2.831172)', '2026-06-12 14:15:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.831165)'), GeomFromEWKT('SRID=4674;POINT (-40.028981 -2.831172)'))) / (select extract(epoch from '2026-06-12 14:15:46'::timestamp) - extract(epoch from '2026-06-12 14:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028868 -2.831165)'), GeomFromEWKT('SRID=4674;POINT (-40.028981 -2.831172)'))) / (select extract(epoch from '2026-06-12 14:15:46'::timestamp) - extract(epoch from '2026-06-12 14:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029125 -2.831139)', '2026-06-12 14:15:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028981 -2.831172)'), GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.831139)'))) / (select extract(epoch from '2026-06-12 14:15:54'::timestamp) - extract(epoch from '2026-06-12 14:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028981 -2.831172)'), GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.831139)'))) / (select extract(epoch from '2026-06-12 14:15:54'::timestamp) - extract(epoch from '2026-06-12 14:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029242 -2.831087)', '2026-06-12 14:16:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.831139)'), GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.831087)'))) / (select extract(epoch from '2026-06-12 14:16:01'::timestamp) - extract(epoch from '2026-06-12 14:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.831139)'), GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.831087)'))) / (select extract(epoch from '2026-06-12 14:16:01'::timestamp) - extract(epoch from '2026-06-12 14:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029368 -2.83103)', '2026-06-12 14:16:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.831087)'), GeomFromEWKT('SRID=4674;POINT (-40.029368 -2.83103)'))) / (select extract(epoch from '2026-06-12 14:16:09'::timestamp) - extract(epoch from '2026-06-12 14:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.831087)'), GeomFromEWKT('SRID=4674;POINT (-40.029368 -2.83103)'))) / (select extract(epoch from '2026-06-12 14:16:09'::timestamp) - extract(epoch from '2026-06-12 14:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029487 -2.83098)', '2026-06-12 14:16:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029368 -2.83103)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.83098)'))) / (select extract(epoch from '2026-06-12 14:16:17'::timestamp) - extract(epoch from '2026-06-12 14:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029368 -2.83103)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.83098)'))) / (select extract(epoch from '2026-06-12 14:16:17'::timestamp) - extract(epoch from '2026-06-12 14:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029617 -2.83093)', '2026-06-12 14:16:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.83098)'), GeomFromEWKT('SRID=4674;POINT (-40.029617 -2.83093)'))) / (select extract(epoch from '2026-06-12 14:16:25'::timestamp) - extract(epoch from '2026-06-12 14:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.83098)'), GeomFromEWKT('SRID=4674;POINT (-40.029617 -2.83093)'))) / (select extract(epoch from '2026-06-12 14:16:25'::timestamp) - extract(epoch from '2026-06-12 14:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029801 -2.830866)', '2026-06-12 14:16:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029617 -2.83093)'), GeomFromEWKT('SRID=4674;POINT (-40.029801 -2.830866)'))) / (select extract(epoch from '2026-06-12 14:16:35'::timestamp) - extract(epoch from '2026-06-12 14:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029617 -2.83093)'), GeomFromEWKT('SRID=4674;POINT (-40.029801 -2.830866)'))) / (select extract(epoch from '2026-06-12 14:16:35'::timestamp) - extract(epoch from '2026-06-12 14:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.029932 -2.830838)', '2026-06-12 14:16:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029801 -2.830866)'), GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.830838)'))) / (select extract(epoch from '2026-06-12 14:16:43'::timestamp) - extract(epoch from '2026-06-12 14:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029801 -2.830866)'), GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.830838)'))) / (select extract(epoch from '2026-06-12 14:16:43'::timestamp) - extract(epoch from '2026-06-12 14:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030016 -2.830813)', '2026-06-12 14:16:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.830838)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.830813)'))) / (select extract(epoch from '2026-06-12 14:16:49'::timestamp) - extract(epoch from '2026-06-12 14:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.830838)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.830813)'))) / (select extract(epoch from '2026-06-12 14:16:49'::timestamp) - extract(epoch from '2026-06-12 14:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030121 -2.830778)', '2026-06-12 14:16:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.830813)'), GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.830778)'))) / (select extract(epoch from '2026-06-12 14:16:57'::timestamp) - extract(epoch from '2026-06-12 14:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.830813)'), GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.830778)'))) / (select extract(epoch from '2026-06-12 14:16:57'::timestamp) - extract(epoch from '2026-06-12 14:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030233 -2.830718)', '2026-06-12 14:17:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.830778)'), GeomFromEWKT('SRID=4674;POINT (-40.030233 -2.830718)'))) / (select extract(epoch from '2026-06-12 14:17:06'::timestamp) - extract(epoch from '2026-06-12 14:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.830778)'), GeomFromEWKT('SRID=4674;POINT (-40.030233 -2.830718)'))) / (select extract(epoch from '2026-06-12 14:17:06'::timestamp) - extract(epoch from '2026-06-12 14:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030343 -2.83068)', '2026-06-12 14:17:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030233 -2.830718)'), GeomFromEWKT('SRID=4674;POINT (-40.030343 -2.83068)'))) / (select extract(epoch from '2026-06-12 14:17:14'::timestamp) - extract(epoch from '2026-06-12 14:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030233 -2.830718)'), GeomFromEWKT('SRID=4674;POINT (-40.030343 -2.83068)'))) / (select extract(epoch from '2026-06-12 14:17:14'::timestamp) - extract(epoch from '2026-06-12 14:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030452 -2.830626)', '2026-06-12 14:17:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030343 -2.83068)'), GeomFromEWKT('SRID=4674;POINT (-40.030452 -2.830626)'))) / (select extract(epoch from '2026-06-12 14:17:23'::timestamp) - extract(epoch from '2026-06-12 14:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030343 -2.83068)'), GeomFromEWKT('SRID=4674;POINT (-40.030452 -2.830626)'))) / (select extract(epoch from '2026-06-12 14:17:23'::timestamp) - extract(epoch from '2026-06-12 14:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030535 -2.830572)', '2026-06-12 14:17:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030452 -2.830626)'), GeomFromEWKT('SRID=4674;POINT (-40.030535 -2.830572)'))) / (select extract(epoch from '2026-06-12 14:17:30'::timestamp) - extract(epoch from '2026-06-12 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030452 -2.830626)'), GeomFromEWKT('SRID=4674;POINT (-40.030535 -2.830572)'))) / (select extract(epoch from '2026-06-12 14:17:30'::timestamp) - extract(epoch from '2026-06-12 14:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030626 -2.830525)', '2026-06-12 14:17:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030535 -2.830572)'), GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.830525)'))) / (select extract(epoch from '2026-06-12 14:17:38'::timestamp) - extract(epoch from '2026-06-12 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030535 -2.830572)'), GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.830525)'))) / (select extract(epoch from '2026-06-12 14:17:38'::timestamp) - extract(epoch from '2026-06-12 14:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030737 -2.830472)', '2026-06-12 14:17:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.830525)'), GeomFromEWKT('SRID=4674;POINT (-40.030737 -2.830472)'))) / (select extract(epoch from '2026-06-12 14:17:47'::timestamp) - extract(epoch from '2026-06-12 14:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.830525)'), GeomFromEWKT('SRID=4674;POINT (-40.030737 -2.830472)'))) / (select extract(epoch from '2026-06-12 14:17:47'::timestamp) - extract(epoch from '2026-06-12 14:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030851 -2.830426)', '2026-06-12 14:17:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030737 -2.830472)'), GeomFromEWKT('SRID=4674;POINT (-40.030851 -2.830426)'))) / (select extract(epoch from '2026-06-12 14:17:55'::timestamp) - extract(epoch from '2026-06-12 14:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030737 -2.830472)'), GeomFromEWKT('SRID=4674;POINT (-40.030851 -2.830426)'))) / (select extract(epoch from '2026-06-12 14:17:55'::timestamp) - extract(epoch from '2026-06-12 14:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.030995 -2.830373)', '2026-06-12 14:18:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030851 -2.830426)'), GeomFromEWKT('SRID=4674;POINT (-40.030995 -2.830373)'))) / (select extract(epoch from '2026-06-12 14:18:06'::timestamp) - extract(epoch from '2026-06-12 14:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030851 -2.830426)'), GeomFromEWKT('SRID=4674;POINT (-40.030995 -2.830373)'))) / (select extract(epoch from '2026-06-12 14:18:06'::timestamp) - extract(epoch from '2026-06-12 14:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031086 -2.830343)', '2026-06-12 14:18:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030995 -2.830373)'), GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.830343)'))) / (select extract(epoch from '2026-06-12 14:18:14'::timestamp) - extract(epoch from '2026-06-12 14:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030995 -2.830373)'), GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.830343)'))) / (select extract(epoch from '2026-06-12 14:18:14'::timestamp) - extract(epoch from '2026-06-12 14:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03117 -2.830321)', '2026-06-12 14:18:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.830343)'), GeomFromEWKT('SRID=4674;POINT (-40.03117 -2.830321)'))) / (select extract(epoch from '2026-06-12 14:18:22'::timestamp) - extract(epoch from '2026-06-12 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.830343)'), GeomFromEWKT('SRID=4674;POINT (-40.03117 -2.830321)'))) / (select extract(epoch from '2026-06-12 14:18:22'::timestamp) - extract(epoch from '2026-06-12 14:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031285 -2.830281)', '2026-06-12 14:18:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03117 -2.830321)'), GeomFromEWKT('SRID=4674;POINT (-40.031285 -2.830281)'))) / (select extract(epoch from '2026-06-12 14:18:32'::timestamp) - extract(epoch from '2026-06-12 14:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03117 -2.830321)'), GeomFromEWKT('SRID=4674;POINT (-40.031285 -2.830281)'))) / (select extract(epoch from '2026-06-12 14:18:32'::timestamp) - extract(epoch from '2026-06-12 14:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031394 -2.830248)', '2026-06-12 14:18:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031285 -2.830281)'), GeomFromEWKT('SRID=4674;POINT (-40.031394 -2.830248)'))) / (select extract(epoch from '2026-06-12 14:18:42'::timestamp) - extract(epoch from '2026-06-12 14:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031285 -2.830281)'), GeomFromEWKT('SRID=4674;POINT (-40.031394 -2.830248)'))) / (select extract(epoch from '2026-06-12 14:18:42'::timestamp) - extract(epoch from '2026-06-12 14:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031465 -2.830204)', '2026-06-12 14:18:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031394 -2.830248)'), GeomFromEWKT('SRID=4674;POINT (-40.031465 -2.830204)'))) / (select extract(epoch from '2026-06-12 14:18:50'::timestamp) - extract(epoch from '2026-06-12 14:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031394 -2.830248)'), GeomFromEWKT('SRID=4674;POINT (-40.031465 -2.830204)'))) / (select extract(epoch from '2026-06-12 14:18:50'::timestamp) - extract(epoch from '2026-06-12 14:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031558 -2.830137)', '2026-06-12 14:19:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031465 -2.830204)'), GeomFromEWKT('SRID=4674;POINT (-40.031558 -2.830137)'))) / (select extract(epoch from '2026-06-12 14:19:00'::timestamp) - extract(epoch from '2026-06-12 14:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031465 -2.830204)'), GeomFromEWKT('SRID=4674;POINT (-40.031558 -2.830137)'))) / (select extract(epoch from '2026-06-12 14:19:00'::timestamp) - extract(epoch from '2026-06-12 14:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031611 -2.83009)', '2026-06-12 14:19:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031558 -2.830137)'), GeomFromEWKT('SRID=4674;POINT (-40.031611 -2.83009)'))) / (select extract(epoch from '2026-06-12 14:19:08'::timestamp) - extract(epoch from '2026-06-12 14:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031558 -2.830137)'), GeomFromEWKT('SRID=4674;POINT (-40.031611 -2.83009)'))) / (select extract(epoch from '2026-06-12 14:19:08'::timestamp) - extract(epoch from '2026-06-12 14:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031671 -2.830013)', '2026-06-12 14:19:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031611 -2.83009)'), GeomFromEWKT('SRID=4674;POINT (-40.031671 -2.830013)'))) / (select extract(epoch from '2026-06-12 14:19:21'::timestamp) - extract(epoch from '2026-06-12 14:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031611 -2.83009)'), GeomFromEWKT('SRID=4674;POINT (-40.031671 -2.830013)'))) / (select extract(epoch from '2026-06-12 14:19:21'::timestamp) - extract(epoch from '2026-06-12 14:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031735 -2.82993)', '2026-06-12 14:19:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031671 -2.830013)'), GeomFromEWKT('SRID=4674;POINT (-40.031735 -2.82993)'))) / (select extract(epoch from '2026-06-12 14:19:36'::timestamp) - extract(epoch from '2026-06-12 14:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031671 -2.830013)'), GeomFromEWKT('SRID=4674;POINT (-40.031735 -2.82993)'))) / (select extract(epoch from '2026-06-12 14:19:36'::timestamp) - extract(epoch from '2026-06-12 14:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031803 -2.829845)', '2026-06-12 14:19:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031735 -2.82993)'), GeomFromEWKT('SRID=4674;POINT (-40.031803 -2.829845)'))) / (select extract(epoch from '2026-06-12 14:19:52'::timestamp) - extract(epoch from '2026-06-12 14:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031735 -2.82993)'), GeomFromEWKT('SRID=4674;POINT (-40.031803 -2.829845)'))) / (select extract(epoch from '2026-06-12 14:19:52'::timestamp) - extract(epoch from '2026-06-12 14:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031907 -2.829753)', '2026-06-12 14:20:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031803 -2.829845)'), GeomFromEWKT('SRID=4674;POINT (-40.031907 -2.829753)'))) / (select extract(epoch from '2026-06-12 14:20:05'::timestamp) - extract(epoch from '2026-06-12 14:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031803 -2.829845)'), GeomFromEWKT('SRID=4674;POINT (-40.031907 -2.829753)'))) / (select extract(epoch from '2026-06-12 14:20:05'::timestamp) - extract(epoch from '2026-06-12 14:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031987 -2.82979)', '2026-06-12 14:20:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031907 -2.829753)'), GeomFromEWKT('SRID=4674;POINT (-40.031987 -2.82979)'))) / (select extract(epoch from '2026-06-12 14:20:12'::timestamp) - extract(epoch from '2026-06-12 14:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031907 -2.829753)'), GeomFromEWKT('SRID=4674;POINT (-40.031987 -2.82979)'))) / (select extract(epoch from '2026-06-12 14:20:12'::timestamp) - extract(epoch from '2026-06-12 14:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032018 -2.829889)', '2026-06-12 14:20:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031987 -2.82979)'), GeomFromEWKT('SRID=4674;POINT (-40.032018 -2.829889)'))) / (select extract(epoch from '2026-06-12 14:20:22'::timestamp) - extract(epoch from '2026-06-12 14:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031987 -2.82979)'), GeomFromEWKT('SRID=4674;POINT (-40.032018 -2.829889)'))) / (select extract(epoch from '2026-06-12 14:20:22'::timestamp) - extract(epoch from '2026-06-12 14:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03197 -2.829951)', '2026-06-12 14:20:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032018 -2.829889)'), GeomFromEWKT('SRID=4674;POINT (-40.03197 -2.829951)'))) / (select extract(epoch from '2026-06-12 14:20:32'::timestamp) - extract(epoch from '2026-06-12 14:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032018 -2.829889)'), GeomFromEWKT('SRID=4674;POINT (-40.03197 -2.829951)'))) / (select extract(epoch from '2026-06-12 14:20:32'::timestamp) - extract(epoch from '2026-06-12 14:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031896 -2.82995)', '2026-06-12 14:20:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03197 -2.829951)'), GeomFromEWKT('SRID=4674;POINT (-40.031896 -2.82995)'))) / (select extract(epoch from '2026-06-12 14:20:45'::timestamp) - extract(epoch from '2026-06-12 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03197 -2.829951)'), GeomFromEWKT('SRID=4674;POINT (-40.031896 -2.82995)'))) / (select extract(epoch from '2026-06-12 14:20:45'::timestamp) - extract(epoch from '2026-06-12 14:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031798 -2.830011)', '2026-06-12 14:21:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031896 -2.82995)'), GeomFromEWKT('SRID=4674;POINT (-40.031798 -2.830011)'))) / (select extract(epoch from '2026-06-12 14:21:00'::timestamp) - extract(epoch from '2026-06-12 14:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031896 -2.82995)'), GeomFromEWKT('SRID=4674;POINT (-40.031798 -2.830011)'))) / (select extract(epoch from '2026-06-12 14:21:00'::timestamp) - extract(epoch from '2026-06-12 14:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031688 -2.830109)', '2026-06-12 14:21:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031798 -2.830011)'), GeomFromEWKT('SRID=4674;POINT (-40.031688 -2.830109)'))) / (select extract(epoch from '2026-06-12 14:21:13'::timestamp) - extract(epoch from '2026-06-12 14:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031798 -2.830011)'), GeomFromEWKT('SRID=4674;POINT (-40.031688 -2.830109)'))) / (select extract(epoch from '2026-06-12 14:21:13'::timestamp) - extract(epoch from '2026-06-12 14:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031578 -2.830103)', '2026-06-12 14:21:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031688 -2.830109)'), GeomFromEWKT('SRID=4674;POINT (-40.031578 -2.830103)'))) / (select extract(epoch from '2026-06-12 14:21:23'::timestamp) - extract(epoch from '2026-06-12 14:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031688 -2.830109)'), GeomFromEWKT('SRID=4674;POINT (-40.031578 -2.830103)'))) / (select extract(epoch from '2026-06-12 14:21:23'::timestamp) - extract(epoch from '2026-06-12 14:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031412 -2.830052)', '2026-06-12 14:21:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031578 -2.830103)'), GeomFromEWKT('SRID=4674;POINT (-40.031412 -2.830052)'))) / (select extract(epoch from '2026-06-12 14:21:41'::timestamp) - extract(epoch from '2026-06-12 14:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031578 -2.830103)'), GeomFromEWKT('SRID=4674;POINT (-40.031412 -2.830052)'))) / (select extract(epoch from '2026-06-12 14:21:41'::timestamp) - extract(epoch from '2026-06-12 14:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031342 -2.829954)', '2026-06-12 14:21:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031412 -2.830052)'), GeomFromEWKT('SRID=4674;POINT (-40.031342 -2.829954)'))) / (select extract(epoch from '2026-06-12 14:21:50'::timestamp) - extract(epoch from '2026-06-12 14:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031412 -2.830052)'), GeomFromEWKT('SRID=4674;POINT (-40.031342 -2.829954)'))) / (select extract(epoch from '2026-06-12 14:21:50'::timestamp) - extract(epoch from '2026-06-12 14:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031337 -2.829798)', '2026-06-12 14:22:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031342 -2.829954)'), GeomFromEWKT('SRID=4674;POINT (-40.031337 -2.829798)'))) / (select extract(epoch from '2026-06-12 14:22:02'::timestamp) - extract(epoch from '2026-06-12 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031342 -2.829954)'), GeomFromEWKT('SRID=4674;POINT (-40.031337 -2.829798)'))) / (select extract(epoch from '2026-06-12 14:22:02'::timestamp) - extract(epoch from '2026-06-12 14:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031373 -2.829564)', '2026-06-12 14:22:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031337 -2.829798)'), GeomFromEWKT('SRID=4674;POINT (-40.031373 -2.829564)'))) / (select extract(epoch from '2026-06-12 14:22:20'::timestamp) - extract(epoch from '2026-06-12 14:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031337 -2.829798)'), GeomFromEWKT('SRID=4674;POINT (-40.031373 -2.829564)'))) / (select extract(epoch from '2026-06-12 14:22:20'::timestamp) - extract(epoch from '2026-06-12 14:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031466 -2.829421)', '2026-06-12 14:22:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031373 -2.829564)'), GeomFromEWKT('SRID=4674;POINT (-40.031466 -2.829421)'))) / (select extract(epoch from '2026-06-12 14:22:34'::timestamp) - extract(epoch from '2026-06-12 14:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031373 -2.829564)'), GeomFromEWKT('SRID=4674;POINT (-40.031466 -2.829421)'))) / (select extract(epoch from '2026-06-12 14:22:34'::timestamp) - extract(epoch from '2026-06-12 14:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031628 -2.829334)', '2026-06-12 14:22:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031466 -2.829421)'), GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.829334)'))) / (select extract(epoch from '2026-06-12 14:22:45'::timestamp) - extract(epoch from '2026-06-12 14:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031466 -2.829421)'), GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.829334)'))) / (select extract(epoch from '2026-06-12 14:22:45'::timestamp) - extract(epoch from '2026-06-12 14:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031722 -2.829288)', '2026-06-12 14:22:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.829334)'), GeomFromEWKT('SRID=4674;POINT (-40.031722 -2.829288)'))) / (select extract(epoch from '2026-06-12 14:22:52'::timestamp) - extract(epoch from '2026-06-12 14:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.829334)'), GeomFromEWKT('SRID=4674;POINT (-40.031722 -2.829288)'))) / (select extract(epoch from '2026-06-12 14:22:52'::timestamp) - extract(epoch from '2026-06-12 14:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031831 -2.829226)', '2026-06-12 14:23:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031722 -2.829288)'), GeomFromEWKT('SRID=4674;POINT (-40.031831 -2.829226)'))) / (select extract(epoch from '2026-06-12 14:23:01'::timestamp) - extract(epoch from '2026-06-12 14:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031722 -2.829288)'), GeomFromEWKT('SRID=4674;POINT (-40.031831 -2.829226)'))) / (select extract(epoch from '2026-06-12 14:23:01'::timestamp) - extract(epoch from '2026-06-12 14:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.031945 -2.829171)', '2026-06-12 14:23:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031831 -2.829226)'), GeomFromEWKT('SRID=4674;POINT (-40.031945 -2.829171)'))) / (select extract(epoch from '2026-06-12 14:23:11'::timestamp) - extract(epoch from '2026-06-12 14:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031831 -2.829226)'), GeomFromEWKT('SRID=4674;POINT (-40.031945 -2.829171)'))) / (select extract(epoch from '2026-06-12 14:23:11'::timestamp) - extract(epoch from '2026-06-12 14:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032056 -2.829111)', '2026-06-12 14:23:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031945 -2.829171)'), GeomFromEWKT('SRID=4674;POINT (-40.032056 -2.829111)'))) / (select extract(epoch from '2026-06-12 14:23:20'::timestamp) - extract(epoch from '2026-06-12 14:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031945 -2.829171)'), GeomFromEWKT('SRID=4674;POINT (-40.032056 -2.829111)'))) / (select extract(epoch from '2026-06-12 14:23:20'::timestamp) - extract(epoch from '2026-06-12 14:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032175 -2.829069)', '2026-06-12 14:23:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032056 -2.829111)'), GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.829069)'))) / (select extract(epoch from '2026-06-12 14:23:29'::timestamp) - extract(epoch from '2026-06-12 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032056 -2.829111)'), GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.829069)'))) / (select extract(epoch from '2026-06-12 14:23:29'::timestamp) - extract(epoch from '2026-06-12 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032302 -2.829041)', '2026-06-12 14:23:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.829069)'), GeomFromEWKT('SRID=4674;POINT (-40.032302 -2.829041)'))) / (select extract(epoch from '2026-06-12 14:23:38'::timestamp) - extract(epoch from '2026-06-12 14:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032175 -2.829069)'), GeomFromEWKT('SRID=4674;POINT (-40.032302 -2.829041)'))) / (select extract(epoch from '2026-06-12 14:23:38'::timestamp) - extract(epoch from '2026-06-12 14:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032418 -2.829016)', '2026-06-12 14:23:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032302 -2.829041)'), GeomFromEWKT('SRID=4674;POINT (-40.032418 -2.829016)'))) / (select extract(epoch from '2026-06-12 14:23:47'::timestamp) - extract(epoch from '2026-06-12 14:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032302 -2.829041)'), GeomFromEWKT('SRID=4674;POINT (-40.032418 -2.829016)'))) / (select extract(epoch from '2026-06-12 14:23:47'::timestamp) - extract(epoch from '2026-06-12 14:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032574 -2.828975)', '2026-06-12 14:23:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032418 -2.829016)'), GeomFromEWKT('SRID=4674;POINT (-40.032574 -2.828975)'))) / (select extract(epoch from '2026-06-12 14:23:59'::timestamp) - extract(epoch from '2026-06-12 14:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032418 -2.829016)'), GeomFromEWKT('SRID=4674;POINT (-40.032574 -2.828975)'))) / (select extract(epoch from '2026-06-12 14:23:59'::timestamp) - extract(epoch from '2026-06-12 14:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032673 -2.828944)', '2026-06-12 14:24:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032574 -2.828975)'), GeomFromEWKT('SRID=4674;POINT (-40.032673 -2.828944)'))) / (select extract(epoch from '2026-06-12 14:24:06'::timestamp) - extract(epoch from '2026-06-12 14:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032574 -2.828975)'), GeomFromEWKT('SRID=4674;POINT (-40.032673 -2.828944)'))) / (select extract(epoch from '2026-06-12 14:24:06'::timestamp) - extract(epoch from '2026-06-12 14:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032786 -2.828908)', '2026-06-12 14:24:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032673 -2.828944)'), GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.828908)'))) / (select extract(epoch from '2026-06-12 14:24:15'::timestamp) - extract(epoch from '2026-06-12 14:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032673 -2.828944)'), GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.828908)'))) / (select extract(epoch from '2026-06-12 14:24:15'::timestamp) - extract(epoch from '2026-06-12 14:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032888 -2.828881)', '2026-06-12 14:24:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.828908)'), GeomFromEWKT('SRID=4674;POINT (-40.032888 -2.828881)'))) / (select extract(epoch from '2026-06-12 14:24:24'::timestamp) - extract(epoch from '2026-06-12 14:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.828908)'), GeomFromEWKT('SRID=4674;POINT (-40.032888 -2.828881)'))) / (select extract(epoch from '2026-06-12 14:24:24'::timestamp) - extract(epoch from '2026-06-12 14:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.032978 -2.828852)', '2026-06-12 14:24:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032888 -2.828881)'), GeomFromEWKT('SRID=4674;POINT (-40.032978 -2.828852)'))) / (select extract(epoch from '2026-06-12 14:24:32'::timestamp) - extract(epoch from '2026-06-12 14:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032888 -2.828881)'), GeomFromEWKT('SRID=4674;POINT (-40.032978 -2.828852)'))) / (select extract(epoch from '2026-06-12 14:24:32'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.033107 -2.828833)', '2026-06-12 14:24:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032978 -2.828852)'), GeomFromEWKT('SRID=4674;POINT (-40.033107 -2.828833)'))) / (select extract(epoch from '2026-06-12 14:24:42'::timestamp) - extract(epoch from '2026-06-12 14:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032978 -2.828852)'), GeomFromEWKT('SRID=4674;POINT (-40.033107 -2.828833)'))) / (select extract(epoch from '2026-06-12 14:24:42'::timestamp) - extract(epoch from '2026-06-12 14:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033225 -2.8288)', '2026-06-12 14:24:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033107 -2.828833)'), GeomFromEWKT('SRID=4674;POINT (-40.033225 -2.8288)'))) / (select extract(epoch from '2026-06-12 14:24:51'::timestamp) - extract(epoch from '2026-06-12 14:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033107 -2.828833)'), GeomFromEWKT('SRID=4674;POINT (-40.033225 -2.8288)'))) / (select extract(epoch from '2026-06-12 14:24:51'::timestamp) - extract(epoch from '2026-06-12 14:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03334 -2.828767)', '2026-06-12 14:25:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033225 -2.8288)'), GeomFromEWKT('SRID=4674;POINT (-40.03334 -2.828767)'))) / (select extract(epoch from '2026-06-12 14:25:00'::timestamp) - extract(epoch from '2026-06-12 14:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033225 -2.8288)'), GeomFromEWKT('SRID=4674;POINT (-40.03334 -2.828767)'))) / (select extract(epoch from '2026-06-12 14:25:00'::timestamp) - extract(epoch from '2026-06-12 14:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033475 -2.828724)', '2026-06-12 14:25:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03334 -2.828767)'), GeomFromEWKT('SRID=4674;POINT (-40.033475 -2.828724)'))) / (select extract(epoch from '2026-06-12 14:25:11'::timestamp) - extract(epoch from '2026-06-12 14:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03334 -2.828767)'), GeomFromEWKT('SRID=4674;POINT (-40.033475 -2.828724)'))) / (select extract(epoch from '2026-06-12 14:25:11'::timestamp) - extract(epoch from '2026-06-12 14:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033605 -2.828685)', '2026-06-12 14:25:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033475 -2.828724)'), GeomFromEWKT('SRID=4674;POINT (-40.033605 -2.828685)'))) / (select extract(epoch from '2026-06-12 14:25:21'::timestamp) - extract(epoch from '2026-06-12 14:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033475 -2.828724)'), GeomFromEWKT('SRID=4674;POINT (-40.033605 -2.828685)'))) / (select extract(epoch from '2026-06-12 14:25:21'::timestamp) - extract(epoch from '2026-06-12 14:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033703 -2.828674)', '2026-06-12 14:25:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033605 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.033703 -2.828674)'))) / (select extract(epoch from '2026-06-12 14:25:28'::timestamp) - extract(epoch from '2026-06-12 14:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033605 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.033703 -2.828674)'))) / (select extract(epoch from '2026-06-12 14:25:28'::timestamp) - extract(epoch from '2026-06-12 14:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033841 -2.82866)', '2026-06-12 14:25:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033703 -2.828674)'), GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.82866)'))) / (select extract(epoch from '2026-06-12 14:25:38'::timestamp) - extract(epoch from '2026-06-12 14:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033703 -2.828674)'), GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.82866)'))) / (select extract(epoch from '2026-06-12 14:25:38'::timestamp) - extract(epoch from '2026-06-12 14:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033949 -2.828672)', '2026-06-12 14:25:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.82866)'), GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.828672)'))) / (select extract(epoch from '2026-06-12 14:25:46'::timestamp) - extract(epoch from '2026-06-12 14:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.82866)'), GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.828672)'))) / (select extract(epoch from '2026-06-12 14:25:46'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034063 -2.828766)', '2026-06-12 14:25:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.828672)'), GeomFromEWKT('SRID=4674;POINT (-40.034063 -2.828766)'))) / (select extract(epoch from '2026-06-12 14:25:55'::timestamp) - extract(epoch from '2026-06-12 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033949 -2.828672)'), GeomFromEWKT('SRID=4674;POINT (-40.034063 -2.828766)'))) / (select extract(epoch from '2026-06-12 14:25:55'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034146 -2.828883)', '2026-06-12 14:26:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034063 -2.828766)'), GeomFromEWKT('SRID=4674;POINT (-40.034146 -2.828883)'))) / (select extract(epoch from '2026-06-12 14:26:04'::timestamp) - extract(epoch from '2026-06-12 14:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034063 -2.828766)'), GeomFromEWKT('SRID=4674;POINT (-40.034146 -2.828883)'))) / (select extract(epoch from '2026-06-12 14:26:04'::timestamp) - extract(epoch from '2026-06-12 14:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034193 -2.828968)', '2026-06-12 14:26:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034146 -2.828883)'), GeomFromEWKT('SRID=4674;POINT (-40.034193 -2.828968)'))) / (select extract(epoch from '2026-06-12 14:26:12'::timestamp) - extract(epoch from '2026-06-12 14:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034146 -2.828883)'), GeomFromEWKT('SRID=4674;POINT (-40.034193 -2.828968)'))) / (select extract(epoch from '2026-06-12 14:26:12'::timestamp) - extract(epoch from '2026-06-12 14:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034235 -2.829049)', '2026-06-12 14:26:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034193 -2.828968)'), GeomFromEWKT('SRID=4674;POINT (-40.034235 -2.829049)'))) / (select extract(epoch from '2026-06-12 14:26:19'::timestamp) - extract(epoch from '2026-06-12 14:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034193 -2.828968)'), GeomFromEWKT('SRID=4674;POINT (-40.034235 -2.829049)'))) / (select extract(epoch from '2026-06-12 14:26:19'::timestamp) - extract(epoch from '2026-06-12 14:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034239 -2.829142)', '2026-06-12 14:26:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034235 -2.829049)'), GeomFromEWKT('SRID=4674;POINT (-40.034239 -2.829142)'))) / (select extract(epoch from '2026-06-12 14:26:27'::timestamp) - extract(epoch from '2026-06-12 14:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034235 -2.829049)'), GeomFromEWKT('SRID=4674;POINT (-40.034239 -2.829142)'))) / (select extract(epoch from '2026-06-12 14:26:27'::timestamp) - extract(epoch from '2026-06-12 14:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034245 -2.829227)', '2026-06-12 14:26:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034239 -2.829142)'), GeomFromEWKT('SRID=4674;POINT (-40.034245 -2.829227)'))) / (select extract(epoch from '2026-06-12 14:26:34'::timestamp) - extract(epoch from '2026-06-12 14:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034239 -2.829142)'), GeomFromEWKT('SRID=4674;POINT (-40.034245 -2.829227)'))) / (select extract(epoch from '2026-06-12 14:26:34'::timestamp) - extract(epoch from '2026-06-12 14:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034233 -2.829329)', '2026-06-12 14:26:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034245 -2.829227)'), GeomFromEWKT('SRID=4674;POINT (-40.034233 -2.829329)'))) / (select extract(epoch from '2026-06-12 14:26:43'::timestamp) - extract(epoch from '2026-06-12 14:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034245 -2.829227)'), GeomFromEWKT('SRID=4674;POINT (-40.034233 -2.829329)'))) / (select extract(epoch from '2026-06-12 14:26:43'::timestamp) - extract(epoch from '2026-06-12 14:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034217 -2.8294)', '2026-06-12 14:26:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034233 -2.829329)'), GeomFromEWKT('SRID=4674;POINT (-40.034217 -2.8294)'))) / (select extract(epoch from '2026-06-12 14:26:50'::timestamp) - extract(epoch from '2026-06-12 14:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034233 -2.829329)'), GeomFromEWKT('SRID=4674;POINT (-40.034217 -2.8294)'))) / (select extract(epoch from '2026-06-12 14:26:50'::timestamp) - extract(epoch from '2026-06-12 14:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034201 -2.829471)', '2026-06-12 14:26:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034217 -2.8294)'), GeomFromEWKT('SRID=4674;POINT (-40.034201 -2.829471)'))) / (select extract(epoch from '2026-06-12 14:26:58'::timestamp) - extract(epoch from '2026-06-12 14:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034217 -2.8294)'), GeomFromEWKT('SRID=4674;POINT (-40.034201 -2.829471)'))) / (select extract(epoch from '2026-06-12 14:26:58'::timestamp) - extract(epoch from '2026-06-12 14:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034186 -2.829548)', '2026-06-12 14:27:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034201 -2.829471)'), GeomFromEWKT('SRID=4674;POINT (-40.034186 -2.829548)'))) / (select extract(epoch from '2026-06-12 14:27:06'::timestamp) - extract(epoch from '2026-06-12 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034201 -2.829471)'), GeomFromEWKT('SRID=4674;POINT (-40.034186 -2.829548)'))) / (select extract(epoch from '2026-06-12 14:27:06'::timestamp) - extract(epoch from '2026-06-12 14:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034165 -2.829629)', '2026-06-12 14:27:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034186 -2.829548)'), GeomFromEWKT('SRID=4674;POINT (-40.034165 -2.829629)'))) / (select extract(epoch from '2026-06-12 14:27:14'::timestamp) - extract(epoch from '2026-06-12 14:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034186 -2.829548)'), GeomFromEWKT('SRID=4674;POINT (-40.034165 -2.829629)'))) / (select extract(epoch from '2026-06-12 14:27:14'::timestamp) - extract(epoch from '2026-06-12 14:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034145 -2.829724)', '2026-06-12 14:27:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034165 -2.829629)'), GeomFromEWKT('SRID=4674;POINT (-40.034145 -2.829724)'))) / (select extract(epoch from '2026-06-12 14:27:22'::timestamp) - extract(epoch from '2026-06-12 14:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034165 -2.829629)'), GeomFromEWKT('SRID=4674;POINT (-40.034145 -2.829724)'))) / (select extract(epoch from '2026-06-12 14:27:22'::timestamp) - extract(epoch from '2026-06-12 14:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034097 -2.829809)', '2026-06-12 14:27:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034145 -2.829724)'), GeomFromEWKT('SRID=4674;POINT (-40.034097 -2.829809)'))) / (select extract(epoch from '2026-06-12 14:27:31'::timestamp) - extract(epoch from '2026-06-12 14:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034145 -2.829724)'), GeomFromEWKT('SRID=4674;POINT (-40.034097 -2.829809)'))) / (select extract(epoch from '2026-06-12 14:27:31'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034046 -2.829863)', '2026-06-12 14:27:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034097 -2.829809)'), GeomFromEWKT('SRID=4674;POINT (-40.034046 -2.829863)'))) / (select extract(epoch from '2026-06-12 14:27:40'::timestamp) - extract(epoch from '2026-06-12 14:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034097 -2.829809)'), GeomFromEWKT('SRID=4674;POINT (-40.034046 -2.829863)'))) / (select extract(epoch from '2026-06-12 14:27:40'::timestamp) - extract(epoch from '2026-06-12 14:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034012 -2.829934)', '2026-06-12 14:27:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034046 -2.829863)'), GeomFromEWKT('SRID=4674;POINT (-40.034012 -2.829934)'))) / (select extract(epoch from '2026-06-12 14:27:48'::timestamp) - extract(epoch from '2026-06-12 14:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034046 -2.829863)'), GeomFromEWKT('SRID=4674;POINT (-40.034012 -2.829934)'))) / (select extract(epoch from '2026-06-12 14:27:48'::timestamp) - extract(epoch from '2026-06-12 14:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033987 -2.82999)', '2026-06-12 14:27:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034012 -2.829934)'), GeomFromEWKT('SRID=4674;POINT (-40.033987 -2.82999)'))) / (select extract(epoch from '2026-06-12 14:27:57'::timestamp) - extract(epoch from '2026-06-12 14:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034012 -2.829934)'), GeomFromEWKT('SRID=4674;POINT (-40.033987 -2.82999)'))) / (select extract(epoch from '2026-06-12 14:27:57'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034018 -2.830101)', '2026-06-12 14:28:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033987 -2.82999)'), GeomFromEWKT('SRID=4674;POINT (-40.034018 -2.830101)'))) / (select extract(epoch from '2026-06-12 14:28:10'::timestamp) - extract(epoch from '2026-06-12 14:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033987 -2.82999)'), GeomFromEWKT('SRID=4674;POINT (-40.034018 -2.830101)'))) / (select extract(epoch from '2026-06-12 14:28:10'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034114 -2.830158)', '2026-06-12 14:28:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034018 -2.830101)'), GeomFromEWKT('SRID=4674;POINT (-40.034114 -2.830158)'))) / (select extract(epoch from '2026-06-12 14:28:20'::timestamp) - extract(epoch from '2026-06-12 14:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034018 -2.830101)'), GeomFromEWKT('SRID=4674;POINT (-40.034114 -2.830158)'))) / (select extract(epoch from '2026-06-12 14:28:20'::timestamp) - extract(epoch from '2026-06-12 14:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034238 -2.830172)', '2026-06-12 14:28:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034114 -2.830158)'), GeomFromEWKT('SRID=4674;POINT (-40.034238 -2.830172)'))) / (select extract(epoch from '2026-06-12 14:28:33'::timestamp) - extract(epoch from '2026-06-12 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034114 -2.830158)'), GeomFromEWKT('SRID=4674;POINT (-40.034238 -2.830172)'))) / (select extract(epoch from '2026-06-12 14:28:33'::timestamp) - extract(epoch from '2026-06-12 14:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034384 -2.830148)', '2026-06-12 14:28:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034238 -2.830172)'), GeomFromEWKT('SRID=4674;POINT (-40.034384 -2.830148)'))) / (select extract(epoch from '2026-06-12 14:28:49'::timestamp) - extract(epoch from '2026-06-12 14:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034238 -2.830172)'), GeomFromEWKT('SRID=4674;POINT (-40.034384 -2.830148)'))) / (select extract(epoch from '2026-06-12 14:28:49'::timestamp) - extract(epoch from '2026-06-12 14:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034529 -2.83014)', '2026-06-12 14:29:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034384 -2.830148)'), GeomFromEWKT('SRID=4674;POINT (-40.034529 -2.83014)'))) / (select extract(epoch from '2026-06-12 14:29:05'::timestamp) - extract(epoch from '2026-06-12 14:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034384 -2.830148)'), GeomFromEWKT('SRID=4674;POINT (-40.034529 -2.83014)'))) / (select extract(epoch from '2026-06-12 14:29:05'::timestamp) - extract(epoch from '2026-06-12 14:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034667 -2.830178)', '2026-06-12 14:29:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034529 -2.83014)'), GeomFromEWKT('SRID=4674;POINT (-40.034667 -2.830178)'))) / (select extract(epoch from '2026-06-12 14:29:22'::timestamp) - extract(epoch from '2026-06-12 14:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034529 -2.83014)'), GeomFromEWKT('SRID=4674;POINT (-40.034667 -2.830178)'))) / (select extract(epoch from '2026-06-12 14:29:22'::timestamp) - extract(epoch from '2026-06-12 14:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034772 -2.83026)', '2026-06-12 14:29:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034667 -2.830178)'), GeomFromEWKT('SRID=4674;POINT (-40.034772 -2.83026)'))) / (select extract(epoch from '2026-06-12 14:29:39'::timestamp) - extract(epoch from '2026-06-12 14:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034667 -2.830178)'), GeomFromEWKT('SRID=4674;POINT (-40.034772 -2.83026)'))) / (select extract(epoch from '2026-06-12 14:29:39'::timestamp) - extract(epoch from '2026-06-12 14:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034835 -2.830306)', '2026-06-12 14:29:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034772 -2.83026)'), GeomFromEWKT('SRID=4674;POINT (-40.034835 -2.830306)'))) / (select extract(epoch from '2026-06-12 14:29:54'::timestamp) - extract(epoch from '2026-06-12 14:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034772 -2.83026)'), GeomFromEWKT('SRID=4674;POINT (-40.034835 -2.830306)'))) / (select extract(epoch from '2026-06-12 14:29:54'::timestamp) - extract(epoch from '2026-06-12 14:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034906 -2.830348)', '2026-06-12 14:30:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034835 -2.830306)'), GeomFromEWKT('SRID=4674;POINT (-40.034906 -2.830348)'))) / (select extract(epoch from '2026-06-12 14:30:11'::timestamp) - extract(epoch from '2026-06-12 14:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034835 -2.830306)'), GeomFromEWKT('SRID=4674;POINT (-40.034906 -2.830348)'))) / (select extract(epoch from '2026-06-12 14:30:11'::timestamp) - extract(epoch from '2026-06-12 14:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034959 -2.830378)', '2026-06-12 14:30:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034906 -2.830348)'), GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.830378)'))) / (select extract(epoch from '2026-06-12 14:30:24'::timestamp) - extract(epoch from '2026-06-12 14:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034906 -2.830348)'), GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.830378)'))) / (select extract(epoch from '2026-06-12 14:30:24'::timestamp) - extract(epoch from '2026-06-12 14:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035031 -2.830412)', '2026-06-12 14:30:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.830378)'), GeomFromEWKT('SRID=4674;POINT (-40.035031 -2.830412)'))) / (select extract(epoch from '2026-06-12 14:30:39'::timestamp) - extract(epoch from '2026-06-12 14:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034959 -2.830378)'), GeomFromEWKT('SRID=4674;POINT (-40.035031 -2.830412)'))) / (select extract(epoch from '2026-06-12 14:30:39'::timestamp) - extract(epoch from '2026-06-12 14:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035096 -2.830429)', '2026-06-12 14:30:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035031 -2.830412)'), GeomFromEWKT('SRID=4674;POINT (-40.035096 -2.830429)'))) / (select extract(epoch from '2026-06-12 14:30:55'::timestamp) - extract(epoch from '2026-06-12 14:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035031 -2.830412)'), GeomFromEWKT('SRID=4674;POINT (-40.035096 -2.830429)'))) / (select extract(epoch from '2026-06-12 14:30:55'::timestamp) - extract(epoch from '2026-06-12 14:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035154 -2.830449)', '2026-06-12 14:31:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035096 -2.830429)'), GeomFromEWKT('SRID=4674;POINT (-40.035154 -2.830449)'))) / (select extract(epoch from '2026-06-12 14:31:08'::timestamp) - extract(epoch from '2026-06-12 14:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035096 -2.830429)'), GeomFromEWKT('SRID=4674;POINT (-40.035154 -2.830449)'))) / (select extract(epoch from '2026-06-12 14:31:08'::timestamp) - extract(epoch from '2026-06-12 14:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035221 -2.830481)', '2026-06-12 14:31:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035154 -2.830449)'), GeomFromEWKT('SRID=4674;POINT (-40.035221 -2.830481)'))) / (select extract(epoch from '2026-06-12 14:31:26'::timestamp) - extract(epoch from '2026-06-12 14:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035154 -2.830449)'), GeomFromEWKT('SRID=4674;POINT (-40.035221 -2.830481)'))) / (select extract(epoch from '2026-06-12 14:31:26'::timestamp) - extract(epoch from '2026-06-12 14:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035293 -2.830488)', '2026-06-12 14:31:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035221 -2.830481)'), GeomFromEWKT('SRID=4674;POINT (-40.035293 -2.830488)'))) / (select extract(epoch from '2026-06-12 14:31:41'::timestamp) - extract(epoch from '2026-06-12 14:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035221 -2.830481)'), GeomFromEWKT('SRID=4674;POINT (-40.035293 -2.830488)'))) / (select extract(epoch from '2026-06-12 14:31:41'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.035339 -2.830513)', '2026-06-12 14:31:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035293 -2.830488)'), GeomFromEWKT('SRID=4674;POINT (-40.035339 -2.830513)'))) / (select extract(epoch from '2026-06-12 14:31:54'::timestamp) - extract(epoch from '2026-06-12 14:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035293 -2.830488)'), GeomFromEWKT('SRID=4674;POINT (-40.035339 -2.830513)'))) / (select extract(epoch from '2026-06-12 14:31:54'::timestamp) - extract(epoch from '2026-06-12 14:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03539 -2.830518)', '2026-06-12 14:32:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035339 -2.830513)'), GeomFromEWKT('SRID=4674;POINT (-40.03539 -2.830518)'))) / (select extract(epoch from '2026-06-12 14:32:08'::timestamp) - extract(epoch from '2026-06-12 14:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035339 -2.830513)'), GeomFromEWKT('SRID=4674;POINT (-40.03539 -2.830518)'))) / (select extract(epoch from '2026-06-12 14:32:08'::timestamp) - extract(epoch from '2026-06-12 14:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035445 -2.830558)', '2026-06-12 14:32:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03539 -2.830518)'), GeomFromEWKT('SRID=4674;POINT (-40.035445 -2.830558)'))) / (select extract(epoch from '2026-06-12 14:32:25'::timestamp) - extract(epoch from '2026-06-12 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03539 -2.830518)'), GeomFromEWKT('SRID=4674;POINT (-40.035445 -2.830558)'))) / (select extract(epoch from '2026-06-12 14:32:25'::timestamp) - extract(epoch from '2026-06-12 14:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035495 -2.830589)', '2026-06-12 14:32:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035445 -2.830558)'), GeomFromEWKT('SRID=4674;POINT (-40.035495 -2.830589)'))) / (select extract(epoch from '2026-06-12 14:32:37'::timestamp) - extract(epoch from '2026-06-12 14:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035445 -2.830558)'), GeomFromEWKT('SRID=4674;POINT (-40.035495 -2.830589)'))) / (select extract(epoch from '2026-06-12 14:32:37'::timestamp) - extract(epoch from '2026-06-12 14:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035562 -2.830621)', '2026-06-12 14:32:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035495 -2.830589)'), GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.830621)'))) / (select extract(epoch from '2026-06-12 14:32:51'::timestamp) - extract(epoch from '2026-06-12 14:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035495 -2.830589)'), GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.830621)'))) / (select extract(epoch from '2026-06-12 14:32:51'::timestamp) - extract(epoch from '2026-06-12 14:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035618 -2.830643)', '2026-06-12 14:33:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.830621)'), GeomFromEWKT('SRID=4674;POINT (-40.035618 -2.830643)'))) / (select extract(epoch from '2026-06-12 14:33:04'::timestamp) - extract(epoch from '2026-06-12 14:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.830621)'), GeomFromEWKT('SRID=4674;POINT (-40.035618 -2.830643)'))) / (select extract(epoch from '2026-06-12 14:33:04'::timestamp) - extract(epoch from '2026-06-12 14:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035662 -2.830656)', '2026-06-12 14:33:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035618 -2.830643)'), GeomFromEWKT('SRID=4674;POINT (-40.035662 -2.830656)'))) / (select extract(epoch from '2026-06-12 14:33:14'::timestamp) - extract(epoch from '2026-06-12 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035618 -2.830643)'), GeomFromEWKT('SRID=4674;POINT (-40.035662 -2.830656)'))) / (select extract(epoch from '2026-06-12 14:33:14'::timestamp) - extract(epoch from '2026-06-12 14:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035704 -2.830674)', '2026-06-12 14:33:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035662 -2.830656)'), GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.830674)'))) / (select extract(epoch from '2026-06-12 14:33:25'::timestamp) - extract(epoch from '2026-06-12 14:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035662 -2.830656)'), GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.830674)'))) / (select extract(epoch from '2026-06-12 14:33:25'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.035789 -2.830716)', '2026-06-12 14:33:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.830674)'), GeomFromEWKT('SRID=4674;POINT (-40.035789 -2.830716)'))) / (select extract(epoch from '2026-06-12 14:33:46'::timestamp) - extract(epoch from '2026-06-12 14:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.830674)'), GeomFromEWKT('SRID=4674;POINT (-40.035789 -2.830716)'))) / (select extract(epoch from '2026-06-12 14:33:46'::timestamp) - extract(epoch from '2026-06-12 14:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035853 -2.83075)', '2026-06-12 14:34:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035789 -2.830716)'), GeomFromEWKT('SRID=4674;POINT (-40.035853 -2.83075)'))) / (select extract(epoch from '2026-06-12 14:34:02'::timestamp) - extract(epoch from '2026-06-12 14:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035789 -2.830716)'), GeomFromEWKT('SRID=4674;POINT (-40.035853 -2.83075)'))) / (select extract(epoch from '2026-06-12 14:34:02'::timestamp) - extract(epoch from '2026-06-12 14:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035952 -2.830789)', '2026-06-12 14:34:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035853 -2.83075)'), GeomFromEWKT('SRID=4674;POINT (-40.035952 -2.830789)'))) / (select extract(epoch from '2026-06-12 14:34:28'::timestamp) - extract(epoch from '2026-06-12 14:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035853 -2.83075)'), GeomFromEWKT('SRID=4674;POINT (-40.035952 -2.830789)'))) / (select extract(epoch from '2026-06-12 14:34:28'::timestamp) - extract(epoch from '2026-06-12 14:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036008 -2.830786)', '2026-06-12 14:34:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035952 -2.830789)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830786)'))) / (select extract(epoch from '2026-06-12 14:34:53'::timestamp) - extract(epoch from '2026-06-12 14:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035952 -2.830789)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830786)'))) / (select extract(epoch from '2026-06-12 14:34:53'::timestamp) - extract(epoch from '2026-06-12 14:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035996 -2.830785)', '2026-06-12 14:35:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830786)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830785)'))) / (select extract(epoch from '2026-06-12 14:35:23'::timestamp) - extract(epoch from '2026-06-12 14:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830786)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830785)'))) / (select extract(epoch from '2026-06-12 14:35:23'::timestamp) - extract(epoch from '2026-06-12 14:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035993 -2.83078)', '2026-06-12 14:35:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830785)'), GeomFromEWKT('SRID=4674;POINT (-40.035993 -2.83078)'))) / (select extract(epoch from '2026-06-12 14:35:58'::timestamp) - extract(epoch from '2026-06-12 14:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830785)'), GeomFromEWKT('SRID=4674;POINT (-40.035993 -2.83078)'))) / (select extract(epoch from '2026-06-12 14:35:58'::timestamp) - extract(epoch from '2026-06-12 14:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035995 -2.830782)', '2026-06-12 14:36:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035993 -2.83078)'), GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.830782)'))) / (select extract(epoch from '2026-06-12 14:36:24'::timestamp) - extract(epoch from '2026-06-12 14:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035993 -2.83078)'), GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.830782)'))) / (select extract(epoch from '2026-06-12 14:36:24'::timestamp) - extract(epoch from '2026-06-12 14:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035995 -2.83079)', '2026-06-12 14:36:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.830782)'), GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.83079)'))) / (select extract(epoch from '2026-06-12 14:36:31'::timestamp) - extract(epoch from '2026-06-12 14:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.830782)'), GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.83079)'))) / (select extract(epoch from '2026-06-12 14:36:31'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036 -2.830807)', '2026-06-12 14:36:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.83079)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:36:50'::timestamp) - extract(epoch from '2026-06-12 14:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035995 -2.83079)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:36:50'::timestamp) - extract(epoch from '2026-06-12 14:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035998 -2.830793)', '2026-06-12 14:37:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830793)'))) / (select extract(epoch from '2026-06-12 14:37:07'::timestamp) - extract(epoch from '2026-06-12 14:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830793)'))) / (select extract(epoch from '2026-06-12 14:37:07'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036004 -2.830778)', '2026-06-12 14:37:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830793)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830778)'))) / (select extract(epoch from '2026-06-12 14:37:27'::timestamp) - extract(epoch from '2026-06-12 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830793)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830778)'))) / (select extract(epoch from '2026-06-12 14:37:27'::timestamp) - extract(epoch from '2026-06-12 14:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035999 -2.830799)', '2026-06-12 14:37:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830778)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830799)'))) / (select extract(epoch from '2026-06-12 14:37:47'::timestamp) - extract(epoch from '2026-06-12 14:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830778)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830799)'))) / (select extract(epoch from '2026-06-12 14:37:47'::timestamp) - extract(epoch from '2026-06-12 14:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036003 -2.830812)', '2026-06-12 14:38:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830799)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830812)'))) / (select extract(epoch from '2026-06-12 14:38:09'::timestamp) - extract(epoch from '2026-06-12 14:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830799)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830812)'))) / (select extract(epoch from '2026-06-12 14:38:09'::timestamp) - extract(epoch from '2026-06-12 14:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035999 -2.830784)', '2026-06-12 14:38:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830812)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830784)'))) / (select extract(epoch from '2026-06-12 14:38:31'::timestamp) - extract(epoch from '2026-06-12 14:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830812)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830784)'))) / (select extract(epoch from '2026-06-12 14:38:31'::timestamp) - extract(epoch from '2026-06-12 14:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035997 -2.830781)', '2026-06-12 14:38:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830784)'), GeomFromEWKT('SRID=4674;POINT (-40.035997 -2.830781)'))) / (select extract(epoch from '2026-06-12 14:38:49'::timestamp) - extract(epoch from '2026-06-12 14:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830784)'), GeomFromEWKT('SRID=4674;POINT (-40.035997 -2.830781)'))) / (select extract(epoch from '2026-06-12 14:38:49'::timestamp) - extract(epoch from '2026-06-12 14:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036003 -2.830803)', '2026-06-12 14:39:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035997 -2.830781)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830803)'))) / (select extract(epoch from '2026-06-12 14:39:07'::timestamp) - extract(epoch from '2026-06-12 14:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035997 -2.830781)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830803)'))) / (select extract(epoch from '2026-06-12 14:39:07'::timestamp) - extract(epoch from '2026-06-12 14:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035998 -2.830795)', '2026-06-12 14:39:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830803)'), GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830795)'))) / (select extract(epoch from '2026-06-12 14:39:32'::timestamp) - extract(epoch from '2026-06-12 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830803)'), GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830795)'))) / (select extract(epoch from '2026-06-12 14:39:32'::timestamp) - extract(epoch from '2026-06-12 14:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036 -2.830788)', '2026-06-12 14:39:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830795)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830788)'))) / (select extract(epoch from '2026-06-12 14:39:53'::timestamp) - extract(epoch from '2026-06-12 14:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035998 -2.830795)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830788)'))) / (select extract(epoch from '2026-06-12 14:39:53'::timestamp) - extract(epoch from '2026-06-12 14:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036001 -2.830785)', '2026-06-12 14:40:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830788)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830785)'))) / (select extract(epoch from '2026-06-12 14:40:04'::timestamp) - extract(epoch from '2026-06-12 14:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830788)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830785)'))) / (select extract(epoch from '2026-06-12 14:40:04'::timestamp) - extract(epoch from '2026-06-12 14:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036004 -2.830787)', '2026-06-12 14:40:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830785)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830787)'))) / (select extract(epoch from '2026-06-12 14:40:19'::timestamp) - extract(epoch from '2026-06-12 14:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830785)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830787)'))) / (select extract(epoch from '2026-06-12 14:40:19'::timestamp) - extract(epoch from '2026-06-12 14:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036002 -2.8308)', '2026-06-12 14:40:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830787)'), GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:40:36'::timestamp) - extract(epoch from '2026-06-12 14:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830787)'), GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:40:36'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036005 -2.830797)', '2026-06-12 14:40:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830797)'))) / (select extract(epoch from '2026-06-12 14:40:51'::timestamp) - extract(epoch from '2026-06-12 14:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830797)'))) / (select extract(epoch from '2026-06-12 14:40:51'::timestamp) - extract(epoch from '2026-06-12 14:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036005 -2.83078)', '2026-06-12 14:41:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830797)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.83078)'))) / (select extract(epoch from '2026-06-12 14:41:10'::timestamp) - extract(epoch from '2026-06-12 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830797)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.83078)'))) / (select extract(epoch from '2026-06-12 14:41:10'::timestamp) - extract(epoch from '2026-06-12 14:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036009 -2.830787)', '2026-06-12 14:41:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.83078)'), GeomFromEWKT('SRID=4674;POINT (-40.036009 -2.830787)'))) / (select extract(epoch from '2026-06-12 14:41:22'::timestamp) - extract(epoch from '2026-06-12 14:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.83078)'), GeomFromEWKT('SRID=4674;POINT (-40.036009 -2.830787)'))) / (select extract(epoch from '2026-06-12 14:41:22'::timestamp) - extract(epoch from '2026-06-12 14:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036013 -2.8308)', '2026-06-12 14:41:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036009 -2.830787)'), GeomFromEWKT('SRID=4674;POINT (-40.036013 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:41:37'::timestamp) - extract(epoch from '2026-06-12 14:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036009 -2.830787)'), GeomFromEWKT('SRID=4674;POINT (-40.036013 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:41:37'::timestamp) - extract(epoch from '2026-06-12 14:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036006 -2.830792)', '2026-06-12 14:41:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036013 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830792)'))) / (select extract(epoch from '2026-06-12 14:41:50'::timestamp) - extract(epoch from '2026-06-12 14:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036013 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830792)'))) / (select extract(epoch from '2026-06-12 14:41:50'::timestamp) - extract(epoch from '2026-06-12 14:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036004 -2.830765)', '2026-06-12 14:42:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830792)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830765)'))) / (select extract(epoch from '2026-06-12 14:42:13'::timestamp) - extract(epoch from '2026-06-12 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830792)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830765)'))) / (select extract(epoch from '2026-06-12 14:42:13'::timestamp) - extract(epoch from '2026-06-12 14:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036003 -2.830775)', '2026-06-12 14:42:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830765)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830775)'))) / (select extract(epoch from '2026-06-12 14:42:21'::timestamp) - extract(epoch from '2026-06-12 14:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830765)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830775)'))) / (select extract(epoch from '2026-06-12 14:42:21'::timestamp) - extract(epoch from '2026-06-12 14:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036008 -2.8308)', '2026-06-12 14:42:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830775)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:42:38'::timestamp) - extract(epoch from '2026-06-12 14:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830775)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:42:38'::timestamp) - extract(epoch from '2026-06-12 14:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036006 -2.830802)', '2026-06-12 14:42:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830802)'))) / (select extract(epoch from '2026-06-12 14:42:52'::timestamp) - extract(epoch from '2026-06-12 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830802)'))) / (select extract(epoch from '2026-06-12 14:42:52'::timestamp) - extract(epoch from '2026-06-12 14:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036007 -2.830803)', '2026-06-12 14:43:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830802)'), GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830803)'))) / (select extract(epoch from '2026-06-12 14:43:09'::timestamp) - extract(epoch from '2026-06-12 14:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.830802)'), GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830803)'))) / (select extract(epoch from '2026-06-12 14:43:09'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036005 -2.830807)', '2026-06-12 14:43:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830803)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:43:28'::timestamp) - extract(epoch from '2026-06-12 14:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830803)'), GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:43:28'::timestamp) - extract(epoch from '2026-06-12 14:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036011 -2.83081)', '2026-06-12 14:43:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.036011 -2.83081)'))) / (select extract(epoch from '2026-06-12 14:43:42'::timestamp) - extract(epoch from '2026-06-12 14:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036005 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.036011 -2.83081)'))) / (select extract(epoch from '2026-06-12 14:43:42'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036012 -2.830808)', '2026-06-12 14:44:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036011 -2.83081)'), GeomFromEWKT('SRID=4674;POINT (-40.036012 -2.830808)'))) / (select extract(epoch from '2026-06-12 14:44:01'::timestamp) - extract(epoch from '2026-06-12 14:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036011 -2.83081)'), GeomFromEWKT('SRID=4674;POINT (-40.036012 -2.830808)'))) / (select extract(epoch from '2026-06-12 14:44:01'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036017 -2.830805)', '2026-06-12 14:44:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036012 -2.830808)'), GeomFromEWKT('SRID=4674;POINT (-40.036017 -2.830805)'))) / (select extract(epoch from '2026-06-12 14:44:13'::timestamp) - extract(epoch from '2026-06-12 14:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036012 -2.830808)'), GeomFromEWKT('SRID=4674;POINT (-40.036017 -2.830805)'))) / (select extract(epoch from '2026-06-12 14:44:13'::timestamp) - extract(epoch from '2026-06-12 14:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036022 -2.830807)', '2026-06-12 14:44:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036017 -2.830805)'), GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:44:26'::timestamp) - extract(epoch from '2026-06-12 14:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036017 -2.830805)'), GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830807)'))) / (select extract(epoch from '2026-06-12 14:44:26'::timestamp) - extract(epoch from '2026-06-12 14:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036022 -2.830802)', '2026-06-12 14:44:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830802)'))) / (select extract(epoch from '2026-06-12 14:44:34'::timestamp) - extract(epoch from '2026-06-12 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830807)'), GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830802)'))) / (select extract(epoch from '2026-06-12 14:44:34'::timestamp) - extract(epoch from '2026-06-12 14:44:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036019 -2.8308)', '2026-06-12 14:44:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830802)'), GeomFromEWKT('SRID=4674;POINT (-40.036019 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:44:45'::timestamp) - extract(epoch from '2026-06-12 14:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036022 -2.830802)'), GeomFromEWKT('SRID=4674;POINT (-40.036019 -2.8308)'))) / (select extract(epoch from '2026-06-12 14:44:45'::timestamp) - extract(epoch from '2026-06-12 14:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036024 -2.830806)', '2026-06-12 14:45:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036019 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036024 -2.830806)'))) / (select extract(epoch from '2026-06-12 14:45:00'::timestamp) - extract(epoch from '2026-06-12 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036019 -2.8308)'), GeomFromEWKT('SRID=4674;POINT (-40.036024 -2.830806)'))) / (select extract(epoch from '2026-06-12 14:45:00'::timestamp) - extract(epoch from '2026-06-12 14:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036014 -2.830815)', '2026-06-12 14:45:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036024 -2.830806)'), GeomFromEWKT('SRID=4674;POINT (-40.036014 -2.830815)'))) / (select extract(epoch from '2026-06-12 14:45:14'::timestamp) - extract(epoch from '2026-06-12 14:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036024 -2.830806)'), GeomFromEWKT('SRID=4674;POINT (-40.036014 -2.830815)'))) / (select extract(epoch from '2026-06-12 14:45:14'::timestamp) - extract(epoch from '2026-06-12 14:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036004 -2.830805)', '2026-06-12 14:45:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036014 -2.830815)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830805)'))) / (select extract(epoch from '2026-06-12 14:45:25'::timestamp) - extract(epoch from '2026-06-12 14:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036014 -2.830815)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830805)'))) / (select extract(epoch from '2026-06-12 14:45:25'::timestamp) - extract(epoch from '2026-06-12 14:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036001 -2.830798)', '2026-06-12 14:45:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830805)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830798)'))) / (select extract(epoch from '2026-06-12 14:45:33'::timestamp) - extract(epoch from '2026-06-12 14:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830805)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830798)'))) / (select extract(epoch from '2026-06-12 14:45:33'::timestamp) - extract(epoch from '2026-06-12 14:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036001 -2.830799)', '2026-06-12 14:45:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830798)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830799)'))) / (select extract(epoch from '2026-06-12 14:45:47'::timestamp) - extract(epoch from '2026-06-12 14:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830798)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830799)'))) / (select extract(epoch from '2026-06-12 14:45:47'::timestamp) - extract(epoch from '2026-06-12 14:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035999 -2.830809)', '2026-06-12 14:45:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830799)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830809)'))) / (select extract(epoch from '2026-06-12 14:45:55'::timestamp) - extract(epoch from '2026-06-12 14:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830799)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830809)'))) / (select extract(epoch from '2026-06-12 14:45:55'::timestamp) - extract(epoch from '2026-06-12 14:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036 -2.830817)', '2026-06-12 14:46:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830809)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830817)'))) / (select extract(epoch from '2026-06-12 14:46:09'::timestamp) - extract(epoch from '2026-06-12 14:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830809)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830817)'))) / (select extract(epoch from '2026-06-12 14:46:09'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036 -2.830819)', '2026-06-12 14:46:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830817)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830819)'))) / (select extract(epoch from '2026-06-12 14:46:18'::timestamp) - extract(epoch from '2026-06-12 14:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830817)'), GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830819)'))) / (select extract(epoch from '2026-06-12 14:46:18'::timestamp) - extract(epoch from '2026-06-12 14:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035999 -2.830818)', '2026-06-12 14:46:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830819)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830818)'))) / (select extract(epoch from '2026-06-12 14:46:29'::timestamp) - extract(epoch from '2026-06-12 14:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036 -2.830819)'), GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830818)'))) / (select extract(epoch from '2026-06-12 14:46:29'::timestamp) - extract(epoch from '2026-06-12 14:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035996 -2.830815)', '2026-06-12 14:46:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830818)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830815)'))) / (select extract(epoch from '2026-06-12 14:46:43'::timestamp) - extract(epoch from '2026-06-12 14:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035999 -2.830818)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830815)'))) / (select extract(epoch from '2026-06-12 14:46:43'::timestamp) - extract(epoch from '2026-06-12 14:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035992 -2.830816)', '2026-06-12 14:46:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830815)'), GeomFromEWKT('SRID=4674;POINT (-40.035992 -2.830816)'))) / (select extract(epoch from '2026-06-12 14:46:54'::timestamp) - extract(epoch from '2026-06-12 14:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830815)'), GeomFromEWKT('SRID=4674;POINT (-40.035992 -2.830816)'))) / (select extract(epoch from '2026-06-12 14:46:54'::timestamp) - extract(epoch from '2026-06-12 14:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035989 -2.830817)', '2026-06-12 14:47:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035992 -2.830816)'), GeomFromEWKT('SRID=4674;POINT (-40.035989 -2.830817)'))) / (select extract(epoch from '2026-06-12 14:47:06'::timestamp) - extract(epoch from '2026-06-12 14:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035992 -2.830816)'), GeomFromEWKT('SRID=4674;POINT (-40.035989 -2.830817)'))) / (select extract(epoch from '2026-06-12 14:47:06'::timestamp) - extract(epoch from '2026-06-12 14:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035996 -2.830831)', '2026-06-12 14:47:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035989 -2.830817)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830831)'))) / (select extract(epoch from '2026-06-12 14:47:15'::timestamp) - extract(epoch from '2026-06-12 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035989 -2.830817)'), GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830831)'))) / (select extract(epoch from '2026-06-12 14:47:15'::timestamp) - extract(epoch from '2026-06-12 14:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03601 -2.830838)', '2026-06-12 14:47:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830831)'), GeomFromEWKT('SRID=4674;POINT (-40.03601 -2.830838)'))) / (select extract(epoch from '2026-06-12 14:47:30'::timestamp) - extract(epoch from '2026-06-12 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035996 -2.830831)'), GeomFromEWKT('SRID=4674;POINT (-40.03601 -2.830838)'))) / (select extract(epoch from '2026-06-12 14:47:30'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036008 -2.830829)', '2026-06-12 14:47:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03601 -2.830838)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:47:48'::timestamp) - extract(epoch from '2026-06-12 14:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03601 -2.830838)'), GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:47:48'::timestamp) - extract(epoch from '2026-06-12 14:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036004 -2.830827)', '2026-06-12 14:48:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830827)'))) / (select extract(epoch from '2026-06-12 14:48:00'::timestamp) - extract(epoch from '2026-06-12 14:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036008 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830827)'))) / (select extract(epoch from '2026-06-12 14:48:00'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.036001 -2.83082)', '2026-06-12 14:48:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830827)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.83082)'))) / (select extract(epoch from '2026-06-12 14:48:12'::timestamp) - extract(epoch from '2026-06-12 14:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036004 -2.830827)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.83082)'))) / (select extract(epoch from '2026-06-12 14:48:12'::timestamp) - extract(epoch from '2026-06-12 14:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036002 -2.830829)', '2026-06-12 14:48:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.83082)'), GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:48:27'::timestamp) - extract(epoch from '2026-06-12 14:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.83082)'), GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:48:27'::timestamp) - extract(epoch from '2026-06-12 14:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036001 -2.830829)', '2026-06-12 14:48:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:48:39'::timestamp) - extract(epoch from '2026-06-12 14:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036002 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830829)'))) / (select extract(epoch from '2026-06-12 14:48:39'::timestamp) - extract(epoch from '2026-06-12 14:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036003 -2.830833)', '2026-06-12 14:48:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830833)'))) / (select extract(epoch from '2026-06-12 14:48:53'::timestamp) - extract(epoch from '2026-06-12 14:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830829)'), GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830833)'))) / (select extract(epoch from '2026-06-12 14:48:53'::timestamp) - extract(epoch from '2026-06-12 14:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036007 -2.830841)', '2026-06-12 14:49:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830833)'), GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830841)'))) / (select extract(epoch from '2026-06-12 14:49:05'::timestamp) - extract(epoch from '2026-06-12 14:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036003 -2.830833)'), GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830841)'))) / (select extract(epoch from '2026-06-12 14:49:05'::timestamp) - extract(epoch from '2026-06-12 14:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036006 -2.83085)', '2026-06-12 14:49:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830841)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.83085)'))) / (select extract(epoch from '2026-06-12 14:49:19'::timestamp) - extract(epoch from '2026-06-12 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036007 -2.830841)'), GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.83085)'))) / (select extract(epoch from '2026-06-12 14:49:19'::timestamp) - extract(epoch from '2026-06-12 14:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036001 -2.830851)', '2026-06-12 14:49:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.83085)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830851)'))) / (select extract(epoch from '2026-06-12 14:49:30'::timestamp) - extract(epoch from '2026-06-12 14:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036006 -2.83085)'), GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830851)'))) / (select extract(epoch from '2026-06-12 14:49:30'::timestamp) - extract(epoch from '2026-06-12 14:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035954 -2.830834)', '2026-06-12 14:49:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830851)'), GeomFromEWKT('SRID=4674;POINT (-40.035954 -2.830834)'))) / (select extract(epoch from '2026-06-12 14:49:39'::timestamp) - extract(epoch from '2026-06-12 14:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036001 -2.830851)'), GeomFromEWKT('SRID=4674;POINT (-40.035954 -2.830834)'))) / (select extract(epoch from '2026-06-12 14:49:39'::timestamp) - extract(epoch from '2026-06-12 14:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035916 -2.830804)', '2026-06-12 14:49:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035954 -2.830834)'), GeomFromEWKT('SRID=4674;POINT (-40.035916 -2.830804)'))) / (select extract(epoch from '2026-06-12 14:49:55'::timestamp) - extract(epoch from '2026-06-12 14:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035954 -2.830834)'), GeomFromEWKT('SRID=4674;POINT (-40.035916 -2.830804)'))) / (select extract(epoch from '2026-06-12 14:49:55'::timestamp) - extract(epoch from '2026-06-12 14:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035889 -2.830795)', '2026-06-12 14:50:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035916 -2.830804)'), GeomFromEWKT('SRID=4674;POINT (-40.035889 -2.830795)'))) / (select extract(epoch from '2026-06-12 14:50:08'::timestamp) - extract(epoch from '2026-06-12 14:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035916 -2.830804)'), GeomFromEWKT('SRID=4674;POINT (-40.035889 -2.830795)'))) / (select extract(epoch from '2026-06-12 14:50:08'::timestamp) - extract(epoch from '2026-06-12 14:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035855 -2.830685)', '2026-06-12 14:50:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035889 -2.830795)'), GeomFromEWKT('SRID=4674;POINT (-40.035855 -2.830685)'))) / (select extract(epoch from '2026-06-12 14:50:17'::timestamp) - extract(epoch from '2026-06-12 14:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035889 -2.830795)'), GeomFromEWKT('SRID=4674;POINT (-40.035855 -2.830685)'))) / (select extract(epoch from '2026-06-12 14:50:17'::timestamp) - extract(epoch from '2026-06-12 14:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035864 -2.830508)', '2026-06-12 14:50:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035855 -2.830685)'), GeomFromEWKT('SRID=4674;POINT (-40.035864 -2.830508)'))) / (select extract(epoch from '2026-06-12 14:50:26'::timestamp) - extract(epoch from '2026-06-12 14:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035855 -2.830685)'), GeomFromEWKT('SRID=4674;POINT (-40.035864 -2.830508)'))) / (select extract(epoch from '2026-06-12 14:50:26'::timestamp) - extract(epoch from '2026-06-12 14:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035854 -2.830285)', '2026-06-12 14:50:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035864 -2.830508)'), GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.830285)'))) / (select extract(epoch from '2026-06-12 14:50:36'::timestamp) - extract(epoch from '2026-06-12 14:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035864 -2.830508)'), GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.830285)'))) / (select extract(epoch from '2026-06-12 14:50:36'::timestamp) - extract(epoch from '2026-06-12 14:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035786 -2.830101)', '2026-06-12 14:50:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.830285)'), GeomFromEWKT('SRID=4674;POINT (-40.035786 -2.830101)'))) / (select extract(epoch from '2026-06-12 14:50:46'::timestamp) - extract(epoch from '2026-06-12 14:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.830285)'), GeomFromEWKT('SRID=4674;POINT (-40.035786 -2.830101)'))) / (select extract(epoch from '2026-06-12 14:50:46'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.035762 -2.829914)', '2026-06-12 14:50:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035786 -2.830101)'), GeomFromEWKT('SRID=4674;POINT (-40.035762 -2.829914)'))) / (select extract(epoch from '2026-06-12 14:50:56'::timestamp) - extract(epoch from '2026-06-12 14:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035786 -2.830101)'), GeomFromEWKT('SRID=4674;POINT (-40.035762 -2.829914)'))) / (select extract(epoch from '2026-06-12 14:50:56'::timestamp) - extract(epoch from '2026-06-12 14:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035743 -2.829812)', '2026-06-12 14:51:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035762 -2.829914)'), GeomFromEWKT('SRID=4674;POINT (-40.035743 -2.829812)'))) / (select extract(epoch from '2026-06-12 14:51:04'::timestamp) - extract(epoch from '2026-06-12 14:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035762 -2.829914)'), GeomFromEWKT('SRID=4674;POINT (-40.035743 -2.829812)'))) / (select extract(epoch from '2026-06-12 14:51:04'::timestamp) - extract(epoch from '2026-06-12 14:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035715 -2.829812)', '2026-06-12 14:51:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035743 -2.829812)'), GeomFromEWKT('SRID=4674;POINT (-40.035715 -2.829812)'))) / (select extract(epoch from '2026-06-12 14:51:12'::timestamp) - extract(epoch from '2026-06-12 14:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035743 -2.829812)'), GeomFromEWKT('SRID=4674;POINT (-40.035715 -2.829812)'))) / (select extract(epoch from '2026-06-12 14:51:12'::timestamp) - extract(epoch from '2026-06-12 14:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03566 -2.829852)', '2026-06-12 14:51:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035715 -2.829812)'), GeomFromEWKT('SRID=4674;POINT (-40.03566 -2.829852)'))) / (select extract(epoch from '2026-06-12 14:51:21'::timestamp) - extract(epoch from '2026-06-12 14:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035715 -2.829812)'), GeomFromEWKT('SRID=4674;POINT (-40.03566 -2.829852)'))) / (select extract(epoch from '2026-06-12 14:51:21'::timestamp) - extract(epoch from '2026-06-12 14:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035625 -2.829818)', '2026-06-12 14:51:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03566 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.035625 -2.829818)'))) / (select extract(epoch from '2026-06-12 14:51:29'::timestamp) - extract(epoch from '2026-06-12 14:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03566 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.035625 -2.829818)'))) / (select extract(epoch from '2026-06-12 14:51:29'::timestamp) - extract(epoch from '2026-06-12 14:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035653 -2.829738)', '2026-06-12 14:51:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035625 -2.829818)'), GeomFromEWKT('SRID=4674;POINT (-40.035653 -2.829738)'))) / (select extract(epoch from '2026-06-12 14:51:37'::timestamp) - extract(epoch from '2026-06-12 14:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035625 -2.829818)'), GeomFromEWKT('SRID=4674;POINT (-40.035653 -2.829738)'))) / (select extract(epoch from '2026-06-12 14:51:37'::timestamp) - extract(epoch from '2026-06-12 14:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035694 -2.829661)', '2026-06-12 14:51:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035653 -2.829738)'), GeomFromEWKT('SRID=4674;POINT (-40.035694 -2.829661)'))) / (select extract(epoch from '2026-06-12 14:51:44'::timestamp) - extract(epoch from '2026-06-12 14:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035653 -2.829738)'), GeomFromEWKT('SRID=4674;POINT (-40.035694 -2.829661)'))) / (select extract(epoch from '2026-06-12 14:51:44'::timestamp) - extract(epoch from '2026-06-12 14:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035716 -2.829609)', '2026-06-12 14:51:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035694 -2.829661)'), GeomFromEWKT('SRID=4674;POINT (-40.035716 -2.829609)'))) / (select extract(epoch from '2026-06-12 14:51:50'::timestamp) - extract(epoch from '2026-06-12 14:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035694 -2.829661)'), GeomFromEWKT('SRID=4674;POINT (-40.035716 -2.829609)'))) / (select extract(epoch from '2026-06-12 14:51:50'::timestamp) - extract(epoch from '2026-06-12 14:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035728 -2.82959)', '2026-06-12 14:51:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035716 -2.829609)'), GeomFromEWKT('SRID=4674;POINT (-40.035728 -2.82959)'))) / (select extract(epoch from '2026-06-12 14:51:52'::timestamp) - extract(epoch from '2026-06-12 14:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035716 -2.829609)'), GeomFromEWKT('SRID=4674;POINT (-40.035728 -2.82959)'))) / (select extract(epoch from '2026-06-12 14:51:52'::timestamp) - extract(epoch from '2026-06-12 14:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035763 -2.829539)', '2026-06-12 14:51:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035728 -2.82959)'), GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.829539)'))) / (select extract(epoch from '2026-06-12 14:51:58'::timestamp) - extract(epoch from '2026-06-12 14:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035728 -2.82959)'), GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.829539)'))) / (select extract(epoch from '2026-06-12 14:51:58'::timestamp) - extract(epoch from '2026-06-12 14:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035774 -2.829522)', '2026-06-12 14:52:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.829539)'), GeomFromEWKT('SRID=4674;POINT (-40.035774 -2.829522)'))) / (select extract(epoch from '2026-06-12 14:52:00'::timestamp) - extract(epoch from '2026-06-12 14:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.829539)'), GeomFromEWKT('SRID=4674;POINT (-40.035774 -2.829522)'))) / (select extract(epoch from '2026-06-12 14:52:00'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.035811 -2.829443)', '2026-06-12 14:52:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035774 -2.829522)'), GeomFromEWKT('SRID=4674;POINT (-40.035811 -2.829443)'))) / (select extract(epoch from '2026-06-12 14:52:10'::timestamp) - extract(epoch from '2026-06-12 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035774 -2.829522)'), GeomFromEWKT('SRID=4674;POINT (-40.035811 -2.829443)'))) / (select extract(epoch from '2026-06-12 14:52:10'::timestamp) - extract(epoch from '2026-06-12 14:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03585 -2.829372)', '2026-06-12 14:52:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035811 -2.829443)'), GeomFromEWKT('SRID=4674;POINT (-40.03585 -2.829372)'))) / (select extract(epoch from '2026-06-12 14:52:20'::timestamp) - extract(epoch from '2026-06-12 14:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035811 -2.829443)'), GeomFromEWKT('SRID=4674;POINT (-40.03585 -2.829372)'))) / (select extract(epoch from '2026-06-12 14:52:20'::timestamp) - extract(epoch from '2026-06-12 14:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035872 -2.829308)', '2026-06-12 14:52:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03585 -2.829372)'), GeomFromEWKT('SRID=4674;POINT (-40.035872 -2.829308)'))) / (select extract(epoch from '2026-06-12 14:52:29'::timestamp) - extract(epoch from '2026-06-12 14:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03585 -2.829372)'), GeomFromEWKT('SRID=4674;POINT (-40.035872 -2.829308)'))) / (select extract(epoch from '2026-06-12 14:52:29'::timestamp) - extract(epoch from '2026-06-12 14:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035919 -2.829262)', '2026-06-12 14:52:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035872 -2.829308)'), GeomFromEWKT('SRID=4674;POINT (-40.035919 -2.829262)'))) / (select extract(epoch from '2026-06-12 14:52:37'::timestamp) - extract(epoch from '2026-06-12 14:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035872 -2.829308)'), GeomFromEWKT('SRID=4674;POINT (-40.035919 -2.829262)'))) / (select extract(epoch from '2026-06-12 14:52:37'::timestamp) - extract(epoch from '2026-06-12 14:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035933 -2.829202)', '2026-06-12 14:52:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035919 -2.829262)'), GeomFromEWKT('SRID=4674;POINT (-40.035933 -2.829202)'))) / (select extract(epoch from '2026-06-12 14:52:45'::timestamp) - extract(epoch from '2026-06-12 14:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035919 -2.829262)'), GeomFromEWKT('SRID=4674;POINT (-40.035933 -2.829202)'))) / (select extract(epoch from '2026-06-12 14:52:45'::timestamp) - extract(epoch from '2026-06-12 14:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035936 -2.829129)', '2026-06-12 14:52:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035933 -2.829202)'), GeomFromEWKT('SRID=4674;POINT (-40.035936 -2.829129)'))) / (select extract(epoch from '2026-06-12 14:52:57'::timestamp) - extract(epoch from '2026-06-12 14:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035933 -2.829202)'), GeomFromEWKT('SRID=4674;POINT (-40.035936 -2.829129)'))) / (select extract(epoch from '2026-06-12 14:52:57'::timestamp) - extract(epoch from '2026-06-12 14:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035955 -2.829036)', '2026-06-12 14:53:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035936 -2.829129)'), GeomFromEWKT('SRID=4674;POINT (-40.035955 -2.829036)'))) / (select extract(epoch from '2026-06-12 14:53:13'::timestamp) - extract(epoch from '2026-06-12 14:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035936 -2.829129)'), GeomFromEWKT('SRID=4674;POINT (-40.035955 -2.829036)'))) / (select extract(epoch from '2026-06-12 14:53:13'::timestamp) - extract(epoch from '2026-06-12 14:52:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035921 -2.828928)', '2026-06-12 14:53:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035955 -2.829036)'), GeomFromEWKT('SRID=4674;POINT (-40.035921 -2.828928)'))) / (select extract(epoch from '2026-06-12 14:53:32'::timestamp) - extract(epoch from '2026-06-12 14:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035955 -2.829036)'), GeomFromEWKT('SRID=4674;POINT (-40.035921 -2.828928)'))) / (select extract(epoch from '2026-06-12 14:53:32'::timestamp) - extract(epoch from '2026-06-12 14:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035841 -2.828816)', '2026-06-12 14:53:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035921 -2.828928)'), GeomFromEWKT('SRID=4674;POINT (-40.035841 -2.828816)'))) / (select extract(epoch from '2026-06-12 14:53:49'::timestamp) - extract(epoch from '2026-06-12 14:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035921 -2.828928)'), GeomFromEWKT('SRID=4674;POINT (-40.035841 -2.828816)'))) / (select extract(epoch from '2026-06-12 14:53:49'::timestamp) - extract(epoch from '2026-06-12 14:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035745 -2.828792)', '2026-06-12 14:54:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035841 -2.828816)'), GeomFromEWKT('SRID=4674;POINT (-40.035745 -2.828792)'))) / (select extract(epoch from '2026-06-12 14:54:07'::timestamp) - extract(epoch from '2026-06-12 14:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035841 -2.828816)'), GeomFromEWKT('SRID=4674;POINT (-40.035745 -2.828792)'))) / (select extract(epoch from '2026-06-12 14:54:07'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.03565 -2.828796)', '2026-06-12 14:54:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035745 -2.828792)'), GeomFromEWKT('SRID=4674;POINT (-40.03565 -2.828796)'))) / (select extract(epoch from '2026-06-12 14:54:21'::timestamp) - extract(epoch from '2026-06-12 14:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035745 -2.828792)'), GeomFromEWKT('SRID=4674;POINT (-40.03565 -2.828796)'))) / (select extract(epoch from '2026-06-12 14:54:21'::timestamp) - extract(epoch from '2026-06-12 14:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035562 -2.828807)', '2026-06-12 14:54:38', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03565 -2.828796)'), GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.828807)'))) / (select extract(epoch from '2026-06-12 14:54:38'::timestamp) - extract(epoch from '2026-06-12 14:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03565 -2.828796)'), GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.828807)'))) / (select extract(epoch from '2026-06-12 14:54:38'::timestamp) - extract(epoch from '2026-06-12 14:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035503 -2.828826)', '2026-06-12 14:54:53', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.828807)'), GeomFromEWKT('SRID=4674;POINT (-40.035503 -2.828826)'))) / (select extract(epoch from '2026-06-12 14:54:53'::timestamp) - extract(epoch from '2026-06-12 14:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035562 -2.828807)'), GeomFromEWKT('SRID=4674;POINT (-40.035503 -2.828826)'))) / (select extract(epoch from '2026-06-12 14:54:53'::timestamp) - extract(epoch from '2026-06-12 14:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035401 -2.828842)', '2026-06-12 14:55:07', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035503 -2.828826)'), GeomFromEWKT('SRID=4674;POINT (-40.035401 -2.828842)'))) / (select extract(epoch from '2026-06-12 14:55:07'::timestamp) - extract(epoch from '2026-06-12 14:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035503 -2.828826)'), GeomFromEWKT('SRID=4674;POINT (-40.035401 -2.828842)'))) / (select extract(epoch from '2026-06-12 14:55:07'::timestamp) - extract(epoch from '2026-06-12 14:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035311 -2.828886)', '2026-06-12 14:55:21', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035401 -2.828842)'), GeomFromEWKT('SRID=4674;POINT (-40.035311 -2.828886)'))) / (select extract(epoch from '2026-06-12 14:55:21'::timestamp) - extract(epoch from '2026-06-12 14:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035401 -2.828842)'), GeomFromEWKT('SRID=4674;POINT (-40.035311 -2.828886)'))) / (select extract(epoch from '2026-06-12 14:55:21'::timestamp) - extract(epoch from '2026-06-12 14:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03521 -2.828949)', '2026-06-12 14:55:39', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035311 -2.828886)'), GeomFromEWKT('SRID=4674;POINT (-40.03521 -2.828949)'))) / (select extract(epoch from '2026-06-12 14:55:39'::timestamp) - extract(epoch from '2026-06-12 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035311 -2.828886)'), GeomFromEWKT('SRID=4674;POINT (-40.03521 -2.828949)'))) / (select extract(epoch from '2026-06-12 14:55:39'::timestamp) - extract(epoch from '2026-06-12 14:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035131 -2.828996)', '2026-06-12 14:55:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03521 -2.828949)'), GeomFromEWKT('SRID=4674;POINT (-40.035131 -2.828996)'))) / (select extract(epoch from '2026-06-12 14:55:55'::timestamp) - extract(epoch from '2026-06-12 14:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03521 -2.828949)'), GeomFromEWKT('SRID=4674;POINT (-40.035131 -2.828996)'))) / (select extract(epoch from '2026-06-12 14:55:55'::timestamp) - extract(epoch from '2026-06-12 14:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035024 -2.829025)', '2026-06-12 14:56:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035131 -2.828996)'), GeomFromEWKT('SRID=4674;POINT (-40.035024 -2.829025)'))) / (select extract(epoch from '2026-06-12 14:56:07'::timestamp) - extract(epoch from '2026-06-12 14:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035131 -2.828996)'), GeomFromEWKT('SRID=4674;POINT (-40.035024 -2.829025)'))) / (select extract(epoch from '2026-06-12 14:56:07'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034937 -2.829069)', '2026-06-12 14:56:22', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035024 -2.829025)'), GeomFromEWKT('SRID=4674;POINT (-40.034937 -2.829069)'))) / (select extract(epoch from '2026-06-12 14:56:22'::timestamp) - extract(epoch from '2026-06-12 14:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035024 -2.829025)'), GeomFromEWKT('SRID=4674;POINT (-40.034937 -2.829069)'))) / (select extract(epoch from '2026-06-12 14:56:22'::timestamp) - extract(epoch from '2026-06-12 14:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034836 -2.829113)', '2026-06-12 14:56:37', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034937 -2.829069)'), GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.829113)'))) / (select extract(epoch from '2026-06-12 14:56:37'::timestamp) - extract(epoch from '2026-06-12 14:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034937 -2.829069)'), GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.829113)'))) / (select extract(epoch from '2026-06-12 14:56:37'::timestamp) - extract(epoch from '2026-06-12 14:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034755 -2.829174)', '2026-06-12 14:56:50', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.829113)'), GeomFromEWKT('SRID=4674;POINT (-40.034755 -2.829174)'))) / (select extract(epoch from '2026-06-12 14:56:50'::timestamp) - extract(epoch from '2026-06-12 14:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034836 -2.829113)'), GeomFromEWKT('SRID=4674;POINT (-40.034755 -2.829174)'))) / (select extract(epoch from '2026-06-12 14:56:50'::timestamp) - extract(epoch from '2026-06-12 14:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034701 -2.829202)', '2026-06-12 14:56:59', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034755 -2.829174)'), GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.829202)'))) / (select extract(epoch from '2026-06-12 14:56:59'::timestamp) - extract(epoch from '2026-06-12 14:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034755 -2.829174)'), GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.829202)'))) / (select extract(epoch from '2026-06-12 14:56:59'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.034658 -2.829215)', '2026-06-12 14:57:07', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.829202)'), GeomFromEWKT('SRID=4674;POINT (-40.034658 -2.829215)'))) / (select extract(epoch from '2026-06-12 14:57:07'::timestamp) - extract(epoch from '2026-06-12 14:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.829202)'), GeomFromEWKT('SRID=4674;POINT (-40.034658 -2.829215)'))) / (select extract(epoch from '2026-06-12 14:57:07'::timestamp) - extract(epoch from '2026-06-12 14:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034502 -2.829291)', '2026-06-12 14:57:29', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034658 -2.829215)'), GeomFromEWKT('SRID=4674;POINT (-40.034502 -2.829291)'))) / (select extract(epoch from '2026-06-12 14:57:29'::timestamp) - extract(epoch from '2026-06-12 14:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034658 -2.829215)'), GeomFromEWKT('SRID=4674;POINT (-40.034502 -2.829291)'))) / (select extract(epoch from '2026-06-12 14:57:29'::timestamp) - extract(epoch from '2026-06-12 14:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034407 -2.829371)', '2026-06-12 14:57:42', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034502 -2.829291)'), GeomFromEWKT('SRID=4674;POINT (-40.034407 -2.829371)'))) / (select extract(epoch from '2026-06-12 14:57:42'::timestamp) - extract(epoch from '2026-06-12 14:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034502 -2.829291)'), GeomFromEWKT('SRID=4674;POINT (-40.034407 -2.829371)'))) / (select extract(epoch from '2026-06-12 14:57:42'::timestamp) - extract(epoch from '2026-06-12 14:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034325 -2.829443)', '2026-06-12 14:57:58', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034407 -2.829371)'), GeomFromEWKT('SRID=4674;POINT (-40.034325 -2.829443)'))) / (select extract(epoch from '2026-06-12 14:57:58'::timestamp) - extract(epoch from '2026-06-12 14:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034407 -2.829371)'), GeomFromEWKT('SRID=4674;POINT (-40.034325 -2.829443)'))) / (select extract(epoch from '2026-06-12 14:57:58'::timestamp) - extract(epoch from '2026-06-12 14:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034232 -2.829512)', '2026-06-12 14:58:15', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034325 -2.829443)'), GeomFromEWKT('SRID=4674;POINT (-40.034232 -2.829512)'))) / (select extract(epoch from '2026-06-12 14:58:15'::timestamp) - extract(epoch from '2026-06-12 14:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034325 -2.829443)'), GeomFromEWKT('SRID=4674;POINT (-40.034232 -2.829512)'))) / (select extract(epoch from '2026-06-12 14:58:15'::timestamp) - extract(epoch from '2026-06-12 14:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034107 -2.829584)', '2026-06-12 14:58:32', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034232 -2.829512)'), GeomFromEWKT('SRID=4674;POINT (-40.034107 -2.829584)'))) / (select extract(epoch from '2026-06-12 14:58:32'::timestamp) - extract(epoch from '2026-06-12 14:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034232 -2.829512)'), GeomFromEWKT('SRID=4674;POINT (-40.034107 -2.829584)'))) / (select extract(epoch from '2026-06-12 14:58:32'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.033984 -2.829636)', '2026-06-12 14:58:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034107 -2.829584)'), GeomFromEWKT('SRID=4674;POINT (-40.033984 -2.829636)'))) / (select extract(epoch from '2026-06-12 14:58:48'::timestamp) - extract(epoch from '2026-06-12 14:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034107 -2.829584)'), GeomFromEWKT('SRID=4674;POINT (-40.033984 -2.829636)'))) / (select extract(epoch from '2026-06-12 14:58:48'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.03386 -2.829694)', '2026-06-12 14:59:06', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033984 -2.829636)'), GeomFromEWKT('SRID=4674;POINT (-40.03386 -2.829694)'))) / (select extract(epoch from '2026-06-12 14:59:06'::timestamp) - extract(epoch from '2026-06-12 14:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033984 -2.829636)'), GeomFromEWKT('SRID=4674;POINT (-40.03386 -2.829694)'))) / (select extract(epoch from '2026-06-12 14:59:06'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.033722 -2.829723)', '2026-06-12 14:59:23', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03386 -2.829694)'), GeomFromEWKT('SRID=4674;POINT (-40.033722 -2.829723)'))) / (select extract(epoch from '2026-06-12 14:59:23'::timestamp) - extract(epoch from '2026-06-12 14:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03386 -2.829694)'), GeomFromEWKT('SRID=4674;POINT (-40.033722 -2.829723)'))) / (select extract(epoch from '2026-06-12 14:59:23'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.033631 -2.829777)', '2026-06-12 14:59:40', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033722 -2.829723)'), GeomFromEWKT('SRID=4674;POINT (-40.033631 -2.829777)'))) / (select extract(epoch from '2026-06-12 14:59:40'::timestamp) - extract(epoch from '2026-06-12 14:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033722 -2.829723)'), GeomFromEWKT('SRID=4674;POINT (-40.033631 -2.829777)'))) / (select extract(epoch from '2026-06-12 14:59:40'::timestamp) - extract(epoch from '2026-06-12 14:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033595 -2.829775)', '2026-06-12 14:59:54', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033631 -2.829777)'), GeomFromEWKT('SRID=4674;POINT (-40.033595 -2.829775)'))) / (select extract(epoch from '2026-06-12 14:59:54'::timestamp) - extract(epoch from '2026-06-12 14:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033631 -2.829777)'), GeomFromEWKT('SRID=4674;POINT (-40.033595 -2.829775)'))) / (select extract(epoch from '2026-06-12 14:59:54'::timestamp) - extract(epoch from '2026-06-12 14: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'), 46699, 'SRID=4674;POINT (-40.033585 -2.829775)', '2026-06-12 15:00:04', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033595 -2.829775)'), GeomFromEWKT('SRID=4674;POINT (-40.033585 -2.829775)'))) / (select extract(epoch from '2026-06-12 15:00:04'::timestamp) - extract(epoch from '2026-06-12 14:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033595 -2.829775)'), GeomFromEWKT('SRID=4674;POINT (-40.033585 -2.829775)'))) / (select extract(epoch from '2026-06-12 15:00:04'::timestamp) - extract(epoch from '2026-06-12 14:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033582 -2.829777)', '2026-06-12 15:00:16', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033585 -2.829775)'), GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829777)'))) / (select extract(epoch from '2026-06-12 15:00:16'::timestamp) - extract(epoch from '2026-06-12 15:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033585 -2.829775)'), GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829777)'))) / (select extract(epoch from '2026-06-12 15:00:16'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.033582 -2.829778)', '2026-06-12 15:00:28', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829777)'), GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829778)'))) / (select extract(epoch from '2026-06-12 15:00:28'::timestamp) - extract(epoch from '2026-06-12 15:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829777)'), GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829778)'))) / (select extract(epoch from '2026-06-12 15:00:28'::timestamp) - extract(epoch from '2026-06-12 15:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033602 -2.829764)', '2026-06-12 15:00:38', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829778)'), GeomFromEWKT('SRID=4674;POINT (-40.033602 -2.829764)'))) / (select extract(epoch from '2026-06-12 15:00:38'::timestamp) - extract(epoch from '2026-06-12 15:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033582 -2.829778)'), GeomFromEWKT('SRID=4674;POINT (-40.033602 -2.829764)'))) / (select extract(epoch from '2026-06-12 15:00:38'::timestamp) - extract(epoch from '2026-06-12 15:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03359 -2.829708)', '2026-06-12 15:00:52', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033602 -2.829764)'), GeomFromEWKT('SRID=4674;POINT (-40.03359 -2.829708)'))) / (select extract(epoch from '2026-06-12 15:00:52'::timestamp) - extract(epoch from '2026-06-12 15:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033602 -2.829764)'), GeomFromEWKT('SRID=4674;POINT (-40.03359 -2.829708)'))) / (select extract(epoch from '2026-06-12 15:00:52'::timestamp) - extract(epoch from '2026-06-12 15:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033604 -2.829689)', '2026-06-12 15:01:06', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03359 -2.829708)'), GeomFromEWKT('SRID=4674;POINT (-40.033604 -2.829689)'))) / (select extract(epoch from '2026-06-12 15:01:06'::timestamp) - extract(epoch from '2026-06-12 15:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03359 -2.829708)'), GeomFromEWKT('SRID=4674;POINT (-40.033604 -2.829689)'))) / (select extract(epoch from '2026-06-12 15:01:06'::timestamp) - extract(epoch from '2026-06-12 15:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033624 -2.829677)', '2026-06-12 15:01:19', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033604 -2.829689)'), GeomFromEWKT('SRID=4674;POINT (-40.033624 -2.829677)'))) / (select extract(epoch from '2026-06-12 15:01:19'::timestamp) - extract(epoch from '2026-06-12 15:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033604 -2.829689)'), GeomFromEWKT('SRID=4674;POINT (-40.033624 -2.829677)'))) / (select extract(epoch from '2026-06-12 15:01:19'::timestamp) - extract(epoch from '2026-06-12 15:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033695 -2.829648)', '2026-06-12 15:01:33', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033624 -2.829677)'), GeomFromEWKT('SRID=4674;POINT (-40.033695 -2.829648)'))) / (select extract(epoch from '2026-06-12 15:01:33'::timestamp) - extract(epoch from '2026-06-12 15:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033624 -2.829677)'), GeomFromEWKT('SRID=4674;POINT (-40.033695 -2.829648)'))) / (select extract(epoch from '2026-06-12 15:01:33'::timestamp) - extract(epoch from '2026-06-12 15:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033804 -2.829642)', '2026-06-12 15:01:52', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033695 -2.829648)'), GeomFromEWKT('SRID=4674;POINT (-40.033804 -2.829642)'))) / (select extract(epoch from '2026-06-12 15:01:52'::timestamp) - extract(epoch from '2026-06-12 15:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033695 -2.829648)'), GeomFromEWKT('SRID=4674;POINT (-40.033804 -2.829642)'))) / (select extract(epoch from '2026-06-12 15:01:52'::timestamp) - extract(epoch from '2026-06-12 15:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033875 -2.82969)', '2026-06-12 15:02:09', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033804 -2.829642)'), GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.82969)'))) / (select extract(epoch from '2026-06-12 15:02:09'::timestamp) - extract(epoch from '2026-06-12 15:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033804 -2.829642)'), GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.82969)'))) / (select extract(epoch from '2026-06-12 15:02:09'::timestamp) - extract(epoch from '2026-06-12 15:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.033947 -2.829731)', '2026-06-12 15:02:26', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.82969)'), GeomFromEWKT('SRID=4674;POINT (-40.033947 -2.829731)'))) / (select extract(epoch from '2026-06-12 15:02:26'::timestamp) - extract(epoch from '2026-06-12 15:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.82969)'), GeomFromEWKT('SRID=4674;POINT (-40.033947 -2.829731)'))) / (select extract(epoch from '2026-06-12 15:02:26'::timestamp) - extract(epoch from '2026-06-12 15:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034048 -2.829759)', '2026-06-12 15:02:44', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033947 -2.829731)'), GeomFromEWKT('SRID=4674;POINT (-40.034048 -2.829759)'))) / (select extract(epoch from '2026-06-12 15:02:44'::timestamp) - extract(epoch from '2026-06-12 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033947 -2.829731)'), GeomFromEWKT('SRID=4674;POINT (-40.034048 -2.829759)'))) / (select extract(epoch from '2026-06-12 15:02:44'::timestamp) - extract(epoch from '2026-06-12 15:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034136 -2.829767)', '2026-06-12 15:03:00', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034048 -2.829759)'), GeomFromEWKT('SRID=4674;POINT (-40.034136 -2.829767)'))) / (select extract(epoch from '2026-06-12 15:03:00'::timestamp) - extract(epoch from '2026-06-12 15:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034048 -2.829759)'), GeomFromEWKT('SRID=4674;POINT (-40.034136 -2.829767)'))) / (select extract(epoch from '2026-06-12 15:03:00'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.034227 -2.829787)', '2026-06-12 15:03:18', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034136 -2.829767)'), GeomFromEWKT('SRID=4674;POINT (-40.034227 -2.829787)'))) / (select extract(epoch from '2026-06-12 15:03:18'::timestamp) - extract(epoch from '2026-06-12 15:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034136 -2.829767)'), GeomFromEWKT('SRID=4674;POINT (-40.034227 -2.829787)'))) / (select extract(epoch from '2026-06-12 15:03:18'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.034329 -2.829802)', '2026-06-12 15:03:34', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034227 -2.829787)'), GeomFromEWKT('SRID=4674;POINT (-40.034329 -2.829802)'))) / (select extract(epoch from '2026-06-12 15:03:34'::timestamp) - extract(epoch from '2026-06-12 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034227 -2.829787)'), GeomFromEWKT('SRID=4674;POINT (-40.034329 -2.829802)'))) / (select extract(epoch from '2026-06-12 15:03:34'::timestamp) - extract(epoch from '2026-06-12 15:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034425 -2.829825)', '2026-06-12 15:03:50', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034329 -2.829802)'), GeomFromEWKT('SRID=4674;POINT (-40.034425 -2.829825)'))) / (select extract(epoch from '2026-06-12 15:03:50'::timestamp) - extract(epoch from '2026-06-12 15:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034329 -2.829802)'), GeomFromEWKT('SRID=4674;POINT (-40.034425 -2.829825)'))) / (select extract(epoch from '2026-06-12 15:03:50'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.03451 -2.829834)', '2026-06-12 15:04:08', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034425 -2.829825)'), GeomFromEWKT('SRID=4674;POINT (-40.03451 -2.829834)'))) / (select extract(epoch from '2026-06-12 15:04:08'::timestamp) - extract(epoch from '2026-06-12 15:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034425 -2.829825)'), GeomFromEWKT('SRID=4674;POINT (-40.03451 -2.829834)'))) / (select extract(epoch from '2026-06-12 15:04:08'::timestamp) - extract(epoch from '2026-06-12 15:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034595 -2.829851)', '2026-06-12 15:04:24', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03451 -2.829834)'), GeomFromEWKT('SRID=4674;POINT (-40.034595 -2.829851)'))) / (select extract(epoch from '2026-06-12 15:04:24'::timestamp) - extract(epoch from '2026-06-12 15:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03451 -2.829834)'), GeomFromEWKT('SRID=4674;POINT (-40.034595 -2.829851)'))) / (select extract(epoch from '2026-06-12 15:04:24'::timestamp) - extract(epoch from '2026-06-12 15:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034651 -2.829855)', '2026-06-12 15:04:39', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034595 -2.829851)'), GeomFromEWKT('SRID=4674;POINT (-40.034651 -2.829855)'))) / (select extract(epoch from '2026-06-12 15:04:39'::timestamp) - extract(epoch from '2026-06-12 15:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034595 -2.829851)'), GeomFromEWKT('SRID=4674;POINT (-40.034651 -2.829855)'))) / (select extract(epoch from '2026-06-12 15:04:39'::timestamp) - extract(epoch from '2026-06-12 15:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034734 -2.829902)', '2026-06-12 15:04:54', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034651 -2.829855)'), GeomFromEWKT('SRID=4674;POINT (-40.034734 -2.829902)'))) / (select extract(epoch from '2026-06-12 15:04:54'::timestamp) - extract(epoch from '2026-06-12 15:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034651 -2.829855)'), GeomFromEWKT('SRID=4674;POINT (-40.034734 -2.829902)'))) / (select extract(epoch from '2026-06-12 15:04:54'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.034829 -2.829927)', '2026-06-12 15:05:11', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034734 -2.829902)'), GeomFromEWKT('SRID=4674;POINT (-40.034829 -2.829927)'))) / (select extract(epoch from '2026-06-12 15:05:11'::timestamp) - extract(epoch from '2026-06-12 15:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034734 -2.829902)'), GeomFromEWKT('SRID=4674;POINT (-40.034829 -2.829927)'))) / (select extract(epoch from '2026-06-12 15:05:11'::timestamp) - extract(epoch from '2026-06-12 15:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.034927 -2.829963)', '2026-06-12 15:05:31', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034829 -2.829927)'), GeomFromEWKT('SRID=4674;POINT (-40.034927 -2.829963)'))) / (select extract(epoch from '2026-06-12 15:05:31'::timestamp) - extract(epoch from '2026-06-12 15:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034829 -2.829927)'), GeomFromEWKT('SRID=4674;POINT (-40.034927 -2.829963)'))) / (select extract(epoch from '2026-06-12 15:05:31'::timestamp) - extract(epoch from '2026-06-12 15:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035045 -2.830028)', '2026-06-12 15:05:48', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034927 -2.829963)'), GeomFromEWKT('SRID=4674;POINT (-40.035045 -2.830028)'))) / (select extract(epoch from '2026-06-12 15:05:48'::timestamp) - extract(epoch from '2026-06-12 15:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034927 -2.829963)'), GeomFromEWKT('SRID=4674;POINT (-40.035045 -2.830028)'))) / (select extract(epoch from '2026-06-12 15:05:48'::timestamp) - extract(epoch from '2026-06-12 15:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035136 -2.830151)', '2026-06-12 15:06:00', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035045 -2.830028)'), GeomFromEWKT('SRID=4674;POINT (-40.035136 -2.830151)'))) / (select extract(epoch from '2026-06-12 15:06:00'::timestamp) - extract(epoch from '2026-06-12 15:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035045 -2.830028)'), GeomFromEWKT('SRID=4674;POINT (-40.035136 -2.830151)'))) / (select extract(epoch from '2026-06-12 15:06:00'::timestamp) - extract(epoch from '2026-06-12 15:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035234 -2.830286)', '2026-06-12 15:06:07', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035136 -2.830151)'), GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.830286)'))) / (select extract(epoch from '2026-06-12 15:06:07'::timestamp) - extract(epoch from '2026-06-12 15:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035136 -2.830151)'), GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.830286)'))) / (select extract(epoch from '2026-06-12 15:06:07'::timestamp) - extract(epoch from '2026-06-12 15:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035397 -2.830482)', '2026-06-12 15:06:16', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.830286)'), GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.830482)'))) / (select extract(epoch from '2026-06-12 15:06:16'::timestamp) - extract(epoch from '2026-06-12 15:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.830286)'), GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.830482)'))) / (select extract(epoch from '2026-06-12 15:06:16'::timestamp) - extract(epoch from '2026-06-12 15:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035479 -2.830601)', '2026-06-12 15:06:22', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.830482)'), GeomFromEWKT('SRID=4674;POINT (-40.035479 -2.830601)'))) / (select extract(epoch from '2026-06-12 15:06:22'::timestamp) - extract(epoch from '2026-06-12 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.830482)'), GeomFromEWKT('SRID=4674;POINT (-40.035479 -2.830601)'))) / (select extract(epoch from '2026-06-12 15:06:22'::timestamp) - extract(epoch from '2026-06-12 15:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035575 -2.830757)', '2026-06-12 15:06:30', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035479 -2.830601)'), GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.830757)'))) / (select extract(epoch from '2026-06-12 15:06:30'::timestamp) - extract(epoch from '2026-06-12 15:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035479 -2.830601)'), GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.830757)'))) / (select extract(epoch from '2026-06-12 15:06:30'::timestamp) - extract(epoch from '2026-06-12 15:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035702 -2.830891)', '2026-06-12 15:06:37', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.830757)'), GeomFromEWKT('SRID=4674;POINT (-40.035702 -2.830891)'))) / (select extract(epoch from '2026-06-12 15:06:37'::timestamp) - extract(epoch from '2026-06-12 15:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.830757)'), GeomFromEWKT('SRID=4674;POINT (-40.035702 -2.830891)'))) / (select extract(epoch from '2026-06-12 15:06:37'::timestamp) - extract(epoch from '2026-06-12 15:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.035809 -2.831035)', '2026-06-12 15:06:44', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035702 -2.830891)'), GeomFromEWKT('SRID=4674;POINT (-40.035809 -2.831035)'))) / (select extract(epoch from '2026-06-12 15:06:44'::timestamp) - extract(epoch from '2026-06-12 15:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035702 -2.830891)'), GeomFromEWKT('SRID=4674;POINT (-40.035809 -2.831035)'))) / (select extract(epoch from '2026-06-12 15:06:44'::timestamp) - extract(epoch from '2026-06-12 15:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03594 -2.831183)', '2026-06-12 15:06:52', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035809 -2.831035)'), GeomFromEWKT('SRID=4674;POINT (-40.03594 -2.831183)'))) / (select extract(epoch from '2026-06-12 15:06:52'::timestamp) - extract(epoch from '2026-06-12 15:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035809 -2.831035)'), GeomFromEWKT('SRID=4674;POINT (-40.03594 -2.831183)'))) / (select extract(epoch from '2026-06-12 15:06:52'::timestamp) - extract(epoch from '2026-06-12 15:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036098 -2.831306)', '2026-06-12 15:06:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03594 -2.831183)'), GeomFromEWKT('SRID=4674;POINT (-40.036098 -2.831306)'))) / (select extract(epoch from '2026-06-12 15:06:59'::timestamp) - extract(epoch from '2026-06-12 15:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03594 -2.831183)'), GeomFromEWKT('SRID=4674;POINT (-40.036098 -2.831306)'))) / (select extract(epoch from '2026-06-12 15:06:59'::timestamp) - extract(epoch from '2026-06-12 15:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036224 -2.831471)', '2026-06-12 15:07:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036098 -2.831306)'), GeomFromEWKT('SRID=4674;POINT (-40.036224 -2.831471)'))) / (select extract(epoch from '2026-06-12 15:07:07'::timestamp) - extract(epoch from '2026-06-12 15:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036098 -2.831306)'), GeomFromEWKT('SRID=4674;POINT (-40.036224 -2.831471)'))) / (select extract(epoch from '2026-06-12 15:07:07'::timestamp) - extract(epoch from '2026-06-12 15:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036387 -2.831654)', '2026-06-12 15:07:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036224 -2.831471)'), GeomFromEWKT('SRID=4674;POINT (-40.036387 -2.831654)'))) / (select extract(epoch from '2026-06-12 15:07:16'::timestamp) - extract(epoch from '2026-06-12 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036224 -2.831471)'), GeomFromEWKT('SRID=4674;POINT (-40.036387 -2.831654)'))) / (select extract(epoch from '2026-06-12 15:07:16'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.036524 -2.831812)', '2026-06-12 15:07:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036387 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.831812)'))) / (select extract(epoch from '2026-06-12 15:07:24'::timestamp) - extract(epoch from '2026-06-12 15:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036387 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.831812)'))) / (select extract(epoch from '2026-06-12 15:07:24'::timestamp) - extract(epoch from '2026-06-12 15:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036602 -2.831932)', '2026-06-12 15:07:31', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.831812)'), GeomFromEWKT('SRID=4674;POINT (-40.036602 -2.831932)'))) / (select extract(epoch from '2026-06-12 15:07:31'::timestamp) - extract(epoch from '2026-06-12 15:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036524 -2.831812)'), GeomFromEWKT('SRID=4674;POINT (-40.036602 -2.831932)'))) / (select extract(epoch from '2026-06-12 15:07:31'::timestamp) - extract(epoch from '2026-06-12 15:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036699 -2.832077)', '2026-06-12 15:07:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036602 -2.831932)'), GeomFromEWKT('SRID=4674;POINT (-40.036699 -2.832077)'))) / (select extract(epoch from '2026-06-12 15:07:38'::timestamp) - extract(epoch from '2026-06-12 15:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036602 -2.831932)'), GeomFromEWKT('SRID=4674;POINT (-40.036699 -2.832077)'))) / (select extract(epoch from '2026-06-12 15:07:38'::timestamp) - extract(epoch from '2026-06-12 15:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036818 -2.832207)', '2026-06-12 15:07:45', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036699 -2.832077)'), GeomFromEWKT('SRID=4674;POINT (-40.036818 -2.832207)'))) / (select extract(epoch from '2026-06-12 15:07:45'::timestamp) - extract(epoch from '2026-06-12 15:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036699 -2.832077)'), GeomFromEWKT('SRID=4674;POINT (-40.036818 -2.832207)'))) / (select extract(epoch from '2026-06-12 15:07:45'::timestamp) - extract(epoch from '2026-06-12 15:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.036917 -2.832351)', '2026-06-12 15:07:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036818 -2.832207)'), GeomFromEWKT('SRID=4674;POINT (-40.036917 -2.832351)'))) / (select extract(epoch from '2026-06-12 15:07:52'::timestamp) - extract(epoch from '2026-06-12 15:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036818 -2.832207)'), GeomFromEWKT('SRID=4674;POINT (-40.036917 -2.832351)'))) / (select extract(epoch from '2026-06-12 15:07:52'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.037046 -2.832492)', '2026-06-12 15:07:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036917 -2.832351)'), GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.832492)'))) / (select extract(epoch from '2026-06-12 15:07:59'::timestamp) - extract(epoch from '2026-06-12 15:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036917 -2.832351)'), GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.832492)'))) / (select extract(epoch from '2026-06-12 15:07:59'::timestamp) - extract(epoch from '2026-06-12 15:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037211 -2.832606)', '2026-06-12 15:08:07', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.832492)'), GeomFromEWKT('SRID=4674;POINT (-40.037211 -2.832606)'))) / (select extract(epoch from '2026-06-12 15:08:07'::timestamp) - extract(epoch from '2026-06-12 15:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.832492)'), GeomFromEWKT('SRID=4674;POINT (-40.037211 -2.832606)'))) / (select extract(epoch from '2026-06-12 15:08:07'::timestamp) - extract(epoch from '2026-06-12 15:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037271 -2.832714)', '2026-06-12 15:08:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037211 -2.832606)'), GeomFromEWKT('SRID=4674;POINT (-40.037271 -2.832714)'))) / (select extract(epoch from '2026-06-12 15:08:13'::timestamp) - extract(epoch from '2026-06-12 15:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037211 -2.832606)'), GeomFromEWKT('SRID=4674;POINT (-40.037271 -2.832714)'))) / (select extract(epoch from '2026-06-12 15:08:13'::timestamp) - extract(epoch from '2026-06-12 15:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037322 -2.832835)', '2026-06-12 15:08:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037271 -2.832714)'), GeomFromEWKT('SRID=4674;POINT (-40.037322 -2.832835)'))) / (select extract(epoch from '2026-06-12 15:08:19'::timestamp) - extract(epoch from '2026-06-12 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037271 -2.832714)'), GeomFromEWKT('SRID=4674;POINT (-40.037322 -2.832835)'))) / (select extract(epoch from '2026-06-12 15:08:19'::timestamp) - extract(epoch from '2026-06-12 15:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037434 -2.832945)', '2026-06-12 15:08:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037322 -2.832835)'), GeomFromEWKT('SRID=4674;POINT (-40.037434 -2.832945)'))) / (select extract(epoch from '2026-06-12 15:08:27'::timestamp) - extract(epoch from '2026-06-12 15:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037322 -2.832835)'), GeomFromEWKT('SRID=4674;POINT (-40.037434 -2.832945)'))) / (select extract(epoch from '2026-06-12 15:08:27'::timestamp) - extract(epoch from '2026-06-12 15:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037537 -2.833074)', '2026-06-12 15:08:34', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037434 -2.832945)'), GeomFromEWKT('SRID=4674;POINT (-40.037537 -2.833074)'))) / (select extract(epoch from '2026-06-12 15:08:34'::timestamp) - extract(epoch from '2026-06-12 15:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037434 -2.832945)'), GeomFromEWKT('SRID=4674;POINT (-40.037537 -2.833074)'))) / (select extract(epoch from '2026-06-12 15:08:34'::timestamp) - extract(epoch from '2026-06-12 15:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037648 -2.833225)', '2026-06-12 15:08:42', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037537 -2.833074)'), GeomFromEWKT('SRID=4674;POINT (-40.037648 -2.833225)'))) / (select extract(epoch from '2026-06-12 15:08:42'::timestamp) - extract(epoch from '2026-06-12 15:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037537 -2.833074)'), GeomFromEWKT('SRID=4674;POINT (-40.037648 -2.833225)'))) / (select extract(epoch from '2026-06-12 15:08:42'::timestamp) - extract(epoch from '2026-06-12 15:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.037764 -2.833385)', '2026-06-12 15:08:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037648 -2.833225)'), GeomFromEWKT('SRID=4674;POINT (-40.037764 -2.833385)'))) / (select extract(epoch from '2026-06-12 15:08:49'::timestamp) - extract(epoch from '2026-06-12 15:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037648 -2.833225)'), GeomFromEWKT('SRID=4674;POINT (-40.037764 -2.833385)'))) / (select extract(epoch from '2026-06-12 15:08:49'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.03787 -2.833515)', '2026-06-12 15:08:56', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037764 -2.833385)'), GeomFromEWKT('SRID=4674;POINT (-40.03787 -2.833515)'))) / (select extract(epoch from '2026-06-12 15:08:56'::timestamp) - extract(epoch from '2026-06-12 15:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037764 -2.833385)'), GeomFromEWKT('SRID=4674;POINT (-40.03787 -2.833515)'))) / (select extract(epoch from '2026-06-12 15:08:56'::timestamp) - extract(epoch from '2026-06-12 15:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038029 -2.833665)', '2026-06-12 15:09:05', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03787 -2.833515)'), GeomFromEWKT('SRID=4674;POINT (-40.038029 -2.833665)'))) / (select extract(epoch from '2026-06-12 15:09:05'::timestamp) - extract(epoch from '2026-06-12 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03787 -2.833515)'), GeomFromEWKT('SRID=4674;POINT (-40.038029 -2.833665)'))) / (select extract(epoch from '2026-06-12 15:09:05'::timestamp) - extract(epoch from '2026-06-12 15:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038204 -2.833827)', '2026-06-12 15:09:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038029 -2.833665)'), GeomFromEWKT('SRID=4674;POINT (-40.038204 -2.833827)'))) / (select extract(epoch from '2026-06-12 15:09:15'::timestamp) - extract(epoch from '2026-06-12 15:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038029 -2.833665)'), GeomFromEWKT('SRID=4674;POINT (-40.038204 -2.833827)'))) / (select extract(epoch from '2026-06-12 15:09:15'::timestamp) - extract(epoch from '2026-06-12 15:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038319 -2.833986)', '2026-06-12 15:09:24', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038204 -2.833827)'), GeomFromEWKT('SRID=4674;POINT (-40.038319 -2.833986)'))) / (select extract(epoch from '2026-06-12 15:09:24'::timestamp) - extract(epoch from '2026-06-12 15:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038204 -2.833827)'), GeomFromEWKT('SRID=4674;POINT (-40.038319 -2.833986)'))) / (select extract(epoch from '2026-06-12 15:09:24'::timestamp) - extract(epoch from '2026-06-12 15:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038382 -2.834109)', '2026-06-12 15:09:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038319 -2.833986)'), GeomFromEWKT('SRID=4674;POINT (-40.038382 -2.834109)'))) / (select extract(epoch from '2026-06-12 15:09:30'::timestamp) - extract(epoch from '2026-06-12 15:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038319 -2.833986)'), GeomFromEWKT('SRID=4674;POINT (-40.038382 -2.834109)'))) / (select extract(epoch from '2026-06-12 15:09:30'::timestamp) - extract(epoch from '2026-06-12 15:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038468 -2.83422)', '2026-06-12 15:09:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038382 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.038468 -2.83422)'))) / (select extract(epoch from '2026-06-12 15:09:36'::timestamp) - extract(epoch from '2026-06-12 15:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038382 -2.834109)'), GeomFromEWKT('SRID=4674;POINT (-40.038468 -2.83422)'))) / (select extract(epoch from '2026-06-12 15:09:36'::timestamp) - extract(epoch from '2026-06-12 15:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038579 -2.834344)', '2026-06-12 15:09:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038468 -2.83422)'), GeomFromEWKT('SRID=4674;POINT (-40.038579 -2.834344)'))) / (select extract(epoch from '2026-06-12 15:09:44'::timestamp) - extract(epoch from '2026-06-12 15:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038468 -2.83422)'), GeomFromEWKT('SRID=4674;POINT (-40.038579 -2.834344)'))) / (select extract(epoch from '2026-06-12 15:09:44'::timestamp) - extract(epoch from '2026-06-12 15:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038659 -2.834483)', '2026-06-12 15:09:51', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038579 -2.834344)'), GeomFromEWKT('SRID=4674;POINT (-40.038659 -2.834483)'))) / (select extract(epoch from '2026-06-12 15:09:51'::timestamp) - extract(epoch from '2026-06-12 15:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038579 -2.834344)'), GeomFromEWKT('SRID=4674;POINT (-40.038659 -2.834483)'))) / (select extract(epoch from '2026-06-12 15:09:51'::timestamp) - extract(epoch from '2026-06-12 15:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.03878 -2.83462)', '2026-06-12 15:09:58', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038659 -2.834483)'), GeomFromEWKT('SRID=4674;POINT (-40.03878 -2.83462)'))) / (select extract(epoch from '2026-06-12 15:09:58'::timestamp) - extract(epoch from '2026-06-12 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038659 -2.834483)'), GeomFromEWKT('SRID=4674;POINT (-40.03878 -2.83462)'))) / (select extract(epoch from '2026-06-12 15:09:58'::timestamp) - extract(epoch from '2026-06-12 15:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038881 -2.834758)', '2026-06-12 15:10:05', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03878 -2.83462)'), GeomFromEWKT('SRID=4674;POINT (-40.038881 -2.834758)'))) / (select extract(epoch from '2026-06-12 15:10:05'::timestamp) - extract(epoch from '2026-06-12 15:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03878 -2.83462)'), GeomFromEWKT('SRID=4674;POINT (-40.038881 -2.834758)'))) / (select extract(epoch from '2026-06-12 15:10:05'::timestamp) - extract(epoch from '2026-06-12 15:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.038934 -2.834868)', '2026-06-12 15:10:11', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038881 -2.834758)'), GeomFromEWKT('SRID=4674;POINT (-40.038934 -2.834868)'))) / (select extract(epoch from '2026-06-12 15:10:11'::timestamp) - extract(epoch from '2026-06-12 15:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038881 -2.834758)'), GeomFromEWKT('SRID=4674;POINT (-40.038934 -2.834868)'))) / (select extract(epoch from '2026-06-12 15:10:11'::timestamp) - extract(epoch from '2026-06-12 15:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039069 -2.835019)', '2026-06-12 15:10:19', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038934 -2.834868)'), GeomFromEWKT('SRID=4674;POINT (-40.039069 -2.835019)'))) / (select extract(epoch from '2026-06-12 15:10:19'::timestamp) - extract(epoch from '2026-06-12 15:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038934 -2.834868)'), GeomFromEWKT('SRID=4674;POINT (-40.039069 -2.835019)'))) / (select extract(epoch from '2026-06-12 15:10:19'::timestamp) - extract(epoch from '2026-06-12 15:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039178 -2.835146)', '2026-06-12 15:10:26', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039069 -2.835019)'), GeomFromEWKT('SRID=4674;POINT (-40.039178 -2.835146)'))) / (select extract(epoch from '2026-06-12 15:10:26'::timestamp) - extract(epoch from '2026-06-12 15:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039069 -2.835019)'), GeomFromEWKT('SRID=4674;POINT (-40.039178 -2.835146)'))) / (select extract(epoch from '2026-06-12 15:10:26'::timestamp) - extract(epoch from '2026-06-12 15:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039278 -2.835282)', '2026-06-12 15:10:34', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039178 -2.835146)'), GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.835282)'))) / (select extract(epoch from '2026-06-12 15:10:34'::timestamp) - extract(epoch from '2026-06-12 15:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039178 -2.835146)'), GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.835282)'))) / (select extract(epoch from '2026-06-12 15:10:34'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.039398 -2.835403)', '2026-06-12 15:10:41', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.835282)'), GeomFromEWKT('SRID=4674;POINT (-40.039398 -2.835403)'))) / (select extract(epoch from '2026-06-12 15:10:41'::timestamp) - extract(epoch from '2026-06-12 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.835282)'), GeomFromEWKT('SRID=4674;POINT (-40.039398 -2.835403)'))) / (select extract(epoch from '2026-06-12 15:10:41'::timestamp) - extract(epoch from '2026-06-12 15:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039518 -2.835553)', '2026-06-12 15:10:50', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039398 -2.835403)'), GeomFromEWKT('SRID=4674;POINT (-40.039518 -2.835553)'))) / (select extract(epoch from '2026-06-12 15:10:50'::timestamp) - extract(epoch from '2026-06-12 15:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039398 -2.835403)'), GeomFromEWKT('SRID=4674;POINT (-40.039518 -2.835553)'))) / (select extract(epoch from '2026-06-12 15:10:50'::timestamp) - extract(epoch from '2026-06-12 15:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039614 -2.835669)', '2026-06-12 15:10:57', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039518 -2.835553)'), GeomFromEWKT('SRID=4674;POINT (-40.039614 -2.835669)'))) / (select extract(epoch from '2026-06-12 15:10:57'::timestamp) - extract(epoch from '2026-06-12 15:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039518 -2.835553)'), GeomFromEWKT('SRID=4674;POINT (-40.039614 -2.835669)'))) / (select extract(epoch from '2026-06-12 15:10:57'::timestamp) - extract(epoch from '2026-06-12 15:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039704 -2.835843)', '2026-06-12 15:11:05', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039614 -2.835669)'), GeomFromEWKT('SRID=4674;POINT (-40.039704 -2.835843)'))) / (select extract(epoch from '2026-06-12 15:11:05'::timestamp) - extract(epoch from '2026-06-12 15:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039614 -2.835669)'), GeomFromEWKT('SRID=4674;POINT (-40.039704 -2.835843)'))) / (select extract(epoch from '2026-06-12 15:11:05'::timestamp) - extract(epoch from '2026-06-12 15:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.039843 -2.836019)', '2026-06-12 15:11:14', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039704 -2.835843)'), GeomFromEWKT('SRID=4674;POINT (-40.039843 -2.836019)'))) / (select extract(epoch from '2026-06-12 15:11:14'::timestamp) - extract(epoch from '2026-06-12 15:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039704 -2.835843)'), GeomFromEWKT('SRID=4674;POINT (-40.039843 -2.836019)'))) / (select extract(epoch from '2026-06-12 15:11:14'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.039952 -2.836165)', '2026-06-12 15:11:21', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039843 -2.836019)'), GeomFromEWKT('SRID=4674;POINT (-40.039952 -2.836165)'))) / (select extract(epoch from '2026-06-12 15:11:21'::timestamp) - extract(epoch from '2026-06-12 15:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039843 -2.836019)'), GeomFromEWKT('SRID=4674;POINT (-40.039952 -2.836165)'))) / (select extract(epoch from '2026-06-12 15:11:21'::timestamp) - extract(epoch from '2026-06-12 15:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040082 -2.836306)', '2026-06-12 15:11:29', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039952 -2.836165)'), GeomFromEWKT('SRID=4674;POINT (-40.040082 -2.836306)'))) / (select extract(epoch from '2026-06-12 15:11:29'::timestamp) - extract(epoch from '2026-06-12 15:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039952 -2.836165)'), GeomFromEWKT('SRID=4674;POINT (-40.040082 -2.836306)'))) / (select extract(epoch from '2026-06-12 15:11:29'::timestamp) - extract(epoch from '2026-06-12 15:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040195 -2.836461)', '2026-06-12 15:11:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040082 -2.836306)'), GeomFromEWKT('SRID=4674;POINT (-40.040195 -2.836461)'))) / (select extract(epoch from '2026-06-12 15:11:38'::timestamp) - extract(epoch from '2026-06-12 15:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040082 -2.836306)'), GeomFromEWKT('SRID=4674;POINT (-40.040195 -2.836461)'))) / (select extract(epoch from '2026-06-12 15:11:38'::timestamp) - extract(epoch from '2026-06-12 15:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040336 -2.836623)', '2026-06-12 15:11:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040195 -2.836461)'), GeomFromEWKT('SRID=4674;POINT (-40.040336 -2.836623)'))) / (select extract(epoch from '2026-06-12 15:11:47'::timestamp) - extract(epoch from '2026-06-12 15:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040195 -2.836461)'), GeomFromEWKT('SRID=4674;POINT (-40.040336 -2.836623)'))) / (select extract(epoch from '2026-06-12 15:11:47'::timestamp) - extract(epoch from '2026-06-12 15:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040416 -2.836742)', '2026-06-12 15:11:54', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040336 -2.836623)'), GeomFromEWKT('SRID=4674;POINT (-40.040416 -2.836742)'))) / (select extract(epoch from '2026-06-12 15:11:54'::timestamp) - extract(epoch from '2026-06-12 15:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040336 -2.836623)'), GeomFromEWKT('SRID=4674;POINT (-40.040416 -2.836742)'))) / (select extract(epoch from '2026-06-12 15:11:54'::timestamp) - extract(epoch from '2026-06-12 15:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040555 -2.836915)', '2026-06-12 15:12:03', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040416 -2.836742)'), GeomFromEWKT('SRID=4674;POINT (-40.040555 -2.836915)'))) / (select extract(epoch from '2026-06-12 15:12:03'::timestamp) - extract(epoch from '2026-06-12 15:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040416 -2.836742)'), GeomFromEWKT('SRID=4674;POINT (-40.040555 -2.836915)'))) / (select extract(epoch from '2026-06-12 15:12:03'::timestamp) - extract(epoch from '2026-06-12 15:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040702 -2.837125)', '2026-06-12 15:12:14', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040555 -2.836915)'), GeomFromEWKT('SRID=4674;POINT (-40.040702 -2.837125)'))) / (select extract(epoch from '2026-06-12 15:12:14'::timestamp) - extract(epoch from '2026-06-12 15:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040555 -2.836915)'), GeomFromEWKT('SRID=4674;POINT (-40.040702 -2.837125)'))) / (select extract(epoch from '2026-06-12 15:12:14'::timestamp) - extract(epoch from '2026-06-12 15:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040819 -2.837277)', '2026-06-12 15:12:22', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040702 -2.837125)'), GeomFromEWKT('SRID=4674;POINT (-40.040819 -2.837277)'))) / (select extract(epoch from '2026-06-12 15:12:22'::timestamp) - extract(epoch from '2026-06-12 15:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040702 -2.837125)'), GeomFromEWKT('SRID=4674;POINT (-40.040819 -2.837277)'))) / (select extract(epoch from '2026-06-12 15:12:22'::timestamp) - extract(epoch from '2026-06-12 15:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.040945 -2.837402)', '2026-06-12 15:12:30', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040819 -2.837277)'), GeomFromEWKT('SRID=4674;POINT (-40.040945 -2.837402)'))) / (select extract(epoch from '2026-06-12 15:12:30'::timestamp) - extract(epoch from '2026-06-12 15:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040819 -2.837277)'), GeomFromEWKT('SRID=4674;POINT (-40.040945 -2.837402)'))) / (select extract(epoch from '2026-06-12 15:12:30'::timestamp) - extract(epoch from '2026-06-12 15:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.041082 -2.837578)', '2026-06-12 15:12:40', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040945 -2.837402)'), GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.837578)'))) / (select extract(epoch from '2026-06-12 15:12:40'::timestamp) - extract(epoch from '2026-06-12 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040945 -2.837402)'), GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.837578)'))) / (select extract(epoch from '2026-06-12 15:12:40'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.04122 -2.837784)', '2026-06-12 15:12:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.837578)'), GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.837784)'))) / (select extract(epoch from '2026-06-12 15:12:51'::timestamp) - extract(epoch from '2026-06-12 15:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.837578)'), GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.837784)'))) / (select extract(epoch from '2026-06-12 15:12:51'::timestamp) - extract(epoch from '2026-06-12 15:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.041321 -2.837936)', '2026-06-12 15:12:59', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.837784)'), GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.837936)'))) / (select extract(epoch from '2026-06-12 15:12:59'::timestamp) - extract(epoch from '2026-06-12 15:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.837784)'), GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.837936)'))) / (select extract(epoch from '2026-06-12 15:12:59'::timestamp) - extract(epoch from '2026-06-12 15:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.041431 -2.838033)', '2026-06-12 15:13:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.837936)'), GeomFromEWKT('SRID=4674;POINT (-40.041431 -2.838033)'))) / (select extract(epoch from '2026-06-12 15:13:06'::timestamp) - extract(epoch from '2026-06-12 15:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.837936)'), GeomFromEWKT('SRID=4674;POINT (-40.041431 -2.838033)'))) / (select extract(epoch from '2026-06-12 15:13:06'::timestamp) - extract(epoch from '2026-06-12 15:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.041556 -2.838171)', '2026-06-12 15:13:13', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041431 -2.838033)'), GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.838171)'))) / (select extract(epoch from '2026-06-12 15:13:13'::timestamp) - extract(epoch from '2026-06-12 15:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041431 -2.838033)'), GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.838171)'))) / (select extract(epoch from '2026-06-12 15:13:13'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.041673 -2.838337)', '2026-06-12 15:13:21', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.838171)'), GeomFromEWKT('SRID=4674;POINT (-40.041673 -2.838337)'))) / (select extract(epoch from '2026-06-12 15:13:21'::timestamp) - extract(epoch from '2026-06-12 15:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041556 -2.838171)'), GeomFromEWKT('SRID=4674;POINT (-40.041673 -2.838337)'))) / (select extract(epoch from '2026-06-12 15:13:21'::timestamp) - extract(epoch from '2026-06-12 15:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.041799 -2.838559)', '2026-06-12 15:13:32', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041673 -2.838337)'), GeomFromEWKT('SRID=4674;POINT (-40.041799 -2.838559)'))) / (select extract(epoch from '2026-06-12 15:13:32'::timestamp) - extract(epoch from '2026-06-12 15:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041673 -2.838337)'), GeomFromEWKT('SRID=4674;POINT (-40.041799 -2.838559)'))) / (select extract(epoch from '2026-06-12 15:13:32'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.041918 -2.838734)', '2026-06-12 15:13:42', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041799 -2.838559)'), GeomFromEWKT('SRID=4674;POINT (-40.041918 -2.838734)'))) / (select extract(epoch from '2026-06-12 15:13:42'::timestamp) - extract(epoch from '2026-06-12 15:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041799 -2.838559)'), GeomFromEWKT('SRID=4674;POINT (-40.041918 -2.838734)'))) / (select extract(epoch from '2026-06-12 15:13:42'::timestamp) - extract(epoch from '2026-06-12 15:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042039 -2.838807)', '2026-06-12 15:13:48', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041918 -2.838734)'), GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.838807)'))) / (select extract(epoch from '2026-06-12 15:13:48'::timestamp) - extract(epoch from '2026-06-12 15:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041918 -2.838734)'), GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.838807)'))) / (select extract(epoch from '2026-06-12 15:13:48'::timestamp) - extract(epoch from '2026-06-12 15:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042184 -2.838955)', '2026-06-12 15:13:57', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.838807)'), GeomFromEWKT('SRID=4674;POINT (-40.042184 -2.838955)'))) / (select extract(epoch from '2026-06-12 15:13:57'::timestamp) - extract(epoch from '2026-06-12 15:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.838807)'), GeomFromEWKT('SRID=4674;POINT (-40.042184 -2.838955)'))) / (select extract(epoch from '2026-06-12 15:13:57'::timestamp) - extract(epoch from '2026-06-12 15:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042235 -2.839105)', '2026-06-12 15:14:04', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042184 -2.838955)'), GeomFromEWKT('SRID=4674;POINT (-40.042235 -2.839105)'))) / (select extract(epoch from '2026-06-12 15:14:04'::timestamp) - extract(epoch from '2026-06-12 15:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042184 -2.838955)'), GeomFromEWKT('SRID=4674;POINT (-40.042235 -2.839105)'))) / (select extract(epoch from '2026-06-12 15:14:04'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.042335 -2.839221)', '2026-06-12 15:14:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042235 -2.839105)'), GeomFromEWKT('SRID=4674;POINT (-40.042335 -2.839221)'))) / (select extract(epoch from '2026-06-12 15:14:10'::timestamp) - extract(epoch from '2026-06-12 15:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042235 -2.839105)'), GeomFromEWKT('SRID=4674;POINT (-40.042335 -2.839221)'))) / (select extract(epoch from '2026-06-12 15:14:10'::timestamp) - extract(epoch from '2026-06-12 15:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042442 -2.839385)', '2026-06-12 15:14:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042335 -2.839221)'), GeomFromEWKT('SRID=4674;POINT (-40.042442 -2.839385)'))) / (select extract(epoch from '2026-06-12 15:14:18'::timestamp) - extract(epoch from '2026-06-12 15:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042335 -2.839221)'), GeomFromEWKT('SRID=4674;POINT (-40.042442 -2.839385)'))) / (select extract(epoch from '2026-06-12 15:14:18'::timestamp) - extract(epoch from '2026-06-12 15:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042571 -2.839577)', '2026-06-12 15:14:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042442 -2.839385)'), GeomFromEWKT('SRID=4674;POINT (-40.042571 -2.839577)'))) / (select extract(epoch from '2026-06-12 15:14:27'::timestamp) - extract(epoch from '2026-06-12 15:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042442 -2.839385)'), GeomFromEWKT('SRID=4674;POINT (-40.042571 -2.839577)'))) / (select extract(epoch from '2026-06-12 15:14:27'::timestamp) - extract(epoch from '2026-06-12 15: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'), 46699, 'SRID=4674;POINT (-40.042621 -2.839689)', '2026-06-12 15:14:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042571 -2.839577)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.839689)'))) / (select extract(epoch from '2026-06-12 15:14:33'::timestamp) - extract(epoch from '2026-06-12 15:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042571 -2.839577)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.839689)'))) / (select extract(epoch from '2026-06-12 15:14:33'::timestamp) - extract(epoch from '2026-06-12 15:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042676 -2.839803)', '2026-06-12 15:14:41', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.839689)'), GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.839803)'))) / (select extract(epoch from '2026-06-12 15:14:41'::timestamp) - extract(epoch from '2026-06-12 15:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.839689)'), GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.839803)'))) / (select extract(epoch from '2026-06-12 15:14:41'::timestamp) - extract(epoch from '2026-06-12 15:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042739 -2.83998)', '2026-06-12 15:14:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.839803)'), GeomFromEWKT('SRID=4674;POINT (-40.042739 -2.83998)'))) / (select extract(epoch from '2026-06-12 15:14:50'::timestamp) - extract(epoch from '2026-06-12 15:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.839803)'), GeomFromEWKT('SRID=4674;POINT (-40.042739 -2.83998)'))) / (select extract(epoch from '2026-06-12 15:14:50'::timestamp) - extract(epoch from '2026-06-12 15:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042776 -2.840148)', '2026-06-12 15:14:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042739 -2.83998)'), GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.840148)'))) / (select extract(epoch from '2026-06-12 15:14:58'::timestamp) - extract(epoch from '2026-06-12 15:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042739 -2.83998)'), GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.840148)'))) / (select extract(epoch from '2026-06-12 15:14:58'::timestamp) - extract(epoch from '2026-06-12 15:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042848 -2.840317)', '2026-06-12 15:15:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.840148)'), GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.840317)'))) / (select extract(epoch from '2026-06-12 15:15:06'::timestamp) - extract(epoch from '2026-06-12 15:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042776 -2.840148)'), GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.840317)'))) / (select extract(epoch from '2026-06-12 15:15:06'::timestamp) - extract(epoch from '2026-06-12 15:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042874 -2.840494)', '2026-06-12 15:15:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.840317)'), GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.840494)'))) / (select extract(epoch from '2026-06-12 15:15:14'::timestamp) - extract(epoch from '2026-06-12 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.840317)'), GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.840494)'))) / (select extract(epoch from '2026-06-12 15:15:14'::timestamp) - extract(epoch from '2026-06-12 15:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.04287 -2.840687)', '2026-06-12 15:15:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.840494)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.840687)'))) / (select extract(epoch from '2026-06-12 15:15:23'::timestamp) - extract(epoch from '2026-06-12 15:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.840494)'), GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.840687)'))) / (select extract(epoch from '2026-06-12 15:15:23'::timestamp) - extract(epoch from '2026-06-12 15:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46699, 'SRID=4674;POINT (-40.042847 -2.840901)', '2026-06-12 15:15:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.840687)'), GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.840901)'))) / (select extract(epoch from '2026-06-12 15:15:33'::timestamp) - extract(epoch from '2026-06-12 15:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04287 -2.840687)'), GeomFromEWKT('SRID=4674;POINT (-40.042847 -2.840901)'))) / (select extract(epoch from '2026-06-12 15:15:33'::timestamp) - extract(epoch from '2026-06-12 15:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
