 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050204 -2.795989)', '2026-07-11 07:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.795923)'), GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.795989)'))) / (select extract(epoch from '2026-07-11 07:45:37'::timestamp) - extract(epoch from '2026-07-11 07:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.795923)'), GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.795989)'))) / (select extract(epoch from '2026-07-11 07:45:37'::timestamp) - extract(epoch from '2026-07-11 07:45: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'), 47627, 'SRID=4674;POINT (-40.050289 -2.796072)', '2026-07-11 07:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.795989)'), GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.796072)'))) / (select extract(epoch from '2026-07-11 07:45:44'::timestamp) - extract(epoch from '2026-07-11 07:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.795989)'), GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.796072)'))) / (select extract(epoch from '2026-07-11 07:45:44'::timestamp) - extract(epoch from '2026-07-11 07:45: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'), 47627, 'SRID=4674;POINT (-40.050353 -2.796138)', '2026-07-11 07:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796138)'))) / (select extract(epoch from '2026-07-11 07:45:50'::timestamp) - extract(epoch from '2026-07-11 07:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796138)'))) / (select extract(epoch from '2026-07-11 07:45:50'::timestamp) - extract(epoch from '2026-07-11 07:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050367 -2.796144)', '2026-07-11 07:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796138)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796144)'))) / (select extract(epoch from '2026-07-11 07:45:51'::timestamp) - extract(epoch from '2026-07-11 07:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796138)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796144)'))) / (select extract(epoch from '2026-07-11 07:45:51'::timestamp) - extract(epoch from '2026-07-11 07:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050459 -2.796162)', '2026-07-11 07:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796144)'), GeomFromEWKT('SRID=4674;POINT (-40.050459 -2.796162)'))) / (select extract(epoch from '2026-07-11 07:45:58'::timestamp) - extract(epoch from '2026-07-11 07:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796144)'), GeomFromEWKT('SRID=4674;POINT (-40.050459 -2.796162)'))) / (select extract(epoch from '2026-07-11 07:45:58'::timestamp) - extract(epoch from '2026-07-11 07:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050515 -2.796173)', '2026-07-11 07:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050459 -2.796162)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.796173)'))) / (select extract(epoch from '2026-07-11 07:46:02'::timestamp) - extract(epoch from '2026-07-11 07:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050459 -2.796162)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.796173)'))) / (select extract(epoch from '2026-07-11 07:46:02'::timestamp) - extract(epoch from '2026-07-11 07:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05057 -2.7962)', '2026-07-11 07:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.7962)'))) / (select extract(epoch from '2026-07-11 07:46:09'::timestamp) - extract(epoch from '2026-07-11 07:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.7962)'))) / (select extract(epoch from '2026-07-11 07:46:09'::timestamp) - extract(epoch from '2026-07-11 07:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050581 -2.79624)', '2026-07-11 07:46:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.79624)'))) / (select extract(epoch from '2026-07-11 07:46:14'::timestamp) - extract(epoch from '2026-07-11 07:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.79624)'))) / (select extract(epoch from '2026-07-11 07:46:14'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050571 -2.796251)', '2026-07-11 07:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.796251)'))) / (select extract(epoch from '2026-07-11 07:46:16'::timestamp) - extract(epoch from '2026-07-11 07:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.796251)'))) / (select extract(epoch from '2026-07-11 07:46:16'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050527 -2.79625)', '2026-07-11 07:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.79625)'))) / (select extract(epoch from '2026-07-11 07:46:24'::timestamp) - extract(epoch from '2026-07-11 07:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.79625)'))) / (select extract(epoch from '2026-07-11 07:46:24'::timestamp) - extract(epoch from '2026-07-11 07:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050506 -2.796228)', '2026-07-11 07:46:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.79625)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796228)'))) / (select extract(epoch from '2026-07-11 07:46:28'::timestamp) - extract(epoch from '2026-07-11 07:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.79625)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796228)'))) / (select extract(epoch from '2026-07-11 07:46:28'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050507 -2.796221)', '2026-07-11 07:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796228)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.796221)'))) / (select extract(epoch from '2026-07-11 07:46:29'::timestamp) - extract(epoch from '2026-07-11 07:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796228)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.796221)'))) / (select extract(epoch from '2026-07-11 07:46:29'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050485 -2.796193)', '2026-07-11 07:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.796221)'), GeomFromEWKT('SRID=4674;POINT (-40.050485 -2.796193)'))) / (select extract(epoch from '2026-07-11 07:46:35'::timestamp) - extract(epoch from '2026-07-11 07:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.796221)'), GeomFromEWKT('SRID=4674;POINT (-40.050485 -2.796193)'))) / (select extract(epoch from '2026-07-11 07:46:35'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050482 -2.796172)', '2026-07-11 07:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050485 -2.796193)'), GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.796172)'))) / (select extract(epoch from '2026-07-11 07:46:41'::timestamp) - extract(epoch from '2026-07-11 07:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050485 -2.796193)'), GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.796172)'))) / (select extract(epoch from '2026-07-11 07:46:41'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050468 -2.796136)', '2026-07-11 07:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796136)'))) / (select extract(epoch from '2026-07-11 07:46:49'::timestamp) - extract(epoch from '2026-07-11 07:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796136)'))) / (select extract(epoch from '2026-07-11 07:46:49'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050461 -2.796126)', '2026-07-11 07:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.796126)'))) / (select extract(epoch from '2026-07-11 07:46:51'::timestamp) - extract(epoch from '2026-07-11 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.796126)'))) / (select extract(epoch from '2026-07-11 07:46:51'::timestamp) - extract(epoch from '2026-07-11 07:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050411 -2.79611)', '2026-07-11 07:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.79611)'))) / (select extract(epoch from '2026-07-11 07:47:00'::timestamp) - extract(epoch from '2026-07-11 07:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.79611)'))) / (select extract(epoch from '2026-07-11 07:47:00'::timestamp) - extract(epoch from '2026-07-11 07:46: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'), 47627, 'SRID=4674;POINT (-40.050353 -2.796141)', '2026-07-11 07:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.79611)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796141)'))) / (select extract(epoch from '2026-07-11 07:47:06'::timestamp) - extract(epoch from '2026-07-11 07:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.79611)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796141)'))) / (select extract(epoch from '2026-07-11 07:47:06'::timestamp) - extract(epoch from '2026-07-11 07:47: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'), 47627, 'SRID=4674;POINT (-40.050343 -2.796149)', '2026-07-11 07:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796149)'))) / (select extract(epoch from '2026-07-11 07:47:07'::timestamp) - extract(epoch from '2026-07-11 07:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796149)'))) / (select extract(epoch from '2026-07-11 07:47:07'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050307 -2.796233)', '2026-07-11 07:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796149)'), GeomFromEWKT('SRID=4674;POINT (-40.050307 -2.796233)'))) / (select extract(epoch from '2026-07-11 07:47:14'::timestamp) - extract(epoch from '2026-07-11 07:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796149)'), GeomFromEWKT('SRID=4674;POINT (-40.050307 -2.796233)'))) / (select extract(epoch from '2026-07-11 07:47:14'::timestamp) - extract(epoch from '2026-07-11 07:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050336 -2.796385)', '2026-07-11 07:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050307 -2.796233)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.796385)'))) / (select extract(epoch from '2026-07-11 07:47:24'::timestamp) - extract(epoch from '2026-07-11 07:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050307 -2.796233)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.796385)'))) / (select extract(epoch from '2026-07-11 07:47:24'::timestamp) - extract(epoch from '2026-07-11 07:47: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'), 47627, 'SRID=4674;POINT (-40.050343 -2.796502)', '2026-07-11 07:47:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.796385)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796502)'))) / (select extract(epoch from '2026-07-11 07:47:31'::timestamp) - extract(epoch from '2026-07-11 07:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.796385)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796502)'))) / (select extract(epoch from '2026-07-11 07:47:31'::timestamp) - extract(epoch from '2026-07-11 07:47: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'), 47627, 'SRID=4674;POINT (-40.050362 -2.79662)', '2026-07-11 07:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796502)'), GeomFromEWKT('SRID=4674;POINT (-40.050362 -2.79662)'))) / (select extract(epoch from '2026-07-11 07:47:38'::timestamp) - extract(epoch from '2026-07-11 07:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.796502)'), GeomFromEWKT('SRID=4674;POINT (-40.050362 -2.79662)'))) / (select extract(epoch from '2026-07-11 07:47:38'::timestamp) - extract(epoch from '2026-07-11 07:47: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'), 47627, 'SRID=4674;POINT (-40.050365 -2.796721)', '2026-07-11 07:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050362 -2.79662)'), GeomFromEWKT('SRID=4674;POINT (-40.050365 -2.796721)'))) / (select extract(epoch from '2026-07-11 07:47:44'::timestamp) - extract(epoch from '2026-07-11 07:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050362 -2.79662)'), GeomFromEWKT('SRID=4674;POINT (-40.050365 -2.796721)'))) / (select extract(epoch from '2026-07-11 07:47:44'::timestamp) - extract(epoch from '2026-07-11 07:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050397 -2.796838)', '2026-07-11 07:47:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050365 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.796838)'))) / (select extract(epoch from '2026-07-11 07:47:51'::timestamp) - extract(epoch from '2026-07-11 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050365 -2.796721)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.796838)'))) / (select extract(epoch from '2026-07-11 07:47:51'::timestamp) - extract(epoch from '2026-07-11 07:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050416 -2.796946)', '2026-07-11 07:47:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.796946)'))) / (select extract(epoch from '2026-07-11 07:47:57'::timestamp) - extract(epoch from '2026-07-11 07:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.796946)'))) / (select extract(epoch from '2026-07-11 07:47:57'::timestamp) - extract(epoch from '2026-07-11 07:47: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'), 47627, 'SRID=4674;POINT (-40.050456 -2.797107)', '2026-07-11 07:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.797107)'))) / (select extract(epoch from '2026-07-11 07:48:06'::timestamp) - extract(epoch from '2026-07-11 07:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.797107)'))) / (select extract(epoch from '2026-07-11 07:48:06'::timestamp) - extract(epoch from '2026-07-11 07:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050483 -2.797213)', '2026-07-11 07:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.050483 -2.797213)'))) / (select extract(epoch from '2026-07-11 07:48:12'::timestamp) - extract(epoch from '2026-07-11 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.050483 -2.797213)'))) / (select extract(epoch from '2026-07-11 07:48:12'::timestamp) - extract(epoch from '2026-07-11 07:48: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'), 47627, 'SRID=4674;POINT (-40.050521 -2.797331)', '2026-07-11 07:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050483 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797331)'))) / (select extract(epoch from '2026-07-11 07:48:19'::timestamp) - extract(epoch from '2026-07-11 07:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050483 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797331)'))) / (select extract(epoch from '2026-07-11 07:48:19'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050586 -2.797462)', '2026-07-11 07:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.050586 -2.797462)'))) / (select extract(epoch from '2026-07-11 07:48:27'::timestamp) - extract(epoch from '2026-07-11 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.050586 -2.797462)'))) / (select extract(epoch from '2026-07-11 07:48:27'::timestamp) - extract(epoch from '2026-07-11 07:48: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'), 47627, 'SRID=4674;POINT (-40.050699 -2.797564)', '2026-07-11 07:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050586 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.797564)'))) / (select extract(epoch from '2026-07-11 07:48:36'::timestamp) - extract(epoch from '2026-07-11 07:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050586 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.797564)'))) / (select extract(epoch from '2026-07-11 07:48:36'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050713 -2.797579)', '2026-07-11 07:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.797564)'), GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.797579)'))) / (select extract(epoch from '2026-07-11 07:48:38'::timestamp) - extract(epoch from '2026-07-11 07:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.797564)'), GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.797579)'))) / (select extract(epoch from '2026-07-11 07:48:38'::timestamp) - extract(epoch from '2026-07-11 07:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050723 -2.797606)', '2026-07-11 07:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.797579)'), GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.797606)'))) / (select extract(epoch from '2026-07-11 07:48:42'::timestamp) - extract(epoch from '2026-07-11 07:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.797579)'), GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.797606)'))) / (select extract(epoch from '2026-07-11 07:48:42'::timestamp) - extract(epoch from '2026-07-11 07:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050711 -2.797644)', '2026-07-11 07:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:48:49'::timestamp) - extract(epoch from '2026-07-11 07:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:48:49'::timestamp) - extract(epoch from '2026-07-11 07:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050695 -2.797646)', '2026-07-11 07:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797646)'))) / (select extract(epoch from '2026-07-11 07:49:01'::timestamp) - extract(epoch from '2026-07-11 07:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797646)'))) / (select extract(epoch from '2026-07-11 07:49:01'::timestamp) - extract(epoch from '2026-07-11 07:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050676 -2.79761)', '2026-07-11 07:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.050676 -2.79761)'))) / (select extract(epoch from '2026-07-11 07:49:10'::timestamp) - extract(epoch from '2026-07-11 07:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.050676 -2.79761)'))) / (select extract(epoch from '2026-07-11 07:49:10'::timestamp) - extract(epoch from '2026-07-11 07:49: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'), 47627, 'SRID=4674;POINT (-40.050624 -2.797585)', '2026-07-11 07:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050676 -2.79761)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.797585)'))) / (select extract(epoch from '2026-07-11 07:49:19'::timestamp) - extract(epoch from '2026-07-11 07:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050676 -2.79761)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.797585)'))) / (select extract(epoch from '2026-07-11 07:49:19'::timestamp) - extract(epoch from '2026-07-11 07:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.0506 -2.797565)', '2026-07-11 07:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.797565)'))) / (select extract(epoch from '2026-07-11 07:49:27'::timestamp) - extract(epoch from '2026-07-11 07:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.797565)'))) / (select extract(epoch from '2026-07-11 07:49:27'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050635 -2.797518)', '2026-07-11 07:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.797565)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.797518)'))) / (select extract(epoch from '2026-07-11 07:49:43'::timestamp) - extract(epoch from '2026-07-11 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.797565)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.797518)'))) / (select extract(epoch from '2026-07-11 07:49:43'::timestamp) - extract(epoch from '2026-07-11 07:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050693 -2.797464)', '2026-07-11 07:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.797518)'), GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.797464)'))) / (select extract(epoch from '2026-07-11 07:50:07'::timestamp) - extract(epoch from '2026-07-11 07:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.797518)'), GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.797464)'))) / (select extract(epoch from '2026-07-11 07:50:07'::timestamp) - extract(epoch from '2026-07-11 07:49: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'), 47627, 'SRID=4674;POINT (-40.050695 -2.797469)', '2026-07-11 07:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797469)'))) / (select extract(epoch from '2026-07-11 07:50:28'::timestamp) - extract(epoch from '2026-07-11 07:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797469)'))) / (select extract(epoch from '2026-07-11 07:50:28'::timestamp) - extract(epoch from '2026-07-11 07:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050691 -2.797489)', '2026-07-11 07:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797469)'), GeomFromEWKT('SRID=4674;POINT (-40.050691 -2.797489)'))) / (select extract(epoch from '2026-07-11 07:50:43'::timestamp) - extract(epoch from '2026-07-11 07:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797469)'), GeomFromEWKT('SRID=4674;POINT (-40.050691 -2.797489)'))) / (select extract(epoch from '2026-07-11 07:50:43'::timestamp) - extract(epoch from '2026-07-11 07:50: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'), 47627, 'SRID=4674;POINT (-40.050695 -2.797496)', '2026-07-11 07:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050691 -2.797489)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797496)'))) / (select extract(epoch from '2026-07-11 07:51:00'::timestamp) - extract(epoch from '2026-07-11 07:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050691 -2.797489)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797496)'))) / (select extract(epoch from '2026-07-11 07:51:00'::timestamp) - extract(epoch from '2026-07-11 07:50: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'), 47627, 'SRID=4674;POINT (-40.050688 -2.797471)', '2026-07-11 07:51:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797496)'), GeomFromEWKT('SRID=4674;POINT (-40.050688 -2.797471)'))) / (select extract(epoch from '2026-07-11 07:51:22'::timestamp) - extract(epoch from '2026-07-11 07:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.797496)'), GeomFromEWKT('SRID=4674;POINT (-40.050688 -2.797471)'))) / (select extract(epoch from '2026-07-11 07:51:22'::timestamp) - extract(epoch from '2026-07-11 07:51: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'), 47627, 'SRID=4674;POINT (-40.050689 -2.797486)', '2026-07-11 07:51:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050688 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.050689 -2.797486)'))) / (select extract(epoch from '2026-07-11 07:51:37'::timestamp) - extract(epoch from '2026-07-11 07:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050688 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.050689 -2.797486)'))) / (select extract(epoch from '2026-07-11 07:51:37'::timestamp) - extract(epoch from '2026-07-11 07:51: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'), 47627, 'SRID=4674;POINT (-40.050704 -2.797501)', '2026-07-11 07:51:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050689 -2.797486)'), GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797501)'))) / (select extract(epoch from '2026-07-11 07:51:52'::timestamp) - extract(epoch from '2026-07-11 07:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050689 -2.797486)'), GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797501)'))) / (select extract(epoch from '2026-07-11 07:51:52'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050711 -2.797459)', '2026-07-11 07:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797459)'))) / (select extract(epoch from '2026-07-11 07:52:19'::timestamp) - extract(epoch from '2026-07-11 07:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797459)'))) / (select extract(epoch from '2026-07-11 07:52:19'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05077 -2.797445)', '2026-07-11 07:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797445)'))) / (select extract(epoch from '2026-07-11 07:52:49'::timestamp) - extract(epoch from '2026-07-11 07:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797445)'))) / (select extract(epoch from '2026-07-11 07:52:49'::timestamp) - extract(epoch from '2026-07-11 07:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050774 -2.797441)', '2026-07-11 07:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797445)'), GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797441)'))) / (select extract(epoch from '2026-07-11 07:53:07'::timestamp) - extract(epoch from '2026-07-11 07:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797445)'), GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797441)'))) / (select extract(epoch from '2026-07-11 07:53:07'::timestamp) - extract(epoch from '2026-07-11 07:52: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'), 47627, 'SRID=4674;POINT (-40.050771 -2.797456)', '2026-07-11 07:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797456)'))) / (select extract(epoch from '2026-07-11 07:53:15'::timestamp) - extract(epoch from '2026-07-11 07:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797456)'))) / (select extract(epoch from '2026-07-11 07:53:15'::timestamp) - extract(epoch from '2026-07-11 07:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050778 -2.797459)', '2026-07-11 07:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797459)'))) / (select extract(epoch from '2026-07-11 07:53:25'::timestamp) - extract(epoch from '2026-07-11 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797459)'))) / (select extract(epoch from '2026-07-11 07:53:25'::timestamp) - extract(epoch from '2026-07-11 07:53: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'), 47627, 'SRID=4674;POINT (-40.050779 -2.797467)', '2026-07-11 07:53:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797467)'))) / (select extract(epoch from '2026-07-11 07:53:52'::timestamp) - extract(epoch from '2026-07-11 07:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797467)'))) / (select extract(epoch from '2026-07-11 07:53:52'::timestamp) - extract(epoch from '2026-07-11 07:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050793 -2.797509)', '2026-07-11 07:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.050793 -2.797509)'))) / (select extract(epoch from '2026-07-11 07:54:11'::timestamp) - extract(epoch from '2026-07-11 07:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.050793 -2.797509)'))) / (select extract(epoch from '2026-07-11 07:54:11'::timestamp) - extract(epoch from '2026-07-11 07:53: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'), 47627, 'SRID=4674;POINT (-40.050784 -2.797491)', '2026-07-11 07:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050793 -2.797509)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797491)'))) / (select extract(epoch from '2026-07-11 07:54:33'::timestamp) - extract(epoch from '2026-07-11 07:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050793 -2.797509)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797491)'))) / (select extract(epoch from '2026-07-11 07:54:33'::timestamp) - extract(epoch from '2026-07-11 07:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050783 -2.797483)', '2026-07-11 07:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797491)'), GeomFromEWKT('SRID=4674;POINT (-40.050783 -2.797483)'))) / (select extract(epoch from '2026-07-11 07:55:03'::timestamp) - extract(epoch from '2026-07-11 07:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797491)'), GeomFromEWKT('SRID=4674;POINT (-40.050783 -2.797483)'))) / (select extract(epoch from '2026-07-11 07:55:03'::timestamp) - extract(epoch from '2026-07-11 07:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050776 -2.797491)', '2026-07-11 07:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050783 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.797491)'))) / (select extract(epoch from '2026-07-11 07:55:53'::timestamp) - extract(epoch from '2026-07-11 07:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050783 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.797491)'))) / (select extract(epoch from '2026-07-11 07:55:53'::timestamp) - extract(epoch from '2026-07-11 07:55: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'), 47627, 'SRID=4674;POINT (-40.050775 -2.797501)', '2026-07-11 07:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.797491)'), GeomFromEWKT('SRID=4674;POINT (-40.050775 -2.797501)'))) / (select extract(epoch from '2026-07-11 07:56:25'::timestamp) - extract(epoch from '2026-07-11 07:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.797491)'), GeomFromEWKT('SRID=4674;POINT (-40.050775 -2.797501)'))) / (select extract(epoch from '2026-07-11 07:56:25'::timestamp) - extract(epoch from '2026-07-11 07:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050774 -2.797487)', '2026-07-11 07:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050775 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797487)'))) / (select extract(epoch from '2026-07-11 07:56:55'::timestamp) - extract(epoch from '2026-07-11 07:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050775 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797487)'))) / (select extract(epoch from '2026-07-11 07:56:55'::timestamp) - extract(epoch from '2026-07-11 07:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050771 -2.797486)', '2026-07-11 07:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797486)'))) / (select extract(epoch from '2026-07-11 07:57:23'::timestamp) - extract(epoch from '2026-07-11 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050774 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797486)'))) / (select extract(epoch from '2026-07-11 07:57:23'::timestamp) - extract(epoch from '2026-07-11 07:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050779 -2.797498)', '2026-07-11 07:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797486)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797498)'))) / (select extract(epoch from '2026-07-11 07:58:20'::timestamp) - extract(epoch from '2026-07-11 07:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050771 -2.797486)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797498)'))) / (select extract(epoch from '2026-07-11 07:58:20'::timestamp) - extract(epoch from '2026-07-11 07:57: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'), 47627, 'SRID=4674;POINT (-40.050779 -2.797484)', '2026-07-11 07:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797498)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797484)'))) / (select extract(epoch from '2026-07-11 07:58:43'::timestamp) - extract(epoch from '2026-07-11 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797498)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797484)'))) / (select extract(epoch from '2026-07-11 07:58:43'::timestamp) - extract(epoch from '2026-07-11 07:58: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'), 47627, 'SRID=4674;POINT (-40.050787 -2.797476)', '2026-07-11 07:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.797476)'))) / (select extract(epoch from '2026-07-11 07:59:08'::timestamp) - extract(epoch from '2026-07-11 07:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.797476)'))) / (select extract(epoch from '2026-07-11 07:59:08'::timestamp) - extract(epoch from '2026-07-11 07:58:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050781 -2.797483)', '2026-07-11 07:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.797476)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797483)'))) / (select extract(epoch from '2026-07-11 07:59:25'::timestamp) - extract(epoch from '2026-07-11 07:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.797476)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797483)'))) / (select extract(epoch from '2026-07-11 07:59:25'::timestamp) - extract(epoch from '2026-07-11 07:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050709 -2.797496)', '2026-07-11 07:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.050709 -2.797496)'))) / (select extract(epoch from '2026-07-11 07:59:33'::timestamp) - extract(epoch from '2026-07-11 07:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797483)'), GeomFromEWKT('SRID=4674;POINT (-40.050709 -2.797496)'))) / (select extract(epoch from '2026-07-11 07:59:33'::timestamp) - extract(epoch from '2026-07-11 07:59: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'), 47627, 'SRID=4674;POINT (-40.050626 -2.79752)', '2026-07-11 07:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050709 -2.797496)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.79752)'))) / (select extract(epoch from '2026-07-11 07:59:41'::timestamp) - extract(epoch from '2026-07-11 07:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050709 -2.797496)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.79752)'))) / (select extract(epoch from '2026-07-11 07:59:41'::timestamp) - extract(epoch from '2026-07-11 07:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050581 -2.797544)', '2026-07-11 07:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.797544)'))) / (select extract(epoch from '2026-07-11 07:59:48'::timestamp) - extract(epoch from '2026-07-11 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.797544)'))) / (select extract(epoch from '2026-07-11 07:59:48'::timestamp) - extract(epoch from '2026-07-11 07:59: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'), 47627, 'SRID=4674;POINT (-40.050561 -2.797579)', '2026-07-11 07:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.797544)'), GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.797579)'))) / (select extract(epoch from '2026-07-11 07:59:54'::timestamp) - extract(epoch from '2026-07-11 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050581 -2.797544)'), GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.797579)'))) / (select extract(epoch from '2026-07-11 07:59:54'::timestamp) - extract(epoch from '2026-07-11 07:59: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'), 47627, 'SRID=4674;POINT (-40.050565 -2.797597)', '2026-07-11 07:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.797579)'), GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.797597)'))) / (select extract(epoch from '2026-07-11 07:59:56'::timestamp) - extract(epoch from '2026-07-11 07:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.797579)'), GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.797597)'))) / (select extract(epoch from '2026-07-11 07:59:56'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05057 -2.797606)', '2026-07-11 07:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.797597)'), GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.797606)'))) / (select extract(epoch from '2026-07-11 07:59:57'::timestamp) - extract(epoch from '2026-07-11 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.797597)'), GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.797606)'))) / (select extract(epoch from '2026-07-11 07:59:57'::timestamp) - extract(epoch from '2026-07-11 07:59: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'), 47627, 'SRID=4674;POINT (-40.050582 -2.797624)', '2026-07-11 07:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.050582 -2.797624)'))) / (select extract(epoch from '2026-07-11 07:59:59'::timestamp) - extract(epoch from '2026-07-11 07:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05057 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.050582 -2.797624)'))) / (select extract(epoch from '2026-07-11 07:59:59'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050597 -2.79764)', '2026-07-11 08:00:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050582 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.79764)'))) / (select extract(epoch from '2026-07-11 08:00:01'::timestamp) - extract(epoch from '2026-07-11 07:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050582 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.79764)'))) / (select extract(epoch from '2026-07-11 08:00:01'::timestamp) - extract(epoch from '2026-07-11 07:59: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'), 47627, 'SRID=4674;POINT (-40.050621 -2.797658)', '2026-07-11 08:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.79764)'), GeomFromEWKT('SRID=4674;POINT (-40.050621 -2.797658)'))) / (select extract(epoch from '2026-07-11 08:00:03'::timestamp) - extract(epoch from '2026-07-11 08:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.79764)'), GeomFromEWKT('SRID=4674;POINT (-40.050621 -2.797658)'))) / (select extract(epoch from '2026-07-11 08:00:03'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.050666 -2.797672)', '2026-07-11 08:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050621 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.050666 -2.797672)'))) / (select extract(epoch from '2026-07-11 08:00:07'::timestamp) - extract(epoch from '2026-07-11 08:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050621 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.050666 -2.797672)'))) / (select extract(epoch from '2026-07-11 08:00:07'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.050731 -2.797666)', '2026-07-11 08:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050666 -2.797672)'), GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797666)'))) / (select extract(epoch from '2026-07-11 08:00:12'::timestamp) - extract(epoch from '2026-07-11 08:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050666 -2.797672)'), GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797666)'))) / (select extract(epoch from '2026-07-11 08:00:12'::timestamp) - extract(epoch from '2026-07-11 08:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050763 -2.797658)', '2026-07-11 08:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797666)'), GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.797658)'))) / (select extract(epoch from '2026-07-11 08:00:14'::timestamp) - extract(epoch from '2026-07-11 08:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797666)'), GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.797658)'))) / (select extract(epoch from '2026-07-11 08:00:14'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.050893 -2.797655)', '2026-07-11 08:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.050893 -2.797655)'))) / (select extract(epoch from '2026-07-11 08:00:21'::timestamp) - extract(epoch from '2026-07-11 08:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.050893 -2.797655)'))) / (select extract(epoch from '2026-07-11 08:00:21'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.051028 -2.797689)', '2026-07-11 08:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050893 -2.797655)'), GeomFromEWKT('SRID=4674;POINT (-40.051028 -2.797689)'))) / (select extract(epoch from '2026-07-11 08:00:28'::timestamp) - extract(epoch from '2026-07-11 08:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050893 -2.797655)'), GeomFromEWKT('SRID=4674;POINT (-40.051028 -2.797689)'))) / (select extract(epoch from '2026-07-11 08:00:28'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.051133 -2.79774)', '2026-07-11 08:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051028 -2.797689)'), GeomFromEWKT('SRID=4674;POINT (-40.051133 -2.79774)'))) / (select extract(epoch from '2026-07-11 08:00:35'::timestamp) - extract(epoch from '2026-07-11 08:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051028 -2.797689)'), GeomFromEWKT('SRID=4674;POINT (-40.051133 -2.79774)'))) / (select extract(epoch from '2026-07-11 08:00:35'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.051165 -2.797772)', '2026-07-11 08:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051133 -2.79774)'), GeomFromEWKT('SRID=4674;POINT (-40.051165 -2.797772)'))) / (select extract(epoch from '2026-07-11 08:00:39'::timestamp) - extract(epoch from '2026-07-11 08:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051133 -2.79774)'), GeomFromEWKT('SRID=4674;POINT (-40.051165 -2.797772)'))) / (select extract(epoch from '2026-07-11 08:00:39'::timestamp) - extract(epoch from '2026-07-11 08:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051185 -2.797785)', '2026-07-11 08:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051165 -2.797772)'), GeomFromEWKT('SRID=4674;POINT (-40.051185 -2.797785)'))) / (select extract(epoch from '2026-07-11 08:00:41'::timestamp) - extract(epoch from '2026-07-11 08:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051165 -2.797772)'), GeomFromEWKT('SRID=4674;POINT (-40.051185 -2.797785)'))) / (select extract(epoch from '2026-07-11 08:00:41'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.051231 -2.797824)', '2026-07-11 08:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051185 -2.797785)'), GeomFromEWKT('SRID=4674;POINT (-40.051231 -2.797824)'))) / (select extract(epoch from '2026-07-11 08:00:46'::timestamp) - extract(epoch from '2026-07-11 08:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051185 -2.797785)'), GeomFromEWKT('SRID=4674;POINT (-40.051231 -2.797824)'))) / (select extract(epoch from '2026-07-11 08:00:46'::timestamp) - extract(epoch from '2026-07-11 08:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051264 -2.797859)', '2026-07-11 08:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051231 -2.797824)'), GeomFromEWKT('SRID=4674;POINT (-40.051264 -2.797859)'))) / (select extract(epoch from '2026-07-11 08:00:52'::timestamp) - extract(epoch from '2026-07-11 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051231 -2.797824)'), GeomFromEWKT('SRID=4674;POINT (-40.051264 -2.797859)'))) / (select extract(epoch from '2026-07-11 08:00:52'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.05127 -2.797869)', '2026-07-11 08:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051264 -2.797859)'), GeomFromEWKT('SRID=4674;POINT (-40.05127 -2.797869)'))) / (select extract(epoch from '2026-07-11 08:00:53'::timestamp) - extract(epoch from '2026-07-11 08:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051264 -2.797859)'), GeomFromEWKT('SRID=4674;POINT (-40.05127 -2.797869)'))) / (select extract(epoch from '2026-07-11 08:00:53'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.051281 -2.797894)', '2026-07-11 08:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05127 -2.797869)'), GeomFromEWKT('SRID=4674;POINT (-40.051281 -2.797894)'))) / (select extract(epoch from '2026-07-11 08:00:58'::timestamp) - extract(epoch from '2026-07-11 08:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05127 -2.797869)'), GeomFromEWKT('SRID=4674;POINT (-40.051281 -2.797894)'))) / (select extract(epoch from '2026-07-11 08:00:58'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.051277 -2.797923)', '2026-07-11 08:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051281 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797923)'))) / (select extract(epoch from '2026-07-11 08:01:04'::timestamp) - extract(epoch from '2026-07-11 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051281 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797923)'))) / (select extract(epoch from '2026-07-11 08:01:04'::timestamp) - extract(epoch from '2026-07-11 08:00: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'), 47627, 'SRID=4674;POINT (-40.051256 -2.797928)', '2026-07-11 08:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797923)'), GeomFromEWKT('SRID=4674;POINT (-40.051256 -2.797928)'))) / (select extract(epoch from '2026-07-11 08:01:12'::timestamp) - extract(epoch from '2026-07-11 08:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797923)'), GeomFromEWKT('SRID=4674;POINT (-40.051256 -2.797928)'))) / (select extract(epoch from '2026-07-11 08:01:12'::timestamp) - extract(epoch from '2026-07-11 08:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051229 -2.797881)', '2026-07-11 08:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051256 -2.797928)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797881)'))) / (select extract(epoch from '2026-07-11 08:01:21'::timestamp) - extract(epoch from '2026-07-11 08:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051256 -2.797928)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797881)'))) / (select extract(epoch from '2026-07-11 08:01:21'::timestamp) - extract(epoch from '2026-07-11 08:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051215 -2.797843)', '2026-07-11 08:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797881)'), GeomFromEWKT('SRID=4674;POINT (-40.051215 -2.797843)'))) / (select extract(epoch from '2026-07-11 08:01:26'::timestamp) - extract(epoch from '2026-07-11 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797881)'), GeomFromEWKT('SRID=4674;POINT (-40.051215 -2.797843)'))) / (select extract(epoch from '2026-07-11 08:01:26'::timestamp) - extract(epoch from '2026-07-11 08:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051206 -2.79783)', '2026-07-11 08:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051215 -2.797843)'), GeomFromEWKT('SRID=4674;POINT (-40.051206 -2.79783)'))) / (select extract(epoch from '2026-07-11 08:01:28'::timestamp) - extract(epoch from '2026-07-11 08:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051215 -2.797843)'), GeomFromEWKT('SRID=4674;POINT (-40.051206 -2.79783)'))) / (select extract(epoch from '2026-07-11 08:01:28'::timestamp) - extract(epoch from '2026-07-11 08:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051195 -2.797814)', '2026-07-11 08:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051206 -2.79783)'), GeomFromEWKT('SRID=4674;POINT (-40.051195 -2.797814)'))) / (select extract(epoch from '2026-07-11 08:01:31'::timestamp) - extract(epoch from '2026-07-11 08:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051206 -2.79783)'), GeomFromEWKT('SRID=4674;POINT (-40.051195 -2.797814)'))) / (select extract(epoch from '2026-07-11 08:01:31'::timestamp) - extract(epoch from '2026-07-11 08:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051181 -2.797786)', '2026-07-11 08:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051195 -2.797814)'), GeomFromEWKT('SRID=4674;POINT (-40.051181 -2.797786)'))) / (select extract(epoch from '2026-07-11 08:01:35'::timestamp) - extract(epoch from '2026-07-11 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051195 -2.797814)'), GeomFromEWKT('SRID=4674;POINT (-40.051181 -2.797786)'))) / (select extract(epoch from '2026-07-11 08:01:35'::timestamp) - extract(epoch from '2026-07-11 08:01: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'), 47627, 'SRID=4674;POINT (-40.051199 -2.79773)', '2026-07-11 08:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051181 -2.797786)'), GeomFromEWKT('SRID=4674;POINT (-40.051199 -2.79773)'))) / (select extract(epoch from '2026-07-11 08:01:42'::timestamp) - extract(epoch from '2026-07-11 08:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051181 -2.797786)'), GeomFromEWKT('SRID=4674;POINT (-40.051199 -2.79773)'))) / (select extract(epoch from '2026-07-11 08:01:42'::timestamp) - extract(epoch from '2026-07-11 08:01: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'), 47627, 'SRID=4674;POINT (-40.051217 -2.797715)', '2026-07-11 08:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051199 -2.79773)'), GeomFromEWKT('SRID=4674;POINT (-40.051217 -2.797715)'))) / (select extract(epoch from '2026-07-11 08:01:44'::timestamp) - extract(epoch from '2026-07-11 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051199 -2.79773)'), GeomFromEWKT('SRID=4674;POINT (-40.051217 -2.797715)'))) / (select extract(epoch from '2026-07-11 08:01:44'::timestamp) - extract(epoch from '2026-07-11 08:01: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'), 47627, 'SRID=4674;POINT (-40.051251 -2.797705)', '2026-07-11 08:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051217 -2.797715)'), GeomFromEWKT('SRID=4674;POINT (-40.051251 -2.797705)'))) / (select extract(epoch from '2026-07-11 08:01:47'::timestamp) - extract(epoch from '2026-07-11 08:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051217 -2.797715)'), GeomFromEWKT('SRID=4674;POINT (-40.051251 -2.797705)'))) / (select extract(epoch from '2026-07-11 08:01:47'::timestamp) - extract(epoch from '2026-07-11 08:01: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'), 47627, 'SRID=4674;POINT (-40.051315 -2.797717)', '2026-07-11 08:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051251 -2.797705)'), GeomFromEWKT('SRID=4674;POINT (-40.051315 -2.797717)'))) / (select extract(epoch from '2026-07-11 08:01:54'::timestamp) - extract(epoch from '2026-07-11 08:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051251 -2.797705)'), GeomFromEWKT('SRID=4674;POINT (-40.051315 -2.797717)'))) / (select extract(epoch from '2026-07-11 08:01:54'::timestamp) - extract(epoch from '2026-07-11 08:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051336 -2.797726)', '2026-07-11 08:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051315 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.051336 -2.797726)'))) / (select extract(epoch from '2026-07-11 08:01:57'::timestamp) - extract(epoch from '2026-07-11 08:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051315 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.051336 -2.797726)'))) / (select extract(epoch from '2026-07-11 08:01:57'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.051352 -2.797756)', '2026-07-11 08:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051336 -2.797726)'), GeomFromEWKT('SRID=4674;POINT (-40.051352 -2.797756)'))) / (select extract(epoch from '2026-07-11 08:02:01'::timestamp) - extract(epoch from '2026-07-11 08:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051336 -2.797726)'), GeomFromEWKT('SRID=4674;POINT (-40.051352 -2.797756)'))) / (select extract(epoch from '2026-07-11 08:02:01'::timestamp) - extract(epoch from '2026-07-11 08:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051349 -2.797804)', '2026-07-11 08:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051352 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.051349 -2.797804)'))) / (select extract(epoch from '2026-07-11 08:02:08'::timestamp) - extract(epoch from '2026-07-11 08:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051352 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.051349 -2.797804)'))) / (select extract(epoch from '2026-07-11 08:02:08'::timestamp) - extract(epoch from '2026-07-11 08:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051298 -2.797835)', '2026-07-11 08:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051349 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.051298 -2.797835)'))) / (select extract(epoch from '2026-07-11 08:02:18'::timestamp) - extract(epoch from '2026-07-11 08:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051349 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.051298 -2.797835)'))) / (select extract(epoch from '2026-07-11 08:02:18'::timestamp) - extract(epoch from '2026-07-11 08:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051277 -2.797855)', '2026-07-11 08:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051298 -2.797835)'), GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797855)'))) / (select extract(epoch from '2026-07-11 08:02:26'::timestamp) - extract(epoch from '2026-07-11 08:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051298 -2.797835)'), GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797855)'))) / (select extract(epoch from '2026-07-11 08:02:26'::timestamp) - extract(epoch from '2026-07-11 08:02: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'), 47627, 'SRID=4674;POINT (-40.051253 -2.797885)', '2026-07-11 08:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797855)'), GeomFromEWKT('SRID=4674;POINT (-40.051253 -2.797885)'))) / (select extract(epoch from '2026-07-11 08:02:34'::timestamp) - extract(epoch from '2026-07-11 08:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051277 -2.797855)'), GeomFromEWKT('SRID=4674;POINT (-40.051253 -2.797885)'))) / (select extract(epoch from '2026-07-11 08:02:34'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.051229 -2.797862)', '2026-07-11 08:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051253 -2.797885)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797862)'))) / (select extract(epoch from '2026-07-11 08:02:39'::timestamp) - extract(epoch from '2026-07-11 08:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051253 -2.797885)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797862)'))) / (select extract(epoch from '2026-07-11 08:02:39'::timestamp) - extract(epoch from '2026-07-11 08:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051212 -2.797812)', '2026-07-11 08:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797862)'), GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.797812)'))) / (select extract(epoch from '2026-07-11 08:02:47'::timestamp) - extract(epoch from '2026-07-11 08:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.797862)'), GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.797812)'))) / (select extract(epoch from '2026-07-11 08:02:47'::timestamp) - extract(epoch from '2026-07-11 08:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051193 -2.797747)', '2026-07-11 08:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.797812)'), GeomFromEWKT('SRID=4674;POINT (-40.051193 -2.797747)'))) / (select extract(epoch from '2026-07-11 08:02:56'::timestamp) - extract(epoch from '2026-07-11 08:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.797812)'), GeomFromEWKT('SRID=4674;POINT (-40.051193 -2.797747)'))) / (select extract(epoch from '2026-07-11 08:02:56'::timestamp) - extract(epoch from '2026-07-11 08:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051142 -2.797707)', '2026-07-11 08:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051193 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.051142 -2.797707)'))) / (select extract(epoch from '2026-07-11 08:03:05'::timestamp) - extract(epoch from '2026-07-11 08:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051193 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.051142 -2.797707)'))) / (select extract(epoch from '2026-07-11 08:03:05'::timestamp) - extract(epoch from '2026-07-11 08:02: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'), 47627, 'SRID=4674;POINT (-40.051073 -2.797703)', '2026-07-11 08:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051142 -2.797707)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.797703)'))) / (select extract(epoch from '2026-07-11 08:03:11'::timestamp) - extract(epoch from '2026-07-11 08:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051142 -2.797707)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.797703)'))) / (select extract(epoch from '2026-07-11 08:03:11'::timestamp) - extract(epoch from '2026-07-11 08:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050977 -2.797754)', '2026-07-11 08:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.797703)'), GeomFromEWKT('SRID=4674;POINT (-40.050977 -2.797754)'))) / (select extract(epoch from '2026-07-11 08:03:19'::timestamp) - extract(epoch from '2026-07-11 08:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.797703)'), GeomFromEWKT('SRID=4674;POINT (-40.050977 -2.797754)'))) / (select extract(epoch from '2026-07-11 08:03:19'::timestamp) - extract(epoch from '2026-07-11 08:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050908 -2.79784)', '2026-07-11 08:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050977 -2.797754)'), GeomFromEWKT('SRID=4674;POINT (-40.050908 -2.79784)'))) / (select extract(epoch from '2026-07-11 08:03:26'::timestamp) - extract(epoch from '2026-07-11 08:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050977 -2.797754)'), GeomFromEWKT('SRID=4674;POINT (-40.050908 -2.79784)'))) / (select extract(epoch from '2026-07-11 08:03:26'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050879 -2.797902)', '2026-07-11 08:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050908 -2.79784)'), GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.797902)'))) / (select extract(epoch from '2026-07-11 08:03:30'::timestamp) - extract(epoch from '2026-07-11 08:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050908 -2.79784)'), GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.797902)'))) / (select extract(epoch from '2026-07-11 08:03:30'::timestamp) - extract(epoch from '2026-07-11 08:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050866 -2.797932)', '2026-07-11 08:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.797902)'), GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.797932)'))) / (select extract(epoch from '2026-07-11 08:03:32'::timestamp) - extract(epoch from '2026-07-11 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.797902)'), GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.797932)'))) / (select extract(epoch from '2026-07-11 08:03:32'::timestamp) - extract(epoch from '2026-07-11 08:03: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'), 47627, 'SRID=4674;POINT (-40.050858 -2.797946)', '2026-07-11 08:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.797932)'), GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.797946)'))) / (select extract(epoch from '2026-07-11 08:03:33'::timestamp) - extract(epoch from '2026-07-11 08:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.797932)'), GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.797946)'))) / (select extract(epoch from '2026-07-11 08:03:33'::timestamp) - extract(epoch from '2026-07-11 08:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050827 -2.798002)', '2026-07-11 08:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.797946)'), GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.798002)'))) / (select extract(epoch from '2026-07-11 08:03:37'::timestamp) - extract(epoch from '2026-07-11 08:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.797946)'), GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.798002)'))) / (select extract(epoch from '2026-07-11 08:03:37'::timestamp) - extract(epoch from '2026-07-11 08:03: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'), 47627, 'SRID=4674;POINT (-40.050778 -2.798122)', '2026-07-11 08:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.798002)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.798122)'))) / (select extract(epoch from '2026-07-11 08:03:45'::timestamp) - extract(epoch from '2026-07-11 08:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.798002)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.798122)'))) / (select extract(epoch from '2026-07-11 08:03:45'::timestamp) - extract(epoch from '2026-07-11 08:03: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'), 47627, 'SRID=4674;POINT (-40.050723 -2.7982)', '2026-07-11 08:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.798122)'), GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.7982)'))) / (select extract(epoch from '2026-07-11 08:03:51'::timestamp) - extract(epoch from '2026-07-11 08:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.798122)'), GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.7982)'))) / (select extract(epoch from '2026-07-11 08:03:51'::timestamp) - extract(epoch from '2026-07-11 08:03: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'), 47627, 'SRID=4674;POINT (-40.050667 -2.798277)', '2026-07-11 08:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.7982)'), GeomFromEWKT('SRID=4674;POINT (-40.050667 -2.798277)'))) / (select extract(epoch from '2026-07-11 08:03:57'::timestamp) - extract(epoch from '2026-07-11 08:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050723 -2.7982)'), GeomFromEWKT('SRID=4674;POINT (-40.050667 -2.798277)'))) / (select extract(epoch from '2026-07-11 08:03:57'::timestamp) - extract(epoch from '2026-07-11 08:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050599 -2.798371)', '2026-07-11 08:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050667 -2.798277)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.798371)'))) / (select extract(epoch from '2026-07-11 08:04:04'::timestamp) - extract(epoch from '2026-07-11 08:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050667 -2.798277)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.798371)'))) / (select extract(epoch from '2026-07-11 08:04:04'::timestamp) - extract(epoch from '2026-07-11 08:03: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'), 47627, 'SRID=4674;POINT (-40.05056 -2.798446)', '2026-07-11 08:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.798371)'), GeomFromEWKT('SRID=4674;POINT (-40.05056 -2.798446)'))) / (select extract(epoch from '2026-07-11 08:04:09'::timestamp) - extract(epoch from '2026-07-11 08:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.798371)'), GeomFromEWKT('SRID=4674;POINT (-40.05056 -2.798446)'))) / (select extract(epoch from '2026-07-11 08:04:09'::timestamp) - extract(epoch from '2026-07-11 08:04: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'), 47627, 'SRID=4674;POINT (-40.050508 -2.79855)', '2026-07-11 08:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05056 -2.798446)'), GeomFromEWKT('SRID=4674;POINT (-40.050508 -2.79855)'))) / (select extract(epoch from '2026-07-11 08:04:17'::timestamp) - extract(epoch from '2026-07-11 08:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05056 -2.798446)'), GeomFromEWKT('SRID=4674;POINT (-40.050508 -2.79855)'))) / (select extract(epoch from '2026-07-11 08:04:17'::timestamp) - extract(epoch from '2026-07-11 08:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050465 -2.798653)', '2026-07-11 08:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050508 -2.79855)'), GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.798653)'))) / (select extract(epoch from '2026-07-11 08:04:25'::timestamp) - extract(epoch from '2026-07-11 08:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050508 -2.79855)'), GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.798653)'))) / (select extract(epoch from '2026-07-11 08:04:25'::timestamp) - extract(epoch from '2026-07-11 08:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050392 -2.798761)', '2026-07-11 08:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.798653)'), GeomFromEWKT('SRID=4674;POINT (-40.050392 -2.798761)'))) / (select extract(epoch from '2026-07-11 08:04:34'::timestamp) - extract(epoch from '2026-07-11 08:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.798653)'), GeomFromEWKT('SRID=4674;POINT (-40.050392 -2.798761)'))) / (select extract(epoch from '2026-07-11 08:04:34'::timestamp) - extract(epoch from '2026-07-11 08:04: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'), 47627, 'SRID=4674;POINT (-40.050332 -2.798871)', '2026-07-11 08:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050392 -2.798761)'), GeomFromEWKT('SRID=4674;POINT (-40.050332 -2.798871)'))) / (select extract(epoch from '2026-07-11 08:04:43'::timestamp) - extract(epoch from '2026-07-11 08:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050392 -2.798761)'), GeomFromEWKT('SRID=4674;POINT (-40.050332 -2.798871)'))) / (select extract(epoch from '2026-07-11 08:04:43'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.05025 -2.798952)', '2026-07-11 08:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050332 -2.798871)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.798952)'))) / (select extract(epoch from '2026-07-11 08:04:52'::timestamp) - extract(epoch from '2026-07-11 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050332 -2.798871)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.798952)'))) / (select extract(epoch from '2026-07-11 08:04:52'::timestamp) - extract(epoch from '2026-07-11 08:04: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'), 47627, 'SRID=4674;POINT (-40.050174 -2.798992)', '2026-07-11 08:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.798952)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.798992)'))) / (select extract(epoch from '2026-07-11 08:05:01'::timestamp) - extract(epoch from '2026-07-11 08:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.798952)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.798992)'))) / (select extract(epoch from '2026-07-11 08:05:01'::timestamp) - extract(epoch from '2026-07-11 08:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050122 -2.799007)', '2026-07-11 08:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.798992)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.799007)'))) / (select extract(epoch from '2026-07-11 08:05:09'::timestamp) - extract(epoch from '2026-07-11 08:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.798992)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.799007)'))) / (select extract(epoch from '2026-07-11 08:05:09'::timestamp) - extract(epoch from '2026-07-11 08:05: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'), 47627, 'SRID=4674;POINT (-40.050073 -2.799022)', '2026-07-11 08:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.799007)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.799022)'))) / (select extract(epoch from '2026-07-11 08:05:23'::timestamp) - extract(epoch from '2026-07-11 08:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.799007)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.799022)'))) / (select extract(epoch from '2026-07-11 08:05:23'::timestamp) - extract(epoch from '2026-07-11 08:05: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'), 47627, 'SRID=4674;POINT (-40.050017 -2.79901)', '2026-07-11 08:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.799022)'), GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.79901)'))) / (select extract(epoch from '2026-07-11 08:05:42'::timestamp) - extract(epoch from '2026-07-11 08:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.799022)'), GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.79901)'))) / (select extract(epoch from '2026-07-11 08:05:42'::timestamp) - extract(epoch from '2026-07-11 08:05: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'), 47627, 'SRID=4674;POINT (-40.049936 -2.798993)', '2026-07-11 08:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.79901)'), GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.798993)'))) / (select extract(epoch from '2026-07-11 08:05:52'::timestamp) - extract(epoch from '2026-07-11 08:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.79901)'), GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.798993)'))) / (select extract(epoch from '2026-07-11 08:05:52'::timestamp) - extract(epoch from '2026-07-11 08:05: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'), 47627, 'SRID=4674;POINT (-40.049877 -2.798985)', '2026-07-11 08:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.798993)'), GeomFromEWKT('SRID=4674;POINT (-40.049877 -2.798985)'))) / (select extract(epoch from '2026-07-11 08:06:01'::timestamp) - extract(epoch from '2026-07-11 08:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.798993)'), GeomFromEWKT('SRID=4674;POINT (-40.049877 -2.798985)'))) / (select extract(epoch from '2026-07-11 08:06:01'::timestamp) - extract(epoch from '2026-07-11 08:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049892 -2.798975)', '2026-07-11 08:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049877 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.049892 -2.798975)'))) / (select extract(epoch from '2026-07-11 08:06:11'::timestamp) - extract(epoch from '2026-07-11 08:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049877 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.049892 -2.798975)'))) / (select extract(epoch from '2026-07-11 08:06:11'::timestamp) - extract(epoch from '2026-07-11 08:06: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'), 47627, 'SRID=4674;POINT (-40.050004 -2.798936)', '2026-07-11 08:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049892 -2.798975)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.798936)'))) / (select extract(epoch from '2026-07-11 08:06:38'::timestamp) - extract(epoch from '2026-07-11 08:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049892 -2.798975)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.798936)'))) / (select extract(epoch from '2026-07-11 08:06:38'::timestamp) - extract(epoch from '2026-07-11 08:06: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'), 47627, 'SRID=4674;POINT (-40.05007 -2.798888)', '2026-07-11 08:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.798936)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.798888)'))) / (select extract(epoch from '2026-07-11 08:07:04'::timestamp) - extract(epoch from '2026-07-11 08:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.798936)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.798888)'))) / (select extract(epoch from '2026-07-11 08:07:04'::timestamp) - extract(epoch from '2026-07-11 08:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050085 -2.798899)', '2026-07-11 08:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.798888)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798899)'))) / (select extract(epoch from '2026-07-11 08:07:22'::timestamp) - extract(epoch from '2026-07-11 08:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.798888)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798899)'))) / (select extract(epoch from '2026-07-11 08:07:22'::timestamp) - extract(epoch from '2026-07-11 08:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050099 -2.798914)', '2026-07-11 08:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.798914)'))) / (select extract(epoch from '2026-07-11 08:07:46'::timestamp) - extract(epoch from '2026-07-11 08:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.798914)'))) / (select extract(epoch from '2026-07-11 08:07:46'::timestamp) - extract(epoch from '2026-07-11 08:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050116 -2.798935)', '2026-07-11 08:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.798914)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.798935)'))) / (select extract(epoch from '2026-07-11 08:08:09'::timestamp) - extract(epoch from '2026-07-11 08:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.798914)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.798935)'))) / (select extract(epoch from '2026-07-11 08:08:09'::timestamp) - extract(epoch from '2026-07-11 08:07: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'), 47627, 'SRID=4674;POINT (-40.050111 -2.798956)', '2026-07-11 08:08:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798956)'))) / (select extract(epoch from '2026-07-11 08:08:46'::timestamp) - extract(epoch from '2026-07-11 08:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798956)'))) / (select extract(epoch from '2026-07-11 08:08:46'::timestamp) - extract(epoch from '2026-07-11 08:08: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'), 47627, 'SRID=4674;POINT (-40.050121 -2.798928)', '2026-07-11 08:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798956)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.798928)'))) / (select extract(epoch from '2026-07-11 08:09:49'::timestamp) - extract(epoch from '2026-07-11 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798956)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.798928)'))) / (select extract(epoch from '2026-07-11 08:09:49'::timestamp) - extract(epoch from '2026-07-11 08:08: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'), 47627, 'SRID=4674;POINT (-40.050111 -2.798904)', '2026-07-11 08:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.798928)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798904)'))) / (select extract(epoch from '2026-07-11 08:10:19'::timestamp) - extract(epoch from '2026-07-11 08:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.798928)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798904)'))) / (select extract(epoch from '2026-07-11 08:10:19'::timestamp) - extract(epoch from '2026-07-11 08:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050112 -2.798912)', '2026-07-11 08:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798912)'))) / (select extract(epoch from '2026-07-11 08:11:02'::timestamp) - extract(epoch from '2026-07-11 08:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798912)'))) / (select extract(epoch from '2026-07-11 08:11:02'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050112 -2.798956)', '2026-07-11 08:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798956)'))) / (select extract(epoch from '2026-07-11 08:11:56'::timestamp) - extract(epoch from '2026-07-11 08:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798956)'))) / (select extract(epoch from '2026-07-11 08:11:56'::timestamp) - extract(epoch from '2026-07-11 08:11: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'), 47627, 'SRID=4674;POINT (-40.050115 -2.798973)', '2026-07-11 08:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798956)'), GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.798973)'))) / (select extract(epoch from '2026-07-11 08:12:16'::timestamp) - extract(epoch from '2026-07-11 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798956)'), GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.798973)'))) / (select extract(epoch from '2026-07-11 08:12:16'::timestamp) - extract(epoch from '2026-07-11 08:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050125 -2.798946)', '2026-07-11 08:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.798973)'), GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.798946)'))) / (select extract(epoch from '2026-07-11 08:12:35'::timestamp) - extract(epoch from '2026-07-11 08:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.798973)'), GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.798946)'))) / (select extract(epoch from '2026-07-11 08:12:35'::timestamp) - extract(epoch from '2026-07-11 08:12: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'), 47627, 'SRID=4674;POINT (-40.050113 -2.79892)', '2026-07-11 08:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.79892)'))) / (select extract(epoch from '2026-07-11 08:13:08'::timestamp) - extract(epoch from '2026-07-11 08:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.79892)'))) / (select extract(epoch from '2026-07-11 08:13:08'::timestamp) - extract(epoch from '2026-07-11 08:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050048 -2.798924)', '2026-07-11 08:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.798924)'))) / (select extract(epoch from '2026-07-11 08:13:19'::timestamp) - extract(epoch from '2026-07-11 08:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.798924)'))) / (select extract(epoch from '2026-07-11 08:13:19'::timestamp) - extract(epoch from '2026-07-11 08:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049933 -2.798948)', '2026-07-11 08:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.798924)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.798948)'))) / (select extract(epoch from '2026-07-11 08:13:29'::timestamp) - extract(epoch from '2026-07-11 08:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.798924)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.798948)'))) / (select extract(epoch from '2026-07-11 08:13:29'::timestamp) - extract(epoch from '2026-07-11 08:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049869 -2.798974)', '2026-07-11 08:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.798948)'), GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.798974)'))) / (select extract(epoch from '2026-07-11 08:13:35'::timestamp) - extract(epoch from '2026-07-11 08:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.798948)'), GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.798974)'))) / (select extract(epoch from '2026-07-11 08:13:35'::timestamp) - extract(epoch from '2026-07-11 08:13: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'), 47627, 'SRID=4674;POINT (-40.049816 -2.798998)', '2026-07-11 08:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.798998)'))) / (select extract(epoch from '2026-07-11 08:13:43'::timestamp) - extract(epoch from '2026-07-11 08:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.798998)'))) / (select extract(epoch from '2026-07-11 08:13:43'::timestamp) - extract(epoch from '2026-07-11 08:13: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'), 47627, 'SRID=4674;POINT (-40.049778 -2.799052)', '2026-07-11 08:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.049778 -2.799052)'))) / (select extract(epoch from '2026-07-11 08:13:50'::timestamp) - extract(epoch from '2026-07-11 08:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.049778 -2.799052)'))) / (select extract(epoch from '2026-07-11 08:13:50'::timestamp) - extract(epoch from '2026-07-11 08:13: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'), 47627, 'SRID=4674;POINT (-40.049744 -2.799146)', '2026-07-11 08:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049778 -2.799052)'), GeomFromEWKT('SRID=4674;POINT (-40.049744 -2.799146)'))) / (select extract(epoch from '2026-07-11 08:13:57'::timestamp) - extract(epoch from '2026-07-11 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049778 -2.799052)'), GeomFromEWKT('SRID=4674;POINT (-40.049744 -2.799146)'))) / (select extract(epoch from '2026-07-11 08:13:57'::timestamp) - extract(epoch from '2026-07-11 08:13: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'), 47627, 'SRID=4674;POINT (-40.049732 -2.799244)', '2026-07-11 08:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049744 -2.799146)'), GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.799244)'))) / (select extract(epoch from '2026-07-11 08:14:03'::timestamp) - extract(epoch from '2026-07-11 08:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049744 -2.799146)'), GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.799244)'))) / (select extract(epoch from '2026-07-11 08:14:03'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.04975 -2.799357)', '2026-07-11 08:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.799244)'), GeomFromEWKT('SRID=4674;POINT (-40.04975 -2.799357)'))) / (select extract(epoch from '2026-07-11 08:14:09'::timestamp) - extract(epoch from '2026-07-11 08:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.799244)'), GeomFromEWKT('SRID=4674;POINT (-40.04975 -2.799357)'))) / (select extract(epoch from '2026-07-11 08:14:09'::timestamp) - extract(epoch from '2026-07-11 08:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049769 -2.799511)', '2026-07-11 08:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04975 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.049769 -2.799511)'))) / (select extract(epoch from '2026-07-11 08:14:17'::timestamp) - extract(epoch from '2026-07-11 08:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04975 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.049769 -2.799511)'))) / (select extract(epoch from '2026-07-11 08:14:17'::timestamp) - extract(epoch from '2026-07-11 08:14: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'), 47627, 'SRID=4674;POINT (-40.049788 -2.79967)', '2026-07-11 08:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049769 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.79967)'))) / (select extract(epoch from '2026-07-11 08:14:25'::timestamp) - extract(epoch from '2026-07-11 08:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049769 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.79967)'))) / (select extract(epoch from '2026-07-11 08:14:25'::timestamp) - extract(epoch from '2026-07-11 08:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049821 -2.799799)', '2026-07-11 08:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.799799)'))) / (select extract(epoch from '2026-07-11 08:14:32'::timestamp) - extract(epoch from '2026-07-11 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.799799)'))) / (select extract(epoch from '2026-07-11 08:14:32'::timestamp) - extract(epoch from '2026-07-11 08:14: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'), 47627, 'SRID=4674;POINT (-40.049884 -2.799921)', '2026-07-11 08:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.799799)'), GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.799921)'))) / (select extract(epoch from '2026-07-11 08:14:39'::timestamp) - extract(epoch from '2026-07-11 08:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.799799)'), GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.799921)'))) / (select extract(epoch from '2026-07-11 08:14:39'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.049949 -2.800038)', '2026-07-11 08:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.799921)'), GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.800038)'))) / (select extract(epoch from '2026-07-11 08:14:46'::timestamp) - extract(epoch from '2026-07-11 08:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.799921)'), GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.800038)'))) / (select extract(epoch from '2026-07-11 08:14:46'::timestamp) - extract(epoch from '2026-07-11 08:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049998 -2.800146)', '2026-07-11 08:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.800038)'), GeomFromEWKT('SRID=4674;POINT (-40.049998 -2.800146)'))) / (select extract(epoch from '2026-07-11 08:14:52'::timestamp) - extract(epoch from '2026-07-11 08:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.800038)'), GeomFromEWKT('SRID=4674;POINT (-40.049998 -2.800146)'))) / (select extract(epoch from '2026-07-11 08:14:52'::timestamp) - extract(epoch from '2026-07-11 08:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05008 -2.800252)', '2026-07-11 08:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049998 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800252)'))) / (select extract(epoch from '2026-07-11 08:14:59'::timestamp) - extract(epoch from '2026-07-11 08:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049998 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800252)'))) / (select extract(epoch from '2026-07-11 08:14:59'::timestamp) - extract(epoch from '2026-07-11 08:14: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'), 47627, 'SRID=4674;POINT (-40.050158 -2.800321)', '2026-07-11 08:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800252)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.800321)'))) / (select extract(epoch from '2026-07-11 08:15:05'::timestamp) - extract(epoch from '2026-07-11 08:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800252)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.800321)'))) / (select extract(epoch from '2026-07-11 08:15:05'::timestamp) - extract(epoch from '2026-07-11 08:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050268 -2.80036)', '2026-07-11 08:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.80036)'))) / (select extract(epoch from '2026-07-11 08:15:13'::timestamp) - extract(epoch from '2026-07-11 08:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.80036)'))) / (select extract(epoch from '2026-07-11 08:15:13'::timestamp) - extract(epoch from '2026-07-11 08:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050339 -2.800302)', '2026-07-11 08:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.80036)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.800302)'))) / (select extract(epoch from '2026-07-11 08:15:20'::timestamp) - extract(epoch from '2026-07-11 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.80036)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.800302)'))) / (select extract(epoch from '2026-07-11 08:15:20'::timestamp) - extract(epoch from '2026-07-11 08:15: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'), 47627, 'SRID=4674;POINT (-40.050338 -2.800237)', '2026-07-11 08:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.800237)'))) / (select extract(epoch from '2026-07-11 08:15:28'::timestamp) - extract(epoch from '2026-07-11 08:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.800237)'))) / (select extract(epoch from '2026-07-11 08:15:28'::timestamp) - extract(epoch from '2026-07-11 08:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050297 -2.800196)', '2026-07-11 08:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.800196)'))) / (select extract(epoch from '2026-07-11 08:15:36'::timestamp) - extract(epoch from '2026-07-11 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.800196)'))) / (select extract(epoch from '2026-07-11 08:15:36'::timestamp) - extract(epoch from '2026-07-11 08:15: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'), 47627, 'SRID=4674;POINT (-40.050243 -2.800195)', '2026-07-11 08:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.800195)'))) / (select extract(epoch from '2026-07-11 08:15:47'::timestamp) - extract(epoch from '2026-07-11 08:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.800195)'))) / (select extract(epoch from '2026-07-11 08:15:47'::timestamp) - extract(epoch from '2026-07-11 08:15: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'), 47627, 'SRID=4674;POINT (-40.050202 -2.800196)', '2026-07-11 08:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.800195)'), GeomFromEWKT('SRID=4674;POINT (-40.050202 -2.800196)'))) / (select extract(epoch from '2026-07-11 08:16:00'::timestamp) - extract(epoch from '2026-07-11 08:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.800195)'), GeomFromEWKT('SRID=4674;POINT (-40.050202 -2.800196)'))) / (select extract(epoch from '2026-07-11 08:16:00'::timestamp) - extract(epoch from '2026-07-11 08:15: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'), 47627, 'SRID=4674;POINT (-40.050135 -2.800237)', '2026-07-11 08:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050202 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.800237)'))) / (select extract(epoch from '2026-07-11 08:16:10'::timestamp) - extract(epoch from '2026-07-11 08:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050202 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.800237)'))) / (select extract(epoch from '2026-07-11 08:16:10'::timestamp) - extract(epoch from '2026-07-11 08:16: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'), 47627, 'SRID=4674;POINT (-40.050071 -2.800275)', '2026-07-11 08:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.800275)'))) / (select extract(epoch from '2026-07-11 08:16:18'::timestamp) - extract(epoch from '2026-07-11 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.800275)'))) / (select extract(epoch from '2026-07-11 08:16:18'::timestamp) - extract(epoch from '2026-07-11 08:16: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'), 47627, 'SRID=4674;POINT (-40.050013 -2.80032)', '2026-07-11 08:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.800275)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.80032)'))) / (select extract(epoch from '2026-07-11 08:16:28'::timestamp) - extract(epoch from '2026-07-11 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.800275)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.80032)'))) / (select extract(epoch from '2026-07-11 08:16:28'::timestamp) - extract(epoch from '2026-07-11 08:16: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'), 47627, 'SRID=4674;POINT (-40.050016 -2.800333)', '2026-07-11 08:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.800333)'))) / (select extract(epoch from '2026-07-11 08:16:38'::timestamp) - extract(epoch from '2026-07-11 08:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.800333)'))) / (select extract(epoch from '2026-07-11 08:16:38'::timestamp) - extract(epoch from '2026-07-11 08:16: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'), 47627, 'SRID=4674;POINT (-40.050057 -2.800319)', '2026-07-11 08:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.050057 -2.800319)'))) / (select extract(epoch from '2026-07-11 08:16:48'::timestamp) - extract(epoch from '2026-07-11 08:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.050057 -2.800319)'))) / (select extract(epoch from '2026-07-11 08:16:48'::timestamp) - extract(epoch from '2026-07-11 08:16: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'), 47627, 'SRID=4674;POINT (-40.050184 -2.800293)', '2026-07-11 08:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050057 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.800293)'))) / (select extract(epoch from '2026-07-11 08:17:19'::timestamp) - extract(epoch from '2026-07-11 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050057 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.800293)'))) / (select extract(epoch from '2026-07-11 08:17:19'::timestamp) - extract(epoch from '2026-07-11 08:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050228 -2.80027)', '2026-07-11 08:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.80027)'))) / (select extract(epoch from '2026-07-11 08:17:43'::timestamp) - extract(epoch from '2026-07-11 08:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.80027)'))) / (select extract(epoch from '2026-07-11 08:17:43'::timestamp) - extract(epoch from '2026-07-11 08:17: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'), 47627, 'SRID=4674;POINT (-40.050234 -2.800287)', '2026-07-11 08:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.80027)'), GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.800287)'))) / (select extract(epoch from '2026-07-11 08:18:17'::timestamp) - extract(epoch from '2026-07-11 08:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.80027)'), GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.800287)'))) / (select extract(epoch from '2026-07-11 08:18:17'::timestamp) - extract(epoch from '2026-07-11 08:17: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'), 47627, 'SRID=4674;POINT (-40.050181 -2.800281)', '2026-07-11 08:18:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.800281)'))) / (select extract(epoch from '2026-07-11 08:18:58'::timestamp) - extract(epoch from '2026-07-11 08:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.800281)'))) / (select extract(epoch from '2026-07-11 08:18:58'::timestamp) - extract(epoch from '2026-07-11 08:18: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'), 47627, 'SRID=4674;POINT (-40.05009 -2.800315)', '2026-07-11 08:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.800315)'))) / (select extract(epoch from '2026-07-11 08:19:06'::timestamp) - extract(epoch from '2026-07-11 08:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.800315)'))) / (select extract(epoch from '2026-07-11 08:19:06'::timestamp) - extract(epoch from '2026-07-11 08:18: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'), 47627, 'SRID=4674;POINT (-40.05001 -2.800354)', '2026-07-11 08:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.800354)'))) / (select extract(epoch from '2026-07-11 08:19:14'::timestamp) - extract(epoch from '2026-07-11 08:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.800354)'))) / (select extract(epoch from '2026-07-11 08:19:14'::timestamp) - extract(epoch from '2026-07-11 08:19: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'), 47627, 'SRID=4674;POINT (-40.049953 -2.80039)', '2026-07-11 08:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.800354)'), GeomFromEWKT('SRID=4674;POINT (-40.049953 -2.80039)'))) / (select extract(epoch from '2026-07-11 08:19:21'::timestamp) - extract(epoch from '2026-07-11 08:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.800354)'), GeomFromEWKT('SRID=4674;POINT (-40.049953 -2.80039)'))) / (select extract(epoch from '2026-07-11 08:19:21'::timestamp) - extract(epoch from '2026-07-11 08:19: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'), 47627, 'SRID=4674;POINT (-40.049944 -2.800464)', '2026-07-11 08:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049953 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.049944 -2.800464)'))) / (select extract(epoch from '2026-07-11 08:19:27'::timestamp) - extract(epoch from '2026-07-11 08:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049953 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.049944 -2.800464)'))) / (select extract(epoch from '2026-07-11 08:19:27'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.049977 -2.80063)', '2026-07-11 08:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049944 -2.800464)'), GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.80063)'))) / (select extract(epoch from '2026-07-11 08:19:37'::timestamp) - extract(epoch from '2026-07-11 08:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049944 -2.800464)'), GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.80063)'))) / (select extract(epoch from '2026-07-11 08:19:37'::timestamp) - extract(epoch from '2026-07-11 08:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049991 -2.800776)', '2026-07-11 08:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.80063)'), GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.800776)'))) / (select extract(epoch from '2026-07-11 08:19:45'::timestamp) - extract(epoch from '2026-07-11 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.80063)'), GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.800776)'))) / (select extract(epoch from '2026-07-11 08:19:45'::timestamp) - extract(epoch from '2026-07-11 08:19: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'), 47627, 'SRID=4674;POINT (-40.050022 -2.800885)', '2026-07-11 08:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.800776)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.800885)'))) / (select extract(epoch from '2026-07-11 08:19:51'::timestamp) - extract(epoch from '2026-07-11 08:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049991 -2.800776)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.800885)'))) / (select extract(epoch from '2026-07-11 08:19:51'::timestamp) - extract(epoch from '2026-07-11 08:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050065 -2.801007)', '2026-07-11 08:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.050065 -2.801007)'))) / (select extract(epoch from '2026-07-11 08:19:58'::timestamp) - extract(epoch from '2026-07-11 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.050065 -2.801007)'))) / (select extract(epoch from '2026-07-11 08:19:58'::timestamp) - extract(epoch from '2026-07-11 08:19: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'), 47627, 'SRID=4674;POINT (-40.05012 -2.801108)', '2026-07-11 08:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050065 -2.801007)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.801108)'))) / (select extract(epoch from '2026-07-11 08:20:04'::timestamp) - extract(epoch from '2026-07-11 08:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050065 -2.801007)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.801108)'))) / (select extract(epoch from '2026-07-11 08:20:04'::timestamp) - extract(epoch from '2026-07-11 08:19: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'), 47627, 'SRID=4674;POINT (-40.050184 -2.801264)', '2026-07-11 08:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.801108)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.801264)'))) / (select extract(epoch from '2026-07-11 08:20:13'::timestamp) - extract(epoch from '2026-07-11 08:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.801108)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.801264)'))) / (select extract(epoch from '2026-07-11 08:20:13'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050239 -2.8014)', '2026-07-11 08:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.8014)'))) / (select extract(epoch from '2026-07-11 08:20:21'::timestamp) - extract(epoch from '2026-07-11 08:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.8014)'))) / (select extract(epoch from '2026-07-11 08:20:21'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050276 -2.801452)', '2026-07-11 08:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.8014)'), GeomFromEWKT('SRID=4674;POINT (-40.050276 -2.801452)'))) / (select extract(epoch from '2026-07-11 08:20:25'::timestamp) - extract(epoch from '2026-07-11 08:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.8014)'), GeomFromEWKT('SRID=4674;POINT (-40.050276 -2.801452)'))) / (select extract(epoch from '2026-07-11 08:20:25'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050302 -2.801474)', '2026-07-11 08:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050276 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.801474)'))) / (select extract(epoch from '2026-07-11 08:20:27'::timestamp) - extract(epoch from '2026-07-11 08:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050276 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.801474)'))) / (select extract(epoch from '2026-07-11 08:20:27'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050375 -2.80154)', '2026-07-11 08:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.801474)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.80154)'))) / (select extract(epoch from '2026-07-11 08:20:33'::timestamp) - extract(epoch from '2026-07-11 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.801474)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.80154)'))) / (select extract(epoch from '2026-07-11 08:20:33'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050403 -2.801553)', '2026-07-11 08:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.80154)'), GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.801553)'))) / (select extract(epoch from '2026-07-11 08:20:35'::timestamp) - extract(epoch from '2026-07-11 08:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.80154)'), GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.801553)'))) / (select extract(epoch from '2026-07-11 08:20:35'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050462 -2.801568)', '2026-07-11 08:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.801568)'))) / (select extract(epoch from '2026-07-11 08:20:39'::timestamp) - extract(epoch from '2026-07-11 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.801568)'))) / (select extract(epoch from '2026-07-11 08:20:39'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050565 -2.801541)', '2026-07-11 08:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.801568)'), GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.801541)'))) / (select extract(epoch from '2026-07-11 08:20:47'::timestamp) - extract(epoch from '2026-07-11 08:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.801568)'), GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.801541)'))) / (select extract(epoch from '2026-07-11 08:20:47'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050635 -2.801565)', '2026-07-11 08:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.801541)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801565)'))) / (select extract(epoch from '2026-07-11 08:20:54'::timestamp) - extract(epoch from '2026-07-11 08:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050565 -2.801541)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801565)'))) / (select extract(epoch from '2026-07-11 08:20:54'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050641 -2.801565)', '2026-07-11 08:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.050641 -2.801565)'))) / (select extract(epoch from '2026-07-11 08:20:55'::timestamp) - extract(epoch from '2026-07-11 08:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.050641 -2.801565)'))) / (select extract(epoch from '2026-07-11 08:20:55'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050663 -2.801594)', '2026-07-11 08:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050641 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.050663 -2.801594)'))) / (select extract(epoch from '2026-07-11 08:20:58'::timestamp) - extract(epoch from '2026-07-11 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050641 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.050663 -2.801594)'))) / (select extract(epoch from '2026-07-11 08:20:58'::timestamp) - extract(epoch from '2026-07-11 08:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050674 -2.801613)', '2026-07-11 08:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050663 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801613)'))) / (select extract(epoch from '2026-07-11 08:21:00'::timestamp) - extract(epoch from '2026-07-11 08:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050663 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801613)'))) / (select extract(epoch from '2026-07-11 08:21:00'::timestamp) - extract(epoch from '2026-07-11 08:20: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'), 47627, 'SRID=4674;POINT (-40.050685 -2.801638)', '2026-07-11 08:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801613)'), GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.801638)'))) / (select extract(epoch from '2026-07-11 08:21:04'::timestamp) - extract(epoch from '2026-07-11 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801613)'), GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.801638)'))) / (select extract(epoch from '2026-07-11 08:21:04'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050674 -2.801672)', '2026-07-11 08:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801672)'))) / (select extract(epoch from '2026-07-11 08:21:15'::timestamp) - extract(epoch from '2026-07-11 08:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801672)'))) / (select extract(epoch from '2026-07-11 08:21:15'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.05066 -2.801638)', '2026-07-11 08:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801672)'), GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.801638)'))) / (select extract(epoch from '2026-07-11 08:21:22'::timestamp) - extract(epoch from '2026-07-11 08:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050674 -2.801672)'), GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.801638)'))) / (select extract(epoch from '2026-07-11 08:21:22'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.050623 -2.801568)', '2026-07-11 08:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.050623 -2.801568)'))) / (select extract(epoch from '2026-07-11 08:21:34'::timestamp) - extract(epoch from '2026-07-11 08:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.050623 -2.801568)'))) / (select extract(epoch from '2026-07-11 08:21:34'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.050605 -2.801555)', '2026-07-11 08:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050623 -2.801568)'), GeomFromEWKT('SRID=4674;POINT (-40.050605 -2.801555)'))) / (select extract(epoch from '2026-07-11 08:21:37'::timestamp) - extract(epoch from '2026-07-11 08:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050623 -2.801568)'), GeomFromEWKT('SRID=4674;POINT (-40.050605 -2.801555)'))) / (select extract(epoch from '2026-07-11 08:21:37'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.0506 -2.801562)', '2026-07-11 08:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050605 -2.801555)'), GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.801562)'))) / (select extract(epoch from '2026-07-11 08:21:39'::timestamp) - extract(epoch from '2026-07-11 08:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050605 -2.801555)'), GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.801562)'))) / (select extract(epoch from '2026-07-11 08:21:39'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.05059 -2.801583)', '2026-07-11 08:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801583)'))) / (select extract(epoch from '2026-07-11 08:21:47'::timestamp) - extract(epoch from '2026-07-11 08:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0506 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801583)'))) / (select extract(epoch from '2026-07-11 08:21:47'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.050558 -2.801578)', '2026-07-11 08:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.801578)'))) / (select extract(epoch from '2026-07-11 08:21:57'::timestamp) - extract(epoch from '2026-07-11 08:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.801578)'))) / (select extract(epoch from '2026-07-11 08:21:57'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.050525 -2.801575)', '2026-07-11 08:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.801578)'), GeomFromEWKT('SRID=4674;POINT (-40.050525 -2.801575)'))) / (select extract(epoch from '2026-07-11 08:22:06'::timestamp) - extract(epoch from '2026-07-11 08:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.801578)'), GeomFromEWKT('SRID=4674;POINT (-40.050525 -2.801575)'))) / (select extract(epoch from '2026-07-11 08:22:06'::timestamp) - extract(epoch from '2026-07-11 08:21: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'), 47627, 'SRID=4674;POINT (-40.050467 -2.801578)', '2026-07-11 08:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050525 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.050467 -2.801578)'))) / (select extract(epoch from '2026-07-11 08:22:23'::timestamp) - extract(epoch from '2026-07-11 08:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050525 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.050467 -2.801578)'))) / (select extract(epoch from '2026-07-11 08:22:23'::timestamp) - extract(epoch from '2026-07-11 08:22: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'), 47627, 'SRID=4674;POINT (-40.050438 -2.801529)', '2026-07-11 08:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050467 -2.801578)'), GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.801529)'))) / (select extract(epoch from '2026-07-11 08:22:37'::timestamp) - extract(epoch from '2026-07-11 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050467 -2.801578)'), GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.801529)'))) / (select extract(epoch from '2026-07-11 08:22:37'::timestamp) - extract(epoch from '2026-07-11 08:22: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'), 47627, 'SRID=4674;POINT (-40.050424 -2.80149)', '2026-07-11 08:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.80149)'))) / (select extract(epoch from '2026-07-11 08:22:47'::timestamp) - extract(epoch from '2026-07-11 08:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.80149)'))) / (select extract(epoch from '2026-07-11 08:22:47'::timestamp) - extract(epoch from '2026-07-11 08:22: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'), 47627, 'SRID=4674;POINT (-40.050434 -2.801408)', '2026-07-11 08:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.801408)'))) / (select extract(epoch from '2026-07-11 08:22:58'::timestamp) - extract(epoch from '2026-07-11 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.801408)'))) / (select extract(epoch from '2026-07-11 08:22:58'::timestamp) - extract(epoch from '2026-07-11 08:22: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'), 47627, 'SRID=4674;POINT (-40.050396 -2.801368)', '2026-07-11 08:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.801408)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.801368)'))) / (select extract(epoch from '2026-07-11 08:23:06'::timestamp) - extract(epoch from '2026-07-11 08:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.801408)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.801368)'))) / (select extract(epoch from '2026-07-11 08:23:06'::timestamp) - extract(epoch from '2026-07-11 08:22: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'), 47627, 'SRID=4674;POINT (-40.05036 -2.80139)', '2026-07-11 08:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.80139)'))) / (select extract(epoch from '2026-07-11 08:23:11'::timestamp) - extract(epoch from '2026-07-11 08:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.80139)'))) / (select extract(epoch from '2026-07-11 08:23:11'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050364 -2.801409)', '2026-07-11 08:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.801409)'))) / (select extract(epoch from '2026-07-11 08:23:13'::timestamp) - extract(epoch from '2026-07-11 08:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.801409)'))) / (select extract(epoch from '2026-07-11 08:23:13'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050439 -2.801493)', '2026-07-11 08:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.801409)'), GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.801493)'))) / (select extract(epoch from '2026-07-11 08:23:22'::timestamp) - extract(epoch from '2026-07-11 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.801409)'), GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.801493)'))) / (select extract(epoch from '2026-07-11 08:23:22'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050526 -2.801555)', '2026-07-11 08:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.801493)'), GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.801555)'))) / (select extract(epoch from '2026-07-11 08:23:30'::timestamp) - extract(epoch from '2026-07-11 08:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.801493)'), GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.801555)'))) / (select extract(epoch from '2026-07-11 08:23:30'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050573 -2.801596)', '2026-07-11 08:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.801555)'), GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.801596)'))) / (select extract(epoch from '2026-07-11 08:23:37'::timestamp) - extract(epoch from '2026-07-11 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.801555)'), GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.801596)'))) / (select extract(epoch from '2026-07-11 08:23:37'::timestamp) - extract(epoch from '2026-07-11 08:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050595 -2.801611)', '2026-07-11 08:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.801611)'))) / (select extract(epoch from '2026-07-11 08:23:42'::timestamp) - extract(epoch from '2026-07-11 08:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.801611)'))) / (select extract(epoch from '2026-07-11 08:23:42'::timestamp) - extract(epoch from '2026-07-11 08:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050618 -2.801614)', '2026-07-11 08:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.801614)'))) / (select extract(epoch from '2026-07-11 08:23:49'::timestamp) - extract(epoch from '2026-07-11 08:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.801614)'))) / (select extract(epoch from '2026-07-11 08:23:49'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050639 -2.801619)', '2026-07-11 08:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.050639 -2.801619)'))) / (select extract(epoch from '2026-07-11 08:23:56'::timestamp) - extract(epoch from '2026-07-11 08:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.050639 -2.801619)'))) / (select extract(epoch from '2026-07-11 08:23:56'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050648 -2.801611)', '2026-07-11 08:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050639 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.050648 -2.801611)'))) / (select extract(epoch from '2026-07-11 08:24:11'::timestamp) - extract(epoch from '2026-07-11 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050639 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.050648 -2.801611)'))) / (select extract(epoch from '2026-07-11 08:24:11'::timestamp) - extract(epoch from '2026-07-11 08:23: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'), 47627, 'SRID=4674;POINT (-40.050645 -2.801576)', '2026-07-11 08:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050648 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.801576)'))) / (select extract(epoch from '2026-07-11 08:24:38'::timestamp) - extract(epoch from '2026-07-11 08:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050648 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.801576)'))) / (select extract(epoch from '2026-07-11 08:24:38'::timestamp) - extract(epoch from '2026-07-11 08:24: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'), 47627, 'SRID=4674;POINT (-40.050652 -2.801595)', '2026-07-11 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.801595)'))) / (select extract(epoch from '2026-07-11 08:24:57'::timestamp) - extract(epoch from '2026-07-11 08:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.801595)'))) / (select extract(epoch from '2026-07-11 08:24:57'::timestamp) - extract(epoch from '2026-07-11 08:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050694 -2.801593)', '2026-07-11 08:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.801593)'))) / (select extract(epoch from '2026-07-11 08:25:21'::timestamp) - extract(epoch from '2026-07-11 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.801593)'))) / (select extract(epoch from '2026-07-11 08:25:21'::timestamp) - extract(epoch from '2026-07-11 08:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050784 -2.801573)', '2026-07-11 08:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.801573)'))) / (select extract(epoch from '2026-07-11 08:25:50'::timestamp) - extract(epoch from '2026-07-11 08:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.801573)'))) / (select extract(epoch from '2026-07-11 08:25:50'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.05084 -2.801559)', '2026-07-11 08:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.801573)'), GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.801559)'))) / (select extract(epoch from '2026-07-11 08:26:06'::timestamp) - extract(epoch from '2026-07-11 08:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.801573)'), GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.801559)'))) / (select extract(epoch from '2026-07-11 08:26:06'::timestamp) - extract(epoch from '2026-07-11 08:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05086 -2.801531)', '2026-07-11 08:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.05086 -2.801531)'))) / (select extract(epoch from '2026-07-11 08:26:26'::timestamp) - extract(epoch from '2026-07-11 08:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.05086 -2.801531)'))) / (select extract(epoch from '2026-07-11 08:26:26'::timestamp) - extract(epoch from '2026-07-11 08:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050842 -2.801506)', '2026-07-11 08:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05086 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.050842 -2.801506)'))) / (select extract(epoch from '2026-07-11 08:26:45'::timestamp) - extract(epoch from '2026-07-11 08:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05086 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.050842 -2.801506)'))) / (select extract(epoch from '2026-07-11 08:26:45'::timestamp) - extract(epoch from '2026-07-11 08:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050849 -2.801498)', '2026-07-11 08:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050842 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.050849 -2.801498)'))) / (select extract(epoch from '2026-07-11 08:27:21'::timestamp) - extract(epoch from '2026-07-11 08:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050842 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.050849 -2.801498)'))) / (select extract(epoch from '2026-07-11 08:27:21'::timestamp) - extract(epoch from '2026-07-11 08:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050858 -2.801521)', '2026-07-11 08:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050849 -2.801498)'), GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.801521)'))) / (select extract(epoch from '2026-07-11 08:27:38'::timestamp) - extract(epoch from '2026-07-11 08:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050849 -2.801498)'), GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.801521)'))) / (select extract(epoch from '2026-07-11 08:27:38'::timestamp) - extract(epoch from '2026-07-11 08:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050866 -2.801546)', '2026-07-11 08:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.801546)'))) / (select extract(epoch from '2026-07-11 08:27:54'::timestamp) - extract(epoch from '2026-07-11 08:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050858 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.801546)'))) / (select extract(epoch from '2026-07-11 08:27:54'::timestamp) - extract(epoch from '2026-07-11 08:27: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'), 47627, 'SRID=4674;POINT (-40.050863 -2.801561)', '2026-07-11 08:28:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.801546)'), GeomFromEWKT('SRID=4674;POINT (-40.050863 -2.801561)'))) / (select extract(epoch from '2026-07-11 08:28:00'::timestamp) - extract(epoch from '2026-07-11 08:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050866 -2.801546)'), GeomFromEWKT('SRID=4674;POINT (-40.050863 -2.801561)'))) / (select extract(epoch from '2026-07-11 08:28:00'::timestamp) - extract(epoch from '2026-07-11 08:27: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'), 47627, 'SRID=4674;POINT (-40.050862 -2.801564)', '2026-07-11 08:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050863 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.050862 -2.801564)'))) / (select extract(epoch from '2026-07-11 08:28:14'::timestamp) - extract(epoch from '2026-07-11 08:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050863 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.050862 -2.801564)'))) / (select extract(epoch from '2026-07-11 08:28:14'::timestamp) - extract(epoch from '2026-07-11 08:28: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'), 47627, 'SRID=4674;POINT (-40.050861 -2.801543)', '2026-07-11 08:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050862 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.801543)'))) / (select extract(epoch from '2026-07-11 08:28:29'::timestamp) - extract(epoch from '2026-07-11 08:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050862 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.801543)'))) / (select extract(epoch from '2026-07-11 08:28:29'::timestamp) - extract(epoch from '2026-07-11 08:28: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'), 47627, 'SRID=4674;POINT (-40.050851 -2.801509)', '2026-07-11 08:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801509)'))) / (select extract(epoch from '2026-07-11 08:28:58'::timestamp) - extract(epoch from '2026-07-11 08:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801509)'))) / (select extract(epoch from '2026-07-11 08:28:58'::timestamp) - extract(epoch from '2026-07-11 08:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050851 -2.801524)', '2026-07-11 08:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801509)'), GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801524)'))) / (select extract(epoch from '2026-07-11 08:29:19'::timestamp) - extract(epoch from '2026-07-11 08:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801509)'), GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801524)'))) / (select extract(epoch from '2026-07-11 08:29:19'::timestamp) - extract(epoch from '2026-07-11 08:28: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'), 47627, 'SRID=4674;POINT (-40.0508 -2.801537)', '2026-07-11 08:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801524)'), GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.801537)'))) / (select extract(epoch from '2026-07-11 08:29:37'::timestamp) - extract(epoch from '2026-07-11 08:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050851 -2.801524)'), GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.801537)'))) / (select extract(epoch from '2026-07-11 08:29:37'::timestamp) - extract(epoch from '2026-07-11 08:29: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'), 47627, 'SRID=4674;POINT (-40.050713 -2.801554)', '2026-07-11 08:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.801554)'))) / (select extract(epoch from '2026-07-11 08:29:46'::timestamp) - extract(epoch from '2026-07-11 08:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.801554)'))) / (select extract(epoch from '2026-07-11 08:29:46'::timestamp) - extract(epoch from '2026-07-11 08:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050626 -2.801592)', '2026-07-11 08:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.801554)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.801592)'))) / (select extract(epoch from '2026-07-11 08:29:55'::timestamp) - extract(epoch from '2026-07-11 08:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050713 -2.801554)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.801592)'))) / (select extract(epoch from '2026-07-11 08:29:55'::timestamp) - extract(epoch from '2026-07-11 08:29: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'), 47627, 'SRID=4674;POINT (-40.05059 -2.801605)', '2026-07-11 08:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801605)'))) / (select extract(epoch from '2026-07-11 08:30:00'::timestamp) - extract(epoch from '2026-07-11 08:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801605)'))) / (select extract(epoch from '2026-07-11 08:30:00'::timestamp) - extract(epoch from '2026-07-11 08:29: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'), 47627, 'SRID=4674;POINT (-40.050541 -2.801618)', '2026-07-11 08:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801605)'), GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.801618)'))) / (select extract(epoch from '2026-07-11 08:30:07'::timestamp) - extract(epoch from '2026-07-11 08:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05059 -2.801605)'), GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.801618)'))) / (select extract(epoch from '2026-07-11 08:30:07'::timestamp) - extract(epoch from '2026-07-11 08:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050504 -2.801631)', '2026-07-11 08:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.801618)'), GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.801631)'))) / (select extract(epoch from '2026-07-11 08:30:15'::timestamp) - extract(epoch from '2026-07-11 08:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.801618)'), GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.801631)'))) / (select extract(epoch from '2026-07-11 08:30:15'::timestamp) - extract(epoch from '2026-07-11 08:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050481 -2.80167)', '2026-07-11 08:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.801631)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.80167)'))) / (select extract(epoch from '2026-07-11 08:30:22'::timestamp) - extract(epoch from '2026-07-11 08:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.801631)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.80167)'))) / (select extract(epoch from '2026-07-11 08:30:22'::timestamp) - extract(epoch from '2026-07-11 08:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050469 -2.801771)', '2026-07-11 08:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.050469 -2.801771)'))) / (select extract(epoch from '2026-07-11 08:30:30'::timestamp) - extract(epoch from '2026-07-11 08:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.050469 -2.801771)'))) / (select extract(epoch from '2026-07-11 08:30:30'::timestamp) - extract(epoch from '2026-07-11 08:30: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'), 47627, 'SRID=4674;POINT (-40.050451 -2.801899)', '2026-07-11 08:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050469 -2.801771)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.801899)'))) / (select extract(epoch from '2026-07-11 08:30:38'::timestamp) - extract(epoch from '2026-07-11 08:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050469 -2.801771)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.801899)'))) / (select extract(epoch from '2026-07-11 08:30:38'::timestamp) - extract(epoch from '2026-07-11 08:30: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'), 47627, 'SRID=4674;POINT (-40.050435 -2.802003)', '2026-07-11 08:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.050435 -2.802003)'))) / (select extract(epoch from '2026-07-11 08:30:44'::timestamp) - extract(epoch from '2026-07-11 08:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.050435 -2.802003)'))) / (select extract(epoch from '2026-07-11 08:30:44'::timestamp) - extract(epoch from '2026-07-11 08:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050402 -2.802097)', '2026-07-11 08:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050435 -2.802003)'), GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.802097)'))) / (select extract(epoch from '2026-07-11 08:30:50'::timestamp) - extract(epoch from '2026-07-11 08:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050435 -2.802003)'), GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.802097)'))) / (select extract(epoch from '2026-07-11 08:30:50'::timestamp) - extract(epoch from '2026-07-11 08:30: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'), 47627, 'SRID=4674;POINT (-40.050391 -2.802197)', '2026-07-11 08:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802197)'))) / (select extract(epoch from '2026-07-11 08:30:56'::timestamp) - extract(epoch from '2026-07-11 08:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802197)'))) / (select extract(epoch from '2026-07-11 08:30:56'::timestamp) - extract(epoch from '2026-07-11 08:30: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'), 47627, 'SRID=4674;POINT (-40.050391 -2.802292)', '2026-07-11 08:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802292)'))) / (select extract(epoch from '2026-07-11 08:31:02'::timestamp) - extract(epoch from '2026-07-11 08:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802292)'))) / (select extract(epoch from '2026-07-11 08:31:02'::timestamp) - extract(epoch from '2026-07-11 08:30: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'), 47627, 'SRID=4674;POINT (-40.050364 -2.802402)', '2026-07-11 08:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802292)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.802402)'))) / (select extract(epoch from '2026-07-11 08:31:10'::timestamp) - extract(epoch from '2026-07-11 08:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050391 -2.802292)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.802402)'))) / (select extract(epoch from '2026-07-11 08:31:10'::timestamp) - extract(epoch from '2026-07-11 08:31: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'), 47627, 'SRID=4674;POINT (-40.050359 -2.802454)', '2026-07-11 08:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.802402)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.802454)'))) / (select extract(epoch from '2026-07-11 08:31:14'::timestamp) - extract(epoch from '2026-07-11 08:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.802402)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.802454)'))) / (select extract(epoch from '2026-07-11 08:31:14'::timestamp) - extract(epoch from '2026-07-11 08:31: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'), 47627, 'SRID=4674;POINT (-40.050372 -2.802488)', '2026-07-11 08:31:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.802488)'))) / (select extract(epoch from '2026-07-11 08:31:17'::timestamp) - extract(epoch from '2026-07-11 08:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.802488)'))) / (select extract(epoch from '2026-07-11 08:31:17'::timestamp) - extract(epoch from '2026-07-11 08:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050416 -2.802562)', '2026-07-11 08:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802562)'))) / (select extract(epoch from '2026-07-11 08:31:24'::timestamp) - extract(epoch from '2026-07-11 08:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802562)'))) / (select extract(epoch from '2026-07-11 08:31:24'::timestamp) - extract(epoch from '2026-07-11 08:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050431 -2.802601)', '2026-07-11 08:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802562)'), GeomFromEWKT('SRID=4674;POINT (-40.050431 -2.802601)'))) / (select extract(epoch from '2026-07-11 08:31:28'::timestamp) - extract(epoch from '2026-07-11 08:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802562)'), GeomFromEWKT('SRID=4674;POINT (-40.050431 -2.802601)'))) / (select extract(epoch from '2026-07-11 08:31:28'::timestamp) - extract(epoch from '2026-07-11 08:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050441 -2.802621)', '2026-07-11 08:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050431 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.802621)'))) / (select extract(epoch from '2026-07-11 08:31:30'::timestamp) - extract(epoch from '2026-07-11 08:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050431 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.802621)'))) / (select extract(epoch from '2026-07-11 08:31:30'::timestamp) - extract(epoch from '2026-07-11 08:31: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'), 47627, 'SRID=4674;POINT (-40.050451 -2.802656)', '2026-07-11 08:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.802621)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802656)'))) / (select extract(epoch from '2026-07-11 08:31:33'::timestamp) - extract(epoch from '2026-07-11 08:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.802621)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802656)'))) / (select extract(epoch from '2026-07-11 08:31:33'::timestamp) - extract(epoch from '2026-07-11 08:31: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'), 47627, 'SRID=4674;POINT (-40.050445 -2.802674)', '2026-07-11 08:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802656)'), GeomFromEWKT('SRID=4674;POINT (-40.050445 -2.802674)'))) / (select extract(epoch from '2026-07-11 08:31:35'::timestamp) - extract(epoch from '2026-07-11 08:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802656)'), GeomFromEWKT('SRID=4674;POINT (-40.050445 -2.802674)'))) / (select extract(epoch from '2026-07-11 08:31:35'::timestamp) - extract(epoch from '2026-07-11 08:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050426 -2.802692)', '2026-07-11 08:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050445 -2.802674)'), GeomFromEWKT('SRID=4674;POINT (-40.050426 -2.802692)'))) / (select extract(epoch from '2026-07-11 08:31:41'::timestamp) - extract(epoch from '2026-07-11 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050445 -2.802674)'), GeomFromEWKT('SRID=4674;POINT (-40.050426 -2.802692)'))) / (select extract(epoch from '2026-07-11 08:31:41'::timestamp) - extract(epoch from '2026-07-11 08:31: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'), 47627, 'SRID=4674;POINT (-40.050407 -2.802655)', '2026-07-11 08:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050426 -2.802692)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.802655)'))) / (select extract(epoch from '2026-07-11 08:31:54'::timestamp) - extract(epoch from '2026-07-11 08:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050426 -2.802692)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.802655)'))) / (select extract(epoch from '2026-07-11 08:31:54'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.05037 -2.802546)', '2026-07-11 08:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.802655)'), GeomFromEWKT('SRID=4674;POINT (-40.05037 -2.802546)'))) / (select extract(epoch from '2026-07-11 08:32:22'::timestamp) - extract(epoch from '2026-07-11 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.802655)'), GeomFromEWKT('SRID=4674;POINT (-40.05037 -2.802546)'))) / (select extract(epoch from '2026-07-11 08:32:22'::timestamp) - extract(epoch from '2026-07-11 08:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050317 -2.802555)', '2026-07-11 08:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05037 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.050317 -2.802555)'))) / (select extract(epoch from '2026-07-11 08:32:38'::timestamp) - extract(epoch from '2026-07-11 08:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05037 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.050317 -2.802555)'))) / (select extract(epoch from '2026-07-11 08:32:38'::timestamp) - extract(epoch from '2026-07-11 08:32: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'), 47627, 'SRID=4674;POINT (-40.050337 -2.802601)', '2026-07-11 08:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050317 -2.802555)'), GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.802601)'))) / (select extract(epoch from '2026-07-11 08:32:46'::timestamp) - extract(epoch from '2026-07-11 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050317 -2.802555)'), GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.802601)'))) / (select extract(epoch from '2026-07-11 08:32:46'::timestamp) - extract(epoch from '2026-07-11 08:32: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'), 47627, 'SRID=4674;POINT (-40.050416 -2.802631)', '2026-07-11 08:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802631)'))) / (select extract(epoch from '2026-07-11 08:32:57'::timestamp) - extract(epoch from '2026-07-11 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802631)'))) / (select extract(epoch from '2026-07-11 08:32:57'::timestamp) - extract(epoch from '2026-07-11 08:32: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'), 47627, 'SRID=4674;POINT (-40.050481 -2.802645)', '2026-07-11 08:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.802645)'))) / (select extract(epoch from '2026-07-11 08:33:06'::timestamp) - extract(epoch from '2026-07-11 08:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050416 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.802645)'))) / (select extract(epoch from '2026-07-11 08:33:06'::timestamp) - extract(epoch from '2026-07-11 08:32: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'), 47627, 'SRID=4674;POINT (-40.050545 -2.802682)', '2026-07-11 08:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.802645)'), GeomFromEWKT('SRID=4674;POINT (-40.050545 -2.802682)'))) / (select extract(epoch from '2026-07-11 08:33:12'::timestamp) - extract(epoch from '2026-07-11 08:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.802645)'), GeomFromEWKT('SRID=4674;POINT (-40.050545 -2.802682)'))) / (select extract(epoch from '2026-07-11 08:33:12'::timestamp) - extract(epoch from '2026-07-11 08:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050575 -2.802765)', '2026-07-11 08:33:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050545 -2.802682)'), GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.802765)'))) / (select extract(epoch from '2026-07-11 08:33:18'::timestamp) - extract(epoch from '2026-07-11 08:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050545 -2.802682)'), GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.802765)'))) / (select extract(epoch from '2026-07-11 08:33:18'::timestamp) - extract(epoch from '2026-07-11 08:33: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'), 47627, 'SRID=4674;POINT (-40.050566 -2.802856)', '2026-07-11 08:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.050566 -2.802856)'))) / (select extract(epoch from '2026-07-11 08:33:24'::timestamp) - extract(epoch from '2026-07-11 08:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.050566 -2.802856)'))) / (select extract(epoch from '2026-07-11 08:33:24'::timestamp) - extract(epoch from '2026-07-11 08:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050519 -2.802953)', '2026-07-11 08:33:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050566 -2.802856)'), GeomFromEWKT('SRID=4674;POINT (-40.050519 -2.802953)'))) / (select extract(epoch from '2026-07-11 08:33:31'::timestamp) - extract(epoch from '2026-07-11 08:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050566 -2.802856)'), GeomFromEWKT('SRID=4674;POINT (-40.050519 -2.802953)'))) / (select extract(epoch from '2026-07-11 08:33:31'::timestamp) - extract(epoch from '2026-07-11 08:33: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'), 47627, 'SRID=4674;POINT (-40.050453 -2.803062)', '2026-07-11 08:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050519 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.803062)'))) / (select extract(epoch from '2026-07-11 08:33:39'::timestamp) - extract(epoch from '2026-07-11 08:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050519 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.803062)'))) / (select extract(epoch from '2026-07-11 08:33:39'::timestamp) - extract(epoch from '2026-07-11 08:33: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'), 47627, 'SRID=4674;POINT (-40.050401 -2.803168)', '2026-07-11 08:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.803168)'))) / (select extract(epoch from '2026-07-11 08:33:46'::timestamp) - extract(epoch from '2026-07-11 08:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.803168)'))) / (select extract(epoch from '2026-07-11 08:33:46'::timestamp) - extract(epoch from '2026-07-11 08:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050342 -2.80327)', '2026-07-11 08:33:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.803168)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.80327)'))) / (select extract(epoch from '2026-07-11 08:33:53'::timestamp) - extract(epoch from '2026-07-11 08:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.803168)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.80327)'))) / (select extract(epoch from '2026-07-11 08:33:53'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050279 -2.803368)', '2026-07-11 08:34:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.050279 -2.803368)'))) / (select extract(epoch from '2026-07-11 08:34:00'::timestamp) - extract(epoch from '2026-07-11 08:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.050279 -2.803368)'))) / (select extract(epoch from '2026-07-11 08:34:00'::timestamp) - extract(epoch from '2026-07-11 08:33: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'), 47627, 'SRID=4674;POINT (-40.050186 -2.803446)', '2026-07-11 08:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050279 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.803446)'))) / (select extract(epoch from '2026-07-11 08:34:08'::timestamp) - extract(epoch from '2026-07-11 08:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050279 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.803446)'))) / (select extract(epoch from '2026-07-11 08:34:08'::timestamp) - extract(epoch from '2026-07-11 08:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050157 -2.803472)', '2026-07-11 08:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.803472)'))) / (select extract(epoch from '2026-07-11 08:34:11'::timestamp) - extract(epoch from '2026-07-11 08:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.803472)'))) / (select extract(epoch from '2026-07-11 08:34:11'::timestamp) - extract(epoch from '2026-07-11 08:34: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'), 47627, 'SRID=4674;POINT (-40.05014 -2.803496)', '2026-07-11 08:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.803472)'), GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.803496)'))) / (select extract(epoch from '2026-07-11 08:34:13'::timestamp) - extract(epoch from '2026-07-11 08:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.803472)'), GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.803496)'))) / (select extract(epoch from '2026-07-11 08:34:13'::timestamp) - extract(epoch from '2026-07-11 08:34: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'), 47627, 'SRID=4674;POINT (-40.050085 -2.803584)', '2026-07-11 08:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.803584)'))) / (select extract(epoch from '2026-07-11 08:34:20'::timestamp) - extract(epoch from '2026-07-11 08:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.803584)'))) / (select extract(epoch from '2026-07-11 08:34:20'::timestamp) - extract(epoch from '2026-07-11 08:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050023 -2.803697)', '2026-07-11 08:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.803584)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.803697)'))) / (select extract(epoch from '2026-07-11 08:34:28'::timestamp) - extract(epoch from '2026-07-11 08:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.803584)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.803697)'))) / (select extract(epoch from '2026-07-11 08:34:28'::timestamp) - extract(epoch from '2026-07-11 08:34: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'), 47627, 'SRID=4674;POINT (-40.049968 -2.803815)', '2026-07-11 08:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.803815)'))) / (select extract(epoch from '2026-07-11 08:34:36'::timestamp) - extract(epoch from '2026-07-11 08:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.803815)'))) / (select extract(epoch from '2026-07-11 08:34:36'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.049947 -2.803892)', '2026-07-11 08:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.803815)'), GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.803892)'))) / (select extract(epoch from '2026-07-11 08:34:41'::timestamp) - extract(epoch from '2026-07-11 08:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.803815)'), GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.803892)'))) / (select extract(epoch from '2026-07-11 08:34:41'::timestamp) - extract(epoch from '2026-07-11 08:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049925 -2.803984)', '2026-07-11 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.049925 -2.803984)'))) / (select extract(epoch from '2026-07-11 08:34:47'::timestamp) - extract(epoch from '2026-07-11 08:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.049925 -2.803984)'))) / (select extract(epoch from '2026-07-11 08:34:47'::timestamp) - extract(epoch from '2026-07-11 08:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049893 -2.804099)', '2026-07-11 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049925 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.049893 -2.804099)'))) / (select extract(epoch from '2026-07-11 08:34:55'::timestamp) - extract(epoch from '2026-07-11 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049925 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.049893 -2.804099)'))) / (select extract(epoch from '2026-07-11 08:34:55'::timestamp) - extract(epoch from '2026-07-11 08:34: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'), 47627, 'SRID=4674;POINT (-40.049875 -2.804165)', '2026-07-11 08:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049893 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.049875 -2.804165)'))) / (select extract(epoch from '2026-07-11 08:35:00'::timestamp) - extract(epoch from '2026-07-11 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049893 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.049875 -2.804165)'))) / (select extract(epoch from '2026-07-11 08:35:00'::timestamp) - extract(epoch from '2026-07-11 08:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04988 -2.804185)', '2026-07-11 08:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049875 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.804185)'))) / (select extract(epoch from '2026-07-11 08:35:02'::timestamp) - extract(epoch from '2026-07-11 08:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049875 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.804185)'))) / (select extract(epoch from '2026-07-11 08:35:02'::timestamp) - extract(epoch from '2026-07-11 08:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049886 -2.804194)', '2026-07-11 08:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.804185)'), GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.804194)'))) / (select extract(epoch from '2026-07-11 08:35:03'::timestamp) - extract(epoch from '2026-07-11 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.804185)'), GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.804194)'))) / (select extract(epoch from '2026-07-11 08:35:03'::timestamp) - extract(epoch from '2026-07-11 08:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049929 -2.804228)', '2026-07-11 08:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.804194)'), GeomFromEWKT('SRID=4674;POINT (-40.049929 -2.804228)'))) / (select extract(epoch from '2026-07-11 08:35:09'::timestamp) - extract(epoch from '2026-07-11 08:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.804194)'), GeomFromEWKT('SRID=4674;POINT (-40.049929 -2.804228)'))) / (select extract(epoch from '2026-07-11 08:35:09'::timestamp) - extract(epoch from '2026-07-11 08:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049932 -2.804235)', '2026-07-11 08:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049929 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.049932 -2.804235)'))) / (select extract(epoch from '2026-07-11 08:35:10'::timestamp) - extract(epoch from '2026-07-11 08:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049929 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.049932 -2.804235)'))) / (select extract(epoch from '2026-07-11 08:35:10'::timestamp) - extract(epoch from '2026-07-11 08:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050002 -2.804215)', '2026-07-11 08:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049932 -2.804235)'), GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.804215)'))) / (select extract(epoch from '2026-07-11 08:35:17'::timestamp) - extract(epoch from '2026-07-11 08:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049932 -2.804235)'), GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.804215)'))) / (select extract(epoch from '2026-07-11 08:35:17'::timestamp) - extract(epoch from '2026-07-11 08:35:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050061 -2.80416)', '2026-07-11 08:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.804215)'), GeomFromEWKT('SRID=4674;POINT (-40.050061 -2.80416)'))) / (select extract(epoch from '2026-07-11 08:35:25'::timestamp) - extract(epoch from '2026-07-11 08:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.804215)'), GeomFromEWKT('SRID=4674;POINT (-40.050061 -2.80416)'))) / (select extract(epoch from '2026-07-11 08:35:25'::timestamp) - extract(epoch from '2026-07-11 08:35: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'), 47627, 'SRID=4674;POINT (-40.05007 -2.804103)', '2026-07-11 08:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050061 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.804103)'))) / (select extract(epoch from '2026-07-11 08:35:32'::timestamp) - extract(epoch from '2026-07-11 08:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050061 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.804103)'))) / (select extract(epoch from '2026-07-11 08:35:32'::timestamp) - extract(epoch from '2026-07-11 08:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050027 -2.804047)', '2026-07-11 08:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.804103)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.804047)'))) / (select extract(epoch from '2026-07-11 08:35:41'::timestamp) - extract(epoch from '2026-07-11 08:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.804103)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.804047)'))) / (select extract(epoch from '2026-07-11 08:35:41'::timestamp) - extract(epoch from '2026-07-11 08:35: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'), 47627, 'SRID=4674;POINT (-40.050012 -2.804047)', '2026-07-11 08:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804047)'))) / (select extract(epoch from '2026-07-11 08:35:43'::timestamp) - extract(epoch from '2026-07-11 08:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804047)'))) / (select extract(epoch from '2026-07-11 08:35:43'::timestamp) - extract(epoch from '2026-07-11 08:35: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'), 47627, 'SRID=4674;POINT (-40.049964 -2.804065)', '2026-07-11 08:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.049964 -2.804065)'))) / (select extract(epoch from '2026-07-11 08:35:48'::timestamp) - extract(epoch from '2026-07-11 08:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.049964 -2.804065)'))) / (select extract(epoch from '2026-07-11 08:35:48'::timestamp) - extract(epoch from '2026-07-11 08:35: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'), 47627, 'SRID=4674;POINT (-40.049899 -2.804112)', '2026-07-11 08:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049964 -2.804065)'), GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.804112)'))) / (select extract(epoch from '2026-07-11 08:35:57'::timestamp) - extract(epoch from '2026-07-11 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049964 -2.804065)'), GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.804112)'))) / (select extract(epoch from '2026-07-11 08:35:57'::timestamp) - extract(epoch from '2026-07-11 08:35: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'), 47627, 'SRID=4674;POINT (-40.049874 -2.80415)', '2026-07-11 08:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.804112)'), GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.80415)'))) / (select extract(epoch from '2026-07-11 08:36:11'::timestamp) - extract(epoch from '2026-07-11 08:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.804112)'), GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.80415)'))) / (select extract(epoch from '2026-07-11 08:36:11'::timestamp) - extract(epoch from '2026-07-11 08:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049872 -2.804263)', '2026-07-11 08:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.804263)'))) / (select extract(epoch from '2026-07-11 08:36:28'::timestamp) - extract(epoch from '2026-07-11 08:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.804263)'))) / (select extract(epoch from '2026-07-11 08:36:28'::timestamp) - extract(epoch from '2026-07-11 08:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04989 -2.80439)', '2026-07-11 08:36:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.04989 -2.80439)'))) / (select extract(epoch from '2026-07-11 08:36:36'::timestamp) - extract(epoch from '2026-07-11 08:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.04989 -2.80439)'))) / (select extract(epoch from '2026-07-11 08:36:36'::timestamp) - extract(epoch from '2026-07-11 08:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049946 -2.804592)', '2026-07-11 08:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04989 -2.80439)'), GeomFromEWKT('SRID=4674;POINT (-40.049946 -2.804592)'))) / (select extract(epoch from '2026-07-11 08:36:47'::timestamp) - extract(epoch from '2026-07-11 08:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04989 -2.80439)'), GeomFromEWKT('SRID=4674;POINT (-40.049946 -2.804592)'))) / (select extract(epoch from '2026-07-11 08:36:47'::timestamp) - extract(epoch from '2026-07-11 08:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05 -2.804742)', '2026-07-11 08:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049946 -2.804592)'), GeomFromEWKT('SRID=4674;POINT (-40.05 -2.804742)'))) / (select extract(epoch from '2026-07-11 08:36:55'::timestamp) - extract(epoch from '2026-07-11 08:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049946 -2.804592)'), GeomFromEWKT('SRID=4674;POINT (-40.05 -2.804742)'))) / (select extract(epoch from '2026-07-11 08:36:55'::timestamp) - extract(epoch from '2026-07-11 08:36: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'), 47627, 'SRID=4674;POINT (-40.050064 -2.804868)', '2026-07-11 08:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05 -2.804742)'), GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.804868)'))) / (select extract(epoch from '2026-07-11 08:37:02'::timestamp) - extract(epoch from '2026-07-11 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05 -2.804742)'), GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.804868)'))) / (select extract(epoch from '2026-07-11 08:37:02'::timestamp) - extract(epoch from '2026-07-11 08:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050122 -2.80499)', '2026-07-11 08:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.804868)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.80499)'))) / (select extract(epoch from '2026-07-11 08:37:09'::timestamp) - extract(epoch from '2026-07-11 08:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.804868)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.80499)'))) / (select extract(epoch from '2026-07-11 08:37:09'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050243 -2.805172)', '2026-07-11 08:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.805172)'))) / (select extract(epoch from '2026-07-11 08:37:20'::timestamp) - extract(epoch from '2026-07-11 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.805172)'))) / (select extract(epoch from '2026-07-11 08:37:20'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050339 -2.8053)', '2026-07-11 08:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.805172)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.8053)'))) / (select extract(epoch from '2026-07-11 08:37:28'::timestamp) - extract(epoch from '2026-07-11 08:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050243 -2.805172)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.8053)'))) / (select extract(epoch from '2026-07-11 08:37:28'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050434 -2.805348)', '2026-07-11 08:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.805348)'))) / (select extract(epoch from '2026-07-11 08:37:34'::timestamp) - extract(epoch from '2026-07-11 08:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.805348)'))) / (select extract(epoch from '2026-07-11 08:37:34'::timestamp) - extract(epoch from '2026-07-11 08:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050548 -2.805309)', '2026-07-11 08:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.050548 -2.805309)'))) / (select extract(epoch from '2026-07-11 08:37:42'::timestamp) - extract(epoch from '2026-07-11 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.050548 -2.805309)'))) / (select extract(epoch from '2026-07-11 08:37:42'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050615 -2.805332)', '2026-07-11 08:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050548 -2.805309)'), GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.805332)'))) / (select extract(epoch from '2026-07-11 08:37:47'::timestamp) - extract(epoch from '2026-07-11 08:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050548 -2.805309)'), GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.805332)'))) / (select extract(epoch from '2026-07-11 08:37:47'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050627 -2.805338)', '2026-07-11 08:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.805332)'), GeomFromEWKT('SRID=4674;POINT (-40.050627 -2.805338)'))) / (select extract(epoch from '2026-07-11 08:37:48'::timestamp) - extract(epoch from '2026-07-11 08:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.805332)'), GeomFromEWKT('SRID=4674;POINT (-40.050627 -2.805338)'))) / (select extract(epoch from '2026-07-11 08:37:48'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050659 -2.805384)', '2026-07-11 08:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050627 -2.805338)'), GeomFromEWKT('SRID=4674;POINT (-40.050659 -2.805384)'))) / (select extract(epoch from '2026-07-11 08:37:53'::timestamp) - extract(epoch from '2026-07-11 08:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050627 -2.805338)'), GeomFromEWKT('SRID=4674;POINT (-40.050659 -2.805384)'))) / (select extract(epoch from '2026-07-11 08:37:53'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.05066 -2.805394)', '2026-07-11 08:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050659 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.805394)'))) / (select extract(epoch from '2026-07-11 08:37:54'::timestamp) - extract(epoch from '2026-07-11 08:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050659 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.805394)'))) / (select extract(epoch from '2026-07-11 08:37:54'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050626 -2.805451)', '2026-07-11 08:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.805451)'))) / (select extract(epoch from '2026-07-11 08:38:03'::timestamp) - extract(epoch from '2026-07-11 08:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05066 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.805451)'))) / (select extract(epoch from '2026-07-11 08:38:03'::timestamp) - extract(epoch from '2026-07-11 08:37: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'), 47627, 'SRID=4674;POINT (-40.050584 -2.805433)', '2026-07-11 08:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.050584 -2.805433)'))) / (select extract(epoch from '2026-07-11 08:38:13'::timestamp) - extract(epoch from '2026-07-11 08:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.050584 -2.805433)'))) / (select extract(epoch from '2026-07-11 08:38:13'::timestamp) - extract(epoch from '2026-07-11 08:38: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'), 47627, 'SRID=4674;POINT (-40.050547 -2.805384)', '2026-07-11 08:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050584 -2.805433)'), GeomFromEWKT('SRID=4674;POINT (-40.050547 -2.805384)'))) / (select extract(epoch from '2026-07-11 08:38:25'::timestamp) - extract(epoch from '2026-07-11 08:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050584 -2.805433)'), GeomFromEWKT('SRID=4674;POINT (-40.050547 -2.805384)'))) / (select extract(epoch from '2026-07-11 08:38:25'::timestamp) - extract(epoch from '2026-07-11 08:38: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'), 47627, 'SRID=4674;POINT (-40.050505 -2.805351)', '2026-07-11 08:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050547 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805351)'))) / (select extract(epoch from '2026-07-11 08:38:41'::timestamp) - extract(epoch from '2026-07-11 08:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050547 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805351)'))) / (select extract(epoch from '2026-07-11 08:38:41'::timestamp) - extract(epoch from '2026-07-11 08:38: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'), 47627, 'SRID=4674;POINT (-40.050432 -2.805302)', '2026-07-11 08:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.050432 -2.805302)'))) / (select extract(epoch from '2026-07-11 08:38:56'::timestamp) - extract(epoch from '2026-07-11 08:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.050432 -2.805302)'))) / (select extract(epoch from '2026-07-11 08:38:56'::timestamp) - extract(epoch from '2026-07-11 08:38: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'), 47627, 'SRID=4674;POINT (-40.050367 -2.80527)', '2026-07-11 08:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050432 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.80527)'))) / (select extract(epoch from '2026-07-11 08:39:04'::timestamp) - extract(epoch from '2026-07-11 08:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050432 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.80527)'))) / (select extract(epoch from '2026-07-11 08:39:04'::timestamp) - extract(epoch from '2026-07-11 08:38: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'), 47627, 'SRID=4674;POINT (-40.050335 -2.805249)', '2026-07-11 08:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.805249)'))) / (select extract(epoch from '2026-07-11 08:39:11'::timestamp) - extract(epoch from '2026-07-11 08:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.805249)'))) / (select extract(epoch from '2026-07-11 08:39:11'::timestamp) - extract(epoch from '2026-07-11 08:39: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'), 47627, 'SRID=4674;POINT (-40.050337 -2.805227)', '2026-07-11 08:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.805249)'), GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.805227)'))) / (select extract(epoch from '2026-07-11 08:39:23'::timestamp) - extract(epoch from '2026-07-11 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.805249)'), GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.805227)'))) / (select extract(epoch from '2026-07-11 08:39:23'::timestamp) - extract(epoch from '2026-07-11 08:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05039 -2.805207)', '2026-07-11 08:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.805227)'), GeomFromEWKT('SRID=4674;POINT (-40.05039 -2.805207)'))) / (select extract(epoch from '2026-07-11 08:39:39'::timestamp) - extract(epoch from '2026-07-11 08:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050337 -2.805227)'), GeomFromEWKT('SRID=4674;POINT (-40.05039 -2.805207)'))) / (select extract(epoch from '2026-07-11 08:39:39'::timestamp) - extract(epoch from '2026-07-11 08:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050489 -2.805184)', '2026-07-11 08:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05039 -2.805207)'), GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.805184)'))) / (select extract(epoch from '2026-07-11 08:40:13'::timestamp) - extract(epoch from '2026-07-11 08:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05039 -2.805207)'), GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.805184)'))) / (select extract(epoch from '2026-07-11 08:40:13'::timestamp) - extract(epoch from '2026-07-11 08:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050492 -2.8052)', '2026-07-11 08:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.805184)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.8052)'))) / (select extract(epoch from '2026-07-11 08:40:36'::timestamp) - extract(epoch from '2026-07-11 08:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.805184)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.8052)'))) / (select extract(epoch from '2026-07-11 08:40:36'::timestamp) - extract(epoch from '2026-07-11 08:40: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'), 47627, 'SRID=4674;POINT (-40.050515 -2.805239)', '2026-07-11 08:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.8052)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.805239)'))) / (select extract(epoch from '2026-07-11 08:41:11'::timestamp) - extract(epoch from '2026-07-11 08:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.8052)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.805239)'))) / (select extract(epoch from '2026-07-11 08:41:11'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050506 -2.805233)', '2026-07-11 08:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.805239)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.805233)'))) / (select extract(epoch from '2026-07-11 08:42:01'::timestamp) - extract(epoch from '2026-07-11 08:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.805239)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.805233)'))) / (select extract(epoch from '2026-07-11 08:42:01'::timestamp) - extract(epoch from '2026-07-11 08:41: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'), 47627, 'SRID=4674;POINT (-40.05052 -2.805275)', '2026-07-11 08:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.805275)'))) / (select extract(epoch from '2026-07-11 08:42:25'::timestamp) - extract(epoch from '2026-07-11 08:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.805275)'))) / (select extract(epoch from '2026-07-11 08:42:25'::timestamp) - extract(epoch from '2026-07-11 08:42: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'), 47627, 'SRID=4674;POINT (-40.050505 -2.805245)', '2026-07-11 08:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.805275)'), GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805245)'))) / (select extract(epoch from '2026-07-11 08:42:49'::timestamp) - extract(epoch from '2026-07-11 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.805275)'), GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805245)'))) / (select extract(epoch from '2026-07-11 08:42:49'::timestamp) - extract(epoch from '2026-07-11 08:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050507 -2.805231)', '2026-07-11 08:43:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805245)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805231)'))) / (select extract(epoch from '2026-07-11 08:43:19'::timestamp) - extract(epoch from '2026-07-11 08:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050505 -2.805245)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805231)'))) / (select extract(epoch from '2026-07-11 08:43:19'::timestamp) - extract(epoch from '2026-07-11 08:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050509 -2.805259)', '2026-07-11 08:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.050509 -2.805259)'))) / (select extract(epoch from '2026-07-11 08:43:53'::timestamp) - extract(epoch from '2026-07-11 08:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.050509 -2.805259)'))) / (select extract(epoch from '2026-07-11 08:43:53'::timestamp) - extract(epoch from '2026-07-11 08:43: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'), 47627, 'SRID=4674;POINT (-40.050507 -2.805223)', '2026-07-11 08:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050509 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805223)'))) / (select extract(epoch from '2026-07-11 08:44:10'::timestamp) - extract(epoch from '2026-07-11 08:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050509 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805223)'))) / (select extract(epoch from '2026-07-11 08:44:10'::timestamp) - extract(epoch from '2026-07-11 08:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050498 -2.805225)', '2026-07-11 08:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805223)'), GeomFromEWKT('SRID=4674;POINT (-40.050498 -2.805225)'))) / (select extract(epoch from '2026-07-11 08:44:37'::timestamp) - extract(epoch from '2026-07-11 08:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805223)'), GeomFromEWKT('SRID=4674;POINT (-40.050498 -2.805225)'))) / (select extract(epoch from '2026-07-11 08:44:37'::timestamp) - extract(epoch from '2026-07-11 08:44: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'), 47627, 'SRID=4674;POINT (-40.050507 -2.805283)', '2026-07-11 08:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050498 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805283)'))) / (select extract(epoch from '2026-07-11 08:45:13'::timestamp) - extract(epoch from '2026-07-11 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050498 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805283)'))) / (select extract(epoch from '2026-07-11 08:45:13'::timestamp) - extract(epoch from '2026-07-11 08:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050506 -2.80524)', '2026-07-11 08:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.80524)'))) / (select extract(epoch from '2026-07-11 08:45:35'::timestamp) - extract(epoch from '2026-07-11 08:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.80524)'))) / (select extract(epoch from '2026-07-11 08:45:35'::timestamp) - extract(epoch from '2026-07-11 08:45: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'), 47627, 'SRID=4674;POINT (-40.050507 -2.805225)', '2026-07-11 08:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805225)'))) / (select extract(epoch from '2026-07-11 08:46:10'::timestamp) - extract(epoch from '2026-07-11 08:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805225)'))) / (select extract(epoch from '2026-07-11 08:46:10'::timestamp) - extract(epoch from '2026-07-11 08:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050501 -2.805291)', '2026-07-11 08:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805291)'))) / (select extract(epoch from '2026-07-11 08:47:00'::timestamp) - extract(epoch from '2026-07-11 08:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805291)'))) / (select extract(epoch from '2026-07-11 08:47:00'::timestamp) - extract(epoch from '2026-07-11 08:46: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'), 47627, 'SRID=4674;POINT (-40.050513 -2.805279)', '2026-07-11 08:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.050513 -2.805279)'))) / (select extract(epoch from '2026-07-11 08:47:38'::timestamp) - extract(epoch from '2026-07-11 08:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.050513 -2.805279)'))) / (select extract(epoch from '2026-07-11 08:47:38'::timestamp) - extract(epoch from '2026-07-11 08:47: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'), 47627, 'SRID=4674;POINT (-40.050463 -2.805266)', '2026-07-11 08:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050513 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805266)'))) / (select extract(epoch from '2026-07-11 08:48:02'::timestamp) - extract(epoch from '2026-07-11 08:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050513 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805266)'))) / (select extract(epoch from '2026-07-11 08:48:02'::timestamp) - extract(epoch from '2026-07-11 08:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050369 -2.805234)', '2026-07-11 08:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805266)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.805234)'))) / (select extract(epoch from '2026-07-11 08:48:10'::timestamp) - extract(epoch from '2026-07-11 08:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805266)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.805234)'))) / (select extract(epoch from '2026-07-11 08:48:10'::timestamp) - extract(epoch from '2026-07-11 08:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050302 -2.805216)', '2026-07-11 08:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.805216)'))) / (select extract(epoch from '2026-07-11 08:48:21'::timestamp) - extract(epoch from '2026-07-11 08:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.805216)'))) / (select extract(epoch from '2026-07-11 08:48:21'::timestamp) - extract(epoch from '2026-07-11 08:48: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'), 47627, 'SRID=4674;POINT (-40.05025 -2.805236)', '2026-07-11 08:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.805216)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.805236)'))) / (select extract(epoch from '2026-07-11 08:48:35'::timestamp) - extract(epoch from '2026-07-11 08:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050302 -2.805216)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.805236)'))) / (select extract(epoch from '2026-07-11 08:48:35'::timestamp) - extract(epoch from '2026-07-11 08:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050248 -2.805253)', '2026-07-11 08:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.805236)'), GeomFromEWKT('SRID=4674;POINT (-40.050248 -2.805253)'))) / (select extract(epoch from '2026-07-11 08:48:37'::timestamp) - extract(epoch from '2026-07-11 08:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.805236)'), GeomFromEWKT('SRID=4674;POINT (-40.050248 -2.805253)'))) / (select extract(epoch from '2026-07-11 08:48:37'::timestamp) - extract(epoch from '2026-07-11 08:48: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'), 47627, 'SRID=4674;POINT (-40.050261 -2.80531)', '2026-07-11 08:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050248 -2.805253)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.80531)'))) / (select extract(epoch from '2026-07-11 08:48:42'::timestamp) - extract(epoch from '2026-07-11 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050248 -2.805253)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.80531)'))) / (select extract(epoch from '2026-07-11 08:48:42'::timestamp) - extract(epoch from '2026-07-11 08:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050282 -2.805436)', '2026-07-11 08:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.805436)'))) / (select extract(epoch from '2026-07-11 08:48:50'::timestamp) - extract(epoch from '2026-07-11 08:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.805436)'))) / (select extract(epoch from '2026-07-11 08:48:50'::timestamp) - extract(epoch from '2026-07-11 08:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050275 -2.805571)', '2026-07-11 08:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.050275 -2.805571)'))) / (select extract(epoch from '2026-07-11 08:48:58'::timestamp) - extract(epoch from '2026-07-11 08:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.050275 -2.805571)'))) / (select extract(epoch from '2026-07-11 08:48:58'::timestamp) - extract(epoch from '2026-07-11 08:48: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'), 47627, 'SRID=4674;POINT (-40.050254 -2.805731)', '2026-07-11 08:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050275 -2.805571)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805731)'))) / (select extract(epoch from '2026-07-11 08:49:07'::timestamp) - extract(epoch from '2026-07-11 08:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050275 -2.805571)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805731)'))) / (select extract(epoch from '2026-07-11 08:49:07'::timestamp) - extract(epoch from '2026-07-11 08:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050254 -2.805886)', '2026-07-11 08:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805886)'))) / (select extract(epoch from '2026-07-11 08:49:16'::timestamp) - extract(epoch from '2026-07-11 08:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805886)'))) / (select extract(epoch from '2026-07-11 08:49:16'::timestamp) - extract(epoch from '2026-07-11 08:49: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'), 47627, 'SRID=4674;POINT (-40.05026 -2.806046)', '2026-07-11 08:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805886)'), GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.806046)'))) / (select extract(epoch from '2026-07-11 08:49:25'::timestamp) - extract(epoch from '2026-07-11 08:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.805886)'), GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.806046)'))) / (select extract(epoch from '2026-07-11 08:49:25'::timestamp) - extract(epoch from '2026-07-11 08:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050242 -2.80614)', '2026-07-11 08:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.806046)'), GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.80614)'))) / (select extract(epoch from '2026-07-11 08:49:31'::timestamp) - extract(epoch from '2026-07-11 08:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.806046)'), GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.80614)'))) / (select extract(epoch from '2026-07-11 08:49:31'::timestamp) - extract(epoch from '2026-07-11 08:49: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'), 47627, 'SRID=4674;POINT (-40.050221 -2.806249)', '2026-07-11 08:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.80614)'), GeomFromEWKT('SRID=4674;POINT (-40.050221 -2.806249)'))) / (select extract(epoch from '2026-07-11 08:49:38'::timestamp) - extract(epoch from '2026-07-11 08:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.80614)'), GeomFromEWKT('SRID=4674;POINT (-40.050221 -2.806249)'))) / (select extract(epoch from '2026-07-11 08:49:38'::timestamp) - extract(epoch from '2026-07-11 08:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050223 -2.806349)', '2026-07-11 08:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050221 -2.806249)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806349)'))) / (select extract(epoch from '2026-07-11 08:49:44'::timestamp) - extract(epoch from '2026-07-11 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050221 -2.806249)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806349)'))) / (select extract(epoch from '2026-07-11 08:49:44'::timestamp) - extract(epoch from '2026-07-11 08:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050251 -2.806432)', '2026-07-11 08:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806349)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806432)'))) / (select extract(epoch from '2026-07-11 08:49:50'::timestamp) - extract(epoch from '2026-07-11 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806349)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806432)'))) / (select extract(epoch from '2026-07-11 08:49:50'::timestamp) - extract(epoch from '2026-07-11 08:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050251 -2.806467)', '2026-07-11 08:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806432)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806467)'))) / (select extract(epoch from '2026-07-11 08:49:54'::timestamp) - extract(epoch from '2026-07-11 08:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806432)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806467)'))) / (select extract(epoch from '2026-07-11 08:49:54'::timestamp) - extract(epoch from '2026-07-11 08:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05025 -2.806485)', '2026-07-11 08:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806467)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.806485)'))) / (select extract(epoch from '2026-07-11 08:49:56'::timestamp) - extract(epoch from '2026-07-11 08:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.806467)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.806485)'))) / (select extract(epoch from '2026-07-11 08:49:56'::timestamp) - extract(epoch from '2026-07-11 08:49: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'), 47627, 'SRID=4674;POINT (-40.050226 -2.806491)', '2026-07-11 08:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.806485)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806491)'))) / (select extract(epoch from '2026-07-11 08:50:04'::timestamp) - extract(epoch from '2026-07-11 08:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.806485)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806491)'))) / (select extract(epoch from '2026-07-11 08:50:04'::timestamp) - extract(epoch from '2026-07-11 08:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050207 -2.806421)', '2026-07-11 08:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.806421)'))) / (select extract(epoch from '2026-07-11 08:50:15'::timestamp) - extract(epoch from '2026-07-11 08:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.806421)'))) / (select extract(epoch from '2026-07-11 08:50:15'::timestamp) - extract(epoch from '2026-07-11 08:50: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'), 47627, 'SRID=4674;POINT (-40.050215 -2.806315)', '2026-07-11 08:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.806421)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806315)'))) / (select extract(epoch from '2026-07-11 08:50:35'::timestamp) - extract(epoch from '2026-07-11 08:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.806421)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806315)'))) / (select extract(epoch from '2026-07-11 08:50:35'::timestamp) - extract(epoch from '2026-07-11 08:50: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'), 47627, 'SRID=4674;POINT (-40.050167 -2.806271)', '2026-07-11 08:50:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806271)'))) / (select extract(epoch from '2026-07-11 08:50:50'::timestamp) - extract(epoch from '2026-07-11 08:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806271)'))) / (select extract(epoch from '2026-07-11 08:50:50'::timestamp) - extract(epoch from '2026-07-11 08:50: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'), 47627, 'SRID=4674;POINT (-40.050108 -2.806307)', '2026-07-11 08:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.050108 -2.806307)'))) / (select extract(epoch from '2026-07-11 08:50:58'::timestamp) - extract(epoch from '2026-07-11 08:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.050108 -2.806307)'))) / (select extract(epoch from '2026-07-11 08:50:58'::timestamp) - extract(epoch from '2026-07-11 08:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050067 -2.806368)', '2026-07-11 08:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050108 -2.806307)'), GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.806368)'))) / (select extract(epoch from '2026-07-11 08:51:06'::timestamp) - extract(epoch from '2026-07-11 08:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050108 -2.806307)'), GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.806368)'))) / (select extract(epoch from '2026-07-11 08:51:06'::timestamp) - extract(epoch from '2026-07-11 08:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050005 -2.80645)', '2026-07-11 08:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.806368)'), GeomFromEWKT('SRID=4674;POINT (-40.050005 -2.80645)'))) / (select extract(epoch from '2026-07-11 08:51:17'::timestamp) - extract(epoch from '2026-07-11 08:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.806368)'), GeomFromEWKT('SRID=4674;POINT (-40.050005 -2.80645)'))) / (select extract(epoch from '2026-07-11 08:51:17'::timestamp) - extract(epoch from '2026-07-11 08:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049993 -2.806501)', '2026-07-11 08:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050005 -2.80645)'), GeomFromEWKT('SRID=4674;POINT (-40.049993 -2.806501)'))) / (select extract(epoch from '2026-07-11 08:51:27'::timestamp) - extract(epoch from '2026-07-11 08:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050005 -2.80645)'), GeomFromEWKT('SRID=4674;POINT (-40.049993 -2.806501)'))) / (select extract(epoch from '2026-07-11 08:51:27'::timestamp) - extract(epoch from '2026-07-11 08:51: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'), 47627, 'SRID=4674;POINT (-40.050041 -2.806529)', '2026-07-11 08:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049993 -2.806501)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.806529)'))) / (select extract(epoch from '2026-07-11 08:51:43'::timestamp) - extract(epoch from '2026-07-11 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049993 -2.806501)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.806529)'))) / (select extract(epoch from '2026-07-11 08:51:43'::timestamp) - extract(epoch from '2026-07-11 08:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050128 -2.8065)', '2026-07-11 08:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.806529)'), GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.8065)'))) / (select extract(epoch from '2026-07-11 08:52:01'::timestamp) - extract(epoch from '2026-07-11 08:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.806529)'), GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.8065)'))) / (select extract(epoch from '2026-07-11 08:52:01'::timestamp) - extract(epoch from '2026-07-11 08:51: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'), 47627, 'SRID=4674;POINT (-40.050259 -2.806478)', '2026-07-11 08:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.8065)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.806478)'))) / (select extract(epoch from '2026-07-11 08:52:31'::timestamp) - extract(epoch from '2026-07-11 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.8065)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.806478)'))) / (select extract(epoch from '2026-07-11 08:52:31'::timestamp) - extract(epoch from '2026-07-11 08:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050265 -2.806474)', '2026-07-11 08:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.050265 -2.806474)'))) / (select extract(epoch from '2026-07-11 08:52:45'::timestamp) - extract(epoch from '2026-07-11 08:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.050265 -2.806474)'))) / (select extract(epoch from '2026-07-11 08:52:45'::timestamp) - extract(epoch from '2026-07-11 08:52: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'), 47627, 'SRID=4674;POINT (-40.050269 -2.806434)', '2026-07-11 08:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050265 -2.806474)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806434)'))) / (select extract(epoch from '2026-07-11 08:53:06'::timestamp) - extract(epoch from '2026-07-11 08:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050265 -2.806474)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806434)'))) / (select extract(epoch from '2026-07-11 08:53:06'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050269 -2.806462)', '2026-07-11 08:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806434)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806462)'))) / (select extract(epoch from '2026-07-11 08:53:25'::timestamp) - extract(epoch from '2026-07-11 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806434)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806462)'))) / (select extract(epoch from '2026-07-11 08:53:25'::timestamp) - extract(epoch from '2026-07-11 08:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050273 -2.806461)', '2026-07-11 08:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806462)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.806461)'))) / (select extract(epoch from '2026-07-11 08:53:51'::timestamp) - extract(epoch from '2026-07-11 08:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.806462)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.806461)'))) / (select extract(epoch from '2026-07-11 08:53:51'::timestamp) - extract(epoch from '2026-07-11 08:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050271 -2.806456)', '2026-07-11 08:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.806456)'))) / (select extract(epoch from '2026-07-11 08:54:08'::timestamp) - extract(epoch from '2026-07-11 08:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.806456)'))) / (select extract(epoch from '2026-07-11 08:54:08'::timestamp) - extract(epoch from '2026-07-11 08:53: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'), 47627, 'SRID=4674;POINT (-40.050262 -2.806497)', '2026-07-11 08:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.806497)'))) / (select extract(epoch from '2026-07-11 08:54:25'::timestamp) - extract(epoch from '2026-07-11 08:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.806497)'))) / (select extract(epoch from '2026-07-11 08:54:25'::timestamp) - extract(epoch from '2026-07-11 08:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050191 -2.806509)', '2026-07-11 08:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.806497)'), GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.806509)'))) / (select extract(epoch from '2026-07-11 08:54:33'::timestamp) - extract(epoch from '2026-07-11 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.806497)'), GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.806509)'))) / (select extract(epoch from '2026-07-11 08:54:33'::timestamp) - extract(epoch from '2026-07-11 08:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050092 -2.806495)', '2026-07-11 08:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.806509)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.806495)'))) / (select extract(epoch from '2026-07-11 08:54:42'::timestamp) - extract(epoch from '2026-07-11 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.806509)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.806495)'))) / (select extract(epoch from '2026-07-11 08:54:42'::timestamp) - extract(epoch from '2026-07-11 08:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050008 -2.806496)', '2026-07-11 08:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.806495)'), GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.806496)'))) / (select extract(epoch from '2026-07-11 08:54:52'::timestamp) - extract(epoch from '2026-07-11 08:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.806495)'), GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.806496)'))) / (select extract(epoch from '2026-07-11 08:54:52'::timestamp) - extract(epoch from '2026-07-11 08:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049965 -2.806489)', '2026-07-11 08:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.806496)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.806489)'))) / (select extract(epoch from '2026-07-11 08:55:02'::timestamp) - extract(epoch from '2026-07-11 08:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.806496)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.806489)'))) / (select extract(epoch from '2026-07-11 08:55:02'::timestamp) - extract(epoch from '2026-07-11 08:54: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'), 47627, 'SRID=4674;POINT (-40.049915 -2.806542)', '2026-07-11 08:55:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.806489)'), GeomFromEWKT('SRID=4674;POINT (-40.049915 -2.806542)'))) / (select extract(epoch from '2026-07-11 08:55:13'::timestamp) - extract(epoch from '2026-07-11 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.806489)'), GeomFromEWKT('SRID=4674;POINT (-40.049915 -2.806542)'))) / (select extract(epoch from '2026-07-11 08:55:13'::timestamp) - extract(epoch from '2026-07-11 08:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049914 -2.806627)', '2026-07-11 08:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049915 -2.806542)'), GeomFromEWKT('SRID=4674;POINT (-40.049914 -2.806627)'))) / (select extract(epoch from '2026-07-11 08:55:19'::timestamp) - extract(epoch from '2026-07-11 08:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049915 -2.806542)'), GeomFromEWKT('SRID=4674;POINT (-40.049914 -2.806627)'))) / (select extract(epoch from '2026-07-11 08:55:19'::timestamp) - extract(epoch from '2026-07-11 08:55: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'), 47627, 'SRID=4674;POINT (-40.049943 -2.806793)', '2026-07-11 08:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049914 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.806793)'))) / (select extract(epoch from '2026-07-11 08:55:28'::timestamp) - extract(epoch from '2026-07-11 08:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049914 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.806793)'))) / (select extract(epoch from '2026-07-11 08:55:28'::timestamp) - extract(epoch from '2026-07-11 08:55: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'), 47627, 'SRID=4674;POINT (-40.049962 -2.8069)', '2026-07-11 08:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.806793)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.8069)'))) / (select extract(epoch from '2026-07-11 08:55:34'::timestamp) - extract(epoch from '2026-07-11 08:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.806793)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.8069)'))) / (select extract(epoch from '2026-07-11 08:55:34'::timestamp) - extract(epoch from '2026-07-11 08:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049952 -2.807018)', '2026-07-11 08:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.8069)'), GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.807018)'))) / (select extract(epoch from '2026-07-11 08:55:41'::timestamp) - extract(epoch from '2026-07-11 08:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.8069)'), GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.807018)'))) / (select extract(epoch from '2026-07-11 08:55:41'::timestamp) - extract(epoch from '2026-07-11 08:55: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'), 47627, 'SRID=4674;POINT (-40.049973 -2.807109)', '2026-07-11 08:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.807018)'), GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.807109)'))) / (select extract(epoch from '2026-07-11 08:55:46'::timestamp) - extract(epoch from '2026-07-11 08:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.807018)'), GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.807109)'))) / (select extract(epoch from '2026-07-11 08:55:46'::timestamp) - extract(epoch from '2026-07-11 08:55: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'), 47627, 'SRID=4674;POINT (-40.050056 -2.807239)', '2026-07-11 08:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.050056 -2.807239)'))) / (select extract(epoch from '2026-07-11 08:55:54'::timestamp) - extract(epoch from '2026-07-11 08:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.050056 -2.807239)'))) / (select extract(epoch from '2026-07-11 08:55:54'::timestamp) - extract(epoch from '2026-07-11 08:55: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'), 47627, 'SRID=4674;POINT (-40.050172 -2.807361)', '2026-07-11 08:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050056 -2.807239)'), GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.807361)'))) / (select extract(epoch from '2026-07-11 08:56:02'::timestamp) - extract(epoch from '2026-07-11 08:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050056 -2.807239)'), GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.807361)'))) / (select extract(epoch from '2026-07-11 08:56:02'::timestamp) - extract(epoch from '2026-07-11 08:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050218 -2.807455)', '2026-07-11 08:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.807361)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.807455)'))) / (select extract(epoch from '2026-07-11 08:56:08'::timestamp) - extract(epoch from '2026-07-11 08:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.807361)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.807455)'))) / (select extract(epoch from '2026-07-11 08:56:08'::timestamp) - extract(epoch from '2026-07-11 08:56: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'), 47627, 'SRID=4674;POINT (-40.050271 -2.807568)', '2026-07-11 08:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.807455)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.807568)'))) / (select extract(epoch from '2026-07-11 08:56:15'::timestamp) - extract(epoch from '2026-07-11 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.807455)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.807568)'))) / (select extract(epoch from '2026-07-11 08:56:15'::timestamp) - extract(epoch from '2026-07-11 08:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050346 -2.807661)', '2026-07-11 08:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.050346 -2.807661)'))) / (select extract(epoch from '2026-07-11 08:56:22'::timestamp) - extract(epoch from '2026-07-11 08:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.050346 -2.807661)'))) / (select extract(epoch from '2026-07-11 08:56:22'::timestamp) - extract(epoch from '2026-07-11 08:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050369 -2.80772)', '2026-07-11 08:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050346 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.80772)'))) / (select extract(epoch from '2026-07-11 08:56:28'::timestamp) - extract(epoch from '2026-07-11 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050346 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.80772)'))) / (select extract(epoch from '2026-07-11 08:56:28'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.05033 -2.807764)', '2026-07-11 08:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.807764)'))) / (select extract(epoch from '2026-07-11 08:56:35'::timestamp) - extract(epoch from '2026-07-11 08:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.807764)'))) / (select extract(epoch from '2026-07-11 08:56:35'::timestamp) - extract(epoch from '2026-07-11 08:56: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'), 47627, 'SRID=4674;POINT (-40.050297 -2.807738)', '2026-07-11 08:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.807764)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807738)'))) / (select extract(epoch from '2026-07-11 08:56:44'::timestamp) - extract(epoch from '2026-07-11 08:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.807764)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807738)'))) / (select extract(epoch from '2026-07-11 08:56:44'::timestamp) - extract(epoch from '2026-07-11 08:56: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'), 47627, 'SRID=4674;POINT (-40.050277 -2.807636)', '2026-07-11 08:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807738)'), GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.807636)'))) / (select extract(epoch from '2026-07-11 08:57:03'::timestamp) - extract(epoch from '2026-07-11 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807738)'), GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.807636)'))) / (select extract(epoch from '2026-07-11 08:57:03'::timestamp) - extract(epoch from '2026-07-11 08:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050217 -2.807598)', '2026-07-11 08:57:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.807636)'), GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.807598)'))) / (select extract(epoch from '2026-07-11 08:57:14'::timestamp) - extract(epoch from '2026-07-11 08:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.807636)'), GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.807598)'))) / (select extract(epoch from '2026-07-11 08:57:14'::timestamp) - extract(epoch from '2026-07-11 08:57: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'), 47627, 'SRID=4674;POINT (-40.05017 -2.807647)', '2026-07-11 08:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.807598)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.807647)'))) / (select extract(epoch from '2026-07-11 08:57:21'::timestamp) - extract(epoch from '2026-07-11 08:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.807598)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.807647)'))) / (select extract(epoch from '2026-07-11 08:57:21'::timestamp) - extract(epoch from '2026-07-11 08:57: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'), 47627, 'SRID=4674;POINT (-40.050154 -2.807733)', '2026-07-11 08:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807733)'))) / (select extract(epoch from '2026-07-11 08:57:29'::timestamp) - extract(epoch from '2026-07-11 08:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807733)'))) / (select extract(epoch from '2026-07-11 08:57:29'::timestamp) - extract(epoch from '2026-07-11 08:57: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'), 47627, 'SRID=4674;POINT (-40.05015 -2.807799)', '2026-07-11 08:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807733)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807799)'))) / (select extract(epoch from '2026-07-11 08:57:36'::timestamp) - extract(epoch from '2026-07-11 08:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807733)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807799)'))) / (select extract(epoch from '2026-07-11 08:57:36'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050174 -2.80783)', '2026-07-11 08:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807799)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80783)'))) / (select extract(epoch from '2026-07-11 08:57:46'::timestamp) - extract(epoch from '2026-07-11 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807799)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80783)'))) / (select extract(epoch from '2026-07-11 08:57:46'::timestamp) - extract(epoch from '2026-07-11 08:57: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'), 47627, 'SRID=4674;POINT (-40.050233 -2.807824)', '2026-07-11 08:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.807824)'))) / (select extract(epoch from '2026-07-11 08:57:58'::timestamp) - extract(epoch from '2026-07-11 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.807824)'))) / (select extract(epoch from '2026-07-11 08:57:58'::timestamp) - extract(epoch from '2026-07-11 08:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05034 -2.80777)', '2026-07-11 08:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.807824)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.80777)'))) / (select extract(epoch from '2026-07-11 08:58:26'::timestamp) - extract(epoch from '2026-07-11 08:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.807824)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.80777)'))) / (select extract(epoch from '2026-07-11 08:58:26'::timestamp) - extract(epoch from '2026-07-11 08: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'), 47627, 'SRID=4674;POINT (-40.050376 -2.807782)', '2026-07-11 08:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.80777)'), GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.807782)'))) / (select extract(epoch from '2026-07-11 08:58:44'::timestamp) - extract(epoch from '2026-07-11 08:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.80777)'), GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.807782)'))) / (select extract(epoch from '2026-07-11 08:58:44'::timestamp) - extract(epoch from '2026-07-11 08:58: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'), 47627, 'SRID=4674;POINT (-40.050368 -2.807755)', '2026-07-11 08:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.807782)'), GeomFromEWKT('SRID=4674;POINT (-40.050368 -2.807755)'))) / (select extract(epoch from '2026-07-11 08:59:01'::timestamp) - extract(epoch from '2026-07-11 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.807782)'), GeomFromEWKT('SRID=4674;POINT (-40.050368 -2.807755)'))) / (select extract(epoch from '2026-07-11 08:59:01'::timestamp) - extract(epoch from '2026-07-11 08:58: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'), 47627, 'SRID=4674;POINT (-40.050364 -2.807731)', '2026-07-11 08:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050368 -2.807755)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.807731)'))) / (select extract(epoch from '2026-07-11 08:59:32'::timestamp) - extract(epoch from '2026-07-11 08:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050368 -2.807755)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.807731)'))) / (select extract(epoch from '2026-07-11 08:59:32'::timestamp) - extract(epoch from '2026-07-11 08:59: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'), 47627, 'SRID=4674;POINT (-40.050363 -2.807732)', '2026-07-11 09:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.807731)'), GeomFromEWKT('SRID=4674;POINT (-40.050363 -2.807732)'))) / (select extract(epoch from '2026-07-11 09:00:23'::timestamp) - extract(epoch from '2026-07-11 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.807731)'), GeomFromEWKT('SRID=4674;POINT (-40.050363 -2.807732)'))) / (select extract(epoch from '2026-07-11 09:00:23'::timestamp) - extract(epoch from '2026-07-11 08:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050305 -2.807748)', '2026-07-11 09:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050363 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.807748)'))) / (select extract(epoch from '2026-07-11 09:00:39'::timestamp) - extract(epoch from '2026-07-11 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050363 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.807748)'))) / (select extract(epoch from '2026-07-11 09:00:39'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050259 -2.807797)', '2026-07-11 09:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.807748)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.807797)'))) / (select extract(epoch from '2026-07-11 09:00:45'::timestamp) - extract(epoch from '2026-07-11 09:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.807748)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.807797)'))) / (select extract(epoch from '2026-07-11 09:00:45'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050245 -2.807815)', '2026-07-11 09:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.807797)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.807815)'))) / (select extract(epoch from '2026-07-11 09:00:47'::timestamp) - extract(epoch from '2026-07-11 09:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.807797)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.807815)'))) / (select extract(epoch from '2026-07-11 09:00:47'::timestamp) - extract(epoch from '2026-07-11 09:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050216 -2.807833)', '2026-07-11 09:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.807815)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.807833)'))) / (select extract(epoch from '2026-07-11 09:00:50'::timestamp) - extract(epoch from '2026-07-11 09:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.807815)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.807833)'))) / (select extract(epoch from '2026-07-11 09:00:50'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050186 -2.807843)', '2026-07-11 09:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.807833)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.807843)'))) / (select extract(epoch from '2026-07-11 09:00:53'::timestamp) - extract(epoch from '2026-07-11 09:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.807833)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.807843)'))) / (select extract(epoch from '2026-07-11 09:00:53'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050168 -2.807844)', '2026-07-11 09:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.807843)'), GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.807844)'))) / (select extract(epoch from '2026-07-11 09:00:55'::timestamp) - extract(epoch from '2026-07-11 09:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.807843)'), GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.807844)'))) / (select extract(epoch from '2026-07-11 09:00:55'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050141 -2.807837)', '2026-07-11 09:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.807837)'))) / (select extract(epoch from '2026-07-11 09:00:58'::timestamp) - extract(epoch from '2026-07-11 09:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.807837)'))) / (select extract(epoch from '2026-07-11 09:00:58'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050109 -2.807823)', '2026-07-11 09:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.807837)'), GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.807823)'))) / (select extract(epoch from '2026-07-11 09:01:02'::timestamp) - extract(epoch from '2026-07-11 09:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.807837)'), GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.807823)'))) / (select extract(epoch from '2026-07-11 09:01:02'::timestamp) - extract(epoch from '2026-07-11 09:00: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'), 47627, 'SRID=4674;POINT (-40.050073 -2.807806)', '2026-07-11 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.807806)'))) / (select extract(epoch from '2026-07-11 09:01:10'::timestamp) - extract(epoch from '2026-07-11 09:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.807806)'))) / (select extract(epoch from '2026-07-11 09:01:10'::timestamp) - extract(epoch from '2026-07-11 09:01: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'), 47627, 'SRID=4674;POINT (-40.050036 -2.807814)', '2026-07-11 09:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.807806)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.807814)'))) / (select extract(epoch from '2026-07-11 09:01:20'::timestamp) - extract(epoch from '2026-07-11 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.807806)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.807814)'))) / (select extract(epoch from '2026-07-11 09:01:20'::timestamp) - extract(epoch from '2026-07-11 09:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05005 -2.807868)', '2026-07-11 09:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.807814)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807868)'))) / (select extract(epoch from '2026-07-11 09:01:26'::timestamp) - extract(epoch from '2026-07-11 09:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.807814)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807868)'))) / (select extract(epoch from '2026-07-11 09:01:26'::timestamp) - extract(epoch from '2026-07-11 09:01: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'), 47627, 'SRID=4674;POINT (-40.050099 -2.807996)', '2026-07-11 09:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807868)'), GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.807996)'))) / (select extract(epoch from '2026-07-11 09:01:35'::timestamp) - extract(epoch from '2026-07-11 09:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807868)'), GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.807996)'))) / (select extract(epoch from '2026-07-11 09:01:35'::timestamp) - extract(epoch from '2026-07-11 09:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050102 -2.80813)', '2026-07-11 09:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.807996)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.80813)'))) / (select extract(epoch from '2026-07-11 09:01:43'::timestamp) - extract(epoch from '2026-07-11 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050099 -2.807996)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.80813)'))) / (select extract(epoch from '2026-07-11 09:01:43'::timestamp) - extract(epoch from '2026-07-11 09:01: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'), 47627, 'SRID=4674;POINT (-40.05008 -2.808343)', '2026-07-11 09:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.80813)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.808343)'))) / (select extract(epoch from '2026-07-11 09:01:55'::timestamp) - extract(epoch from '2026-07-11 09:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.80813)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.808343)'))) / (select extract(epoch from '2026-07-11 09:01:55'::timestamp) - extract(epoch from '2026-07-11 09:01: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'), 47627, 'SRID=4674;POINT (-40.050069 -2.808468)', '2026-07-11 09:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.050069 -2.808468)'))) / (select extract(epoch from '2026-07-11 09:02:02'::timestamp) - extract(epoch from '2026-07-11 09:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.050069 -2.808468)'))) / (select extract(epoch from '2026-07-11 09:02:02'::timestamp) - extract(epoch from '2026-07-11 09:01: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'), 47627, 'SRID=4674;POINT (-40.050059 -2.808628)', '2026-07-11 09:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050069 -2.808468)'), GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.808628)'))) / (select extract(epoch from '2026-07-11 09:02:11'::timestamp) - extract(epoch from '2026-07-11 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050069 -2.808468)'), GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.808628)'))) / (select extract(epoch from '2026-07-11 09:02:11'::timestamp) - extract(epoch from '2026-07-11 09:02: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'), 47627, 'SRID=4674;POINT (-40.050015 -2.808753)', '2026-07-11 09:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.808628)'), GeomFromEWKT('SRID=4674;POINT (-40.050015 -2.808753)'))) / (select extract(epoch from '2026-07-11 09:02:19'::timestamp) - extract(epoch from '2026-07-11 09:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.808628)'), GeomFromEWKT('SRID=4674;POINT (-40.050015 -2.808753)'))) / (select extract(epoch from '2026-07-11 09:02:19'::timestamp) - extract(epoch from '2026-07-11 09:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049976 -2.808845)', '2026-07-11 09:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050015 -2.808753)'), GeomFromEWKT('SRID=4674;POINT (-40.049976 -2.808845)'))) / (select extract(epoch from '2026-07-11 09:02:25'::timestamp) - extract(epoch from '2026-07-11 09:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050015 -2.808753)'), GeomFromEWKT('SRID=4674;POINT (-40.049976 -2.808845)'))) / (select extract(epoch from '2026-07-11 09:02:25'::timestamp) - extract(epoch from '2026-07-11 09:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049942 -2.808951)', '2026-07-11 09:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049976 -2.808845)'), GeomFromEWKT('SRID=4674;POINT (-40.049942 -2.808951)'))) / (select extract(epoch from '2026-07-11 09:02:32'::timestamp) - extract(epoch from '2026-07-11 09:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049976 -2.808845)'), GeomFromEWKT('SRID=4674;POINT (-40.049942 -2.808951)'))) / (select extract(epoch from '2026-07-11 09:02:32'::timestamp) - extract(epoch from '2026-07-11 09:02: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'), 47627, 'SRID=4674;POINT (-40.049911 -2.809026)', '2026-07-11 09:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049942 -2.808951)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.809026)'))) / (select extract(epoch from '2026-07-11 09:02:39'::timestamp) - extract(epoch from '2026-07-11 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049942 -2.808951)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.809026)'))) / (select extract(epoch from '2026-07-11 09:02:39'::timestamp) - extract(epoch from '2026-07-11 09:02: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'), 47627, 'SRID=4674;POINT (-40.049863 -2.80904)', '2026-07-11 09:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.809026)'), GeomFromEWKT('SRID=4674;POINT (-40.049863 -2.80904)'))) / (select extract(epoch from '2026-07-11 09:02:48'::timestamp) - extract(epoch from '2026-07-11 09:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.809026)'), GeomFromEWKT('SRID=4674;POINT (-40.049863 -2.80904)'))) / (select extract(epoch from '2026-07-11 09:02:48'::timestamp) - extract(epoch from '2026-07-11 09:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04982 -2.809085)', '2026-07-11 09:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049863 -2.80904)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.809085)'))) / (select extract(epoch from '2026-07-11 09:02:59'::timestamp) - extract(epoch from '2026-07-11 09:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049863 -2.80904)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.809085)'))) / (select extract(epoch from '2026-07-11 09:02:59'::timestamp) - extract(epoch from '2026-07-11 09:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049835 -2.809167)', '2026-07-11 09:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.809085)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809167)'))) / (select extract(epoch from '2026-07-11 09:03:08'::timestamp) - extract(epoch from '2026-07-11 09:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.809085)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809167)'))) / (select extract(epoch from '2026-07-11 09:03:08'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.049811 -2.809208)', '2026-07-11 09:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809167)'), GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.809208)'))) / (select extract(epoch from '2026-07-11 09:03:19'::timestamp) - extract(epoch from '2026-07-11 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809167)'), GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.809208)'))) / (select extract(epoch from '2026-07-11 09:03:19'::timestamp) - extract(epoch from '2026-07-11 09:03: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'), 47627, 'SRID=4674;POINT (-40.049792 -2.809195)', '2026-07-11 09:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.809208)'), GeomFromEWKT('SRID=4674;POINT (-40.049792 -2.809195)'))) / (select extract(epoch from '2026-07-11 09:03:37'::timestamp) - extract(epoch from '2026-07-11 09:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.809208)'), GeomFromEWKT('SRID=4674;POINT (-40.049792 -2.809195)'))) / (select extract(epoch from '2026-07-11 09:03:37'::timestamp) - extract(epoch from '2026-07-11 09:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049774 -2.809173)', '2026-07-11 09:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049792 -2.809195)'), GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.809173)'))) / (select extract(epoch from '2026-07-11 09:03:46'::timestamp) - extract(epoch from '2026-07-11 09:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049792 -2.809195)'), GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.809173)'))) / (select extract(epoch from '2026-07-11 09:03:46'::timestamp) - extract(epoch from '2026-07-11 09:03: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'), 47627, 'SRID=4674;POINT (-40.049768 -2.809145)', '2026-07-11 09:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.809173)'), GeomFromEWKT('SRID=4674;POINT (-40.049768 -2.809145)'))) / (select extract(epoch from '2026-07-11 09:03:55'::timestamp) - extract(epoch from '2026-07-11 09:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.809173)'), GeomFromEWKT('SRID=4674;POINT (-40.049768 -2.809145)'))) / (select extract(epoch from '2026-07-11 09:03:55'::timestamp) - extract(epoch from '2026-07-11 09:03: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'), 47627, 'SRID=4674;POINT (-40.049751 -2.809118)', '2026-07-11 09:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049768 -2.809145)'), GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.809118)'))) / (select extract(epoch from '2026-07-11 09:04:05'::timestamp) - extract(epoch from '2026-07-11 09:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049768 -2.809145)'), GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.809118)'))) / (select extract(epoch from '2026-07-11 09:04:05'::timestamp) - extract(epoch from '2026-07-11 09:03: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'), 47627, 'SRID=4674;POINT (-40.049753 -2.809106)', '2026-07-11 09:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.809118)'), GeomFromEWKT('SRID=4674;POINT (-40.049753 -2.809106)'))) / (select extract(epoch from '2026-07-11 09:04:11'::timestamp) - extract(epoch from '2026-07-11 09:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.809118)'), GeomFromEWKT('SRID=4674;POINT (-40.049753 -2.809106)'))) / (select extract(epoch from '2026-07-11 09:04:11'::timestamp) - extract(epoch from '2026-07-11 09:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049766 -2.80908)', '2026-07-11 09:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049753 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.049766 -2.80908)'))) / (select extract(epoch from '2026-07-11 09:04:23'::timestamp) - extract(epoch from '2026-07-11 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049753 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.049766 -2.80908)'))) / (select extract(epoch from '2026-07-11 09:04:23'::timestamp) - extract(epoch from '2026-07-11 09:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049831 -2.809095)', '2026-07-11 09:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049766 -2.80908)'), GeomFromEWKT('SRID=4674;POINT (-40.049831 -2.809095)'))) / (select extract(epoch from '2026-07-11 09:04:43'::timestamp) - extract(epoch from '2026-07-11 09:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049766 -2.80908)'), GeomFromEWKT('SRID=4674;POINT (-40.049831 -2.809095)'))) / (select extract(epoch from '2026-07-11 09:04:43'::timestamp) - extract(epoch from '2026-07-11 09:04: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'), 47627, 'SRID=4674;POINT (-40.049881 -2.809121)', '2026-07-11 09:04:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049831 -2.809095)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.809121)'))) / (select extract(epoch from '2026-07-11 09:04:53'::timestamp) - extract(epoch from '2026-07-11 09:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049831 -2.809095)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.809121)'))) / (select extract(epoch from '2026-07-11 09:04:53'::timestamp) - extract(epoch from '2026-07-11 09:04: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'), 47627, 'SRID=4674;POINT (-40.049904 -2.809122)', '2026-07-11 09:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.809121)'), GeomFromEWKT('SRID=4674;POINT (-40.049904 -2.809122)'))) / (select extract(epoch from '2026-07-11 09:05:04'::timestamp) - extract(epoch from '2026-07-11 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.809121)'), GeomFromEWKT('SRID=4674;POINT (-40.049904 -2.809122)'))) / (select extract(epoch from '2026-07-11 09:05:04'::timestamp) - extract(epoch from '2026-07-11 09:04: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'), 47627, 'SRID=4674;POINT (-40.04996 -2.809113)', '2026-07-11 09:05:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049904 -2.809122)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.809113)'))) / (select extract(epoch from '2026-07-11 09:05:27'::timestamp) - extract(epoch from '2026-07-11 09:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049904 -2.809122)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.809113)'))) / (select extract(epoch from '2026-07-11 09:05:27'::timestamp) - extract(epoch from '2026-07-11 09:05: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'), 47627, 'SRID=4674;POINT (-40.050054 -2.809111)', '2026-07-11 09:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.809113)'), GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.809111)'))) / (select extract(epoch from '2026-07-11 09:05:56'::timestamp) - extract(epoch from '2026-07-11 09:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.809113)'), GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.809111)'))) / (select extract(epoch from '2026-07-11 09:05:56'::timestamp) - extract(epoch from '2026-07-11 09:05: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'), 47627, 'SRID=4674;POINT (-40.050098 -2.809053)', '2026-07-11 09:06:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.809111)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.809053)'))) / (select extract(epoch from '2026-07-11 09:06:08'::timestamp) - extract(epoch from '2026-07-11 09:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.809111)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.809053)'))) / (select extract(epoch from '2026-07-11 09:06:08'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050145 -2.808914)', '2026-07-11 09:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.809053)'), GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.808914)'))) / (select extract(epoch from '2026-07-11 09:06:17'::timestamp) - extract(epoch from '2026-07-11 09:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.809053)'), GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.808914)'))) / (select extract(epoch from '2026-07-11 09:06:17'::timestamp) - extract(epoch from '2026-07-11 09:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050234 -2.80878)', '2026-07-11 09:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.80878)'))) / (select extract(epoch from '2026-07-11 09:06:25'::timestamp) - extract(epoch from '2026-07-11 09:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.80878)'))) / (select extract(epoch from '2026-07-11 09:06:25'::timestamp) - extract(epoch from '2026-07-11 09:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050386 -2.808633)', '2026-07-11 09:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.80878)'), GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808633)'))) / (select extract(epoch from '2026-07-11 09:06:35'::timestamp) - extract(epoch from '2026-07-11 09:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050234 -2.80878)'), GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808633)'))) / (select extract(epoch from '2026-07-11 09:06:35'::timestamp) - extract(epoch from '2026-07-11 09:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050527 -2.808537)', '2026-07-11 09:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808633)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.808537)'))) / (select extract(epoch from '2026-07-11 09:06:43'::timestamp) - extract(epoch from '2026-07-11 09:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808633)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.808537)'))) / (select extract(epoch from '2026-07-11 09:06:43'::timestamp) - extract(epoch from '2026-07-11 09:06: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'), 47627, 'SRID=4674;POINT (-40.050626 -2.808417)', '2026-07-11 09:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.808537)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.808417)'))) / (select extract(epoch from '2026-07-11 09:06:51'::timestamp) - extract(epoch from '2026-07-11 09:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.808537)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.808417)'))) / (select extract(epoch from '2026-07-11 09:06:51'::timestamp) - extract(epoch from '2026-07-11 09:06: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'), 47627, 'SRID=4674;POINT (-40.050683 -2.808291)', '2026-07-11 09:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.808417)'), GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.808291)'))) / (select extract(epoch from '2026-07-11 09:06:59'::timestamp) - extract(epoch from '2026-07-11 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.808417)'), GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.808291)'))) / (select extract(epoch from '2026-07-11 09:06:59'::timestamp) - extract(epoch from '2026-07-11 09:06: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'), 47627, 'SRID=4674;POINT (-40.050716 -2.808193)', '2026-07-11 09:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.808291)'), GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.808193)'))) / (select extract(epoch from '2026-07-11 09:07:07'::timestamp) - extract(epoch from '2026-07-11 09:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.808291)'), GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.808193)'))) / (select extract(epoch from '2026-07-11 09:07:07'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050741 -2.808135)', '2026-07-11 09:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.808193)'), GeomFromEWKT('SRID=4674;POINT (-40.050741 -2.808135)'))) / (select extract(epoch from '2026-07-11 09:07:14'::timestamp) - extract(epoch from '2026-07-11 09:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.808193)'), GeomFromEWKT('SRID=4674;POINT (-40.050741 -2.808135)'))) / (select extract(epoch from '2026-07-11 09:07:14'::timestamp) - extract(epoch from '2026-07-11 09:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050768 -2.808101)', '2026-07-11 09:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050741 -2.808135)'), GeomFromEWKT('SRID=4674;POINT (-40.050768 -2.808101)'))) / (select extract(epoch from '2026-07-11 09:07:22'::timestamp) - extract(epoch from '2026-07-11 09:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050741 -2.808135)'), GeomFromEWKT('SRID=4674;POINT (-40.050768 -2.808101)'))) / (select extract(epoch from '2026-07-11 09:07:22'::timestamp) - extract(epoch from '2026-07-11 09:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050795 -2.80808)', '2026-07-11 09:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050768 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.050795 -2.80808)'))) / (select extract(epoch from '2026-07-11 09:07:35'::timestamp) - extract(epoch from '2026-07-11 09:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050768 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.050795 -2.80808)'))) / (select extract(epoch from '2026-07-11 09:07:35'::timestamp) - extract(epoch from '2026-07-11 09:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050813 -2.808084)', '2026-07-11 09:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050795 -2.80808)'), GeomFromEWKT('SRID=4674;POINT (-40.050813 -2.808084)'))) / (select extract(epoch from '2026-07-11 09:07:50'::timestamp) - extract(epoch from '2026-07-11 09:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050795 -2.80808)'), GeomFromEWKT('SRID=4674;POINT (-40.050813 -2.808084)'))) / (select extract(epoch from '2026-07-11 09:07:50'::timestamp) - extract(epoch from '2026-07-11 09:07: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'), 47627, 'SRID=4674;POINT (-40.050846 -2.808088)', '2026-07-11 09:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050813 -2.808084)'), GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.808088)'))) / (select extract(epoch from '2026-07-11 09:07:58'::timestamp) - extract(epoch from '2026-07-11 09:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050813 -2.808084)'), GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.808088)'))) / (select extract(epoch from '2026-07-11 09:07:58'::timestamp) - extract(epoch from '2026-07-11 09:07: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'), 47627, 'SRID=4674;POINT (-40.050876 -2.808113)', '2026-07-11 09:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.808113)'))) / (select extract(epoch from '2026-07-11 09:08:18'::timestamp) - extract(epoch from '2026-07-11 09:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.808113)'))) / (select extract(epoch from '2026-07-11 09:08:18'::timestamp) - extract(epoch from '2026-07-11 09:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050873 -2.808097)', '2026-07-11 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.808113)'), GeomFromEWKT('SRID=4674;POINT (-40.050873 -2.808097)'))) / (select extract(epoch from '2026-07-11 09:08:33'::timestamp) - extract(epoch from '2026-07-11 09:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.808113)'), GeomFromEWKT('SRID=4674;POINT (-40.050873 -2.808097)'))) / (select extract(epoch from '2026-07-11 09:08:33'::timestamp) - extract(epoch from '2026-07-11 09:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050891 -2.808094)', '2026-07-11 09:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050873 -2.808097)'), GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.808094)'))) / (select extract(epoch from '2026-07-11 09:08:54'::timestamp) - extract(epoch from '2026-07-11 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050873 -2.808097)'), GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.808094)'))) / (select extract(epoch from '2026-07-11 09:08:54'::timestamp) - extract(epoch from '2026-07-11 09:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050889 -2.808107)', '2026-07-11 09:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.808094)'), GeomFromEWKT('SRID=4674;POINT (-40.050889 -2.808107)'))) / (select extract(epoch from '2026-07-11 09:09:09'::timestamp) - extract(epoch from '2026-07-11 09:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.808094)'), GeomFromEWKT('SRID=4674;POINT (-40.050889 -2.808107)'))) / (select extract(epoch from '2026-07-11 09:09:09'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050829 -2.808101)', '2026-07-11 09:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050889 -2.808107)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.808101)'))) / (select extract(epoch from '2026-07-11 09:09:37'::timestamp) - extract(epoch from '2026-07-11 09:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050889 -2.808107)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.808101)'))) / (select extract(epoch from '2026-07-11 09:09:37'::timestamp) - extract(epoch from '2026-07-11 09:09: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'), 47627, 'SRID=4674;POINT (-40.050776 -2.808121)', '2026-07-11 09:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.808121)'))) / (select extract(epoch from '2026-07-11 09:09:43'::timestamp) - extract(epoch from '2026-07-11 09:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.808121)'))) / (select extract(epoch from '2026-07-11 09:09:43'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050699 -2.808158)', '2026-07-11 09:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.808121)'), GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.808158)'))) / (select extract(epoch from '2026-07-11 09:09:50'::timestamp) - extract(epoch from '2026-07-11 09:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.808121)'), GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.808158)'))) / (select extract(epoch from '2026-07-11 09:09:50'::timestamp) - extract(epoch from '2026-07-11 09:09: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'), 47627, 'SRID=4674;POINT (-40.050664 -2.808179)', '2026-07-11 09:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.808158)'), GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.808179)'))) / (select extract(epoch from '2026-07-11 09:09:54'::timestamp) - extract(epoch from '2026-07-11 09:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050699 -2.808158)'), GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.808179)'))) / (select extract(epoch from '2026-07-11 09:09:54'::timestamp) - extract(epoch from '2026-07-11 09:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050574 -2.808247)', '2026-07-11 09:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.808247)'))) / (select extract(epoch from '2026-07-11 09:10:03'::timestamp) - extract(epoch from '2026-07-11 09:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.808247)'))) / (select extract(epoch from '2026-07-11 09:10:03'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050499 -2.80824)', '2026-07-11 09:10:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.050499 -2.80824)'))) / (select extract(epoch from '2026-07-11 09:10:09'::timestamp) - extract(epoch from '2026-07-11 09:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.050499 -2.80824)'))) / (select extract(epoch from '2026-07-11 09:10:09'::timestamp) - extract(epoch from '2026-07-11 09:10: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'), 47627, 'SRID=4674;POINT (-40.050386 -2.808215)', '2026-07-11 09:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050499 -2.80824)'), GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808215)'))) / (select extract(epoch from '2026-07-11 09:10:17'::timestamp) - extract(epoch from '2026-07-11 09:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050499 -2.80824)'), GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808215)'))) / (select extract(epoch from '2026-07-11 09:10:17'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.050228 -2.808217)', '2026-07-11 09:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808215)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.808217)'))) / (select extract(epoch from '2026-07-11 09:10:27'::timestamp) - extract(epoch from '2026-07-11 09:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050386 -2.808215)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.808217)'))) / (select extract(epoch from '2026-07-11 09:10:27'::timestamp) - extract(epoch from '2026-07-11 09:10: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'), 47627, 'SRID=4674;POINT (-40.050095 -2.808228)', '2026-07-11 09:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.808217)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.808228)'))) / (select extract(epoch from '2026-07-11 09:10:35'::timestamp) - extract(epoch from '2026-07-11 09:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.808217)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.808228)'))) / (select extract(epoch from '2026-07-11 09:10:35'::timestamp) - extract(epoch from '2026-07-11 09:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049934 -2.80826)', '2026-07-11 09:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.808228)'), GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.80826)'))) / (select extract(epoch from '2026-07-11 09:10:45'::timestamp) - extract(epoch from '2026-07-11 09:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.808228)'), GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.80826)'))) / (select extract(epoch from '2026-07-11 09:10:45'::timestamp) - extract(epoch from '2026-07-11 09:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049842 -2.808289)', '2026-07-11 09:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.80826)'), GeomFromEWKT('SRID=4674;POINT (-40.049842 -2.808289)'))) / (select extract(epoch from '2026-07-11 09:10:51'::timestamp) - extract(epoch from '2026-07-11 09:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.80826)'), GeomFromEWKT('SRID=4674;POINT (-40.049842 -2.808289)'))) / (select extract(epoch from '2026-07-11 09:10:51'::timestamp) - extract(epoch from '2026-07-11 09:10: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'), 47627, 'SRID=4674;POINT (-40.049722 -2.808322)', '2026-07-11 09:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049842 -2.808289)'), GeomFromEWKT('SRID=4674;POINT (-40.049722 -2.808322)'))) / (select extract(epoch from '2026-07-11 09:10:59'::timestamp) - extract(epoch from '2026-07-11 09:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049842 -2.808289)'), GeomFromEWKT('SRID=4674;POINT (-40.049722 -2.808322)'))) / (select extract(epoch from '2026-07-11 09:10:59'::timestamp) - extract(epoch from '2026-07-11 09:10: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'), 47627, 'SRID=4674;POINT (-40.049634 -2.808331)', '2026-07-11 09:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049722 -2.808322)'), GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.808331)'))) / (select extract(epoch from '2026-07-11 09:11:05'::timestamp) - extract(epoch from '2026-07-11 09:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049722 -2.808322)'), GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.808331)'))) / (select extract(epoch from '2026-07-11 09:11:05'::timestamp) - extract(epoch from '2026-07-11 09:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049506 -2.808345)', '2026-07-11 09:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.808331)'), GeomFromEWKT('SRID=4674;POINT (-40.049506 -2.808345)'))) / (select extract(epoch from '2026-07-11 09:11:13'::timestamp) - extract(epoch from '2026-07-11 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.808331)'), GeomFromEWKT('SRID=4674;POINT (-40.049506 -2.808345)'))) / (select extract(epoch from '2026-07-11 09:11:13'::timestamp) - extract(epoch from '2026-07-11 09:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049342 -2.808358)', '2026-07-11 09:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049506 -2.808345)'), GeomFromEWKT('SRID=4674;POINT (-40.049342 -2.808358)'))) / (select extract(epoch from '2026-07-11 09:11:24'::timestamp) - extract(epoch from '2026-07-11 09:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049506 -2.808345)'), GeomFromEWKT('SRID=4674;POINT (-40.049342 -2.808358)'))) / (select extract(epoch from '2026-07-11 09:11:24'::timestamp) - extract(epoch from '2026-07-11 09:11: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'), 47627, 'SRID=4674;POINT (-40.049173 -2.80837)', '2026-07-11 09:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049342 -2.808358)'), GeomFromEWKT('SRID=4674;POINT (-40.049173 -2.80837)'))) / (select extract(epoch from '2026-07-11 09:11:35'::timestamp) - extract(epoch from '2026-07-11 09:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049342 -2.808358)'), GeomFromEWKT('SRID=4674;POINT (-40.049173 -2.80837)'))) / (select extract(epoch from '2026-07-11 09:11:35'::timestamp) - extract(epoch from '2026-07-11 09:11: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'), 47627, 'SRID=4674;POINT (-40.049017 -2.808381)', '2026-07-11 09:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049173 -2.80837)'), GeomFromEWKT('SRID=4674;POINT (-40.049017 -2.808381)'))) / (select extract(epoch from '2026-07-11 09:11:46'::timestamp) - extract(epoch from '2026-07-11 09:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049173 -2.80837)'), GeomFromEWKT('SRID=4674;POINT (-40.049017 -2.808381)'))) / (select extract(epoch from '2026-07-11 09:11:46'::timestamp) - extract(epoch from '2026-07-11 09:11: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'), 47627, 'SRID=4674;POINT (-40.048924 -2.808395)', '2026-07-11 09:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049017 -2.808381)'), GeomFromEWKT('SRID=4674;POINT (-40.048924 -2.808395)'))) / (select extract(epoch from '2026-07-11 09:11:53'::timestamp) - extract(epoch from '2026-07-11 09:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049017 -2.808381)'), GeomFromEWKT('SRID=4674;POINT (-40.048924 -2.808395)'))) / (select extract(epoch from '2026-07-11 09:11:53'::timestamp) - extract(epoch from '2026-07-11 09:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04883 -2.808413)', '2026-07-11 09:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048924 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.04883 -2.808413)'))) / (select extract(epoch from '2026-07-11 09:12:00'::timestamp) - extract(epoch from '2026-07-11 09:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048924 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.04883 -2.808413)'))) / (select extract(epoch from '2026-07-11 09:12:00'::timestamp) - extract(epoch from '2026-07-11 09:11: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'), 47627, 'SRID=4674;POINT (-40.048705 -2.808431)', '2026-07-11 09:12:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04883 -2.808413)'), GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808431)'))) / (select extract(epoch from '2026-07-11 09:12:09'::timestamp) - extract(epoch from '2026-07-11 09:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04883 -2.808413)'), GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808431)'))) / (select extract(epoch from '2026-07-11 09:12:09'::timestamp) - extract(epoch from '2026-07-11 09:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048599 -2.808439)', '2026-07-11 09:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808431)'), GeomFromEWKT('SRID=4674;POINT (-40.048599 -2.808439)'))) / (select extract(epoch from '2026-07-11 09:12:17'::timestamp) - extract(epoch from '2026-07-11 09:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808431)'), GeomFromEWKT('SRID=4674;POINT (-40.048599 -2.808439)'))) / (select extract(epoch from '2026-07-11 09:12:17'::timestamp) - extract(epoch from '2026-07-11 09:12: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'), 47627, 'SRID=4674;POINT (-40.048517 -2.808464)', '2026-07-11 09:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048599 -2.808439)'), GeomFromEWKT('SRID=4674;POINT (-40.048517 -2.808464)'))) / (select extract(epoch from '2026-07-11 09:12:24'::timestamp) - extract(epoch from '2026-07-11 09:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048599 -2.808439)'), GeomFromEWKT('SRID=4674;POINT (-40.048517 -2.808464)'))) / (select extract(epoch from '2026-07-11 09:12:24'::timestamp) - extract(epoch from '2026-07-11 09:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048477 -2.808474)', '2026-07-11 09:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048517 -2.808464)'), GeomFromEWKT('SRID=4674;POINT (-40.048477 -2.808474)'))) / (select extract(epoch from '2026-07-11 09:12:27'::timestamp) - extract(epoch from '2026-07-11 09:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048517 -2.808464)'), GeomFromEWKT('SRID=4674;POINT (-40.048477 -2.808474)'))) / (select extract(epoch from '2026-07-11 09:12:27'::timestamp) - extract(epoch from '2026-07-11 09:12: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'), 47627, 'SRID=4674;POINT (-40.048452 -2.808482)', '2026-07-11 09:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048477 -2.808474)'), GeomFromEWKT('SRID=4674;POINT (-40.048452 -2.808482)'))) / (select extract(epoch from '2026-07-11 09:12:29'::timestamp) - extract(epoch from '2026-07-11 09:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048477 -2.808474)'), GeomFromEWKT('SRID=4674;POINT (-40.048452 -2.808482)'))) / (select extract(epoch from '2026-07-11 09:12:29'::timestamp) - extract(epoch from '2026-07-11 09:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048356 -2.808503)', '2026-07-11 09:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048452 -2.808482)'), GeomFromEWKT('SRID=4674;POINT (-40.048356 -2.808503)'))) / (select extract(epoch from '2026-07-11 09:12:36'::timestamp) - extract(epoch from '2026-07-11 09:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048452 -2.808482)'), GeomFromEWKT('SRID=4674;POINT (-40.048356 -2.808503)'))) / (select extract(epoch from '2026-07-11 09:12:36'::timestamp) - extract(epoch from '2026-07-11 09:12: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'), 47627, 'SRID=4674;POINT (-40.048278 -2.808521)', '2026-07-11 09:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048356 -2.808503)'), GeomFromEWKT('SRID=4674;POINT (-40.048278 -2.808521)'))) / (select extract(epoch from '2026-07-11 09:12:42'::timestamp) - extract(epoch from '2026-07-11 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048356 -2.808503)'), GeomFromEWKT('SRID=4674;POINT (-40.048278 -2.808521)'))) / (select extract(epoch from '2026-07-11 09:12:42'::timestamp) - extract(epoch from '2026-07-11 09:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048162 -2.808552)', '2026-07-11 09:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048278 -2.808521)'), GeomFromEWKT('SRID=4674;POINT (-40.048162 -2.808552)'))) / (select extract(epoch from '2026-07-11 09:12:51'::timestamp) - extract(epoch from '2026-07-11 09:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048278 -2.808521)'), GeomFromEWKT('SRID=4674;POINT (-40.048162 -2.808552)'))) / (select extract(epoch from '2026-07-11 09:12:51'::timestamp) - extract(epoch from '2026-07-11 09:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048066 -2.808593)', '2026-07-11 09:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048162 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.048066 -2.808593)'))) / (select extract(epoch from '2026-07-11 09:12:58'::timestamp) - extract(epoch from '2026-07-11 09:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048162 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.048066 -2.808593)'))) / (select extract(epoch from '2026-07-11 09:12:58'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.047937 -2.808659)', '2026-07-11 09:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048066 -2.808593)'), GeomFromEWKT('SRID=4674;POINT (-40.047937 -2.808659)'))) / (select extract(epoch from '2026-07-11 09:13:08'::timestamp) - extract(epoch from '2026-07-11 09:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048066 -2.808593)'), GeomFromEWKT('SRID=4674;POINT (-40.047937 -2.808659)'))) / (select extract(epoch from '2026-07-11 09:13:08'::timestamp) - extract(epoch from '2026-07-11 09:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047875 -2.808686)', '2026-07-11 09:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047937 -2.808659)'), GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808686)'))) / (select extract(epoch from '2026-07-11 09:13:13'::timestamp) - extract(epoch from '2026-07-11 09:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047937 -2.808659)'), GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808686)'))) / (select extract(epoch from '2026-07-11 09:13:13'::timestamp) - extract(epoch from '2026-07-11 09:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047865 -2.808692)', '2026-07-11 09:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808686)'), GeomFromEWKT('SRID=4674;POINT (-40.047865 -2.808692)'))) / (select extract(epoch from '2026-07-11 09:13:14'::timestamp) - extract(epoch from '2026-07-11 09:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047875 -2.808686)'), GeomFromEWKT('SRID=4674;POINT (-40.047865 -2.808692)'))) / (select extract(epoch from '2026-07-11 09:13:14'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.047791 -2.808751)', '2026-07-11 09:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047865 -2.808692)'), GeomFromEWKT('SRID=4674;POINT (-40.047791 -2.808751)'))) / (select extract(epoch from '2026-07-11 09:13:21'::timestamp) - extract(epoch from '2026-07-11 09:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047865 -2.808692)'), GeomFromEWKT('SRID=4674;POINT (-40.047791 -2.808751)'))) / (select extract(epoch from '2026-07-11 09:13:21'::timestamp) - extract(epoch from '2026-07-11 09:13: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'), 47627, 'SRID=4674;POINT (-40.047685 -2.80882)', '2026-07-11 09:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047791 -2.808751)'), GeomFromEWKT('SRID=4674;POINT (-40.047685 -2.80882)'))) / (select extract(epoch from '2026-07-11 09:13:30'::timestamp) - extract(epoch from '2026-07-11 09:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047791 -2.808751)'), GeomFromEWKT('SRID=4674;POINT (-40.047685 -2.80882)'))) / (select extract(epoch from '2026-07-11 09:13:30'::timestamp) - extract(epoch from '2026-07-11 09:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047575 -2.808888)', '2026-07-11 09:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047685 -2.80882)'), GeomFromEWKT('SRID=4674;POINT (-40.047575 -2.808888)'))) / (select extract(epoch from '2026-07-11 09:13:39'::timestamp) - extract(epoch from '2026-07-11 09:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047685 -2.80882)'), GeomFromEWKT('SRID=4674;POINT (-40.047575 -2.808888)'))) / (select extract(epoch from '2026-07-11 09:13:39'::timestamp) - extract(epoch from '2026-07-11 09:13: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'), 47627, 'SRID=4674;POINT (-40.047505 -2.808922)', '2026-07-11 09:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047575 -2.808888)'), GeomFromEWKT('SRID=4674;POINT (-40.047505 -2.808922)'))) / (select extract(epoch from '2026-07-11 09:13:45'::timestamp) - extract(epoch from '2026-07-11 09:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047575 -2.808888)'), GeomFromEWKT('SRID=4674;POINT (-40.047505 -2.808922)'))) / (select extract(epoch from '2026-07-11 09:13:45'::timestamp) - extract(epoch from '2026-07-11 09:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047424 -2.808931)', '2026-07-11 09:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047505 -2.808922)'), GeomFromEWKT('SRID=4674;POINT (-40.047424 -2.808931)'))) / (select extract(epoch from '2026-07-11 09:13:51'::timestamp) - extract(epoch from '2026-07-11 09:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047505 -2.808922)'), GeomFromEWKT('SRID=4674;POINT (-40.047424 -2.808931)'))) / (select extract(epoch from '2026-07-11 09:13:51'::timestamp) - extract(epoch from '2026-07-11 09:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047302 -2.808902)', '2026-07-11 09:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047424 -2.808931)'), GeomFromEWKT('SRID=4674;POINT (-40.047302 -2.808902)'))) / (select extract(epoch from '2026-07-11 09:14:00'::timestamp) - extract(epoch from '2026-07-11 09:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047424 -2.808931)'), GeomFromEWKT('SRID=4674;POINT (-40.047302 -2.808902)'))) / (select extract(epoch from '2026-07-11 09:14:00'::timestamp) - extract(epoch from '2026-07-11 09:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047183 -2.80883)', '2026-07-11 09:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047302 -2.808902)'), GeomFromEWKT('SRID=4674;POINT (-40.047183 -2.80883)'))) / (select extract(epoch from '2026-07-11 09:14:09'::timestamp) - extract(epoch from '2026-07-11 09:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047302 -2.808902)'), GeomFromEWKT('SRID=4674;POINT (-40.047183 -2.80883)'))) / (select extract(epoch from '2026-07-11 09:14:09'::timestamp) - extract(epoch from '2026-07-11 09:14: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'), 47627, 'SRID=4674;POINT (-40.047068 -2.808746)', '2026-07-11 09:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047183 -2.80883)'), GeomFromEWKT('SRID=4674;POINT (-40.047068 -2.808746)'))) / (select extract(epoch from '2026-07-11 09:14:18'::timestamp) - extract(epoch from '2026-07-11 09:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047183 -2.80883)'), GeomFromEWKT('SRID=4674;POINT (-40.047068 -2.808746)'))) / (select extract(epoch from '2026-07-11 09:14:18'::timestamp) - extract(epoch from '2026-07-11 09:14: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'), 47627, 'SRID=4674;POINT (-40.046962 -2.808641)', '2026-07-11 09:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047068 -2.808746)'), GeomFromEWKT('SRID=4674;POINT (-40.046962 -2.808641)'))) / (select extract(epoch from '2026-07-11 09:14:28'::timestamp) - extract(epoch from '2026-07-11 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047068 -2.808746)'), GeomFromEWKT('SRID=4674;POINT (-40.046962 -2.808641)'))) / (select extract(epoch from '2026-07-11 09:14:28'::timestamp) - extract(epoch from '2026-07-11 09:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.046874 -2.808558)', '2026-07-11 09:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046962 -2.808641)'), GeomFromEWKT('SRID=4674;POINT (-40.046874 -2.808558)'))) / (select extract(epoch from '2026-07-11 09:14:36'::timestamp) - extract(epoch from '2026-07-11 09:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046962 -2.808641)'), GeomFromEWKT('SRID=4674;POINT (-40.046874 -2.808558)'))) / (select extract(epoch from '2026-07-11 09:14:36'::timestamp) - extract(epoch from '2026-07-11 09:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04678 -2.808502)', '2026-07-11 09:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046874 -2.808558)'), GeomFromEWKT('SRID=4674;POINT (-40.04678 -2.808502)'))) / (select extract(epoch from '2026-07-11 09:14:44'::timestamp) - extract(epoch from '2026-07-11 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046874 -2.808558)'), GeomFromEWKT('SRID=4674;POINT (-40.04678 -2.808502)'))) / (select extract(epoch from '2026-07-11 09:14:44'::timestamp) - extract(epoch from '2026-07-11 09:14: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'), 47627, 'SRID=4674;POINT (-40.046683 -2.808461)', '2026-07-11 09:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04678 -2.808502)'), GeomFromEWKT('SRID=4674;POINT (-40.046683 -2.808461)'))) / (select extract(epoch from '2026-07-11 09:14:53'::timestamp) - extract(epoch from '2026-07-11 09:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04678 -2.808502)'), GeomFromEWKT('SRID=4674;POINT (-40.046683 -2.808461)'))) / (select extract(epoch from '2026-07-11 09:14:53'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.046572 -2.808408)', '2026-07-11 09:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046683 -2.808461)'), GeomFromEWKT('SRID=4674;POINT (-40.046572 -2.808408)'))) / (select extract(epoch from '2026-07-11 09:15:02'::timestamp) - extract(epoch from '2026-07-11 09:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046683 -2.808461)'), GeomFromEWKT('SRID=4674;POINT (-40.046572 -2.808408)'))) / (select extract(epoch from '2026-07-11 09:15:02'::timestamp) - extract(epoch from '2026-07-11 09:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.046458 -2.808352)', '2026-07-11 09:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046572 -2.808408)'), GeomFromEWKT('SRID=4674;POINT (-40.046458 -2.808352)'))) / (select extract(epoch from '2026-07-11 09:15:11'::timestamp) - extract(epoch from '2026-07-11 09:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046572 -2.808408)'), GeomFromEWKT('SRID=4674;POINT (-40.046458 -2.808352)'))) / (select extract(epoch from '2026-07-11 09:15:11'::timestamp) - extract(epoch from '2026-07-11 09:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.046381 -2.808301)', '2026-07-11 09:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046458 -2.808352)'), GeomFromEWKT('SRID=4674;POINT (-40.046381 -2.808301)'))) / (select extract(epoch from '2026-07-11 09:15:18'::timestamp) - extract(epoch from '2026-07-11 09:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046458 -2.808352)'), GeomFromEWKT('SRID=4674;POINT (-40.046381 -2.808301)'))) / (select extract(epoch from '2026-07-11 09:15:18'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.046289 -2.808261)', '2026-07-11 09:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046381 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.046289 -2.808261)'))) / (select extract(epoch from '2026-07-11 09:15:26'::timestamp) - extract(epoch from '2026-07-11 09:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046381 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.046289 -2.808261)'))) / (select extract(epoch from '2026-07-11 09:15:26'::timestamp) - extract(epoch from '2026-07-11 09:15: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'), 47627, 'SRID=4674;POINT (-40.046178 -2.80821)', '2026-07-11 09:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046289 -2.808261)'), GeomFromEWKT('SRID=4674;POINT (-40.046178 -2.80821)'))) / (select extract(epoch from '2026-07-11 09:15:35'::timestamp) - extract(epoch from '2026-07-11 09:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046289 -2.808261)'), GeomFromEWKT('SRID=4674;POINT (-40.046178 -2.80821)'))) / (select extract(epoch from '2026-07-11 09:15:35'::timestamp) - extract(epoch from '2026-07-11 09:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.046083 -2.808154)', '2026-07-11 09:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046178 -2.80821)'), GeomFromEWKT('SRID=4674;POINT (-40.046083 -2.808154)'))) / (select extract(epoch from '2026-07-11 09:15:44'::timestamp) - extract(epoch from '2026-07-11 09:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046178 -2.80821)'), GeomFromEWKT('SRID=4674;POINT (-40.046083 -2.808154)'))) / (select extract(epoch from '2026-07-11 09:15:44'::timestamp) - extract(epoch from '2026-07-11 09:15: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'), 47627, 'SRID=4674;POINT (-40.046005 -2.808131)', '2026-07-11 09:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046083 -2.808154)'), GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.808131)'))) / (select extract(epoch from '2026-07-11 09:15:52'::timestamp) - extract(epoch from '2026-07-11 09:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046083 -2.808154)'), GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.808131)'))) / (select extract(epoch from '2026-07-11 09:15:52'::timestamp) - extract(epoch from '2026-07-11 09:15: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'), 47627, 'SRID=4674;POINT (-40.045907 -2.808082)', '2026-07-11 09:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.808131)'), GeomFromEWKT('SRID=4674;POINT (-40.045907 -2.808082)'))) / (select extract(epoch from '2026-07-11 09:16:01'::timestamp) - extract(epoch from '2026-07-11 09:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.808131)'), GeomFromEWKT('SRID=4674;POINT (-40.045907 -2.808082)'))) / (select extract(epoch from '2026-07-11 09:16:01'::timestamp) - extract(epoch from '2026-07-11 09:15: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'), 47627, 'SRID=4674;POINT (-40.045829 -2.808011)', '2026-07-11 09:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045907 -2.808082)'), GeomFromEWKT('SRID=4674;POINT (-40.045829 -2.808011)'))) / (select extract(epoch from '2026-07-11 09:16:10'::timestamp) - extract(epoch from '2026-07-11 09:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045907 -2.808082)'), GeomFromEWKT('SRID=4674;POINT (-40.045829 -2.808011)'))) / (select extract(epoch from '2026-07-11 09:16:10'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.04576 -2.807966)', '2026-07-11 09:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045829 -2.808011)'), GeomFromEWKT('SRID=4674;POINT (-40.04576 -2.807966)'))) / (select extract(epoch from '2026-07-11 09:16:17'::timestamp) - extract(epoch from '2026-07-11 09:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045829 -2.808011)'), GeomFromEWKT('SRID=4674;POINT (-40.04576 -2.807966)'))) / (select extract(epoch from '2026-07-11 09:16:17'::timestamp) - extract(epoch from '2026-07-11 09:16: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'), 47627, 'SRID=4674;POINT (-40.045683 -2.80792)', '2026-07-11 09:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04576 -2.807966)'), GeomFromEWKT('SRID=4674;POINT (-40.045683 -2.80792)'))) / (select extract(epoch from '2026-07-11 09:16:25'::timestamp) - extract(epoch from '2026-07-11 09:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04576 -2.807966)'), GeomFromEWKT('SRID=4674;POINT (-40.045683 -2.80792)'))) / (select extract(epoch from '2026-07-11 09:16:25'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.045603 -2.807881)', '2026-07-11 09:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045683 -2.80792)'), GeomFromEWKT('SRID=4674;POINT (-40.045603 -2.807881)'))) / (select extract(epoch from '2026-07-11 09:16:32'::timestamp) - extract(epoch from '2026-07-11 09:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045683 -2.80792)'), GeomFromEWKT('SRID=4674;POINT (-40.045603 -2.807881)'))) / (select extract(epoch from '2026-07-11 09:16:32'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.045548 -2.80785)', '2026-07-11 09:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045603 -2.807881)'), GeomFromEWKT('SRID=4674;POINT (-40.045548 -2.80785)'))) / (select extract(epoch from '2026-07-11 09:16:38'::timestamp) - extract(epoch from '2026-07-11 09:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045603 -2.807881)'), GeomFromEWKT('SRID=4674;POINT (-40.045548 -2.80785)'))) / (select extract(epoch from '2026-07-11 09:16:38'::timestamp) - extract(epoch from '2026-07-11 09:16: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'), 47627, 'SRID=4674;POINT (-40.045461 -2.807784)', '2026-07-11 09:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045548 -2.80785)'), GeomFromEWKT('SRID=4674;POINT (-40.045461 -2.807784)'))) / (select extract(epoch from '2026-07-11 09:16:47'::timestamp) - extract(epoch from '2026-07-11 09:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045548 -2.80785)'), GeomFromEWKT('SRID=4674;POINT (-40.045461 -2.807784)'))) / (select extract(epoch from '2026-07-11 09:16:47'::timestamp) - extract(epoch from '2026-07-11 09:16: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'), 47627, 'SRID=4674;POINT (-40.045426 -2.807749)', '2026-07-11 09:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045461 -2.807784)'), GeomFromEWKT('SRID=4674;POINT (-40.045426 -2.807749)'))) / (select extract(epoch from '2026-07-11 09:16:54'::timestamp) - extract(epoch from '2026-07-11 09:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045461 -2.807784)'), GeomFromEWKT('SRID=4674;POINT (-40.045426 -2.807749)'))) / (select extract(epoch from '2026-07-11 09:16:54'::timestamp) - extract(epoch from '2026-07-11 09:16: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'), 47627, 'SRID=4674;POINT (-40.045373 -2.80772)', '2026-07-11 09:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045426 -2.807749)'), GeomFromEWKT('SRID=4674;POINT (-40.045373 -2.80772)'))) / (select extract(epoch from '2026-07-11 09:17:07'::timestamp) - extract(epoch from '2026-07-11 09:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045426 -2.807749)'), GeomFromEWKT('SRID=4674;POINT (-40.045373 -2.80772)'))) / (select extract(epoch from '2026-07-11 09:17:07'::timestamp) - extract(epoch from '2026-07-11 09:16: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'), 47627, 'SRID=4674;POINT (-40.045371 -2.807754)', '2026-07-11 09:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045373 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.045371 -2.807754)'))) / (select extract(epoch from '2026-07-11 09:17:16'::timestamp) - extract(epoch from '2026-07-11 09:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045373 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.045371 -2.807754)'))) / (select extract(epoch from '2026-07-11 09:17:16'::timestamp) - extract(epoch from '2026-07-11 09:17: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'), 47627, 'SRID=4674;POINT (-40.045408 -2.807822)', '2026-07-11 09:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045371 -2.807754)'), GeomFromEWKT('SRID=4674;POINT (-40.045408 -2.807822)'))) / (select extract(epoch from '2026-07-11 09:17:25'::timestamp) - extract(epoch from '2026-07-11 09:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045371 -2.807754)'), GeomFromEWKT('SRID=4674;POINT (-40.045408 -2.807822)'))) / (select extract(epoch from '2026-07-11 09:17:25'::timestamp) - extract(epoch from '2026-07-11 09:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045466 -2.807873)', '2026-07-11 09:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045408 -2.807822)'), GeomFromEWKT('SRID=4674;POINT (-40.045466 -2.807873)'))) / (select extract(epoch from '2026-07-11 09:17:32'::timestamp) - extract(epoch from '2026-07-11 09:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045408 -2.807822)'), GeomFromEWKT('SRID=4674;POINT (-40.045466 -2.807873)'))) / (select extract(epoch from '2026-07-11 09:17:32'::timestamp) - extract(epoch from '2026-07-11 09:17: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'), 47627, 'SRID=4674;POINT (-40.045544 -2.807901)', '2026-07-11 09:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045466 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.045544 -2.807901)'))) / (select extract(epoch from '2026-07-11 09:17:40'::timestamp) - extract(epoch from '2026-07-11 09:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045466 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.045544 -2.807901)'))) / (select extract(epoch from '2026-07-11 09:17:40'::timestamp) - extract(epoch from '2026-07-11 09:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045587 -2.807922)', '2026-07-11 09:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045544 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.807922)'))) / (select extract(epoch from '2026-07-11 09:17:46'::timestamp) - extract(epoch from '2026-07-11 09:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045544 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.807922)'))) / (select extract(epoch from '2026-07-11 09:17:46'::timestamp) - extract(epoch from '2026-07-11 09:17: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'), 47627, 'SRID=4674;POINT (-40.044406 -2.824106)', '2026-07-11 09:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.807922)'), GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.824106)'))) / (select extract(epoch from '2026-07-11 09:46:15'::timestamp) - extract(epoch from '2026-07-11 09:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.807922)'), GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.824106)'))) / (select extract(epoch from '2026-07-11 09:46:15'::timestamp) - extract(epoch from '2026-07-11 09:17: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'), 47627, 'SRID=4674;POINT (-40.044514 -2.824034)', '2026-07-11 09:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.044514 -2.824034)'))) / (select extract(epoch from '2026-07-11 09:46:21'::timestamp) - extract(epoch from '2026-07-11 09:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044406 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.044514 -2.824034)'))) / (select extract(epoch from '2026-07-11 09:46:21'::timestamp) - extract(epoch from '2026-07-11 09:46:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.044696 -2.823925)', '2026-07-11 09:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044514 -2.824034)'), GeomFromEWKT('SRID=4674;POINT (-40.044696 -2.823925)'))) / (select extract(epoch from '2026-07-11 09:46:30'::timestamp) - extract(epoch from '2026-07-11 09:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044514 -2.824034)'), GeomFromEWKT('SRID=4674;POINT (-40.044696 -2.823925)'))) / (select extract(epoch from '2026-07-11 09:46:30'::timestamp) - extract(epoch from '2026-07-11 09:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.044872 -2.823781)', '2026-07-11 09:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044696 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.044872 -2.823781)'))) / (select extract(epoch from '2026-07-11 09:46:41'::timestamp) - extract(epoch from '2026-07-11 09:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044696 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.044872 -2.823781)'))) / (select extract(epoch from '2026-07-11 09:46:41'::timestamp) - extract(epoch from '2026-07-11 09:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.044996 -2.823764)', '2026-07-11 09:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044872 -2.823781)'), GeomFromEWKT('SRID=4674;POINT (-40.044996 -2.823764)'))) / (select extract(epoch from '2026-07-11 09:46:47'::timestamp) - extract(epoch from '2026-07-11 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044872 -2.823781)'), GeomFromEWKT('SRID=4674;POINT (-40.044996 -2.823764)'))) / (select extract(epoch from '2026-07-11 09:46:47'::timestamp) - extract(epoch from '2026-07-11 09:46: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'), 47627, 'SRID=4674;POINT (-40.045213 -2.823795)', '2026-07-11 09:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044996 -2.823764)'), GeomFromEWKT('SRID=4674;POINT (-40.045213 -2.823795)'))) / (select extract(epoch from '2026-07-11 09:46:57'::timestamp) - extract(epoch from '2026-07-11 09:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044996 -2.823764)'), GeomFromEWKT('SRID=4674;POINT (-40.045213 -2.823795)'))) / (select extract(epoch from '2026-07-11 09:46:57'::timestamp) - extract(epoch from '2026-07-11 09:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045424 -2.82385)', '2026-07-11 09:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045213 -2.823795)'), GeomFromEWKT('SRID=4674;POINT (-40.045424 -2.82385)'))) / (select extract(epoch from '2026-07-11 09:47:07'::timestamp) - extract(epoch from '2026-07-11 09:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045213 -2.823795)'), GeomFromEWKT('SRID=4674;POINT (-40.045424 -2.82385)'))) / (select extract(epoch from '2026-07-11 09:47:07'::timestamp) - extract(epoch from '2026-07-11 09:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045568 -2.823914)', '2026-07-11 09:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045424 -2.82385)'), GeomFromEWKT('SRID=4674;POINT (-40.045568 -2.823914)'))) / (select extract(epoch from '2026-07-11 09:47:14'::timestamp) - extract(epoch from '2026-07-11 09:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045424 -2.82385)'), GeomFromEWKT('SRID=4674;POINT (-40.045568 -2.823914)'))) / (select extract(epoch from '2026-07-11 09:47:14'::timestamp) - extract(epoch from '2026-07-11 09:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045796 -2.824008)', '2026-07-11 09:47:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045568 -2.823914)'), GeomFromEWKT('SRID=4674;POINT (-40.045796 -2.824008)'))) / (select extract(epoch from '2026-07-11 09:47:25'::timestamp) - extract(epoch from '2026-07-11 09:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045568 -2.823914)'), GeomFromEWKT('SRID=4674;POINT (-40.045796 -2.824008)'))) / (select extract(epoch from '2026-07-11 09:47:25'::timestamp) - extract(epoch from '2026-07-11 09:47: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'), 47627, 'SRID=4674;POINT (-40.045937 -2.82412)', '2026-07-11 09:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045796 -2.824008)'), GeomFromEWKT('SRID=4674;POINT (-40.045937 -2.82412)'))) / (select extract(epoch from '2026-07-11 09:47:33'::timestamp) - extract(epoch from '2026-07-11 09:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045796 -2.824008)'), GeomFromEWKT('SRID=4674;POINT (-40.045937 -2.82412)'))) / (select extract(epoch from '2026-07-11 09:47:33'::timestamp) - extract(epoch from '2026-07-11 09:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.046105 -2.824279)', '2026-07-11 09:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045937 -2.82412)'), GeomFromEWKT('SRID=4674;POINT (-40.046105 -2.824279)'))) / (select extract(epoch from '2026-07-11 09:47:43'::timestamp) - extract(epoch from '2026-07-11 09:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045937 -2.82412)'), GeomFromEWKT('SRID=4674;POINT (-40.046105 -2.824279)'))) / (select extract(epoch from '2026-07-11 09:47:43'::timestamp) - extract(epoch from '2026-07-11 09:47: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'), 47627, 'SRID=4674;POINT (-40.046278 -2.824462)', '2026-07-11 09:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046105 -2.824279)'), GeomFromEWKT('SRID=4674;POINT (-40.046278 -2.824462)'))) / (select extract(epoch from '2026-07-11 09:47:54'::timestamp) - extract(epoch from '2026-07-11 09:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046105 -2.824279)'), GeomFromEWKT('SRID=4674;POINT (-40.046278 -2.824462)'))) / (select extract(epoch from '2026-07-11 09:47:54'::timestamp) - extract(epoch from '2026-07-11 09:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04644 -2.82463)', '2026-07-11 09:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046278 -2.824462)'), GeomFromEWKT('SRID=4674;POINT (-40.04644 -2.82463)'))) / (select extract(epoch from '2026-07-11 09:48:04'::timestamp) - extract(epoch from '2026-07-11 09:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046278 -2.824462)'), GeomFromEWKT('SRID=4674;POINT (-40.04644 -2.82463)'))) / (select extract(epoch from '2026-07-11 09:48:04'::timestamp) - extract(epoch from '2026-07-11 09:47: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'), 47627, 'SRID=4674;POINT (-40.046547 -2.824738)', '2026-07-11 09:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04644 -2.82463)'), GeomFromEWKT('SRID=4674;POINT (-40.046547 -2.824738)'))) / (select extract(epoch from '2026-07-11 09:48:10'::timestamp) - extract(epoch from '2026-07-11 09:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04644 -2.82463)'), GeomFromEWKT('SRID=4674;POINT (-40.046547 -2.824738)'))) / (select extract(epoch from '2026-07-11 09:48:10'::timestamp) - extract(epoch from '2026-07-11 09:48: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'), 47627, 'SRID=4674;POINT (-40.046621 -2.824878)', '2026-07-11 09:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046547 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.046621 -2.824878)'))) / (select extract(epoch from '2026-07-11 09:48:17'::timestamp) - extract(epoch from '2026-07-11 09:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046547 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.046621 -2.824878)'))) / (select extract(epoch from '2026-07-11 09:48:17'::timestamp) - extract(epoch from '2026-07-11 09:48: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'), 47627, 'SRID=4674;POINT (-40.046781 -2.82505)', '2026-07-11 09:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046621 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.046781 -2.82505)'))) / (select extract(epoch from '2026-07-11 09:48:27'::timestamp) - extract(epoch from '2026-07-11 09:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046621 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.046781 -2.82505)'))) / (select extract(epoch from '2026-07-11 09:48:27'::timestamp) - extract(epoch from '2026-07-11 09:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047006 -2.825242)', '2026-07-11 09:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046781 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.047006 -2.825242)'))) / (select extract(epoch from '2026-07-11 09:48:39'::timestamp) - extract(epoch from '2026-07-11 09:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046781 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.047006 -2.825242)'))) / (select extract(epoch from '2026-07-11 09:48:39'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.047247 -2.825489)', '2026-07-11 09:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047006 -2.825242)'), GeomFromEWKT('SRID=4674;POINT (-40.047247 -2.825489)'))) / (select extract(epoch from '2026-07-11 09:48:53'::timestamp) - extract(epoch from '2026-07-11 09:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047006 -2.825242)'), GeomFromEWKT('SRID=4674;POINT (-40.047247 -2.825489)'))) / (select extract(epoch from '2026-07-11 09:48:53'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.047399 -2.825733)', '2026-07-11 09:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047247 -2.825489)'), GeomFromEWKT('SRID=4674;POINT (-40.047399 -2.825733)'))) / (select extract(epoch from '2026-07-11 09:49:05'::timestamp) - extract(epoch from '2026-07-11 09:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047247 -2.825489)'), GeomFromEWKT('SRID=4674;POINT (-40.047399 -2.825733)'))) / (select extract(epoch from '2026-07-11 09:49:05'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.047527 -2.825955)', '2026-07-11 09:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047399 -2.825733)'), GeomFromEWKT('SRID=4674;POINT (-40.047527 -2.825955)'))) / (select extract(epoch from '2026-07-11 09:49:16'::timestamp) - extract(epoch from '2026-07-11 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047399 -2.825733)'), GeomFromEWKT('SRID=4674;POINT (-40.047527 -2.825955)'))) / (select extract(epoch from '2026-07-11 09:49:16'::timestamp) - extract(epoch from '2026-07-11 09:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047661 -2.826197)', '2026-07-11 09:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047527 -2.825955)'), GeomFromEWKT('SRID=4674;POINT (-40.047661 -2.826197)'))) / (select extract(epoch from '2026-07-11 09:49:28'::timestamp) - extract(epoch from '2026-07-11 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047527 -2.825955)'), GeomFromEWKT('SRID=4674;POINT (-40.047661 -2.826197)'))) / (select extract(epoch from '2026-07-11 09:49:28'::timestamp) - extract(epoch from '2026-07-11 09:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047727 -2.826393)', '2026-07-11 09:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047661 -2.826197)'), GeomFromEWKT('SRID=4674;POINT (-40.047727 -2.826393)'))) / (select extract(epoch from '2026-07-11 09:49:37'::timestamp) - extract(epoch from '2026-07-11 09:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047661 -2.826197)'), GeomFromEWKT('SRID=4674;POINT (-40.047727 -2.826393)'))) / (select extract(epoch from '2026-07-11 09:49:37'::timestamp) - extract(epoch from '2026-07-11 09:49: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'), 47627, 'SRID=4674;POINT (-40.047764 -2.82659)', '2026-07-11 09:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047727 -2.826393)'), GeomFromEWKT('SRID=4674;POINT (-40.047764 -2.82659)'))) / (select extract(epoch from '2026-07-11 09:49:46'::timestamp) - extract(epoch from '2026-07-11 09:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047727 -2.826393)'), GeomFromEWKT('SRID=4674;POINT (-40.047764 -2.82659)'))) / (select extract(epoch from '2026-07-11 09:49:46'::timestamp) - extract(epoch from '2026-07-11 09:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047718 -2.826809)', '2026-07-11 09:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047764 -2.82659)'), GeomFromEWKT('SRID=4674;POINT (-40.047718 -2.826809)'))) / (select extract(epoch from '2026-07-11 09:49:57'::timestamp) - extract(epoch from '2026-07-11 09:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047764 -2.82659)'), GeomFromEWKT('SRID=4674;POINT (-40.047718 -2.826809)'))) / (select extract(epoch from '2026-07-11 09:49:57'::timestamp) - extract(epoch from '2026-07-11 09:49: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'), 47627, 'SRID=4674;POINT (-40.047624 -2.827093)', '2026-07-11 09:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047718 -2.826809)'), GeomFromEWKT('SRID=4674;POINT (-40.047624 -2.827093)'))) / (select extract(epoch from '2026-07-11 09:50:12'::timestamp) - extract(epoch from '2026-07-11 09:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047718 -2.826809)'), GeomFromEWKT('SRID=4674;POINT (-40.047624 -2.827093)'))) / (select extract(epoch from '2026-07-11 09:50:12'::timestamp) - extract(epoch from '2026-07-11 09:49: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'), 47627, 'SRID=4674;POINT (-40.047499 -2.827291)', '2026-07-11 09:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047624 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.047499 -2.827291)'))) / (select extract(epoch from '2026-07-11 09:50:24'::timestamp) - extract(epoch from '2026-07-11 09:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047624 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.047499 -2.827291)'))) / (select extract(epoch from '2026-07-11 09:50:24'::timestamp) - extract(epoch from '2026-07-11 09:50: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'), 47627, 'SRID=4674;POINT (-40.047349 -2.827451)', '2026-07-11 09:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047499 -2.827291)'), GeomFromEWKT('SRID=4674;POINT (-40.047349 -2.827451)'))) / (select extract(epoch from '2026-07-11 09:50:36'::timestamp) - extract(epoch from '2026-07-11 09:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047499 -2.827291)'), GeomFromEWKT('SRID=4674;POINT (-40.047349 -2.827451)'))) / (select extract(epoch from '2026-07-11 09:50:36'::timestamp) - extract(epoch from '2026-07-11 09:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.047195 -2.827644)', '2026-07-11 09:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047349 -2.827451)'), GeomFromEWKT('SRID=4674;POINT (-40.047195 -2.827644)'))) / (select extract(epoch from '2026-07-11 09:50:49'::timestamp) - extract(epoch from '2026-07-11 09:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047349 -2.827451)'), GeomFromEWKT('SRID=4674;POINT (-40.047195 -2.827644)'))) / (select extract(epoch from '2026-07-11 09:50:49'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.046977 -2.82782)', '2026-07-11 09:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047195 -2.827644)'), GeomFromEWKT('SRID=4674;POINT (-40.046977 -2.82782)'))) / (select extract(epoch from '2026-07-11 09:51:03'::timestamp) - extract(epoch from '2026-07-11 09:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047195 -2.827644)'), GeomFromEWKT('SRID=4674;POINT (-40.046977 -2.82782)'))) / (select extract(epoch from '2026-07-11 09:51:03'::timestamp) - extract(epoch from '2026-07-11 09:50: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'), 47627, 'SRID=4674;POINT (-40.046709 -2.827962)', '2026-07-11 09:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046977 -2.82782)'), GeomFromEWKT('SRID=4674;POINT (-40.046709 -2.827962)'))) / (select extract(epoch from '2026-07-11 09:51:18'::timestamp) - extract(epoch from '2026-07-11 09:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046977 -2.82782)'), GeomFromEWKT('SRID=4674;POINT (-40.046709 -2.827962)'))) / (select extract(epoch from '2026-07-11 09:51:18'::timestamp) - extract(epoch from '2026-07-11 09:51: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'), 47627, 'SRID=4674;POINT (-40.046471 -2.828102)', '2026-07-11 09:51:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046709 -2.827962)'), GeomFromEWKT('SRID=4674;POINT (-40.046471 -2.828102)'))) / (select extract(epoch from '2026-07-11 09:51:32'::timestamp) - extract(epoch from '2026-07-11 09:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046709 -2.827962)'), GeomFromEWKT('SRID=4674;POINT (-40.046471 -2.828102)'))) / (select extract(epoch from '2026-07-11 09:51:32'::timestamp) - extract(epoch from '2026-07-11 09:51: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'), 47627, 'SRID=4674;POINT (-40.046212 -2.828272)', '2026-07-11 09:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046471 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-40.046212 -2.828272)'))) / (select extract(epoch from '2026-07-11 09:51:47'::timestamp) - extract(epoch from '2026-07-11 09:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046471 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-40.046212 -2.828272)'))) / (select extract(epoch from '2026-07-11 09:51:47'::timestamp) - extract(epoch from '2026-07-11 09:51: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'), 47627, 'SRID=4674;POINT (-40.046013 -2.82837)', '2026-07-11 09:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046212 -2.828272)'), GeomFromEWKT('SRID=4674;POINT (-40.046013 -2.82837)'))) / (select extract(epoch from '2026-07-11 09:51:58'::timestamp) - extract(epoch from '2026-07-11 09:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046212 -2.828272)'), GeomFromEWKT('SRID=4674;POINT (-40.046013 -2.82837)'))) / (select extract(epoch from '2026-07-11 09:51:58'::timestamp) - extract(epoch from '2026-07-11 09:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.045768 -2.828468)', '2026-07-11 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046013 -2.82837)'), GeomFromEWKT('SRID=4674;POINT (-40.045768 -2.828468)'))) / (select extract(epoch from '2026-07-11 09:52:11'::timestamp) - extract(epoch from '2026-07-11 09:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046013 -2.82837)'), GeomFromEWKT('SRID=4674;POINT (-40.045768 -2.828468)'))) / (select extract(epoch from '2026-07-11 09:52:11'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.045587 -2.828566)', '2026-07-11 09:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045768 -2.828468)'), GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.828566)'))) / (select extract(epoch from '2026-07-11 09:52:22'::timestamp) - extract(epoch from '2026-07-11 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045768 -2.828468)'), GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.828566)'))) / (select extract(epoch from '2026-07-11 09:52:22'::timestamp) - extract(epoch from '2026-07-11 09:52: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'), 47627, 'SRID=4674;POINT (-40.045431 -2.82863)', '2026-07-11 09:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.828566)'), GeomFromEWKT('SRID=4674;POINT (-40.045431 -2.82863)'))) / (select extract(epoch from '2026-07-11 09:52:31'::timestamp) - extract(epoch from '2026-07-11 09:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045587 -2.828566)'), GeomFromEWKT('SRID=4674;POINT (-40.045431 -2.82863)'))) / (select extract(epoch from '2026-07-11 09:52:31'::timestamp) - extract(epoch from '2026-07-11 09:52: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'), 47627, 'SRID=4674;POINT (-40.045194 -2.828701)', '2026-07-11 09:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045431 -2.82863)'), GeomFromEWKT('SRID=4674;POINT (-40.045194 -2.828701)'))) / (select extract(epoch from '2026-07-11 09:52:44'::timestamp) - extract(epoch from '2026-07-11 09:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045431 -2.82863)'), GeomFromEWKT('SRID=4674;POINT (-40.045194 -2.828701)'))) / (select extract(epoch from '2026-07-11 09:52:44'::timestamp) - extract(epoch from '2026-07-11 09:52: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'), 47627, 'SRID=4674;POINT (-40.044926 -2.828853)', '2026-07-11 09:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045194 -2.828701)'), GeomFromEWKT('SRID=4674;POINT (-40.044926 -2.828853)'))) / (select extract(epoch from '2026-07-11 09:53:00'::timestamp) - extract(epoch from '2026-07-11 09:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045194 -2.828701)'), GeomFromEWKT('SRID=4674;POINT (-40.044926 -2.828853)'))) / (select extract(epoch from '2026-07-11 09:53:00'::timestamp) - extract(epoch from '2026-07-11 09:52: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'), 47627, 'SRID=4674;POINT (-40.044766 -2.828921)', '2026-07-11 09:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044926 -2.828853)'), GeomFromEWKT('SRID=4674;POINT (-40.044766 -2.828921)'))) / (select extract(epoch from '2026-07-11 09:53:09'::timestamp) - extract(epoch from '2026-07-11 09:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044926 -2.828853)'), GeomFromEWKT('SRID=4674;POINT (-40.044766 -2.828921)'))) / (select extract(epoch from '2026-07-11 09:53:09'::timestamp) - extract(epoch from '2026-07-11 09:53: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'), 47627, 'SRID=4674;POINT (-40.044503 -2.829075)', '2026-07-11 09:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044766 -2.828921)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.829075)'))) / (select extract(epoch from '2026-07-11 09:53:24'::timestamp) - extract(epoch from '2026-07-11 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044766 -2.828921)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.829075)'))) / (select extract(epoch from '2026-07-11 09:53:24'::timestamp) - extract(epoch from '2026-07-11 09:53: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'), 47627, 'SRID=4674;POINT (-40.044318 -2.829193)', '2026-07-11 09:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.829075)'), GeomFromEWKT('SRID=4674;POINT (-40.044318 -2.829193)'))) / (select extract(epoch from '2026-07-11 09:53:35'::timestamp) - extract(epoch from '2026-07-11 09:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.829075)'), GeomFromEWKT('SRID=4674;POINT (-40.044318 -2.829193)'))) / (select extract(epoch from '2026-07-11 09:53:35'::timestamp) - extract(epoch from '2026-07-11 09:53: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'), 47627, 'SRID=4674;POINT (-40.044186 -2.829292)', '2026-07-11 09:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044318 -2.829193)'), GeomFromEWKT('SRID=4674;POINT (-40.044186 -2.829292)'))) / (select extract(epoch from '2026-07-11 09:53:43'::timestamp) - extract(epoch from '2026-07-11 09:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044318 -2.829193)'), GeomFromEWKT('SRID=4674;POINT (-40.044186 -2.829292)'))) / (select extract(epoch from '2026-07-11 09:53:43'::timestamp) - extract(epoch from '2026-07-11 09:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.043941 -2.829403)', '2026-07-11 09:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044186 -2.829292)'), GeomFromEWKT('SRID=4674;POINT (-40.043941 -2.829403)'))) / (select extract(epoch from '2026-07-11 09:53:56'::timestamp) - extract(epoch from '2026-07-11 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044186 -2.829292)'), GeomFromEWKT('SRID=4674;POINT (-40.043941 -2.829403)'))) / (select extract(epoch from '2026-07-11 09:53:56'::timestamp) - extract(epoch from '2026-07-11 09:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.043703 -2.829538)', '2026-07-11 09:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043941 -2.829403)'), GeomFromEWKT('SRID=4674;POINT (-40.043703 -2.829538)'))) / (select extract(epoch from '2026-07-11 09:54:09'::timestamp) - extract(epoch from '2026-07-11 09:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043941 -2.829403)'), GeomFromEWKT('SRID=4674;POINT (-40.043703 -2.829538)'))) / (select extract(epoch from '2026-07-11 09:54:09'::timestamp) - extract(epoch from '2026-07-11 09:53: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'), 47627, 'SRID=4674;POINT (-40.043433 -2.829696)', '2026-07-11 09:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043703 -2.829538)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.829696)'))) / (select extract(epoch from '2026-07-11 09:54:24'::timestamp) - extract(epoch from '2026-07-11 09:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043703 -2.829538)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.829696)'))) / (select extract(epoch from '2026-07-11 09:54:24'::timestamp) - extract(epoch from '2026-07-11 09:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04313 -2.829852)', '2026-07-11 09:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.829696)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.829852)'))) / (select extract(epoch from '2026-07-11 09:54:40'::timestamp) - extract(epoch from '2026-07-11 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.829696)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.829852)'))) / (select extract(epoch from '2026-07-11 09:54:40'::timestamp) - extract(epoch from '2026-07-11 09:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042924 -2.829972)', '2026-07-11 09:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829972)'))) / (select extract(epoch from '2026-07-11 09:54:51'::timestamp) - extract(epoch from '2026-07-11 09:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.829852)'), GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829972)'))) / (select extract(epoch from '2026-07-11 09:54:51'::timestamp) - extract(epoch from '2026-07-11 09:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042799 -2.830062)', '2026-07-11 09:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829972)'), GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.830062)'))) / (select extract(epoch from '2026-07-11 09:54:58'::timestamp) - extract(epoch from '2026-07-11 09:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829972)'), GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.830062)'))) / (select extract(epoch from '2026-07-11 09:54:58'::timestamp) - extract(epoch from '2026-07-11 09:54: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'), 47627, 'SRID=4674;POINT (-40.042654 -2.830161)', '2026-07-11 09:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.830062)'), GeomFromEWKT('SRID=4674;POINT (-40.042654 -2.830161)'))) / (select extract(epoch from '2026-07-11 09:55:06'::timestamp) - extract(epoch from '2026-07-11 09:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042799 -2.830062)'), GeomFromEWKT('SRID=4674;POINT (-40.042654 -2.830161)'))) / (select extract(epoch from '2026-07-11 09:55:06'::timestamp) - extract(epoch from '2026-07-11 09:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042433 -2.830308)', '2026-07-11 09:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042654 -2.830161)'), GeomFromEWKT('SRID=4674;POINT (-40.042433 -2.830308)'))) / (select extract(epoch from '2026-07-11 09:55:18'::timestamp) - extract(epoch from '2026-07-11 09:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042654 -2.830161)'), GeomFromEWKT('SRID=4674;POINT (-40.042433 -2.830308)'))) / (select extract(epoch from '2026-07-11 09:55:18'::timestamp) - extract(epoch from '2026-07-11 09:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042223 -2.830371)', '2026-07-11 09:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042433 -2.830308)'), GeomFromEWKT('SRID=4674;POINT (-40.042223 -2.830371)'))) / (select extract(epoch from '2026-07-11 09:55:28'::timestamp) - extract(epoch from '2026-07-11 09:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042433 -2.830308)'), GeomFromEWKT('SRID=4674;POINT (-40.042223 -2.830371)'))) / (select extract(epoch from '2026-07-11 09:55:28'::timestamp) - extract(epoch from '2026-07-11 09:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042037 -2.83046)', '2026-07-11 09:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042223 -2.830371)'), GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83046)'))) / (select extract(epoch from '2026-07-11 09:55:38'::timestamp) - extract(epoch from '2026-07-11 09:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042223 -2.830371)'), GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83046)'))) / (select extract(epoch from '2026-07-11 09:55:38'::timestamp) - extract(epoch from '2026-07-11 09:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041891 -2.830624)', '2026-07-11 09:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83046)'), GeomFromEWKT('SRID=4674;POINT (-40.041891 -2.830624)'))) / (select extract(epoch from '2026-07-11 09:55:48'::timestamp) - extract(epoch from '2026-07-11 09:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042037 -2.83046)'), GeomFromEWKT('SRID=4674;POINT (-40.041891 -2.830624)'))) / (select extract(epoch from '2026-07-11 09:55:48'::timestamp) - extract(epoch from '2026-07-11 09:55: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'), 47627, 'SRID=4674;POINT (-40.041748 -2.830818)', '2026-07-11 09:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041891 -2.830624)'), GeomFromEWKT('SRID=4674;POINT (-40.041748 -2.830818)'))) / (select extract(epoch from '2026-07-11 09:55:59'::timestamp) - extract(epoch from '2026-07-11 09:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041891 -2.830624)'), GeomFromEWKT('SRID=4674;POINT (-40.041748 -2.830818)'))) / (select extract(epoch from '2026-07-11 09:55:59'::timestamp) - extract(epoch from '2026-07-11 09:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041557 -2.830992)', '2026-07-11 09:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041748 -2.830818)'), GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.830992)'))) / (select extract(epoch from '2026-07-11 09:56:11'::timestamp) - extract(epoch from '2026-07-11 09:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041748 -2.830818)'), GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.830992)'))) / (select extract(epoch from '2026-07-11 09:56:11'::timestamp) - extract(epoch from '2026-07-11 09:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041291 -2.831178)', '2026-07-11 09:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.830992)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.831178)'))) / (select extract(epoch from '2026-07-11 09:56:26'::timestamp) - extract(epoch from '2026-07-11 09:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.830992)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.831178)'))) / (select extract(epoch from '2026-07-11 09:56:26'::timestamp) - extract(epoch from '2026-07-11 09:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041077 -2.831362)', '2026-07-11 09:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.831178)'), GeomFromEWKT('SRID=4674;POINT (-40.041077 -2.831362)'))) / (select extract(epoch from '2026-07-11 09:56:39'::timestamp) - extract(epoch from '2026-07-11 09:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.831178)'), GeomFromEWKT('SRID=4674;POINT (-40.041077 -2.831362)'))) / (select extract(epoch from '2026-07-11 09:56:39'::timestamp) - extract(epoch from '2026-07-11 09:56: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'), 47627, 'SRID=4674;POINT (-40.040907 -2.831562)', '2026-07-11 09:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041077 -2.831362)'), GeomFromEWKT('SRID=4674;POINT (-40.040907 -2.831562)'))) / (select extract(epoch from '2026-07-11 09:56:51'::timestamp) - extract(epoch from '2026-07-11 09:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041077 -2.831362)'), GeomFromEWKT('SRID=4674;POINT (-40.040907 -2.831562)'))) / (select extract(epoch from '2026-07-11 09:56:51'::timestamp) - extract(epoch from '2026-07-11 09:56: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'), 47627, 'SRID=4674;POINT (-40.040743 -2.831755)', '2026-07-11 09:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040907 -2.831562)'), GeomFromEWKT('SRID=4674;POINT (-40.040743 -2.831755)'))) / (select extract(epoch from '2026-07-11 09:57:03'::timestamp) - extract(epoch from '2026-07-11 09:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040907 -2.831562)'), GeomFromEWKT('SRID=4674;POINT (-40.040743 -2.831755)'))) / (select extract(epoch from '2026-07-11 09:57:03'::timestamp) - extract(epoch from '2026-07-11 09:56: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'), 47627, 'SRID=4674;POINT (-40.040614 -2.831884)', '2026-07-11 09:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040743 -2.831755)'), GeomFromEWKT('SRID=4674;POINT (-40.040614 -2.831884)'))) / (select extract(epoch from '2026-07-11 09:57:12'::timestamp) - extract(epoch from '2026-07-11 09:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040743 -2.831755)'), GeomFromEWKT('SRID=4674;POINT (-40.040614 -2.831884)'))) / (select extract(epoch from '2026-07-11 09:57:12'::timestamp) - extract(epoch from '2026-07-11 09:57: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'), 47627, 'SRID=4674;POINT (-40.040423 -2.832145)', '2026-07-11 09:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040614 -2.831884)'), GeomFromEWKT('SRID=4674;POINT (-40.040423 -2.832145)'))) / (select extract(epoch from '2026-07-11 09:57:27'::timestamp) - extract(epoch from '2026-07-11 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040614 -2.831884)'), GeomFromEWKT('SRID=4674;POINT (-40.040423 -2.832145)'))) / (select extract(epoch from '2026-07-11 09:57:27'::timestamp) - extract(epoch from '2026-07-11 09:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.040303 -2.832413)', '2026-07-11 09:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040423 -2.832145)'), GeomFromEWKT('SRID=4674;POINT (-40.040303 -2.832413)'))) / (select extract(epoch from '2026-07-11 09:57:41'::timestamp) - extract(epoch from '2026-07-11 09:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040423 -2.832145)'), GeomFromEWKT('SRID=4674;POINT (-40.040303 -2.832413)'))) / (select extract(epoch from '2026-07-11 09:57:41'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.040214 -2.832663)', '2026-07-11 09:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040303 -2.832413)'), GeomFromEWKT('SRID=4674;POINT (-40.040214 -2.832663)'))) / (select extract(epoch from '2026-07-11 09:57:54'::timestamp) - extract(epoch from '2026-07-11 09:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040303 -2.832413)'), GeomFromEWKT('SRID=4674;POINT (-40.040214 -2.832663)'))) / (select extract(epoch from '2026-07-11 09:57:54'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.040125 -2.832971)', '2026-07-11 09:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040214 -2.832663)'), GeomFromEWKT('SRID=4674;POINT (-40.040125 -2.832971)'))) / (select extract(epoch from '2026-07-11 09:58:09'::timestamp) - extract(epoch from '2026-07-11 09:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040214 -2.832663)'), GeomFromEWKT('SRID=4674;POINT (-40.040125 -2.832971)'))) / (select extract(epoch from '2026-07-11 09:58:09'::timestamp) - extract(epoch from '2026-07-11 09:57: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'), 47627, 'SRID=4674;POINT (-40.040075 -2.83332)', '2026-07-11 09:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040125 -2.832971)'), GeomFromEWKT('SRID=4674;POINT (-40.040075 -2.83332)'))) / (select extract(epoch from '2026-07-11 09:58:25'::timestamp) - extract(epoch from '2026-07-11 09:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040125 -2.832971)'), GeomFromEWKT('SRID=4674;POINT (-40.040075 -2.83332)'))) / (select extract(epoch from '2026-07-11 09:58:25'::timestamp) - extract(epoch from '2026-07-11 09:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.040047 -2.833637)', '2026-07-11 09:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040075 -2.83332)'), GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.833637)'))) / (select extract(epoch from '2026-07-11 09:58:40'::timestamp) - extract(epoch from '2026-07-11 09:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040075 -2.83332)'), GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.833637)'))) / (select extract(epoch from '2026-07-11 09:58:40'::timestamp) - extract(epoch from '2026-07-11 09:58: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'), 47627, 'SRID=4674;POINT (-40.040049 -2.833886)', '2026-07-11 09:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.833886)'))) / (select extract(epoch from '2026-07-11 09:58:52'::timestamp) - extract(epoch from '2026-07-11 09:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.833886)'))) / (select extract(epoch from '2026-07-11 09:58:52'::timestamp) - extract(epoch from '2026-07-11 09:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.040057 -2.834168)', '2026-07-11 09:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.833886)'), GeomFromEWKT('SRID=4674;POINT (-40.040057 -2.834168)'))) / (select extract(epoch from '2026-07-11 09:59:06'::timestamp) - extract(epoch from '2026-07-11 09:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.833886)'), GeomFromEWKT('SRID=4674;POINT (-40.040057 -2.834168)'))) / (select extract(epoch from '2026-07-11 09:59:06'::timestamp) - extract(epoch from '2026-07-11 09:58: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'), 47627, 'SRID=4674;POINT (-40.04007 -2.834349)', '2026-07-11 09:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040057 -2.834168)'), GeomFromEWKT('SRID=4674;POINT (-40.04007 -2.834349)'))) / (select extract(epoch from '2026-07-11 09:59:16'::timestamp) - extract(epoch from '2026-07-11 09:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040057 -2.834168)'), GeomFromEWKT('SRID=4674;POINT (-40.04007 -2.834349)'))) / (select extract(epoch from '2026-07-11 09:59:16'::timestamp) - extract(epoch from '2026-07-11 09: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'), 47627, 'SRID=4674;POINT (-40.040067 -2.834497)', '2026-07-11 09:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04007 -2.834349)'), GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.834497)'))) / (select extract(epoch from '2026-07-11 09:59:25'::timestamp) - extract(epoch from '2026-07-11 09:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04007 -2.834349)'), GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.834497)'))) / (select extract(epoch from '2026-07-11 09:59:25'::timestamp) - extract(epoch from '2026-07-11 09:59: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'), 47627, 'SRID=4674;POINT (-40.040085 -2.834705)', '2026-07-11 09:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.834497)'), GeomFromEWKT('SRID=4674;POINT (-40.040085 -2.834705)'))) / (select extract(epoch from '2026-07-11 09:59:38'::timestamp) - extract(epoch from '2026-07-11 09:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040067 -2.834497)'), GeomFromEWKT('SRID=4674;POINT (-40.040085 -2.834705)'))) / (select extract(epoch from '2026-07-11 09:59:38'::timestamp) - extract(epoch from '2026-07-11 09:59: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'), 47627, 'SRID=4674;POINT (-40.040079 -2.834903)', '2026-07-11 09:59:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040085 -2.834705)'), GeomFromEWKT('SRID=4674;POINT (-40.040079 -2.834903)'))) / (select extract(epoch from '2026-07-11 09:59:51'::timestamp) - extract(epoch from '2026-07-11 09:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040085 -2.834705)'), GeomFromEWKT('SRID=4674;POINT (-40.040079 -2.834903)'))) / (select extract(epoch from '2026-07-11 09:59:51'::timestamp) - extract(epoch from '2026-07-11 09:59: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'), 47627, 'SRID=4674;POINT (-40.040094 -2.835114)', '2026-07-11 10:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040079 -2.834903)'), GeomFromEWKT('SRID=4674;POINT (-40.040094 -2.835114)'))) / (select extract(epoch from '2026-07-11 10:00:04'::timestamp) - extract(epoch from '2026-07-11 09:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040079 -2.834903)'), GeomFromEWKT('SRID=4674;POINT (-40.040094 -2.835114)'))) / (select extract(epoch from '2026-07-11 10:00:04'::timestamp) - extract(epoch from '2026-07-11 09:59: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'), 47627, 'SRID=4674;POINT (-40.040154 -2.835333)', '2026-07-11 10:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040094 -2.835114)'), GeomFromEWKT('SRID=4674;POINT (-40.040154 -2.835333)'))) / (select extract(epoch from '2026-07-11 10:00:16'::timestamp) - extract(epoch from '2026-07-11 10:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040094 -2.835114)'), GeomFromEWKT('SRID=4674;POINT (-40.040154 -2.835333)'))) / (select extract(epoch from '2026-07-11 10:00:16'::timestamp) - extract(epoch from '2026-07-11 10: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'), 47627, 'SRID=4674;POINT (-40.040243 -2.835543)', '2026-07-11 10:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040154 -2.835333)'), GeomFromEWKT('SRID=4674;POINT (-40.040243 -2.835543)'))) / (select extract(epoch from '2026-07-11 10:00:27'::timestamp) - extract(epoch from '2026-07-11 10:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040154 -2.835333)'), GeomFromEWKT('SRID=4674;POINT (-40.040243 -2.835543)'))) / (select extract(epoch from '2026-07-11 10:00:27'::timestamp) - extract(epoch from '2026-07-11 10: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'), 47627, 'SRID=4674;POINT (-40.040351 -2.835743)', '2026-07-11 10:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040243 -2.835543)'), GeomFromEWKT('SRID=4674;POINT (-40.040351 -2.835743)'))) / (select extract(epoch from '2026-07-11 10:00:37'::timestamp) - extract(epoch from '2026-07-11 10:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040243 -2.835543)'), GeomFromEWKT('SRID=4674;POINT (-40.040351 -2.835743)'))) / (select extract(epoch from '2026-07-11 10:00:37'::timestamp) - extract(epoch from '2026-07-11 10:00: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'), 47627, 'SRID=4674;POINT (-40.040599 -2.836056)', '2026-07-11 10:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040351 -2.835743)'), GeomFromEWKT('SRID=4674;POINT (-40.040599 -2.836056)'))) / (select extract(epoch from '2026-07-11 10:00:54'::timestamp) - extract(epoch from '2026-07-11 10:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040351 -2.835743)'), GeomFromEWKT('SRID=4674;POINT (-40.040599 -2.836056)'))) / (select extract(epoch from '2026-07-11 10:00:54'::timestamp) - extract(epoch from '2026-07-11 10:00: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'), 47627, 'SRID=4674;POINT (-40.040778 -2.836308)', '2026-07-11 10:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040599 -2.836056)'), GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.836308)'))) / (select extract(epoch from '2026-07-11 10:01:07'::timestamp) - extract(epoch from '2026-07-11 10:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040599 -2.836056)'), GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.836308)'))) / (select extract(epoch from '2026-07-11 10:01:07'::timestamp) - extract(epoch from '2026-07-11 10:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.040952 -2.836569)', '2026-07-11 10:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.836308)'), GeomFromEWKT('SRID=4674;POINT (-40.040952 -2.836569)'))) / (select extract(epoch from '2026-07-11 10:01:20'::timestamp) - extract(epoch from '2026-07-11 10:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.836308)'), GeomFromEWKT('SRID=4674;POINT (-40.040952 -2.836569)'))) / (select extract(epoch from '2026-07-11 10:01:20'::timestamp) - extract(epoch from '2026-07-11 10:01: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'), 47627, 'SRID=4674;POINT (-40.041196 -2.836868)', '2026-07-11 10:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040952 -2.836569)'), GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.836868)'))) / (select extract(epoch from '2026-07-11 10:01:36'::timestamp) - extract(epoch from '2026-07-11 10:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040952 -2.836569)'), GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.836868)'))) / (select extract(epoch from '2026-07-11 10:01:36'::timestamp) - extract(epoch from '2026-07-11 10:01: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'), 47627, 'SRID=4674;POINT (-40.041413 -2.837145)', '2026-07-11 10:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.836868)'), GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.837145)'))) / (select extract(epoch from '2026-07-11 10:01:51'::timestamp) - extract(epoch from '2026-07-11 10:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041196 -2.836868)'), GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.837145)'))) / (select extract(epoch from '2026-07-11 10:01:51'::timestamp) - extract(epoch from '2026-07-11 10:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041711 -2.837496)', '2026-07-11 10:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.837145)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837496)'))) / (select extract(epoch from '2026-07-11 10:02:11'::timestamp) - extract(epoch from '2026-07-11 10:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041413 -2.837145)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837496)'))) / (select extract(epoch from '2026-07-11 10:02:11'::timestamp) - extract(epoch from '2026-07-11 10:01: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'), 47627, 'SRID=4674;POINT (-40.041728 -2.837512)', '2026-07-11 10:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837496)'), GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.837512)'))) / (select extract(epoch from '2026-07-11 10:02:12'::timestamp) - extract(epoch from '2026-07-11 10:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837496)'), GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.837512)'))) / (select extract(epoch from '2026-07-11 10:02:12'::timestamp) - extract(epoch from '2026-07-11 10:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041977 -2.837708)', '2026-07-11 10:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.837512)'), GeomFromEWKT('SRID=4674;POINT (-40.041977 -2.837708)'))) / (select extract(epoch from '2026-07-11 10:02:26'::timestamp) - extract(epoch from '2026-07-11 10:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041728 -2.837512)'), GeomFromEWKT('SRID=4674;POINT (-40.041977 -2.837708)'))) / (select extract(epoch from '2026-07-11 10:02:26'::timestamp) - extract(epoch from '2026-07-11 10:02: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'), 47627, 'SRID=4674;POINT (-40.0422 -2.837924)', '2026-07-11 10:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041977 -2.837708)'), GeomFromEWKT('SRID=4674;POINT (-40.0422 -2.837924)'))) / (select extract(epoch from '2026-07-11 10:02:40'::timestamp) - extract(epoch from '2026-07-11 10:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041977 -2.837708)'), GeomFromEWKT('SRID=4674;POINT (-40.0422 -2.837924)'))) / (select extract(epoch from '2026-07-11 10:02:40'::timestamp) - extract(epoch from '2026-07-11 10: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'), 47627, 'SRID=4674;POINT (-40.042417 -2.838157)', '2026-07-11 10:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0422 -2.837924)'), GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.838157)'))) / (select extract(epoch from '2026-07-11 10:02:54'::timestamp) - extract(epoch from '2026-07-11 10:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0422 -2.837924)'), GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.838157)'))) / (select extract(epoch from '2026-07-11 10:02:54'::timestamp) - extract(epoch from '2026-07-11 10:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042715 -2.838456)', '2026-07-11 10:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.838157)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838456)'))) / (select extract(epoch from '2026-07-11 10:03:13'::timestamp) - extract(epoch from '2026-07-11 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.838157)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838456)'))) / (select extract(epoch from '2026-07-11 10:03:13'::timestamp) - extract(epoch from '2026-07-11 10:02: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'), 47627, 'SRID=4674;POINT (-40.042949 -2.838713)', '2026-07-11 10:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838456)'), GeomFromEWKT('SRID=4674;POINT (-40.042949 -2.838713)'))) / (select extract(epoch from '2026-07-11 10:03:29'::timestamp) - extract(epoch from '2026-07-11 10:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.838456)'), GeomFromEWKT('SRID=4674;POINT (-40.042949 -2.838713)'))) / (select extract(epoch from '2026-07-11 10:03:29'::timestamp) - extract(epoch from '2026-07-11 10:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04314 -2.838962)', '2026-07-11 10:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042949 -2.838713)'), GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.838962)'))) / (select extract(epoch from '2026-07-11 10:03:44'::timestamp) - extract(epoch from '2026-07-11 10:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042949 -2.838713)'), GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.838962)'))) / (select extract(epoch from '2026-07-11 10:03:44'::timestamp) - extract(epoch from '2026-07-11 10:03: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'), 47627, 'SRID=4674;POINT (-40.043299 -2.839157)', '2026-07-11 10:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.838962)'), GeomFromEWKT('SRID=4674;POINT (-40.043299 -2.839157)'))) / (select extract(epoch from '2026-07-11 10:03:56'::timestamp) - extract(epoch from '2026-07-11 10:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04314 -2.838962)'), GeomFromEWKT('SRID=4674;POINT (-40.043299 -2.839157)'))) / (select extract(epoch from '2026-07-11 10:03:56'::timestamp) - extract(epoch from '2026-07-11 10:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.043392 -2.839389)', '2026-07-11 10:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043299 -2.839157)'), GeomFromEWKT('SRID=4674;POINT (-40.043392 -2.839389)'))) / (select extract(epoch from '2026-07-11 10:04:07'::timestamp) - extract(epoch from '2026-07-11 10:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043299 -2.839157)'), GeomFromEWKT('SRID=4674;POINT (-40.043392 -2.839389)'))) / (select extract(epoch from '2026-07-11 10:04:07'::timestamp) - extract(epoch from '2026-07-11 10:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.043494 -2.839726)', '2026-07-11 10:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043392 -2.839389)'), GeomFromEWKT('SRID=4674;POINT (-40.043494 -2.839726)'))) / (select extract(epoch from '2026-07-11 10:04:23'::timestamp) - extract(epoch from '2026-07-11 10:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043392 -2.839389)'), GeomFromEWKT('SRID=4674;POINT (-40.043494 -2.839726)'))) / (select extract(epoch from '2026-07-11 10:04:23'::timestamp) - extract(epoch from '2026-07-11 10:04: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'), 47627, 'SRID=4674;POINT (-40.043556 -2.840004)', '2026-07-11 10:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043494 -2.839726)'), GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.840004)'))) / (select extract(epoch from '2026-07-11 10:04:36'::timestamp) - extract(epoch from '2026-07-11 10:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043494 -2.839726)'), GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.840004)'))) / (select extract(epoch from '2026-07-11 10:04:36'::timestamp) - extract(epoch from '2026-07-11 10:04: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'), 47627, 'SRID=4674;POINT (-40.043583 -2.84036)', '2026-07-11 10:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.840004)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.84036)'))) / (select extract(epoch from '2026-07-11 10:04:52'::timestamp) - extract(epoch from '2026-07-11 10:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043556 -2.840004)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.84036)'))) / (select extract(epoch from '2026-07-11 10:04:52'::timestamp) - extract(epoch from '2026-07-11 10:04: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'), 47627, 'SRID=4674;POINT (-40.043561 -2.840699)', '2026-07-11 10:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.84036)'), GeomFromEWKT('SRID=4674;POINT (-40.043561 -2.840699)'))) / (select extract(epoch from '2026-07-11 10:05:07'::timestamp) - extract(epoch from '2026-07-11 10:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.84036)'), GeomFromEWKT('SRID=4674;POINT (-40.043561 -2.840699)'))) / (select extract(epoch from '2026-07-11 10:05:07'::timestamp) - extract(epoch from '2026-07-11 10:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.043463 -2.841019)', '2026-07-11 10:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043561 -2.840699)'), GeomFromEWKT('SRID=4674;POINT (-40.043463 -2.841019)'))) / (select extract(epoch from '2026-07-11 10:05:22'::timestamp) - extract(epoch from '2026-07-11 10:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043561 -2.840699)'), GeomFromEWKT('SRID=4674;POINT (-40.043463 -2.841019)'))) / (select extract(epoch from '2026-07-11 10:05:22'::timestamp) - extract(epoch from '2026-07-11 10:05: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'), 47627, 'SRID=4674;POINT (-40.043295 -2.841255)', '2026-07-11 10:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043463 -2.841019)'), GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.841255)'))) / (select extract(epoch from '2026-07-11 10:05:35'::timestamp) - extract(epoch from '2026-07-11 10:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043463 -2.841019)'), GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.841255)'))) / (select extract(epoch from '2026-07-11 10:05:35'::timestamp) - extract(epoch from '2026-07-11 10: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'), 47627, 'SRID=4674;POINT (-40.043121 -2.841447)', '2026-07-11 10:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.841255)'), GeomFromEWKT('SRID=4674;POINT (-40.043121 -2.841447)'))) / (select extract(epoch from '2026-07-11 10:05:47'::timestamp) - extract(epoch from '2026-07-11 10:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.841255)'), GeomFromEWKT('SRID=4674;POINT (-40.043121 -2.841447)'))) / (select extract(epoch from '2026-07-11 10:05:47'::timestamp) - extract(epoch from '2026-07-11 10:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
