 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134723 -2.82045)', '2026-06-08 19:35:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.820401)'), GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.82045)'))) / (select extract(epoch from '2026-06-08 19:35:40'::timestamp) - extract(epoch from '2026-06-08 19:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.820401)'), GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.82045)'))) / (select extract(epoch from '2026-06-08 19:35:40'::timestamp) - extract(epoch from '2026-06-08 19:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134713 -2.820473)', '2026-06-08 19:35:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.82045)'), GeomFromEWKT('SRID=4674;POINT (-40.134713 -2.820473)'))) / (select extract(epoch from '2026-06-08 19:35:54'::timestamp) - extract(epoch from '2026-06-08 19:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134723 -2.82045)'), GeomFromEWKT('SRID=4674;POINT (-40.134713 -2.820473)'))) / (select extract(epoch from '2026-06-08 19:35:54'::timestamp) - extract(epoch from '2026-06-08 19:35: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'), 46706, 'SRID=4674;POINT (-40.1347 -2.820503)', '2026-06-08 19:36:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134713 -2.820473)'), GeomFromEWKT('SRID=4674;POINT (-40.1347 -2.820503)'))) / (select extract(epoch from '2026-06-08 19:36:07'::timestamp) - extract(epoch from '2026-06-08 19:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134713 -2.820473)'), GeomFromEWKT('SRID=4674;POINT (-40.1347 -2.820503)'))) / (select extract(epoch from '2026-06-08 19:36:07'::timestamp) - extract(epoch from '2026-06-08 19:35: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'), 46706, 'SRID=4674;POINT (-40.134676 -2.820535)', '2026-06-08 19:36:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1347 -2.820503)'), GeomFromEWKT('SRID=4674;POINT (-40.134676 -2.820535)'))) / (select extract(epoch from '2026-06-08 19:36:20'::timestamp) - extract(epoch from '2026-06-08 19:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1347 -2.820503)'), GeomFromEWKT('SRID=4674;POINT (-40.134676 -2.820535)'))) / (select extract(epoch from '2026-06-08 19:36:20'::timestamp) - extract(epoch from '2026-06-08 19:36: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'), 46706, 'SRID=4674;POINT (-40.13465 -2.820544)', '2026-06-08 19:36:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134676 -2.820535)'), GeomFromEWKT('SRID=4674;POINT (-40.13465 -2.820544)'))) / (select extract(epoch from '2026-06-08 19:36:34'::timestamp) - extract(epoch from '2026-06-08 19:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134676 -2.820535)'), GeomFromEWKT('SRID=4674;POINT (-40.13465 -2.820544)'))) / (select extract(epoch from '2026-06-08 19:36:34'::timestamp) - extract(epoch from '2026-06-08 19:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134631 -2.820542)', '2026-06-08 19:36:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13465 -2.820544)'), GeomFromEWKT('SRID=4674;POINT (-40.134631 -2.820542)'))) / (select extract(epoch from '2026-06-08 19:36:45'::timestamp) - extract(epoch from '2026-06-08 19:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13465 -2.820544)'), GeomFromEWKT('SRID=4674;POINT (-40.134631 -2.820542)'))) / (select extract(epoch from '2026-06-08 19:36:45'::timestamp) - extract(epoch from '2026-06-08 19:36: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'), 46706, 'SRID=4674;POINT (-40.134621 -2.820532)', '2026-06-08 19:36:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134631 -2.820542)'), GeomFromEWKT('SRID=4674;POINT (-40.134621 -2.820532)'))) / (select extract(epoch from '2026-06-08 19:36:58'::timestamp) - extract(epoch from '2026-06-08 19:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134631 -2.820542)'), GeomFromEWKT('SRID=4674;POINT (-40.134621 -2.820532)'))) / (select extract(epoch from '2026-06-08 19:36:58'::timestamp) - extract(epoch from '2026-06-08 19:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134606 -2.820529)', '2026-06-08 19:37:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134621 -2.820532)'), GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.820529)'))) / (select extract(epoch from '2026-06-08 19:37:11'::timestamp) - extract(epoch from '2026-06-08 19:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134621 -2.820532)'), GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.820529)'))) / (select extract(epoch from '2026-06-08 19:37:11'::timestamp) - extract(epoch from '2026-06-08 19:36: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'), 46706, 'SRID=4674;POINT (-40.134597 -2.820534)', '2026-06-08 19:37:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.820529)'), GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.820534)'))) / (select extract(epoch from '2026-06-08 19:37:28'::timestamp) - extract(epoch from '2026-06-08 19:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.820529)'), GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.820534)'))) / (select extract(epoch from '2026-06-08 19:37:28'::timestamp) - extract(epoch from '2026-06-08 19:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134568 -2.820511)', '2026-06-08 19:37:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.820534)'), GeomFromEWKT('SRID=4674;POINT (-40.134568 -2.820511)'))) / (select extract(epoch from '2026-06-08 19:37:43'::timestamp) - extract(epoch from '2026-06-08 19:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.820534)'), GeomFromEWKT('SRID=4674;POINT (-40.134568 -2.820511)'))) / (select extract(epoch from '2026-06-08 19:37:43'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.134543 -2.820497)', '2026-06-08 19:37:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134568 -2.820511)'), GeomFromEWKT('SRID=4674;POINT (-40.134543 -2.820497)'))) / (select extract(epoch from '2026-06-08 19:37:55'::timestamp) - extract(epoch from '2026-06-08 19:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134568 -2.820511)'), GeomFromEWKT('SRID=4674;POINT (-40.134543 -2.820497)'))) / (select extract(epoch from '2026-06-08 19:37:55'::timestamp) - extract(epoch from '2026-06-08 19:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134515 -2.820497)', '2026-06-08 19:38:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134543 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.134515 -2.820497)'))) / (select extract(epoch from '2026-06-08 19:38:12'::timestamp) - extract(epoch from '2026-06-08 19:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134543 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.134515 -2.820497)'))) / (select extract(epoch from '2026-06-08 19:38:12'::timestamp) - extract(epoch from '2026-06-08 19:37: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'), 46706, 'SRID=4674;POINT (-40.134507 -2.820492)', '2026-06-08 19:38:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134515 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820492)'))) / (select extract(epoch from '2026-06-08 19:38:24'::timestamp) - extract(epoch from '2026-06-08 19:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134515 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820492)'))) / (select extract(epoch from '2026-06-08 19:38:24'::timestamp) - extract(epoch from '2026-06-08 19:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134506 -2.820491)', '2026-06-08 19:38:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820492)'), GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.820491)'))) / (select extract(epoch from '2026-06-08 19:38:38'::timestamp) - extract(epoch from '2026-06-08 19:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134507 -2.820492)'), GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.820491)'))) / (select extract(epoch from '2026-06-08 19:38:38'::timestamp) - extract(epoch from '2026-06-08 19:38: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'), 46706, 'SRID=4674;POINT (-40.134485 -2.820478)', '2026-06-08 19:38:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.134485 -2.820478)'))) / (select extract(epoch from '2026-06-08 19:38:51'::timestamp) - extract(epoch from '2026-06-08 19:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134506 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.134485 -2.820478)'))) / (select extract(epoch from '2026-06-08 19:38:51'::timestamp) - extract(epoch from '2026-06-08 19:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134466 -2.820469)', '2026-06-08 19:39:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134485 -2.820478)'), GeomFromEWKT('SRID=4674;POINT (-40.134466 -2.820469)'))) / (select extract(epoch from '2026-06-08 19:39:06'::timestamp) - extract(epoch from '2026-06-08 19:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134485 -2.820478)'), GeomFromEWKT('SRID=4674;POINT (-40.134466 -2.820469)'))) / (select extract(epoch from '2026-06-08 19:39:06'::timestamp) - extract(epoch from '2026-06-08 19:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134464 -2.82046)', '2026-06-08 19:39:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134466 -2.820469)'), GeomFromEWKT('SRID=4674;POINT (-40.134464 -2.82046)'))) / (select extract(epoch from '2026-06-08 19:39:22'::timestamp) - extract(epoch from '2026-06-08 19:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134466 -2.820469)'), GeomFromEWKT('SRID=4674;POINT (-40.134464 -2.82046)'))) / (select extract(epoch from '2026-06-08 19:39:22'::timestamp) - extract(epoch from '2026-06-08 19:39: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'), 46706, 'SRID=4674;POINT (-40.134442 -2.820463)', '2026-06-08 19:39:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134464 -2.82046)'), GeomFromEWKT('SRID=4674;POINT (-40.134442 -2.820463)'))) / (select extract(epoch from '2026-06-08 19:39:35'::timestamp) - extract(epoch from '2026-06-08 19:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134464 -2.82046)'), GeomFromEWKT('SRID=4674;POINT (-40.134442 -2.820463)'))) / (select extract(epoch from '2026-06-08 19:39:35'::timestamp) - extract(epoch from '2026-06-08 19:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134373 -2.820461)', '2026-06-08 19:39:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134442 -2.820463)'), GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820461)'))) / (select extract(epoch from '2026-06-08 19:39:52'::timestamp) - extract(epoch from '2026-06-08 19:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134442 -2.820463)'), GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820461)'))) / (select extract(epoch from '2026-06-08 19:39:52'::timestamp) - extract(epoch from '2026-06-08 19:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134349 -2.820453)', '2026-06-08 19:40:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820461)'), GeomFromEWKT('SRID=4674;POINT (-40.134349 -2.820453)'))) / (select extract(epoch from '2026-06-08 19:40:06'::timestamp) - extract(epoch from '2026-06-08 19:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820461)'), GeomFromEWKT('SRID=4674;POINT (-40.134349 -2.820453)'))) / (select extract(epoch from '2026-06-08 19:40:06'::timestamp) - extract(epoch from '2026-06-08 19:39: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'), 46706, 'SRID=4674;POINT (-40.134342 -2.820381)', '2026-06-08 19:40:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134349 -2.820453)'), GeomFromEWKT('SRID=4674;POINT (-40.134342 -2.820381)'))) / (select extract(epoch from '2026-06-08 19:40:21'::timestamp) - extract(epoch from '2026-06-08 19:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134349 -2.820453)'), GeomFromEWKT('SRID=4674;POINT (-40.134342 -2.820381)'))) / (select extract(epoch from '2026-06-08 19:40:21'::timestamp) - extract(epoch from '2026-06-08 19:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134331 -2.820341)', '2026-06-08 19:40:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134342 -2.820381)'), GeomFromEWKT('SRID=4674;POINT (-40.134331 -2.820341)'))) / (select extract(epoch from '2026-06-08 19:40:37'::timestamp) - extract(epoch from '2026-06-08 19:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134342 -2.820381)'), GeomFromEWKT('SRID=4674;POINT (-40.134331 -2.820341)'))) / (select extract(epoch from '2026-06-08 19:40:37'::timestamp) - extract(epoch from '2026-06-08 19:40: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'), 46706, 'SRID=4674;POINT (-40.134338 -2.82034)', '2026-06-08 19:40:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134331 -2.820341)'), GeomFromEWKT('SRID=4674;POINT (-40.134338 -2.82034)'))) / (select extract(epoch from '2026-06-08 19:40:54'::timestamp) - extract(epoch from '2026-06-08 19:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134331 -2.820341)'), GeomFromEWKT('SRID=4674;POINT (-40.134338 -2.82034)'))) / (select extract(epoch from '2026-06-08 19:40:54'::timestamp) - extract(epoch from '2026-06-08 19:40: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'), 46706, 'SRID=4674;POINT (-40.13433 -2.820321)', '2026-06-08 19:41:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134338 -2.82034)'), GeomFromEWKT('SRID=4674;POINT (-40.13433 -2.820321)'))) / (select extract(epoch from '2026-06-08 19:41:06'::timestamp) - extract(epoch from '2026-06-08 19:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134338 -2.82034)'), GeomFromEWKT('SRID=4674;POINT (-40.13433 -2.820321)'))) / (select extract(epoch from '2026-06-08 19:41:06'::timestamp) - extract(epoch from '2026-06-08 19:40: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'), 46706, 'SRID=4674;POINT (-40.134283 -2.820367)', '2026-06-08 19:41:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13433 -2.820321)'), GeomFromEWKT('SRID=4674;POINT (-40.134283 -2.820367)'))) / (select extract(epoch from '2026-06-08 19:41:18'::timestamp) - extract(epoch from '2026-06-08 19:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13433 -2.820321)'), GeomFromEWKT('SRID=4674;POINT (-40.134283 -2.820367)'))) / (select extract(epoch from '2026-06-08 19:41:18'::timestamp) - extract(epoch from '2026-06-08 19:41: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'), 46706, 'SRID=4674;POINT (-40.134271 -2.820491)', '2026-06-08 19:41:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134283 -2.820367)'), GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.820491)'))) / (select extract(epoch from '2026-06-08 19:41:29'::timestamp) - extract(epoch from '2026-06-08 19:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134283 -2.820367)'), GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.820491)'))) / (select extract(epoch from '2026-06-08 19:41:29'::timestamp) - extract(epoch from '2026-06-08 19:41: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'), 46706, 'SRID=4674;POINT (-40.1343 -2.82065)', '2026-06-08 19:41:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.1343 -2.82065)'))) / (select extract(epoch from '2026-06-08 19:41:41'::timestamp) - extract(epoch from '2026-06-08 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.1343 -2.82065)'))) / (select extract(epoch from '2026-06-08 19:41:41'::timestamp) - extract(epoch from '2026-06-08 19:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134336 -2.820793)', '2026-06-08 19:41:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1343 -2.82065)'), GeomFromEWKT('SRID=4674;POINT (-40.134336 -2.820793)'))) / (select extract(epoch from '2026-06-08 19:41:51'::timestamp) - extract(epoch from '2026-06-08 19:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1343 -2.82065)'), GeomFromEWKT('SRID=4674;POINT (-40.134336 -2.820793)'))) / (select extract(epoch from '2026-06-08 19:41:51'::timestamp) - extract(epoch from '2026-06-08 19:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134373 -2.820902)', '2026-06-08 19:41:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134336 -2.820793)'), GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820902)'))) / (select extract(epoch from '2026-06-08 19:41:59'::timestamp) - extract(epoch from '2026-06-08 19:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134336 -2.820793)'), GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820902)'))) / (select extract(epoch from '2026-06-08 19:41:59'::timestamp) - extract(epoch from '2026-06-08 19:41: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'), 46706, 'SRID=4674;POINT (-40.134446 -2.821022)', '2026-06-08 19:42:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820902)'), GeomFromEWKT('SRID=4674;POINT (-40.134446 -2.821022)'))) / (select extract(epoch from '2026-06-08 19:42:09'::timestamp) - extract(epoch from '2026-06-08 19:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134373 -2.820902)'), GeomFromEWKT('SRID=4674;POINT (-40.134446 -2.821022)'))) / (select extract(epoch from '2026-06-08 19:42:09'::timestamp) - extract(epoch from '2026-06-08 19:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13451 -2.821159)', '2026-06-08 19:42:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134446 -2.821022)'), GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.821159)'))) / (select extract(epoch from '2026-06-08 19:42:19'::timestamp) - extract(epoch from '2026-06-08 19:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134446 -2.821022)'), GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.821159)'))) / (select extract(epoch from '2026-06-08 19:42:19'::timestamp) - extract(epoch from '2026-06-08 19:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134592 -2.821281)', '2026-06-08 19:42:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.821159)'), GeomFromEWKT('SRID=4674;POINT (-40.134592 -2.821281)'))) / (select extract(epoch from '2026-06-08 19:42:29'::timestamp) - extract(epoch from '2026-06-08 19:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.821159)'), GeomFromEWKT('SRID=4674;POINT (-40.134592 -2.821281)'))) / (select extract(epoch from '2026-06-08 19:42:29'::timestamp) - extract(epoch from '2026-06-08 19:42: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'), 46706, 'SRID=4674;POINT (-40.134719 -2.821411)', '2026-06-08 19:42:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134592 -2.821281)'), GeomFromEWKT('SRID=4674;POINT (-40.134719 -2.821411)'))) / (select extract(epoch from '2026-06-08 19:42:40'::timestamp) - extract(epoch from '2026-06-08 19:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134592 -2.821281)'), GeomFromEWKT('SRID=4674;POINT (-40.134719 -2.821411)'))) / (select extract(epoch from '2026-06-08 19:42:40'::timestamp) - extract(epoch from '2026-06-08 19:42: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'), 46706, 'SRID=4674;POINT (-40.134808 -2.821507)', '2026-06-08 19:42:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134719 -2.821411)'), GeomFromEWKT('SRID=4674;POINT (-40.134808 -2.821507)'))) / (select extract(epoch from '2026-06-08 19:42:49'::timestamp) - extract(epoch from '2026-06-08 19:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134719 -2.821411)'), GeomFromEWKT('SRID=4674;POINT (-40.134808 -2.821507)'))) / (select extract(epoch from '2026-06-08 19:42:49'::timestamp) - extract(epoch from '2026-06-08 19:42: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'), 46706, 'SRID=4674;POINT (-40.134927 -2.821595)', '2026-06-08 19:42:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134808 -2.821507)'), GeomFromEWKT('SRID=4674;POINT (-40.134927 -2.821595)'))) / (select extract(epoch from '2026-06-08 19:42:59'::timestamp) - extract(epoch from '2026-06-08 19:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134808 -2.821507)'), GeomFromEWKT('SRID=4674;POINT (-40.134927 -2.821595)'))) / (select extract(epoch from '2026-06-08 19:42:59'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.135046 -2.821689)', '2026-06-08 19:43:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134927 -2.821595)'), GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.821689)'))) / (select extract(epoch from '2026-06-08 19:43:09'::timestamp) - extract(epoch from '2026-06-08 19:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134927 -2.821595)'), GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.821689)'))) / (select extract(epoch from '2026-06-08 19:43:09'::timestamp) - extract(epoch from '2026-06-08 19:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135136 -2.821765)', '2026-06-08 19:43:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.821689)'), GeomFromEWKT('SRID=4674;POINT (-40.135136 -2.821765)'))) / (select extract(epoch from '2026-06-08 19:43:17'::timestamp) - extract(epoch from '2026-06-08 19:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.821689)'), GeomFromEWKT('SRID=4674;POINT (-40.135136 -2.821765)'))) / (select extract(epoch from '2026-06-08 19:43:17'::timestamp) - extract(epoch from '2026-06-08 19:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135221 -2.821862)', '2026-06-08 19:43:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135136 -2.821765)'), GeomFromEWKT('SRID=4674;POINT (-40.135221 -2.821862)'))) / (select extract(epoch from '2026-06-08 19:43:26'::timestamp) - extract(epoch from '2026-06-08 19:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135136 -2.821765)'), GeomFromEWKT('SRID=4674;POINT (-40.135221 -2.821862)'))) / (select extract(epoch from '2026-06-08 19:43:26'::timestamp) - extract(epoch from '2026-06-08 19:43: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'), 46706, 'SRID=4674;POINT (-40.135295 -2.821976)', '2026-06-08 19:43:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135221 -2.821862)'), GeomFromEWKT('SRID=4674;POINT (-40.135295 -2.821976)'))) / (select extract(epoch from '2026-06-08 19:43:35'::timestamp) - extract(epoch from '2026-06-08 19:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135221 -2.821862)'), GeomFromEWKT('SRID=4674;POINT (-40.135295 -2.821976)'))) / (select extract(epoch from '2026-06-08 19:43:35'::timestamp) - extract(epoch from '2026-06-08 19:43: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'), 46706, 'SRID=4674;POINT (-40.135375 -2.822106)', '2026-06-08 19:43:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135295 -2.821976)'), GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.822106)'))) / (select extract(epoch from '2026-06-08 19:43:46'::timestamp) - extract(epoch from '2026-06-08 19:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135295 -2.821976)'), GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.822106)'))) / (select extract(epoch from '2026-06-08 19:43:46'::timestamp) - extract(epoch from '2026-06-08 19:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135428 -2.822227)', '2026-06-08 19:43:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.822106)'), GeomFromEWKT('SRID=4674;POINT (-40.135428 -2.822227)'))) / (select extract(epoch from '2026-06-08 19:43:54'::timestamp) - extract(epoch from '2026-06-08 19:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135375 -2.822106)'), GeomFromEWKT('SRID=4674;POINT (-40.135428 -2.822227)'))) / (select extract(epoch from '2026-06-08 19:43:54'::timestamp) - extract(epoch from '2026-06-08 19:43: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'), 46706, 'SRID=4674;POINT (-40.135474 -2.822325)', '2026-06-08 19:44:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135428 -2.822227)'), GeomFromEWKT('SRID=4674;POINT (-40.135474 -2.822325)'))) / (select extract(epoch from '2026-06-08 19:44:03'::timestamp) - extract(epoch from '2026-06-08 19:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135428 -2.822227)'), GeomFromEWKT('SRID=4674;POINT (-40.135474 -2.822325)'))) / (select extract(epoch from '2026-06-08 19:44:03'::timestamp) - extract(epoch from '2026-06-08 19:43: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'), 46706, 'SRID=4674;POINT (-40.135527 -2.822433)', '2026-06-08 19:44:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135474 -2.822325)'), GeomFromEWKT('SRID=4674;POINT (-40.135527 -2.822433)'))) / (select extract(epoch from '2026-06-08 19:44:11'::timestamp) - extract(epoch from '2026-06-08 19:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135474 -2.822325)'), GeomFromEWKT('SRID=4674;POINT (-40.135527 -2.822433)'))) / (select extract(epoch from '2026-06-08 19:44:11'::timestamp) - extract(epoch from '2026-06-08 19:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135592 -2.822547)', '2026-06-08 19:44:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135527 -2.822433)'), GeomFromEWKT('SRID=4674;POINT (-40.135592 -2.822547)'))) / (select extract(epoch from '2026-06-08 19:44:20'::timestamp) - extract(epoch from '2026-06-08 19:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135527 -2.822433)'), GeomFromEWKT('SRID=4674;POINT (-40.135592 -2.822547)'))) / (select extract(epoch from '2026-06-08 19:44:20'::timestamp) - extract(epoch from '2026-06-08 19:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135657 -2.822661)', '2026-06-08 19:44:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135592 -2.822547)'), GeomFromEWKT('SRID=4674;POINT (-40.135657 -2.822661)'))) / (select extract(epoch from '2026-06-08 19:44:29'::timestamp) - extract(epoch from '2026-06-08 19:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135592 -2.822547)'), GeomFromEWKT('SRID=4674;POINT (-40.135657 -2.822661)'))) / (select extract(epoch from '2026-06-08 19:44:29'::timestamp) - extract(epoch from '2026-06-08 19:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135738 -2.822792)', '2026-06-08 19:44:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135657 -2.822661)'), GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.822792)'))) / (select extract(epoch from '2026-06-08 19:44:40'::timestamp) - extract(epoch from '2026-06-08 19:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135657 -2.822661)'), GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.822792)'))) / (select extract(epoch from '2026-06-08 19:44:40'::timestamp) - extract(epoch from '2026-06-08 19:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135818 -2.822915)', '2026-06-08 19:44:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.822792)'), GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.822915)'))) / (select extract(epoch from '2026-06-08 19:44:50'::timestamp) - extract(epoch from '2026-06-08 19:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135738 -2.822792)'), GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.822915)'))) / (select extract(epoch from '2026-06-08 19:44:50'::timestamp) - extract(epoch from '2026-06-08 19:44: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'), 46706, 'SRID=4674;POINT (-40.135871 -2.823031)', '2026-06-08 19:44:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.822915)'), GeomFromEWKT('SRID=4674;POINT (-40.135871 -2.823031)'))) / (select extract(epoch from '2026-06-08 19:44:59'::timestamp) - extract(epoch from '2026-06-08 19:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.822915)'), GeomFromEWKT('SRID=4674;POINT (-40.135871 -2.823031)'))) / (select extract(epoch from '2026-06-08 19:44:59'::timestamp) - extract(epoch from '2026-06-08 19:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135969 -2.823163)', '2026-06-08 19:45:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135871 -2.823031)'), GeomFromEWKT('SRID=4674;POINT (-40.135969 -2.823163)'))) / (select extract(epoch from '2026-06-08 19:45:10'::timestamp) - extract(epoch from '2026-06-08 19:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135871 -2.823031)'), GeomFromEWKT('SRID=4674;POINT (-40.135969 -2.823163)'))) / (select extract(epoch from '2026-06-08 19:45:10'::timestamp) - extract(epoch from '2026-06-08 19:44: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'), 46706, 'SRID=4674;POINT (-40.136053 -2.82325)', '2026-06-08 19:45:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135969 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.136053 -2.82325)'))) / (select extract(epoch from '2026-06-08 19:45:19'::timestamp) - extract(epoch from '2026-06-08 19:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135969 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.136053 -2.82325)'))) / (select extract(epoch from '2026-06-08 19:45:19'::timestamp) - extract(epoch from '2026-06-08 19:45: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'), 46706, 'SRID=4674;POINT (-40.136131 -2.823345)', '2026-06-08 19:45:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136053 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.823345)'))) / (select extract(epoch from '2026-06-08 19:45:27'::timestamp) - extract(epoch from '2026-06-08 19:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136053 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.823345)'))) / (select extract(epoch from '2026-06-08 19:45:27'::timestamp) - extract(epoch from '2026-06-08 19:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136228 -2.823458)', '2026-06-08 19:45:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.823458)'))) / (select extract(epoch from '2026-06-08 19:45:37'::timestamp) - extract(epoch from '2026-06-08 19:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.823458)'))) / (select extract(epoch from '2026-06-08 19:45:37'::timestamp) - extract(epoch from '2026-06-08 19:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136299 -2.823579)', '2026-06-08 19:45:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.823458)'), GeomFromEWKT('SRID=4674;POINT (-40.136299 -2.823579)'))) / (select extract(epoch from '2026-06-08 19:45:46'::timestamp) - extract(epoch from '2026-06-08 19:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.823458)'), GeomFromEWKT('SRID=4674;POINT (-40.136299 -2.823579)'))) / (select extract(epoch from '2026-06-08 19:45:46'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.136377 -2.823686)', '2026-06-08 19:45:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136299 -2.823579)'), GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.823686)'))) / (select extract(epoch from '2026-06-08 19:45:55'::timestamp) - extract(epoch from '2026-06-08 19:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136299 -2.823579)'), GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.823686)'))) / (select extract(epoch from '2026-06-08 19:45:55'::timestamp) - extract(epoch from '2026-06-08 19:45: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'), 46706, 'SRID=4674;POINT (-40.136468 -2.823766)', '2026-06-08 19:46:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.823766)'))) / (select extract(epoch from '2026-06-08 19:46:03'::timestamp) - extract(epoch from '2026-06-08 19:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.823766)'))) / (select extract(epoch from '2026-06-08 19:46:03'::timestamp) - extract(epoch from '2026-06-08 19:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136552 -2.823843)', '2026-06-08 19:46:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.823766)'), GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.823843)'))) / (select extract(epoch from '2026-06-08 19:46:12'::timestamp) - extract(epoch from '2026-06-08 19:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.823766)'), GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.823843)'))) / (select extract(epoch from '2026-06-08 19:46:12'::timestamp) - extract(epoch from '2026-06-08 19:46: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'), 46706, 'SRID=4674;POINT (-40.136629 -2.823934)', '2026-06-08 19:46:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.823843)'), GeomFromEWKT('SRID=4674;POINT (-40.136629 -2.823934)'))) / (select extract(epoch from '2026-06-08 19:46:20'::timestamp) - extract(epoch from '2026-06-08 19:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.823843)'), GeomFromEWKT('SRID=4674;POINT (-40.136629 -2.823934)'))) / (select extract(epoch from '2026-06-08 19:46:20'::timestamp) - extract(epoch from '2026-06-08 19:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136713 -2.824045)', '2026-06-08 19:46:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136629 -2.823934)'), GeomFromEWKT('SRID=4674;POINT (-40.136713 -2.824045)'))) / (select extract(epoch from '2026-06-08 19:46:30'::timestamp) - extract(epoch from '2026-06-08 19:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136629 -2.823934)'), GeomFromEWKT('SRID=4674;POINT (-40.136713 -2.824045)'))) / (select extract(epoch from '2026-06-08 19:46:30'::timestamp) - extract(epoch from '2026-06-08 19:46: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'), 46706, 'SRID=4674;POINT (-40.136783 -2.824137)', '2026-06-08 19:46:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136713 -2.824045)'), GeomFromEWKT('SRID=4674;POINT (-40.136783 -2.824137)'))) / (select extract(epoch from '2026-06-08 19:46:38'::timestamp) - extract(epoch from '2026-06-08 19:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136713 -2.824045)'), GeomFromEWKT('SRID=4674;POINT (-40.136783 -2.824137)'))) / (select extract(epoch from '2026-06-08 19:46:38'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.136872 -2.824228)', '2026-06-08 19:46:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136783 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.136872 -2.824228)'))) / (select extract(epoch from '2026-06-08 19:46:47'::timestamp) - extract(epoch from '2026-06-08 19:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136783 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.136872 -2.824228)'))) / (select extract(epoch from '2026-06-08 19:46:47'::timestamp) - extract(epoch from '2026-06-08 19:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136948 -2.824313)', '2026-06-08 19:46:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136872 -2.824228)'), GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.824313)'))) / (select extract(epoch from '2026-06-08 19:46:55'::timestamp) - extract(epoch from '2026-06-08 19:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136872 -2.824228)'), GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.824313)'))) / (select extract(epoch from '2026-06-08 19:46:55'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137027 -2.824414)', '2026-06-08 19:47:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.824313)'), GeomFromEWKT('SRID=4674;POINT (-40.137027 -2.824414)'))) / (select extract(epoch from '2026-06-08 19:47:04'::timestamp) - extract(epoch from '2026-06-08 19:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.824313)'), GeomFromEWKT('SRID=4674;POINT (-40.137027 -2.824414)'))) / (select extract(epoch from '2026-06-08 19:47:04'::timestamp) - extract(epoch from '2026-06-08 19:46: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'), 46706, 'SRID=4674;POINT (-40.137129 -2.824515)', '2026-06-08 19:47:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137027 -2.824414)'), GeomFromEWKT('SRID=4674;POINT (-40.137129 -2.824515)'))) / (select extract(epoch from '2026-06-08 19:47:14'::timestamp) - extract(epoch from '2026-06-08 19:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137027 -2.824414)'), GeomFromEWKT('SRID=4674;POINT (-40.137129 -2.824515)'))) / (select extract(epoch from '2026-06-08 19:47:14'::timestamp) - extract(epoch from '2026-06-08 19:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13726 -2.824618)', '2026-06-08 19:47:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137129 -2.824515)'), GeomFromEWKT('SRID=4674;POINT (-40.13726 -2.824618)'))) / (select extract(epoch from '2026-06-08 19:47:25'::timestamp) - extract(epoch from '2026-06-08 19:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137129 -2.824515)'), GeomFromEWKT('SRID=4674;POINT (-40.13726 -2.824618)'))) / (select extract(epoch from '2026-06-08 19:47:25'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137359 -2.824706)', '2026-06-08 19:47:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13726 -2.824618)'), GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.824706)'))) / (select extract(epoch from '2026-06-08 19:47:34'::timestamp) - extract(epoch from '2026-06-08 19:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13726 -2.824618)'), GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.824706)'))) / (select extract(epoch from '2026-06-08 19:47:34'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137468 -2.824821)', '2026-06-08 19:47:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.824706)'), GeomFromEWKT('SRID=4674;POINT (-40.137468 -2.824821)'))) / (select extract(epoch from '2026-06-08 19:47:45'::timestamp) - extract(epoch from '2026-06-08 19:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.824706)'), GeomFromEWKT('SRID=4674;POINT (-40.137468 -2.824821)'))) / (select extract(epoch from '2026-06-08 19:47:45'::timestamp) - extract(epoch from '2026-06-08 19:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.137568 -2.824929)', '2026-06-08 19:47:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137468 -2.824821)'), GeomFromEWKT('SRID=4674;POINT (-40.137568 -2.824929)'))) / (select extract(epoch from '2026-06-08 19:47:55'::timestamp) - extract(epoch from '2026-06-08 19:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137468 -2.824821)'), GeomFromEWKT('SRID=4674;POINT (-40.137568 -2.824929)'))) / (select extract(epoch from '2026-06-08 19:47:55'::timestamp) - extract(epoch from '2026-06-08 19:47: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'), 46706, 'SRID=4674;POINT (-40.137677 -2.825034)', '2026-06-08 19:48:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137568 -2.824929)'), GeomFromEWKT('SRID=4674;POINT (-40.137677 -2.825034)'))) / (select extract(epoch from '2026-06-08 19:48:05'::timestamp) - extract(epoch from '2026-06-08 19:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137568 -2.824929)'), GeomFromEWKT('SRID=4674;POINT (-40.137677 -2.825034)'))) / (select extract(epoch from '2026-06-08 19:48:05'::timestamp) - extract(epoch from '2026-06-08 19:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.137779 -2.825138)', '2026-06-08 19:48:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137677 -2.825034)'), GeomFromEWKT('SRID=4674;POINT (-40.137779 -2.825138)'))) / (select extract(epoch from '2026-06-08 19:48:15'::timestamp) - extract(epoch from '2026-06-08 19:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137677 -2.825034)'), GeomFromEWKT('SRID=4674;POINT (-40.137779 -2.825138)'))) / (select extract(epoch from '2026-06-08 19:48:15'::timestamp) - extract(epoch from '2026-06-08 19:48: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'), 46706, 'SRID=4674;POINT (-40.137846 -2.825213)', '2026-06-08 19:48:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137779 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.825213)'))) / (select extract(epoch from '2026-06-08 19:48:22'::timestamp) - extract(epoch from '2026-06-08 19:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137779 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.825213)'))) / (select extract(epoch from '2026-06-08 19:48:22'::timestamp) - extract(epoch from '2026-06-08 19:48: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'), 46706, 'SRID=4674;POINT (-40.137953 -2.825313)', '2026-06-08 19:48:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.825213)'), GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.825313)'))) / (select extract(epoch from '2026-06-08 19:48:31'::timestamp) - extract(epoch from '2026-06-08 19:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.825213)'), GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.825313)'))) / (select extract(epoch from '2026-06-08 19:48:31'::timestamp) - extract(epoch from '2026-06-08 19:48: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'), 46706, 'SRID=4674;POINT (-40.138027 -2.825419)', '2026-06-08 19:48:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.825313)'), GeomFromEWKT('SRID=4674;POINT (-40.138027 -2.825419)'))) / (select extract(epoch from '2026-06-08 19:48:39'::timestamp) - extract(epoch from '2026-06-08 19:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137953 -2.825313)'), GeomFromEWKT('SRID=4674;POINT (-40.138027 -2.825419)'))) / (select extract(epoch from '2026-06-08 19:48:39'::timestamp) - extract(epoch from '2026-06-08 19:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138089 -2.825514)', '2026-06-08 19:48:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138027 -2.825419)'), GeomFromEWKT('SRID=4674;POINT (-40.138089 -2.825514)'))) / (select extract(epoch from '2026-06-08 19:48:47'::timestamp) - extract(epoch from '2026-06-08 19:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138027 -2.825419)'), GeomFromEWKT('SRID=4674;POINT (-40.138089 -2.825514)'))) / (select extract(epoch from '2026-06-08 19:48:47'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.138167 -2.825616)', '2026-06-08 19:48:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138089 -2.825514)'), GeomFromEWKT('SRID=4674;POINT (-40.138167 -2.825616)'))) / (select extract(epoch from '2026-06-08 19:48:55'::timestamp) - extract(epoch from '2026-06-08 19:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138089 -2.825514)'), GeomFromEWKT('SRID=4674;POINT (-40.138167 -2.825616)'))) / (select extract(epoch from '2026-06-08 19:48:55'::timestamp) - extract(epoch from '2026-06-08 19:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138256 -2.825735)', '2026-06-08 19:49:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138167 -2.825616)'), GeomFromEWKT('SRID=4674;POINT (-40.138256 -2.825735)'))) / (select extract(epoch from '2026-06-08 19:49:04'::timestamp) - extract(epoch from '2026-06-08 19:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138167 -2.825616)'), GeomFromEWKT('SRID=4674;POINT (-40.138256 -2.825735)'))) / (select extract(epoch from '2026-06-08 19:49:04'::timestamp) - extract(epoch from '2026-06-08 19:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138354 -2.825846)', '2026-06-08 19:49:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138256 -2.825735)'), GeomFromEWKT('SRID=4674;POINT (-40.138354 -2.825846)'))) / (select extract(epoch from '2026-06-08 19:49:13'::timestamp) - extract(epoch from '2026-06-08 19:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138256 -2.825735)'), GeomFromEWKT('SRID=4674;POINT (-40.138354 -2.825846)'))) / (select extract(epoch from '2026-06-08 19:49:13'::timestamp) - extract(epoch from '2026-06-08 19:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13847 -2.825985)', '2026-06-08 19:49:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138354 -2.825846)'), GeomFromEWKT('SRID=4674;POINT (-40.13847 -2.825985)'))) / (select extract(epoch from '2026-06-08 19:49:24'::timestamp) - extract(epoch from '2026-06-08 19:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138354 -2.825846)'), GeomFromEWKT('SRID=4674;POINT (-40.13847 -2.825985)'))) / (select extract(epoch from '2026-06-08 19:49:24'::timestamp) - extract(epoch from '2026-06-08 19:49: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'), 46706, 'SRID=4674;POINT (-40.138544 -2.826125)', '2026-06-08 19:49:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13847 -2.825985)'), GeomFromEWKT('SRID=4674;POINT (-40.138544 -2.826125)'))) / (select extract(epoch from '2026-06-08 19:49:35'::timestamp) - extract(epoch from '2026-06-08 19:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13847 -2.825985)'), GeomFromEWKT('SRID=4674;POINT (-40.138544 -2.826125)'))) / (select extract(epoch from '2026-06-08 19:49:35'::timestamp) - extract(epoch from '2026-06-08 19:49: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'), 46706, 'SRID=4674;POINT (-40.138581 -2.826224)', '2026-06-08 19:49:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138544 -2.826125)'), GeomFromEWKT('SRID=4674;POINT (-40.138581 -2.826224)'))) / (select extract(epoch from '2026-06-08 19:49:43'::timestamp) - extract(epoch from '2026-06-08 19:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138544 -2.826125)'), GeomFromEWKT('SRID=4674;POINT (-40.138581 -2.826224)'))) / (select extract(epoch from '2026-06-08 19:49:43'::timestamp) - extract(epoch from '2026-06-08 19:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138602 -2.826338)', '2026-06-08 19:49:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138581 -2.826224)'), GeomFromEWKT('SRID=4674;POINT (-40.138602 -2.826338)'))) / (select extract(epoch from '2026-06-08 19:49:52'::timestamp) - extract(epoch from '2026-06-08 19:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138581 -2.826224)'), GeomFromEWKT('SRID=4674;POINT (-40.138602 -2.826338)'))) / (select extract(epoch from '2026-06-08 19:49:52'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.13861 -2.826455)', '2026-06-08 19:50:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138602 -2.826338)'), GeomFromEWKT('SRID=4674;POINT (-40.13861 -2.826455)'))) / (select extract(epoch from '2026-06-08 19:50:00'::timestamp) - extract(epoch from '2026-06-08 19:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138602 -2.826338)'), GeomFromEWKT('SRID=4674;POINT (-40.13861 -2.826455)'))) / (select extract(epoch from '2026-06-08 19:50:00'::timestamp) - extract(epoch from '2026-06-08 19:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138603 -2.826546)', '2026-06-08 19:50:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13861 -2.826455)'), GeomFromEWKT('SRID=4674;POINT (-40.138603 -2.826546)'))) / (select extract(epoch from '2026-06-08 19:50:07'::timestamp) - extract(epoch from '2026-06-08 19:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13861 -2.826455)'), GeomFromEWKT('SRID=4674;POINT (-40.138603 -2.826546)'))) / (select extract(epoch from '2026-06-08 19:50:07'::timestamp) - extract(epoch from '2026-06-08 19:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138569 -2.826695)', '2026-06-08 19:50:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138603 -2.826546)'), GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.826695)'))) / (select extract(epoch from '2026-06-08 19:50:17'::timestamp) - extract(epoch from '2026-06-08 19:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138603 -2.826546)'), GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.826695)'))) / (select extract(epoch from '2026-06-08 19:50:17'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.138524 -2.826831)', '2026-06-08 19:50:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.826695)'), GeomFromEWKT('SRID=4674;POINT (-40.138524 -2.826831)'))) / (select extract(epoch from '2026-06-08 19:50:27'::timestamp) - extract(epoch from '2026-06-08 19:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.826695)'), GeomFromEWKT('SRID=4674;POINT (-40.138524 -2.826831)'))) / (select extract(epoch from '2026-06-08 19:50:27'::timestamp) - extract(epoch from '2026-06-08 19:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138455 -2.826952)', '2026-06-08 19:50:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138524 -2.826831)'), GeomFromEWKT('SRID=4674;POINT (-40.138455 -2.826952)'))) / (select extract(epoch from '2026-06-08 19:50:36'::timestamp) - extract(epoch from '2026-06-08 19:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138524 -2.826831)'), GeomFromEWKT('SRID=4674;POINT (-40.138455 -2.826952)'))) / (select extract(epoch from '2026-06-08 19:50:36'::timestamp) - extract(epoch from '2026-06-08 19:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138359 -2.827062)', '2026-06-08 19:50:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138455 -2.826952)'), GeomFromEWKT('SRID=4674;POINT (-40.138359 -2.827062)'))) / (select extract(epoch from '2026-06-08 19:50:46'::timestamp) - extract(epoch from '2026-06-08 19:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138455 -2.826952)'), GeomFromEWKT('SRID=4674;POINT (-40.138359 -2.827062)'))) / (select extract(epoch from '2026-06-08 19:50:46'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.138236 -2.827183)', '2026-06-08 19:50:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138359 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.138236 -2.827183)'))) / (select extract(epoch from '2026-06-08 19:50:58'::timestamp) - extract(epoch from '2026-06-08 19:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138359 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.138236 -2.827183)'))) / (select extract(epoch from '2026-06-08 19:50:58'::timestamp) - extract(epoch from '2026-06-08 19:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.138119 -2.827244)', '2026-06-08 19:51:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138236 -2.827183)'), GeomFromEWKT('SRID=4674;POINT (-40.138119 -2.827244)'))) / (select extract(epoch from '2026-06-08 19:51:08'::timestamp) - extract(epoch from '2026-06-08 19:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138236 -2.827183)'), GeomFromEWKT('SRID=4674;POINT (-40.138119 -2.827244)'))) / (select extract(epoch from '2026-06-08 19:51:08'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.138002 -2.827274)', '2026-06-08 19:51:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138119 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.138002 -2.827274)'))) / (select extract(epoch from '2026-06-08 19:51:16'::timestamp) - extract(epoch from '2026-06-08 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138119 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.138002 -2.827274)'))) / (select extract(epoch from '2026-06-08 19:51:16'::timestamp) - extract(epoch from '2026-06-08 19:51: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'), 46706, 'SRID=4674;POINT (-40.137856 -2.827324)', '2026-06-08 19:51:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138002 -2.827274)'), GeomFromEWKT('SRID=4674;POINT (-40.137856 -2.827324)'))) / (select extract(epoch from '2026-06-08 19:51:27'::timestamp) - extract(epoch from '2026-06-08 19:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138002 -2.827274)'), GeomFromEWKT('SRID=4674;POINT (-40.137856 -2.827324)'))) / (select extract(epoch from '2026-06-08 19:51:27'::timestamp) - extract(epoch from '2026-06-08 19:51: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'), 46706, 'SRID=4674;POINT (-40.137712 -2.827324)', '2026-06-08 19:51:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137856 -2.827324)'), GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.827324)'))) / (select extract(epoch from '2026-06-08 19:51:37'::timestamp) - extract(epoch from '2026-06-08 19:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137856 -2.827324)'), GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.827324)'))) / (select extract(epoch from '2026-06-08 19:51:37'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137553 -2.827303)', '2026-06-08 19:51:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.827324)'), GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.827303)'))) / (select extract(epoch from '2026-06-08 19:51:47'::timestamp) - extract(epoch from '2026-06-08 19:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137712 -2.827324)'), GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.827303)'))) / (select extract(epoch from '2026-06-08 19:51:47'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137387 -2.827264)', '2026-06-08 19:51:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.827303)'), GeomFromEWKT('SRID=4674;POINT (-40.137387 -2.827264)'))) / (select extract(epoch from '2026-06-08 19:51:58'::timestamp) - extract(epoch from '2026-06-08 19:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.827303)'), GeomFromEWKT('SRID=4674;POINT (-40.137387 -2.827264)'))) / (select extract(epoch from '2026-06-08 19:51:58'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137225 -2.827235)', '2026-06-08 19:52:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137387 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.137225 -2.827235)'))) / (select extract(epoch from '2026-06-08 19:52:10'::timestamp) - extract(epoch from '2026-06-08 19:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137387 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.137225 -2.827235)'))) / (select extract(epoch from '2026-06-08 19:52:10'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.137051 -2.827218)', '2026-06-08 19:52:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137225 -2.827235)'), GeomFromEWKT('SRID=4674;POINT (-40.137051 -2.827218)'))) / (select extract(epoch from '2026-06-08 19:52:21'::timestamp) - extract(epoch from '2026-06-08 19:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137225 -2.827235)'), GeomFromEWKT('SRID=4674;POINT (-40.137051 -2.827218)'))) / (select extract(epoch from '2026-06-08 19:52:21'::timestamp) - extract(epoch from '2026-06-08 19:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136864 -2.827175)', '2026-06-08 19:52:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137051 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.827175)'))) / (select extract(epoch from '2026-06-08 19:52:33'::timestamp) - extract(epoch from '2026-06-08 19:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137051 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.827175)'))) / (select extract(epoch from '2026-06-08 19:52:33'::timestamp) - extract(epoch from '2026-06-08 19:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136711 -2.827132)', '2026-06-08 19:52:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.827175)'), GeomFromEWKT('SRID=4674;POINT (-40.136711 -2.827132)'))) / (select extract(epoch from '2026-06-08 19:52:43'::timestamp) - extract(epoch from '2026-06-08 19:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.827175)'), GeomFromEWKT('SRID=4674;POINT (-40.136711 -2.827132)'))) / (select extract(epoch from '2026-06-08 19:52:43'::timestamp) - extract(epoch from '2026-06-08 19:52: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'), 46706, 'SRID=4674;POINT (-40.13656 -2.82709)', '2026-06-08 19:52:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136711 -2.827132)'), GeomFromEWKT('SRID=4674;POINT (-40.13656 -2.82709)'))) / (select extract(epoch from '2026-06-08 19:52:53'::timestamp) - extract(epoch from '2026-06-08 19:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136711 -2.827132)'), GeomFromEWKT('SRID=4674;POINT (-40.13656 -2.82709)'))) / (select extract(epoch from '2026-06-08 19:52:53'::timestamp) - extract(epoch from '2026-06-08 19:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.136363 -2.827031)', '2026-06-08 19:53:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13656 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.136363 -2.827031)'))) / (select extract(epoch from '2026-06-08 19:53:04'::timestamp) - extract(epoch from '2026-06-08 19:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13656 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.136363 -2.827031)'))) / (select extract(epoch from '2026-06-08 19:53:04'::timestamp) - extract(epoch from '2026-06-08 19:52: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'), 46706, 'SRID=4674;POINT (-40.136158 -2.826979)', '2026-06-08 19:53:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136363 -2.827031)'), GeomFromEWKT('SRID=4674;POINT (-40.136158 -2.826979)'))) / (select extract(epoch from '2026-06-08 19:53:16'::timestamp) - extract(epoch from '2026-06-08 19:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136363 -2.827031)'), GeomFromEWKT('SRID=4674;POINT (-40.136158 -2.826979)'))) / (select extract(epoch from '2026-06-08 19:53:16'::timestamp) - extract(epoch from '2026-06-08 19:53: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'), 46706, 'SRID=4674;POINT (-40.135956 -2.826922)', '2026-06-08 19:53:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136158 -2.826979)'), GeomFromEWKT('SRID=4674;POINT (-40.135956 -2.826922)'))) / (select extract(epoch from '2026-06-08 19:53:29'::timestamp) - extract(epoch from '2026-06-08 19:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136158 -2.826979)'), GeomFromEWKT('SRID=4674;POINT (-40.135956 -2.826922)'))) / (select extract(epoch from '2026-06-08 19:53:29'::timestamp) - extract(epoch from '2026-06-08 19:53: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'), 46706, 'SRID=4674;POINT (-40.13577 -2.826864)', '2026-06-08 19:53:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135956 -2.826922)'), GeomFromEWKT('SRID=4674;POINT (-40.13577 -2.826864)'))) / (select extract(epoch from '2026-06-08 19:53:41'::timestamp) - extract(epoch from '2026-06-08 19:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135956 -2.826922)'), GeomFromEWKT('SRID=4674;POINT (-40.13577 -2.826864)'))) / (select extract(epoch from '2026-06-08 19:53:41'::timestamp) - extract(epoch from '2026-06-08 19:53: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'), 46706, 'SRID=4674;POINT (-40.135612 -2.826787)', '2026-06-08 19:53:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13577 -2.826864)'), GeomFromEWKT('SRID=4674;POINT (-40.135612 -2.826787)'))) / (select extract(epoch from '2026-06-08 19:53:52'::timestamp) - extract(epoch from '2026-06-08 19:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13577 -2.826864)'), GeomFromEWKT('SRID=4674;POINT (-40.135612 -2.826787)'))) / (select extract(epoch from '2026-06-08 19:53:52'::timestamp) - extract(epoch from '2026-06-08 19:53: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'), 46706, 'SRID=4674;POINT (-40.135469 -2.826722)', '2026-06-08 19:54:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135612 -2.826787)'), GeomFromEWKT('SRID=4674;POINT (-40.135469 -2.826722)'))) / (select extract(epoch from '2026-06-08 19:54:02'::timestamp) - extract(epoch from '2026-06-08 19:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135612 -2.826787)'), GeomFromEWKT('SRID=4674;POINT (-40.135469 -2.826722)'))) / (select extract(epoch from '2026-06-08 19:54:02'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.135386 -2.826662)', '2026-06-08 19:54:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135469 -2.826722)'), GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826662)'))) / (select extract(epoch from '2026-06-08 19:54:12'::timestamp) - extract(epoch from '2026-06-08 19:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135469 -2.826722)'), GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826662)'))) / (select extract(epoch from '2026-06-08 19:54:12'::timestamp) - extract(epoch from '2026-06-08 19:54: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'), 46706, 'SRID=4674;POINT (-40.13539 -2.826664)', '2026-06-08 19:54:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826664)'))) / (select extract(epoch from '2026-06-08 19:54:27'::timestamp) - extract(epoch from '2026-06-08 19:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826664)'))) / (select extract(epoch from '2026-06-08 19:54:27'::timestamp) - extract(epoch from '2026-06-08 19:54: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'), 46706, 'SRID=4674;POINT (-40.135391 -2.826662)', '2026-06-08 19:54:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826662)'))) / (select extract(epoch from '2026-06-08 19:54:55'::timestamp) - extract(epoch from '2026-06-08 19:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826662)'))) / (select extract(epoch from '2026-06-08 19:54:55'::timestamp) - extract(epoch from '2026-06-08 19:54: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'), 46706, 'SRID=4674;POINT (-40.135395 -2.826658)', '2026-06-08 19:55:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135395 -2.826658)'))) / (select extract(epoch from '2026-06-08 19:55:27'::timestamp) - extract(epoch from '2026-06-08 19:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135395 -2.826658)'))) / (select extract(epoch from '2026-06-08 19:55:27'::timestamp) - extract(epoch from '2026-06-08 19:54: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'), 46706, 'SRID=4674;POINT (-40.135393 -2.826658)', '2026-06-08 19:56:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135395 -2.826658)'), GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.826658)'))) / (select extract(epoch from '2026-06-08 19:56:00'::timestamp) - extract(epoch from '2026-06-08 19:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135395 -2.826658)'), GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.826658)'))) / (select extract(epoch from '2026-06-08 19:56:00'::timestamp) - extract(epoch from '2026-06-08 19:55: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'), 46706, 'SRID=4674;POINT (-40.135391 -2.826661)', '2026-06-08 19:56:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.826658)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826661)'))) / (select extract(epoch from '2026-06-08 19:56:25'::timestamp) - extract(epoch from '2026-06-08 19:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.826658)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826661)'))) / (select extract(epoch from '2026-06-08 19:56:25'::timestamp) - extract(epoch from '2026-06-08 19:56: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'), 46706, 'SRID=4674;POINT (-40.135394 -2.826661)', '2026-06-08 19:57:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135394 -2.826661)'))) / (select extract(epoch from '2026-06-08 19:57:00'::timestamp) - extract(epoch from '2026-06-08 19:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135394 -2.826661)'))) / (select extract(epoch from '2026-06-08 19:57:00'::timestamp) - extract(epoch from '2026-06-08 19: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'), 46706, 'SRID=4674;POINT (-40.135389 -2.826667)', '2026-06-08 19:57:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135394 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135389 -2.826667)'))) / (select extract(epoch from '2026-06-08 19:57:31'::timestamp) - extract(epoch from '2026-06-08 19:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135394 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135389 -2.826667)'))) / (select extract(epoch from '2026-06-08 19:57:31'::timestamp) - extract(epoch from '2026-06-08 19:57: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'), 46706, 'SRID=4674;POINT (-40.135386 -2.826668)', '2026-06-08 19:58:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135389 -2.826667)'), GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826668)'))) / (select extract(epoch from '2026-06-08 19:58:04'::timestamp) - extract(epoch from '2026-06-08 19:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135389 -2.826667)'), GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826668)'))) / (select extract(epoch from '2026-06-08 19:58:04'::timestamp) - extract(epoch from '2026-06-08 19:57: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'), 46706, 'SRID=4674;POINT (-40.135388 -2.82667)', '2026-06-08 19:58:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826668)'), GeomFromEWKT('SRID=4674;POINT (-40.135388 -2.82667)'))) / (select extract(epoch from '2026-06-08 19:58:32'::timestamp) - extract(epoch from '2026-06-08 19:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135386 -2.826668)'), GeomFromEWKT('SRID=4674;POINT (-40.135388 -2.82667)'))) / (select extract(epoch from '2026-06-08 19:58:32'::timestamp) - extract(epoch from '2026-06-08 19:58: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'), 46706, 'SRID=4674;POINT (-40.13539 -2.826663)', '2026-06-08 19:59:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135388 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'))) / (select extract(epoch from '2026-06-08 19:59:04'::timestamp) - extract(epoch from '2026-06-08 19:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135388 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'))) / (select extract(epoch from '2026-06-08 19:59:04'::timestamp) - extract(epoch from '2026-06-08 19:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13539 -2.826663)', '2026-06-08 19:59:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'))) / (select extract(epoch from '2026-06-08 19:59:23'::timestamp) - extract(epoch from '2026-06-08 19:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'))) / (select extract(epoch from '2026-06-08 19:59:23'::timestamp) - extract(epoch from '2026-06-08 19:59: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'), 46706, 'SRID=4674;POINT (-40.135393 -2.82666)', '2026-06-08 19:59:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.82666)'))) / (select extract(epoch from '2026-06-08 19:59:49'::timestamp) - extract(epoch from '2026-06-08 19:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13539 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.82666)'))) / (select extract(epoch from '2026-06-08 19:59:49'::timestamp) - extract(epoch from '2026-06-08 19:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135396 -2.826663)', '2026-06-08 20:00:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135396 -2.826663)'))) / (select extract(epoch from '2026-06-08 20:00:12'::timestamp) - extract(epoch from '2026-06-08 19:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135393 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135396 -2.826663)'))) / (select extract(epoch from '2026-06-08 20:00:12'::timestamp) - extract(epoch from '2026-06-08 19:59: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'), 46706, 'SRID=4674;POINT (-40.135402 -2.826661)', '2026-06-08 20:00:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135396 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:00:40'::timestamp) - extract(epoch from '2026-06-08 20:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135396 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:00:40'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135399 -2.82667)', '2026-06-08 20:01:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135399 -2.82667)'))) / (select extract(epoch from '2026-06-08 20:01:00'::timestamp) - extract(epoch from '2026-06-08 20:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135399 -2.82667)'))) / (select extract(epoch from '2026-06-08 20:01:00'::timestamp) - extract(epoch from '2026-06-08 20:00: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'), 46706, 'SRID=4674;POINT (-40.135401 -2.826671)', '2026-06-08 20:01:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135399 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:01:26'::timestamp) - extract(epoch from '2026-06-08 20:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135399 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:01:26'::timestamp) - extract(epoch from '2026-06-08 20:01: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'), 46706, 'SRID=4674;POINT (-40.135401 -2.826674)', '2026-06-08 20:01:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826674)'))) / (select extract(epoch from '2026-06-08 20:01:52'::timestamp) - extract(epoch from '2026-06-08 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826674)'))) / (select extract(epoch from '2026-06-08 20:01:52'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135402 -2.826672)', '2026-06-08 20:02:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826674)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'))) / (select extract(epoch from '2026-06-08 20:02:16'::timestamp) - extract(epoch from '2026-06-08 20:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826674)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'))) / (select extract(epoch from '2026-06-08 20:02:16'::timestamp) - extract(epoch from '2026-06-08 20:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135402 -2.826673)', '2026-06-08 20:02:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:02:46'::timestamp) - extract(epoch from '2026-06-08 20:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:02:46'::timestamp) - extract(epoch from '2026-06-08 20:02: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'), 46706, 'SRID=4674;POINT (-40.135404 -2.826681)', '2026-06-08 20:03:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:03:10'::timestamp) - extract(epoch from '2026-06-08 20:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:03:10'::timestamp) - extract(epoch from '2026-06-08 20:02: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'), 46706, 'SRID=4674;POINT (-40.135407 -2.826685)', '2026-06-08 20:03:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135407 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:03:26'::timestamp) - extract(epoch from '2026-06-08 20:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135407 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:03:26'::timestamp) - extract(epoch from '2026-06-08 20:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135409 -2.826685)', '2026-06-08 20:03:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135407 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135409 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:03:53'::timestamp) - extract(epoch from '2026-06-08 20:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135407 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135409 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:03:53'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135412 -2.826685)', '2026-06-08 20:04:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135409 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135412 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:04:19'::timestamp) - extract(epoch from '2026-06-08 20:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135409 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135412 -2.826685)'))) / (select extract(epoch from '2026-06-08 20:04:19'::timestamp) - extract(epoch from '2026-06-08 20:03: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'), 46706, 'SRID=4674;POINT (-40.135404 -2.826684)', '2026-06-08 20:04:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135412 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826684)'))) / (select extract(epoch from '2026-06-08 20:04:41'::timestamp) - extract(epoch from '2026-06-08 20:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135412 -2.826685)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826684)'))) / (select extract(epoch from '2026-06-08 20:04:41'::timestamp) - extract(epoch from '2026-06-08 20:04: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'), 46706, 'SRID=4674;POINT (-40.135404 -2.826681)', '2026-06-08 20:05:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826684)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:05:01'::timestamp) - extract(epoch from '2026-06-08 20:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826684)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:05:01'::timestamp) - extract(epoch from '2026-06-08 20:04: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'), 46706, 'SRID=4674;POINT (-40.135402 -2.826682)', '2026-06-08 20:05:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:05:26'::timestamp) - extract(epoch from '2026-06-08 20:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:05:26'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135402 -2.826673)', '2026-06-08 20:05:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:05:47'::timestamp) - extract(epoch from '2026-06-08 20:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:05:47'::timestamp) - extract(epoch from '2026-06-08 20:05: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'), 46706, 'SRID=4674;POINT (-40.135402 -2.826672)', '2026-06-08 20:06:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'))) / (select extract(epoch from '2026-06-08 20:06:05'::timestamp) - extract(epoch from '2026-06-08 20:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'))) / (select extract(epoch from '2026-06-08 20:06:05'::timestamp) - extract(epoch from '2026-06-08 20:05: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'), 46706, 'SRID=4674;POINT (-40.135403 -2.826671)', '2026-06-08 20:06:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'), GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:06:24'::timestamp) - extract(epoch from '2026-06-08 20:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135402 -2.826672)'), GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:06:24'::timestamp) - extract(epoch from '2026-06-08 20:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13541 -2.826662)', '2026-06-08 20:06:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:06:47'::timestamp) - extract(epoch from '2026-06-08 20:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:06:47'::timestamp) - extract(epoch from '2026-06-08 20:06: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'), 46706, 'SRID=4674;POINT (-40.135408 -2.826661)', '2026-06-08 20:07:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135408 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:07:10'::timestamp) - extract(epoch from '2026-06-08 20:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135408 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:07:10'::timestamp) - extract(epoch from '2026-06-08 20:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135401 -2.826661)', '2026-06-08 20:07:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135408 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:07:24'::timestamp) - extract(epoch from '2026-06-08 20:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135408 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:07:24'::timestamp) - extract(epoch from '2026-06-08 20:07: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'), 46706, 'SRID=4674;POINT (-40.135401 -2.826665)', '2026-06-08 20:07:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826665)'))) / (select extract(epoch from '2026-06-08 20:07:43'::timestamp) - extract(epoch from '2026-06-08 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826665)'))) / (select extract(epoch from '2026-06-08 20:07:43'::timestamp) - extract(epoch from '2026-06-08 20:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135398 -2.82666)', '2026-06-08 20:08:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826665)'), GeomFromEWKT('SRID=4674;POINT (-40.135398 -2.82666)'))) / (select extract(epoch from '2026-06-08 20:08:11'::timestamp) - extract(epoch from '2026-06-08 20:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135401 -2.826665)'), GeomFromEWKT('SRID=4674;POINT (-40.135398 -2.82666)'))) / (select extract(epoch from '2026-06-08 20:08:11'::timestamp) - extract(epoch from '2026-06-08 20:07: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'), 46706, 'SRID=4674;POINT (-40.135387 -2.826664)', '2026-06-08 20:08:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135398 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:08:39'::timestamp) - extract(epoch from '2026-06-08 20:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135398 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:08:39'::timestamp) - extract(epoch from '2026-06-08 20:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135378 -2.826679)', '2026-06-08 20:09:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:09:05'::timestamp) - extract(epoch from '2026-06-08 20:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:09:05'::timestamp) - extract(epoch from '2026-06-08 20:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135365 -2.826687)', '2026-06-08 20:09:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826687)'))) / (select extract(epoch from '2026-06-08 20:09:32'::timestamp) - extract(epoch from '2026-06-08 20:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826687)'))) / (select extract(epoch from '2026-06-08 20:09:32'::timestamp) - extract(epoch from '2026-06-08 20:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135361 -2.826694)', '2026-06-08 20:10:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826687)'), GeomFromEWKT('SRID=4674;POINT (-40.135361 -2.826694)'))) / (select extract(epoch from '2026-06-08 20:10:00'::timestamp) - extract(epoch from '2026-06-08 20:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826687)'), GeomFromEWKT('SRID=4674;POINT (-40.135361 -2.826694)'))) / (select extract(epoch from '2026-06-08 20:10:00'::timestamp) - extract(epoch from '2026-06-08 20:09: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'), 46706, 'SRID=4674;POINT (-40.135362 -2.826695)', '2026-06-08 20:10:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135361 -2.826694)'), GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.826695)'))) / (select extract(epoch from '2026-06-08 20:10:15'::timestamp) - extract(epoch from '2026-06-08 20:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135361 -2.826694)'), GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.826695)'))) / (select extract(epoch from '2026-06-08 20:10:15'::timestamp) - extract(epoch from '2026-06-08 20:10: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'), 46706, 'SRID=4674;POINT (-40.135365 -2.826696)', '2026-06-08 20:10:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.826695)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826696)'))) / (select extract(epoch from '2026-06-08 20:10:30'::timestamp) - extract(epoch from '2026-06-08 20:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.826695)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826696)'))) / (select extract(epoch from '2026-06-08 20:10:30'::timestamp) - extract(epoch from '2026-06-08 20:10: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'), 46706, 'SRID=4674;POINT (-40.135368 -2.826691)', '2026-06-08 20:10:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826696)'), GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826691)'))) / (select extract(epoch from '2026-06-08 20:10:52'::timestamp) - extract(epoch from '2026-06-08 20:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826696)'), GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826691)'))) / (select extract(epoch from '2026-06-08 20:10:52'::timestamp) - extract(epoch from '2026-06-08 20:10: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'), 46706, 'SRID=4674;POINT (-40.135369 -2.826691)', '2026-06-08 20:11:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826691)'), GeomFromEWKT('SRID=4674;POINT (-40.135369 -2.826691)'))) / (select extract(epoch from '2026-06-08 20:11:07'::timestamp) - extract(epoch from '2026-06-08 20:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826691)'), GeomFromEWKT('SRID=4674;POINT (-40.135369 -2.826691)'))) / (select extract(epoch from '2026-06-08 20:11:07'::timestamp) - extract(epoch from '2026-06-08 20:10: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'), 46706, 'SRID=4674;POINT (-40.135368 -2.826693)', '2026-06-08 20:11:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135369 -2.826691)'), GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826693)'))) / (select extract(epoch from '2026-06-08 20:11:20'::timestamp) - extract(epoch from '2026-06-08 20:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135369 -2.826691)'), GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826693)'))) / (select extract(epoch from '2026-06-08 20:11:20'::timestamp) - extract(epoch from '2026-06-08 20:11: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'), 46706, 'SRID=4674;POINT (-40.135363 -2.826694)', '2026-06-08 20:11:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826693)'), GeomFromEWKT('SRID=4674;POINT (-40.135363 -2.826694)'))) / (select extract(epoch from '2026-06-08 20:11:39'::timestamp) - extract(epoch from '2026-06-08 20:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135368 -2.826693)'), GeomFromEWKT('SRID=4674;POINT (-40.135363 -2.826694)'))) / (select extract(epoch from '2026-06-08 20:11:39'::timestamp) - extract(epoch from '2026-06-08 20:11: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'), 46706, 'SRID=4674;POINT (-40.135367 -2.82669)', '2026-06-08 20:11:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135363 -2.826694)'), GeomFromEWKT('SRID=4674;POINT (-40.135367 -2.82669)'))) / (select extract(epoch from '2026-06-08 20:11:55'::timestamp) - extract(epoch from '2026-06-08 20:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135363 -2.826694)'), GeomFromEWKT('SRID=4674;POINT (-40.135367 -2.82669)'))) / (select extract(epoch from '2026-06-08 20:11:55'::timestamp) - extract(epoch from '2026-06-08 20:11: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'), 46706, 'SRID=4674;POINT (-40.135373 -2.826682)', '2026-06-08 20:12:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135367 -2.82669)'), GeomFromEWKT('SRID=4674;POINT (-40.135373 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:12:21'::timestamp) - extract(epoch from '2026-06-08 20:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135367 -2.82669)'), GeomFromEWKT('SRID=4674;POINT (-40.135373 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:12:21'::timestamp) - extract(epoch from '2026-06-08 20:11: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'), 46706, 'SRID=4674;POINT (-40.135371 -2.826682)', '2026-06-08 20:12:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135373 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:12:40'::timestamp) - extract(epoch from '2026-06-08 20:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135373 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.826682)'))) / (select extract(epoch from '2026-06-08 20:12:40'::timestamp) - extract(epoch from '2026-06-08 20:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135376 -2.826677)', '2026-06-08 20:12:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'))) / (select extract(epoch from '2026-06-08 20:12:55'::timestamp) - extract(epoch from '2026-06-08 20:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135371 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'))) / (select extract(epoch from '2026-06-08 20:12:55'::timestamp) - extract(epoch from '2026-06-08 20:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135376 -2.826677)', '2026-06-08 20:13:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'), GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'))) / (select extract(epoch from '2026-06-08 20:13:12'::timestamp) - extract(epoch from '2026-06-08 20:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'), GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'))) / (select extract(epoch from '2026-06-08 20:13:12'::timestamp) - extract(epoch from '2026-06-08 20:12: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'), 46706, 'SRID=4674;POINT (-40.135372 -2.826671)', '2026-06-08 20:13:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'), GeomFromEWKT('SRID=4674;POINT (-40.135372 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:13:30'::timestamp) - extract(epoch from '2026-06-08 20:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135376 -2.826677)'), GeomFromEWKT('SRID=4674;POINT (-40.135372 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:13:30'::timestamp) - extract(epoch from '2026-06-08 20:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135365 -2.826675)', '2026-06-08 20:13:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135372 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826675)'))) / (select extract(epoch from '2026-06-08 20:13:58'::timestamp) - extract(epoch from '2026-06-08 20:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135372 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826675)'))) / (select extract(epoch from '2026-06-08 20:13:58'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135357 -2.82668)', '2026-06-08 20:14:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826675)'), GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.82668)'))) / (select extract(epoch from '2026-06-08 20:14:20'::timestamp) - extract(epoch from '2026-06-08 20:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.826675)'), GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.82668)'))) / (select extract(epoch from '2026-06-08 20:14:20'::timestamp) - extract(epoch from '2026-06-08 20:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135349 -2.826679)', '2026-06-08 20:14:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.82668)'), GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:14:45'::timestamp) - extract(epoch from '2026-06-08 20:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.82668)'), GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:14:45'::timestamp) - extract(epoch from '2026-06-08 20:14: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'), 46706, 'SRID=4674;POINT (-40.13534 -2.826679)', '2026-06-08 20:15:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:15:11'::timestamp) - extract(epoch from '2026-06-08 20:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826679)'))) / (select extract(epoch from '2026-06-08 20:15:11'::timestamp) - extract(epoch from '2026-06-08 20:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135342 -2.826671)', '2026-06-08 20:15:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:15:39'::timestamp) - extract(epoch from '2026-06-08 20:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826679)'), GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826671)'))) / (select extract(epoch from '2026-06-08 20:15:39'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.135337 -2.82667)', '2026-06-08 20:16:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.82667)'))) / (select extract(epoch from '2026-06-08 20:16:07'::timestamp) - extract(epoch from '2026-06-08 20:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826671)'), GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.82667)'))) / (select extract(epoch from '2026-06-08 20:16:07'::timestamp) - extract(epoch from '2026-06-08 20:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135345 -2.82666)', '2026-06-08 20:16:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.82666)'))) / (select extract(epoch from '2026-06-08 20:16:27'::timestamp) - extract(epoch from '2026-06-08 20:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.82667)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.82666)'))) / (select extract(epoch from '2026-06-08 20:16:27'::timestamp) - extract(epoch from '2026-06-08 20:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135345 -2.826664)', '2026-06-08 20:16:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:16:53'::timestamp) - extract(epoch from '2026-06-08 20:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.82666)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:16:53'::timestamp) - extract(epoch from '2026-06-08 20:16: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'), 46706, 'SRID=4674;POINT (-40.135347 -2.826663)', '2026-06-08 20:17:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135347 -2.826663)'))) / (select extract(epoch from '2026-06-08 20:17:09'::timestamp) - extract(epoch from '2026-06-08 20:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135347 -2.826663)'))) / (select extract(epoch from '2026-06-08 20:17:09'::timestamp) - extract(epoch from '2026-06-08 20:16: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'), 46706, 'SRID=4674;POINT (-40.135352 -2.826662)', '2026-06-08 20:17:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135347 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135352 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:17:41'::timestamp) - extract(epoch from '2026-06-08 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135347 -2.826663)'), GeomFromEWKT('SRID=4674;POINT (-40.135352 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:17:41'::timestamp) - extract(epoch from '2026-06-08 20:17: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'), 46706, 'SRID=4674;POINT (-40.135351 -2.826661)', '2026-06-08 20:18:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135352 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135351 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:18:06'::timestamp) - extract(epoch from '2026-06-08 20:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135352 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135351 -2.826661)'))) / (select extract(epoch from '2026-06-08 20:18:06'::timestamp) - extract(epoch from '2026-06-08 20:17: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'), 46706, 'SRID=4674;POINT (-40.135339 -2.826673)', '2026-06-08 20:18:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135351 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135339 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:18:29'::timestamp) - extract(epoch from '2026-06-08 20:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135351 -2.826661)'), GeomFromEWKT('SRID=4674;POINT (-40.135339 -2.826673)'))) / (select extract(epoch from '2026-06-08 20:18:29'::timestamp) - extract(epoch from '2026-06-08 20:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13534 -2.826675)', '2026-06-08 20:18:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135339 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826675)'))) / (select extract(epoch from '2026-06-08 20:18:52'::timestamp) - extract(epoch from '2026-06-08 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135339 -2.826673)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826675)'))) / (select extract(epoch from '2026-06-08 20:18:52'::timestamp) - extract(epoch from '2026-06-08 20:18: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'), 46706, 'SRID=4674;POINT (-40.135343 -2.826668)', '2026-06-08 20:19:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826675)'), GeomFromEWKT('SRID=4674;POINT (-40.135343 -2.826668)'))) / (select extract(epoch from '2026-06-08 20:19:18'::timestamp) - extract(epoch from '2026-06-08 20:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.826675)'), GeomFromEWKT('SRID=4674;POINT (-40.135343 -2.826668)'))) / (select extract(epoch from '2026-06-08 20:19:18'::timestamp) - extract(epoch from '2026-06-08 20:18: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'), 46706, 'SRID=4674;POINT (-40.135344 -2.826666)', '2026-06-08 20:19:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135343 -2.826668)'), GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826666)'))) / (select extract(epoch from '2026-06-08 20:19:48'::timestamp) - extract(epoch from '2026-06-08 20:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135343 -2.826668)'), GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826666)'))) / (select extract(epoch from '2026-06-08 20:19:48'::timestamp) - extract(epoch from '2026-06-08 20:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135344 -2.826662)', '2026-06-08 20:20:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826666)'), GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:20:14'::timestamp) - extract(epoch from '2026-06-08 20:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826666)'), GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826662)'))) / (select extract(epoch from '2026-06-08 20:20:14'::timestamp) - extract(epoch from '2026-06-08 20:19: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'), 46706, 'SRID=4674;POINT (-40.135342 -2.826664)', '2026-06-08 20:20:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:20:44'::timestamp) - extract(epoch from '2026-06-08 20:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135344 -2.826662)'), GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:20:44'::timestamp) - extract(epoch from '2026-06-08 20:20: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'), 46706, 'SRID=4674;POINT (-40.135337 -2.826665)', '2026-06-08 20:21:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.826665)'))) / (select extract(epoch from '2026-06-08 20:21:13'::timestamp) - extract(epoch from '2026-06-08 20:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135342 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.826665)'))) / (select extract(epoch from '2026-06-08 20:21:13'::timestamp) - extract(epoch from '2026-06-08 20:20: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'), 46706, 'SRID=4674;POINT (-40.135329 -2.826667)', '2026-06-08 20:21:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.826665)'), GeomFromEWKT('SRID=4674;POINT (-40.135329 -2.826667)'))) / (select extract(epoch from '2026-06-08 20:21:35'::timestamp) - extract(epoch from '2026-06-08 20:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135337 -2.826665)'), GeomFromEWKT('SRID=4674;POINT (-40.135329 -2.826667)'))) / (select extract(epoch from '2026-06-08 20:21:35'::timestamp) - extract(epoch from '2026-06-08 20:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135333 -2.826664)', '2026-06-08 20:22:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135329 -2.826667)'), GeomFromEWKT('SRID=4674;POINT (-40.135333 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:22:08'::timestamp) - extract(epoch from '2026-06-08 20:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135329 -2.826667)'), GeomFromEWKT('SRID=4674;POINT (-40.135333 -2.826664)'))) / (select extract(epoch from '2026-06-08 20:22:08'::timestamp) - extract(epoch from '2026-06-08 20:21: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'), 46706, 'SRID=4674;POINT (-40.135345 -2.826681)', '2026-06-08 20:22:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135333 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:22:31'::timestamp) - extract(epoch from '2026-06-08 20:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135333 -2.826664)'), GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826681)'))) / (select extract(epoch from '2026-06-08 20:22:31'::timestamp) - extract(epoch from '2026-06-08 20:22: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'), 46706, 'SRID=4674;POINT (-40.135334 -2.82672)', '2026-06-08 20:22:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135334 -2.82672)'))) / (select extract(epoch from '2026-06-08 20:22:44'::timestamp) - extract(epoch from '2026-06-08 20:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135345 -2.826681)'), GeomFromEWKT('SRID=4674;POINT (-40.135334 -2.82672)'))) / (select extract(epoch from '2026-06-08 20:22:44'::timestamp) - extract(epoch from '2026-06-08 20:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.135268 -2.826816)', '2026-06-08 20:22:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135334 -2.82672)'), GeomFromEWKT('SRID=4674;POINT (-40.135268 -2.826816)'))) / (select extract(epoch from '2026-06-08 20:22:52'::timestamp) - extract(epoch from '2026-06-08 20:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135334 -2.82672)'), GeomFromEWKT('SRID=4674;POINT (-40.135268 -2.826816)'))) / (select extract(epoch from '2026-06-08 20:22:52'::timestamp) - extract(epoch from '2026-06-08 20:22: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'), 46706, 'SRID=4674;POINT (-40.13512 -2.826933)', '2026-06-08 20:23:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135268 -2.826816)'), GeomFromEWKT('SRID=4674;POINT (-40.13512 -2.826933)'))) / (select extract(epoch from '2026-06-08 20:23:02'::timestamp) - extract(epoch from '2026-06-08 20:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135268 -2.826816)'), GeomFromEWKT('SRID=4674;POINT (-40.13512 -2.826933)'))) / (select extract(epoch from '2026-06-08 20:23:02'::timestamp) - extract(epoch from '2026-06-08 20:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134938 -2.827083)', '2026-06-08 20:23:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13512 -2.826933)'), GeomFromEWKT('SRID=4674;POINT (-40.134938 -2.827083)'))) / (select extract(epoch from '2026-06-08 20:23:13'::timestamp) - extract(epoch from '2026-06-08 20:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13512 -2.826933)'), GeomFromEWKT('SRID=4674;POINT (-40.134938 -2.827083)'))) / (select extract(epoch from '2026-06-08 20:23:13'::timestamp) - extract(epoch from '2026-06-08 20:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134742 -2.827224)', '2026-06-08 20:23:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134938 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.827224)'))) / (select extract(epoch from '2026-06-08 20:23:24'::timestamp) - extract(epoch from '2026-06-08 20:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134938 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.827224)'))) / (select extract(epoch from '2026-06-08 20:23:24'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.134542 -2.82733)', '2026-06-08 20:23:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.827224)'), GeomFromEWKT('SRID=4674;POINT (-40.134542 -2.82733)'))) / (select extract(epoch from '2026-06-08 20:23:35'::timestamp) - extract(epoch from '2026-06-08 20:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134742 -2.827224)'), GeomFromEWKT('SRID=4674;POINT (-40.134542 -2.82733)'))) / (select extract(epoch from '2026-06-08 20:23:35'::timestamp) - extract(epoch from '2026-06-08 20:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.134381 -2.827434)', '2026-06-08 20:23:44', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134542 -2.82733)'), GeomFromEWKT('SRID=4674;POINT (-40.134381 -2.827434)'))) / (select extract(epoch from '2026-06-08 20:23:44'::timestamp) - extract(epoch from '2026-06-08 20:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134542 -2.82733)'), GeomFromEWKT('SRID=4674;POINT (-40.134381 -2.827434)'))) / (select extract(epoch from '2026-06-08 20:23:44'::timestamp) - extract(epoch from '2026-06-08 20:23: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'), 46706, 'SRID=4674;POINT (-40.13429 -2.827582)', '2026-06-08 20:23:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134381 -2.827434)'), GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.827582)'))) / (select extract(epoch from '2026-06-08 20:23:53'::timestamp) - extract(epoch from '2026-06-08 20:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134381 -2.827434)'), GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.827582)'))) / (select extract(epoch from '2026-06-08 20:23:53'::timestamp) - extract(epoch from '2026-06-08 20:23: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'), 46706, 'SRID=4674;POINT (-40.134144 -2.827745)', '2026-06-08 20:24:03', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.827582)'), GeomFromEWKT('SRID=4674;POINT (-40.134144 -2.827745)'))) / (select extract(epoch from '2026-06-08 20:24:03'::timestamp) - extract(epoch from '2026-06-08 20:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.827582)'), GeomFromEWKT('SRID=4674;POINT (-40.134144 -2.827745)'))) / (select extract(epoch from '2026-06-08 20:24:03'::timestamp) - extract(epoch from '2026-06-08 20:23: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'), 46706, 'SRID=4674;POINT (-40.134121 -2.827905)', '2026-06-08 20:24:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134144 -2.827745)'), GeomFromEWKT('SRID=4674;POINT (-40.134121 -2.827905)'))) / (select extract(epoch from '2026-06-08 20:24:11'::timestamp) - extract(epoch from '2026-06-08 20:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134144 -2.827745)'), GeomFromEWKT('SRID=4674;POINT (-40.134121 -2.827905)'))) / (select extract(epoch from '2026-06-08 20:24:11'::timestamp) - extract(epoch from '2026-06-08 20:24: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'), 46706, 'SRID=4674;POINT (-40.134092 -2.828084)', '2026-06-08 20:24:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134121 -2.827905)'), GeomFromEWKT('SRID=4674;POINT (-40.134092 -2.828084)'))) / (select extract(epoch from '2026-06-08 20:24:20'::timestamp) - extract(epoch from '2026-06-08 20:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134121 -2.827905)'), GeomFromEWKT('SRID=4674;POINT (-40.134092 -2.828084)'))) / (select extract(epoch from '2026-06-08 20:24:20'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.134063 -2.828287)', '2026-06-08 20:24:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134092 -2.828084)'), GeomFromEWKT('SRID=4674;POINT (-40.134063 -2.828287)'))) / (select extract(epoch from '2026-06-08 20:24:30'::timestamp) - extract(epoch from '2026-06-08 20:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134092 -2.828084)'), GeomFromEWKT('SRID=4674;POINT (-40.134063 -2.828287)'))) / (select extract(epoch from '2026-06-08 20:24:30'::timestamp) - extract(epoch from '2026-06-08 20:24: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'), 46706, 'SRID=4674;POINT (-40.133981 -2.828488)', '2026-06-08 20:24:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134063 -2.828287)'), GeomFromEWKT('SRID=4674;POINT (-40.133981 -2.828488)'))) / (select extract(epoch from '2026-06-08 20:24:41'::timestamp) - extract(epoch from '2026-06-08 20:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134063 -2.828287)'), GeomFromEWKT('SRID=4674;POINT (-40.133981 -2.828488)'))) / (select extract(epoch from '2026-06-08 20:24:41'::timestamp) - extract(epoch from '2026-06-08 20:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133859 -2.828638)', '2026-06-08 20:24:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133981 -2.828488)'), GeomFromEWKT('SRID=4674;POINT (-40.133859 -2.828638)'))) / (select extract(epoch from '2026-06-08 20:24:51'::timestamp) - extract(epoch from '2026-06-08 20:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133981 -2.828488)'), GeomFromEWKT('SRID=4674;POINT (-40.133859 -2.828638)'))) / (select extract(epoch from '2026-06-08 20:24:51'::timestamp) - extract(epoch from '2026-06-08 20:24: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'), 46706, 'SRID=4674;POINT (-40.133739 -2.828804)', '2026-06-08 20:25:01', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133859 -2.828638)'), GeomFromEWKT('SRID=4674;POINT (-40.133739 -2.828804)'))) / (select extract(epoch from '2026-06-08 20:25:01'::timestamp) - extract(epoch from '2026-06-08 20:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133859 -2.828638)'), GeomFromEWKT('SRID=4674;POINT (-40.133739 -2.828804)'))) / (select extract(epoch from '2026-06-08 20:25:01'::timestamp) - extract(epoch from '2026-06-08 20:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133623 -2.828977)', '2026-06-08 20:25:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133739 -2.828804)'), GeomFromEWKT('SRID=4674;POINT (-40.133623 -2.828977)'))) / (select extract(epoch from '2026-06-08 20:25:11'::timestamp) - extract(epoch from '2026-06-08 20:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133739 -2.828804)'), GeomFromEWKT('SRID=4674;POINT (-40.133623 -2.828977)'))) / (select extract(epoch from '2026-06-08 20:25:11'::timestamp) - extract(epoch from '2026-06-08 20:25: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'), 46706, 'SRID=4674;POINT (-40.133479 -2.829228)', '2026-06-08 20:25:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133623 -2.828977)'), GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829228)'))) / (select extract(epoch from '2026-06-08 20:25:26'::timestamp) - extract(epoch from '2026-06-08 20:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133623 -2.828977)'), GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829228)'))) / (select extract(epoch from '2026-06-08 20:25:26'::timestamp) - extract(epoch from '2026-06-08 20:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133363 -2.829429)', '2026-06-08 20:25:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829228)'), GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829429)'))) / (select extract(epoch from '2026-06-08 20:25:38'::timestamp) - extract(epoch from '2026-06-08 20:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829228)'), GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829429)'))) / (select extract(epoch from '2026-06-08 20:25:38'::timestamp) - extract(epoch from '2026-06-08 20:25: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'), 46706, 'SRID=4674;POINT (-40.133275 -2.829623)', '2026-06-08 20:25:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829429)'), GeomFromEWKT('SRID=4674;POINT (-40.133275 -2.829623)'))) / (select extract(epoch from '2026-06-08 20:25:49'::timestamp) - extract(epoch from '2026-06-08 20:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829429)'), GeomFromEWKT('SRID=4674;POINT (-40.133275 -2.829623)'))) / (select extract(epoch from '2026-06-08 20:25:49'::timestamp) - extract(epoch from '2026-06-08 20:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133199 -2.829799)', '2026-06-08 20:25:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133275 -2.829623)'), GeomFromEWKT('SRID=4674;POINT (-40.133199 -2.829799)'))) / (select extract(epoch from '2026-06-08 20:25:59'::timestamp) - extract(epoch from '2026-06-08 20:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133275 -2.829623)'), GeomFromEWKT('SRID=4674;POINT (-40.133199 -2.829799)'))) / (select extract(epoch from '2026-06-08 20:25:59'::timestamp) - extract(epoch from '2026-06-08 20:25: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'), 46706, 'SRID=4674;POINT (-40.133157 -2.829931)', '2026-06-08 20:26:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133199 -2.829799)'), GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.829931)'))) / (select extract(epoch from '2026-06-08 20:26:07'::timestamp) - extract(epoch from '2026-06-08 20:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133199 -2.829799)'), GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.829931)'))) / (select extract(epoch from '2026-06-08 20:26:07'::timestamp) - extract(epoch from '2026-06-08 20:25: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'), 46706, 'SRID=4674;POINT (-40.133183 -2.830083)', '2026-06-08 20:26:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.829931)'), GeomFromEWKT('SRID=4674;POINT (-40.133183 -2.830083)'))) / (select extract(epoch from '2026-06-08 20:26:16'::timestamp) - extract(epoch from '2026-06-08 20:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.829931)'), GeomFromEWKT('SRID=4674;POINT (-40.133183 -2.830083)'))) / (select extract(epoch from '2026-06-08 20:26:16'::timestamp) - extract(epoch from '2026-06-08 20:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133173 -2.830275)', '2026-06-08 20:26:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133183 -2.830083)'), GeomFromEWKT('SRID=4674;POINT (-40.133173 -2.830275)'))) / (select extract(epoch from '2026-06-08 20:26:27'::timestamp) - extract(epoch from '2026-06-08 20:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133183 -2.830083)'), GeomFromEWKT('SRID=4674;POINT (-40.133173 -2.830275)'))) / (select extract(epoch from '2026-06-08 20:26:27'::timestamp) - extract(epoch from '2026-06-08 20:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133143 -2.830437)', '2026-06-08 20:26:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133173 -2.830275)'), GeomFromEWKT('SRID=4674;POINT (-40.133143 -2.830437)'))) / (select extract(epoch from '2026-06-08 20:26:36'::timestamp) - extract(epoch from '2026-06-08 20:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133173 -2.830275)'), GeomFromEWKT('SRID=4674;POINT (-40.133143 -2.830437)'))) / (select extract(epoch from '2026-06-08 20:26:36'::timestamp) - extract(epoch from '2026-06-08 20:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133096 -2.830633)', '2026-06-08 20:26:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133143 -2.830437)'), GeomFromEWKT('SRID=4674;POINT (-40.133096 -2.830633)'))) / (select extract(epoch from '2026-06-08 20:26:47'::timestamp) - extract(epoch from '2026-06-08 20:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133143 -2.830437)'), GeomFromEWKT('SRID=4674;POINT (-40.133096 -2.830633)'))) / (select extract(epoch from '2026-06-08 20:26:47'::timestamp) - extract(epoch from '2026-06-08 20:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.133043 -2.830804)', '2026-06-08 20:26:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133096 -2.830633)'), GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.830804)'))) / (select extract(epoch from '2026-06-08 20:26:57'::timestamp) - extract(epoch from '2026-06-08 20:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133096 -2.830633)'), GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.830804)'))) / (select extract(epoch from '2026-06-08 20:26:57'::timestamp) - extract(epoch from '2026-06-08 20:26: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'), 46706, 'SRID=4674;POINT (-40.132974 -2.830971)', '2026-06-08 20:27:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.830804)'), GeomFromEWKT('SRID=4674;POINT (-40.132974 -2.830971)'))) / (select extract(epoch from '2026-06-08 20:27:07'::timestamp) - extract(epoch from '2026-06-08 20:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.830804)'), GeomFromEWKT('SRID=4674;POINT (-40.132974 -2.830971)'))) / (select extract(epoch from '2026-06-08 20:27:07'::timestamp) - extract(epoch from '2026-06-08 20:26: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'), 46706, 'SRID=4674;POINT (-40.132853 -2.831188)', '2026-06-08 20:27:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132974 -2.830971)'), GeomFromEWKT('SRID=4674;POINT (-40.132853 -2.831188)'))) / (select extract(epoch from '2026-06-08 20:27:20'::timestamp) - extract(epoch from '2026-06-08 20:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132974 -2.830971)'), GeomFromEWKT('SRID=4674;POINT (-40.132853 -2.831188)'))) / (select extract(epoch from '2026-06-08 20:27:20'::timestamp) - extract(epoch from '2026-06-08 20:27: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'), 46706, 'SRID=4674;POINT (-40.132776 -2.831358)', '2026-06-08 20:27:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132853 -2.831188)'), GeomFromEWKT('SRID=4674;POINT (-40.132776 -2.831358)'))) / (select extract(epoch from '2026-06-08 20:27:30'::timestamp) - extract(epoch from '2026-06-08 20:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132853 -2.831188)'), GeomFromEWKT('SRID=4674;POINT (-40.132776 -2.831358)'))) / (select extract(epoch from '2026-06-08 20:27:30'::timestamp) - extract(epoch from '2026-06-08 20:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.132683 -2.831574)', '2026-06-08 20:27:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132776 -2.831358)'), GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.831574)'))) / (select extract(epoch from '2026-06-08 20:27:43'::timestamp) - extract(epoch from '2026-06-08 20:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132776 -2.831358)'), GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.831574)'))) / (select extract(epoch from '2026-06-08 20:27:43'::timestamp) - extract(epoch from '2026-06-08 20:27: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'), 46706, 'SRID=4674;POINT (-40.132582 -2.831761)', '2026-06-08 20:27:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.831574)'), GeomFromEWKT('SRID=4674;POINT (-40.132582 -2.831761)'))) / (select extract(epoch from '2026-06-08 20:27:54'::timestamp) - extract(epoch from '2026-06-08 20:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.831574)'), GeomFromEWKT('SRID=4674;POINT (-40.132582 -2.831761)'))) / (select extract(epoch from '2026-06-08 20:27:54'::timestamp) - extract(epoch from '2026-06-08 20:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.132474 -2.831954)', '2026-06-08 20:28:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132582 -2.831761)'), GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.831954)'))) / (select extract(epoch from '2026-06-08 20:28:06'::timestamp) - extract(epoch from '2026-06-08 20:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132582 -2.831761)'), GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.831954)'))) / (select extract(epoch from '2026-06-08 20:28:06'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.132357 -2.832139)', '2026-06-08 20:28:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.831954)'), GeomFromEWKT('SRID=4674;POINT (-40.132357 -2.832139)'))) / (select extract(epoch from '2026-06-08 20:28:18'::timestamp) - extract(epoch from '2026-06-08 20:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.831954)'), GeomFromEWKT('SRID=4674;POINT (-40.132357 -2.832139)'))) / (select extract(epoch from '2026-06-08 20:28:18'::timestamp) - extract(epoch from '2026-06-08 20:28: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'), 46706, 'SRID=4674;POINT (-40.132224 -2.832307)', '2026-06-08 20:28:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132357 -2.832139)'), GeomFromEWKT('SRID=4674;POINT (-40.132224 -2.832307)'))) / (select extract(epoch from '2026-06-08 20:28:29'::timestamp) - extract(epoch from '2026-06-08 20:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132357 -2.832139)'), GeomFromEWKT('SRID=4674;POINT (-40.132224 -2.832307)'))) / (select extract(epoch from '2026-06-08 20:28:29'::timestamp) - extract(epoch from '2026-06-08 20:28: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'), 46706, 'SRID=4674;POINT (-40.132111 -2.832503)', '2026-06-08 20:28:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132224 -2.832307)'), GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832503)'))) / (select extract(epoch from '2026-06-08 20:28:41'::timestamp) - extract(epoch from '2026-06-08 20:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132224 -2.832307)'), GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832503)'))) / (select extract(epoch from '2026-06-08 20:28:41'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.132002 -2.832698)', '2026-06-08 20:28:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832503)'), GeomFromEWKT('SRID=4674;POINT (-40.132002 -2.832698)'))) / (select extract(epoch from '2026-06-08 20:28:53'::timestamp) - extract(epoch from '2026-06-08 20:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832503)'), GeomFromEWKT('SRID=4674;POINT (-40.132002 -2.832698)'))) / (select extract(epoch from '2026-06-08 20:28:53'::timestamp) - extract(epoch from '2026-06-08 20:28: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'), 46706, 'SRID=4674;POINT (-40.131909 -2.832855)', '2026-06-08 20:29:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132002 -2.832698)'), GeomFromEWKT('SRID=4674;POINT (-40.131909 -2.832855)'))) / (select extract(epoch from '2026-06-08 20:29:03'::timestamp) - extract(epoch from '2026-06-08 20:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132002 -2.832698)'), GeomFromEWKT('SRID=4674;POINT (-40.131909 -2.832855)'))) / (select extract(epoch from '2026-06-08 20:29:03'::timestamp) - extract(epoch from '2026-06-08 20:28: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'), 46706, 'SRID=4674;POINT (-40.131832 -2.833021)', '2026-06-08 20:29:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131909 -2.832855)'), GeomFromEWKT('SRID=4674;POINT (-40.131832 -2.833021)'))) / (select extract(epoch from '2026-06-08 20:29:13'::timestamp) - extract(epoch from '2026-06-08 20:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131909 -2.832855)'), GeomFromEWKT('SRID=4674;POINT (-40.131832 -2.833021)'))) / (select extract(epoch from '2026-06-08 20:29:13'::timestamp) - extract(epoch from '2026-06-08 20:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131751 -2.833192)', '2026-06-08 20:29:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131832 -2.833021)'), GeomFromEWKT('SRID=4674;POINT (-40.131751 -2.833192)'))) / (select extract(epoch from '2026-06-08 20:29:23'::timestamp) - extract(epoch from '2026-06-08 20:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131832 -2.833021)'), GeomFromEWKT('SRID=4674;POINT (-40.131751 -2.833192)'))) / (select extract(epoch from '2026-06-08 20:29:23'::timestamp) - extract(epoch from '2026-06-08 20:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131687 -2.833371)', '2026-06-08 20:29:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131751 -2.833192)'), GeomFromEWKT('SRID=4674;POINT (-40.131687 -2.833371)'))) / (select extract(epoch from '2026-06-08 20:29:33'::timestamp) - extract(epoch from '2026-06-08 20:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131751 -2.833192)'), GeomFromEWKT('SRID=4674;POINT (-40.131687 -2.833371)'))) / (select extract(epoch from '2026-06-08 20:29:33'::timestamp) - extract(epoch from '2026-06-08 20:29: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'), 46706, 'SRID=4674;POINT (-40.131601 -2.833565)', '2026-06-08 20:29:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131687 -2.833371)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.833565)'))) / (select extract(epoch from '2026-06-08 20:29:44'::timestamp) - extract(epoch from '2026-06-08 20:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131687 -2.833371)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.833565)'))) / (select extract(epoch from '2026-06-08 20:29:44'::timestamp) - extract(epoch from '2026-06-08 20:29: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'), 46706, 'SRID=4674;POINT (-40.131538 -2.833747)', '2026-06-08 20:29:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.833565)'), GeomFromEWKT('SRID=4674;POINT (-40.131538 -2.833747)'))) / (select extract(epoch from '2026-06-08 20:29:54'::timestamp) - extract(epoch from '2026-06-08 20:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.833565)'), GeomFromEWKT('SRID=4674;POINT (-40.131538 -2.833747)'))) / (select extract(epoch from '2026-06-08 20:29:54'::timestamp) - extract(epoch from '2026-06-08 20:29: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'), 46706, 'SRID=4674;POINT (-40.131465 -2.833925)', '2026-06-08 20:30:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131538 -2.833747)'), GeomFromEWKT('SRID=4674;POINT (-40.131465 -2.833925)'))) / (select extract(epoch from '2026-06-08 20:30:04'::timestamp) - extract(epoch from '2026-06-08 20:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131538 -2.833747)'), GeomFromEWKT('SRID=4674;POINT (-40.131465 -2.833925)'))) / (select extract(epoch from '2026-06-08 20:30:04'::timestamp) - extract(epoch from '2026-06-08 20:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13139 -2.834096)', '2026-06-08 20:30:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131465 -2.833925)'), GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.834096)'))) / (select extract(epoch from '2026-06-08 20:30:14'::timestamp) - extract(epoch from '2026-06-08 20:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131465 -2.833925)'), GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.834096)'))) / (select extract(epoch from '2026-06-08 20:30:14'::timestamp) - extract(epoch from '2026-06-08 20:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131305 -2.834278)', '2026-06-08 20:30:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.834096)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834278)'))) / (select extract(epoch from '2026-06-08 20:30:25'::timestamp) - extract(epoch from '2026-06-08 20:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.834096)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834278)'))) / (select extract(epoch from '2026-06-08 20:30:25'::timestamp) - extract(epoch from '2026-06-08 20:30: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'), 46706, 'SRID=4674;POINT (-40.131236 -2.834445)', '2026-06-08 20:30:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834278)'), GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834445)'))) / (select extract(epoch from '2026-06-08 20:30:35'::timestamp) - extract(epoch from '2026-06-08 20:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.834278)'), GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834445)'))) / (select extract(epoch from '2026-06-08 20:30:35'::timestamp) - extract(epoch from '2026-06-08 20:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131165 -2.834616)', '2026-06-08 20:30:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834445)'), GeomFromEWKT('SRID=4674;POINT (-40.131165 -2.834616)'))) / (select extract(epoch from '2026-06-08 20:30:45'::timestamp) - extract(epoch from '2026-06-08 20:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834445)'), GeomFromEWKT('SRID=4674;POINT (-40.131165 -2.834616)'))) / (select extract(epoch from '2026-06-08 20:30:45'::timestamp) - extract(epoch from '2026-06-08 20:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131098 -2.834767)', '2026-06-08 20:30:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131165 -2.834616)'), GeomFromEWKT('SRID=4674;POINT (-40.131098 -2.834767)'))) / (select extract(epoch from '2026-06-08 20:30:54'::timestamp) - extract(epoch from '2026-06-08 20:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131165 -2.834616)'), GeomFromEWKT('SRID=4674;POINT (-40.131098 -2.834767)'))) / (select extract(epoch from '2026-06-08 20:30:54'::timestamp) - extract(epoch from '2026-06-08 20:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13105 -2.834925)', '2026-06-08 20:31:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131098 -2.834767)'), GeomFromEWKT('SRID=4674;POINT (-40.13105 -2.834925)'))) / (select extract(epoch from '2026-06-08 20:31:03'::timestamp) - extract(epoch from '2026-06-08 20:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131098 -2.834767)'), GeomFromEWKT('SRID=4674;POINT (-40.13105 -2.834925)'))) / (select extract(epoch from '2026-06-08 20:31:03'::timestamp) - extract(epoch from '2026-06-08 20:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.131 -2.835078)', '2026-06-08 20:31:12', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13105 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835078)'))) / (select extract(epoch from '2026-06-08 20:31:12'::timestamp) - extract(epoch from '2026-06-08 20:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13105 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835078)'))) / (select extract(epoch from '2026-06-08 20:31:12'::timestamp) - extract(epoch from '2026-06-08 20:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.13092 -2.835275)', '2026-06-08 20:31:24', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835078)'), GeomFromEWKT('SRID=4674;POINT (-40.13092 -2.835275)'))) / (select extract(epoch from '2026-06-08 20:31:24'::timestamp) - extract(epoch from '2026-06-08 20:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835078)'), GeomFromEWKT('SRID=4674;POINT (-40.13092 -2.835275)'))) / (select extract(epoch from '2026-06-08 20:31:24'::timestamp) - extract(epoch from '2026-06-08 20:31: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'), 46706, 'SRID=4674;POINT (-40.130849 -2.835436)', '2026-06-08 20:31:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13092 -2.835275)'), GeomFromEWKT('SRID=4674;POINT (-40.130849 -2.835436)'))) / (select extract(epoch from '2026-06-08 20:31:33'::timestamp) - extract(epoch from '2026-06-08 20:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13092 -2.835275)'), GeomFromEWKT('SRID=4674;POINT (-40.130849 -2.835436)'))) / (select extract(epoch from '2026-06-08 20:31:33'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.130777 -2.835627)', '2026-06-08 20:31:44', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130849 -2.835436)'), GeomFromEWKT('SRID=4674;POINT (-40.130777 -2.835627)'))) / (select extract(epoch from '2026-06-08 20:31:44'::timestamp) - extract(epoch from '2026-06-08 20:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130849 -2.835436)'), GeomFromEWKT('SRID=4674;POINT (-40.130777 -2.835627)'))) / (select extract(epoch from '2026-06-08 20:31:44'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.130715 -2.835835)', '2026-06-08 20:31:56', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130777 -2.835627)'), GeomFromEWKT('SRID=4674;POINT (-40.130715 -2.835835)'))) / (select extract(epoch from '2026-06-08 20:31:56'::timestamp) - extract(epoch from '2026-06-08 20:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130777 -2.835627)'), GeomFromEWKT('SRID=4674;POINT (-40.130715 -2.835835)'))) / (select extract(epoch from '2026-06-08 20:31:56'::timestamp) - extract(epoch from '2026-06-08 20:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130689 -2.835994)', '2026-06-08 20:32:05', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130715 -2.835835)'), GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.835994)'))) / (select extract(epoch from '2026-06-08 20:32:05'::timestamp) - extract(epoch from '2026-06-08 20:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130715 -2.835835)'), GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.835994)'))) / (select extract(epoch from '2026-06-08 20:32:05'::timestamp) - extract(epoch from '2026-06-08 20:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130644 -2.836157)', '2026-06-08 20:32:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.835994)'), GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.836157)'))) / (select extract(epoch from '2026-06-08 20:32:14'::timestamp) - extract(epoch from '2026-06-08 20:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130689 -2.835994)'), GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.836157)'))) / (select extract(epoch from '2026-06-08 20:32:14'::timestamp) - extract(epoch from '2026-06-08 20:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130604 -2.836346)', '2026-06-08 20:32:25', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.836157)'), GeomFromEWKT('SRID=4674;POINT (-40.130604 -2.836346)'))) / (select extract(epoch from '2026-06-08 20:32:25'::timestamp) - extract(epoch from '2026-06-08 20:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.836157)'), GeomFromEWKT('SRID=4674;POINT (-40.130604 -2.836346)'))) / (select extract(epoch from '2026-06-08 20:32:25'::timestamp) - extract(epoch from '2026-06-08 20:32: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'), 46706, 'SRID=4674;POINT (-40.130553 -2.836543)', '2026-06-08 20:32:36', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130604 -2.836346)'), GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.836543)'))) / (select extract(epoch from '2026-06-08 20:32:36'::timestamp) - extract(epoch from '2026-06-08 20:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130604 -2.836346)'), GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.836543)'))) / (select extract(epoch from '2026-06-08 20:32:36'::timestamp) - extract(epoch from '2026-06-08 20:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130515 -2.836706)', '2026-06-08 20:32:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.836543)'), GeomFromEWKT('SRID=4674;POINT (-40.130515 -2.836706)'))) / (select extract(epoch from '2026-06-08 20:32:45'::timestamp) - extract(epoch from '2026-06-08 20:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130553 -2.836543)'), GeomFromEWKT('SRID=4674;POINT (-40.130515 -2.836706)'))) / (select extract(epoch from '2026-06-08 20:32:45'::timestamp) - extract(epoch from '2026-06-08 20:32: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'), 46706, 'SRID=4674;POINT (-40.130491 -2.836891)', '2026-06-08 20:32:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130515 -2.836706)'), GeomFromEWKT('SRID=4674;POINT (-40.130491 -2.836891)'))) / (select extract(epoch from '2026-06-08 20:32:55'::timestamp) - extract(epoch from '2026-06-08 20:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130515 -2.836706)'), GeomFromEWKT('SRID=4674;POINT (-40.130491 -2.836891)'))) / (select extract(epoch from '2026-06-08 20:32:55'::timestamp) - extract(epoch from '2026-06-08 20:32: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'), 46706, 'SRID=4674;POINT (-40.130475 -2.837055)', '2026-06-08 20:33:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130491 -2.836891)'), GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.837055)'))) / (select extract(epoch from '2026-06-08 20:33:04'::timestamp) - extract(epoch from '2026-06-08 20:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130491 -2.836891)'), GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.837055)'))) / (select extract(epoch from '2026-06-08 20:33:04'::timestamp) - extract(epoch from '2026-06-08 20:32: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'), 46706, 'SRID=4674;POINT (-40.13045 -2.837213)', '2026-06-08 20:33:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.837055)'), GeomFromEWKT('SRID=4674;POINT (-40.13045 -2.837213)'))) / (select extract(epoch from '2026-06-08 20:33:13'::timestamp) - extract(epoch from '2026-06-08 20:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.837055)'), GeomFromEWKT('SRID=4674;POINT (-40.13045 -2.837213)'))) / (select extract(epoch from '2026-06-08 20:33:13'::timestamp) - extract(epoch from '2026-06-08 20:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130449 -2.837373)', '2026-06-08 20:33:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13045 -2.837213)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.837373)'))) / (select extract(epoch from '2026-06-08 20:33:22'::timestamp) - extract(epoch from '2026-06-08 20:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13045 -2.837213)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.837373)'))) / (select extract(epoch from '2026-06-08 20:33:22'::timestamp) - extract(epoch from '2026-06-08 20:33: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'), 46706, 'SRID=4674;POINT (-40.130429 -2.837517)', '2026-06-08 20:33:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.837373)'), GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.837517)'))) / (select extract(epoch from '2026-06-08 20:33:31'::timestamp) - extract(epoch from '2026-06-08 20:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.837373)'), GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.837517)'))) / (select extract(epoch from '2026-06-08 20:33:31'::timestamp) - extract(epoch from '2026-06-08 20:33: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'), 46706, 'SRID=4674;POINT (-40.130398 -2.837696)', '2026-06-08 20:33:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.837517)'), GeomFromEWKT('SRID=4674;POINT (-40.130398 -2.837696)'))) / (select extract(epoch from '2026-06-08 20:33:41'::timestamp) - extract(epoch from '2026-06-08 20:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.837517)'), GeomFromEWKT('SRID=4674;POINT (-40.130398 -2.837696)'))) / (select extract(epoch from '2026-06-08 20:33:41'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.130372 -2.837858)', '2026-06-08 20:33:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130398 -2.837696)'), GeomFromEWKT('SRID=4674;POINT (-40.130372 -2.837858)'))) / (select extract(epoch from '2026-06-08 20:33:50'::timestamp) - extract(epoch from '2026-06-08 20:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130398 -2.837696)'), GeomFromEWKT('SRID=4674;POINT (-40.130372 -2.837858)'))) / (select extract(epoch from '2026-06-08 20:33:50'::timestamp) - extract(epoch from '2026-06-08 20:33: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'), 46706, 'SRID=4674;POINT (-40.130354 -2.838015)', '2026-06-08 20:33:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130372 -2.837858)'), GeomFromEWKT('SRID=4674;POINT (-40.130354 -2.838015)'))) / (select extract(epoch from '2026-06-08 20:33:59'::timestamp) - extract(epoch from '2026-06-08 20:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130372 -2.837858)'), GeomFromEWKT('SRID=4674;POINT (-40.130354 -2.838015)'))) / (select extract(epoch from '2026-06-08 20:33:59'::timestamp) - extract(epoch from '2026-06-08 20:33: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'), 46706, 'SRID=4674;POINT (-40.13036 -2.838167)', '2026-06-08 20:34:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130354 -2.838015)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838167)'))) / (select extract(epoch from '2026-06-08 20:34:08'::timestamp) - extract(epoch from '2026-06-08 20:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130354 -2.838015)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838167)'))) / (select extract(epoch from '2026-06-08 20:34:08'::timestamp) - extract(epoch from '2026-06-08 20:33: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'), 46706, 'SRID=4674;POINT (-40.130344 -2.838352)', '2026-06-08 20:34:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838167)'), GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.838352)'))) / (select extract(epoch from '2026-06-08 20:34:18'::timestamp) - extract(epoch from '2026-06-08 20:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.838167)'), GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.838352)'))) / (select extract(epoch from '2026-06-08 20:34:18'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.130333 -2.838547)', '2026-06-08 20:34:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.838352)'), GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.838547)'))) / (select extract(epoch from '2026-06-08 20:34:29'::timestamp) - extract(epoch from '2026-06-08 20:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.838352)'), GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.838547)'))) / (select extract(epoch from '2026-06-08 20:34:29'::timestamp) - extract(epoch from '2026-06-08 20:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.130312 -2.838731)', '2026-06-08 20:34:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.838547)'), GeomFromEWKT('SRID=4674;POINT (-40.130312 -2.838731)'))) / (select extract(epoch from '2026-06-08 20:34:39'::timestamp) - extract(epoch from '2026-06-08 20:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.838547)'), GeomFromEWKT('SRID=4674;POINT (-40.130312 -2.838731)'))) / (select extract(epoch from '2026-06-08 20:34:39'::timestamp) - extract(epoch from '2026-06-08 20:34: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'), 46706, 'SRID=4674;POINT (-40.13027 -2.838908)', '2026-06-08 20:34:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130312 -2.838731)'), GeomFromEWKT('SRID=4674;POINT (-40.13027 -2.838908)'))) / (select extract(epoch from '2026-06-08 20:34:49'::timestamp) - extract(epoch from '2026-06-08 20:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130312 -2.838731)'), GeomFromEWKT('SRID=4674;POINT (-40.13027 -2.838908)'))) / (select extract(epoch from '2026-06-08 20:34:49'::timestamp) - extract(epoch from '2026-06-08 20:34: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'), 46706, 'SRID=4674;POINT (-40.130239 -2.839088)', '2026-06-08 20:34:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13027 -2.838908)'), GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.839088)'))) / (select extract(epoch from '2026-06-08 20:34:59'::timestamp) - extract(epoch from '2026-06-08 20:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13027 -2.838908)'), GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.839088)'))) / (select extract(epoch from '2026-06-08 20:34:59'::timestamp) - extract(epoch from '2026-06-08 20:34: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'), 46706, 'SRID=4674;POINT (-40.130201 -2.839253)', '2026-06-08 20:35:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.839088)'), GeomFromEWKT('SRID=4674;POINT (-40.130201 -2.839253)'))) / (select extract(epoch from '2026-06-08 20:35:08'::timestamp) - extract(epoch from '2026-06-08 20:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.839088)'), GeomFromEWKT('SRID=4674;POINT (-40.130201 -2.839253)'))) / (select extract(epoch from '2026-06-08 20:35:08'::timestamp) - extract(epoch from '2026-06-08 20:34: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'), 46706, 'SRID=4674;POINT (-40.130159 -2.83945)', '2026-06-08 20:35:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130201 -2.839253)'), GeomFromEWKT('SRID=4674;POINT (-40.130159 -2.83945)'))) / (select extract(epoch from '2026-06-08 20:35:19'::timestamp) - extract(epoch from '2026-06-08 20:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130201 -2.839253)'), GeomFromEWKT('SRID=4674;POINT (-40.130159 -2.83945)'))) / (select extract(epoch from '2026-06-08 20:35:19'::timestamp) - extract(epoch from '2026-06-08 20:35: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'), 46706, 'SRID=4674;POINT (-40.130112 -2.839629)', '2026-06-08 20:35:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130159 -2.83945)'), GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839629)'))) / (select extract(epoch from '2026-06-08 20:35:29'::timestamp) - extract(epoch from '2026-06-08 20:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130159 -2.83945)'), GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839629)'))) / (select extract(epoch from '2026-06-08 20:35:29'::timestamp) - extract(epoch from '2026-06-08 20:35: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'), 46706, 'SRID=4674;POINT (-40.130048 -2.839825)', '2026-06-08 20:35:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839629)'), GeomFromEWKT('SRID=4674;POINT (-40.130048 -2.839825)'))) / (select extract(epoch from '2026-06-08 20:35:40'::timestamp) - extract(epoch from '2026-06-08 20:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839629)'), GeomFromEWKT('SRID=4674;POINT (-40.130048 -2.839825)'))) / (select extract(epoch from '2026-06-08 20:35:40'::timestamp) - extract(epoch from '2026-06-08 20:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.129961 -2.839996)', '2026-06-08 20:35:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130048 -2.839825)'), GeomFromEWKT('SRID=4674;POINT (-40.129961 -2.839996)'))) / (select extract(epoch from '2026-06-08 20:35:50'::timestamp) - extract(epoch from '2026-06-08 20:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130048 -2.839825)'), GeomFromEWKT('SRID=4674;POINT (-40.129961 -2.839996)'))) / (select extract(epoch from '2026-06-08 20:35:50'::timestamp) - extract(epoch from '2026-06-08 20:35: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'), 46706, 'SRID=4674;POINT (-40.129906 -2.840168)', '2026-06-08 20:36:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129961 -2.839996)'), GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.840168)'))) / (select extract(epoch from '2026-06-08 20:36:00'::timestamp) - extract(epoch from '2026-06-08 20:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129961 -2.839996)'), GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.840168)'))) / (select extract(epoch from '2026-06-08 20:36:00'::timestamp) - extract(epoch from '2026-06-08 20:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.129847 -2.840369)', '2026-06-08 20:36:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.840168)'), GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.840369)'))) / (select extract(epoch from '2026-06-08 20:36:12'::timestamp) - extract(epoch from '2026-06-08 20:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.840168)'), GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.840369)'))) / (select extract(epoch from '2026-06-08 20:36:12'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129783 -2.840555)', '2026-06-08 20:36:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.840369)'), GeomFromEWKT('SRID=4674;POINT (-40.129783 -2.840555)'))) / (select extract(epoch from '2026-06-08 20:36:23'::timestamp) - extract(epoch from '2026-06-08 20:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.840369)'), GeomFromEWKT('SRID=4674;POINT (-40.129783 -2.840555)'))) / (select extract(epoch from '2026-06-08 20:36:23'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129714 -2.840716)', '2026-06-08 20:36:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129783 -2.840555)'), GeomFromEWKT('SRID=4674;POINT (-40.129714 -2.840716)'))) / (select extract(epoch from '2026-06-08 20:36:33'::timestamp) - extract(epoch from '2026-06-08 20:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129783 -2.840555)'), GeomFromEWKT('SRID=4674;POINT (-40.129714 -2.840716)'))) / (select extract(epoch from '2026-06-08 20:36:33'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129663 -2.840858)', '2026-06-08 20:36:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129714 -2.840716)'), GeomFromEWKT('SRID=4674;POINT (-40.129663 -2.840858)'))) / (select extract(epoch from '2026-06-08 20:36:42'::timestamp) - extract(epoch from '2026-06-08 20:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129714 -2.840716)'), GeomFromEWKT('SRID=4674;POINT (-40.129663 -2.840858)'))) / (select extract(epoch from '2026-06-08 20:36:42'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129607 -2.840994)', '2026-06-08 20:36:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129663 -2.840858)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.840994)'))) / (select extract(epoch from '2026-06-08 20:36:51'::timestamp) - extract(epoch from '2026-06-08 20:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129663 -2.840858)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.840994)'))) / (select extract(epoch from '2026-06-08 20:36:51'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129552 -2.841134)', '2026-06-08 20:37:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.840994)'), GeomFromEWKT('SRID=4674;POINT (-40.129552 -2.841134)'))) / (select extract(epoch from '2026-06-08 20:37:00'::timestamp) - extract(epoch from '2026-06-08 20:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.840994)'), GeomFromEWKT('SRID=4674;POINT (-40.129552 -2.841134)'))) / (select extract(epoch from '2026-06-08 20:37:00'::timestamp) - extract(epoch from '2026-06-08 20:36: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'), 46706, 'SRID=4674;POINT (-40.129508 -2.841273)', '2026-06-08 20:37:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129552 -2.841134)'), GeomFromEWKT('SRID=4674;POINT (-40.129508 -2.841273)'))) / (select extract(epoch from '2026-06-08 20:37:09'::timestamp) - extract(epoch from '2026-06-08 20:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129552 -2.841134)'), GeomFromEWKT('SRID=4674;POINT (-40.129508 -2.841273)'))) / (select extract(epoch from '2026-06-08 20:37:09'::timestamp) - extract(epoch from '2026-06-08 20:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.12944 -2.841453)', '2026-06-08 20:37:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129508 -2.841273)'), GeomFromEWKT('SRID=4674;POINT (-40.12944 -2.841453)'))) / (select extract(epoch from '2026-06-08 20:37:20'::timestamp) - extract(epoch from '2026-06-08 20:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129508 -2.841273)'), GeomFromEWKT('SRID=4674;POINT (-40.12944 -2.841453)'))) / (select extract(epoch from '2026-06-08 20:37:20'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.129368 -2.841636)', '2026-06-08 20:37:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12944 -2.841453)'), GeomFromEWKT('SRID=4674;POINT (-40.129368 -2.841636)'))) / (select extract(epoch from '2026-06-08 20:37:31'::timestamp) - extract(epoch from '2026-06-08 20:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12944 -2.841453)'), GeomFromEWKT('SRID=4674;POINT (-40.129368 -2.841636)'))) / (select extract(epoch from '2026-06-08 20:37:31'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.1293 -2.84184)', '2026-06-08 20:37:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129368 -2.841636)'), GeomFromEWKT('SRID=4674;POINT (-40.1293 -2.84184)'))) / (select extract(epoch from '2026-06-08 20:37:43'::timestamp) - extract(epoch from '2026-06-08 20:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129368 -2.841636)'), GeomFromEWKT('SRID=4674;POINT (-40.1293 -2.84184)'))) / (select extract(epoch from '2026-06-08 20:37:43'::timestamp) - extract(epoch from '2026-06-08 20:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.129241 -2.842005)', '2026-06-08 20:37:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1293 -2.84184)'), GeomFromEWKT('SRID=4674;POINT (-40.129241 -2.842005)'))) / (select extract(epoch from '2026-06-08 20:37:53'::timestamp) - extract(epoch from '2026-06-08 20:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1293 -2.84184)'), GeomFromEWKT('SRID=4674;POINT (-40.129241 -2.842005)'))) / (select extract(epoch from '2026-06-08 20:37:53'::timestamp) - extract(epoch from '2026-06-08 20:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.129163 -2.842187)', '2026-06-08 20:38:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129241 -2.842005)'), GeomFromEWKT('SRID=4674;POINT (-40.129163 -2.842187)'))) / (select extract(epoch from '2026-06-08 20:38:04'::timestamp) - extract(epoch from '2026-06-08 20:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129241 -2.842005)'), GeomFromEWKT('SRID=4674;POINT (-40.129163 -2.842187)'))) / (select extract(epoch from '2026-06-08 20:38:04'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.129106 -2.842367)', '2026-06-08 20:38:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129163 -2.842187)'), GeomFromEWKT('SRID=4674;POINT (-40.129106 -2.842367)'))) / (select extract(epoch from '2026-06-08 20:38:15'::timestamp) - extract(epoch from '2026-06-08 20:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129163 -2.842187)'), GeomFromEWKT('SRID=4674;POINT (-40.129106 -2.842367)'))) / (select extract(epoch from '2026-06-08 20:38:15'::timestamp) - extract(epoch from '2026-06-08 20:38: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'), 46706, 'SRID=4674;POINT (-40.12902 -2.842582)', '2026-06-08 20:38:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129106 -2.842367)'), GeomFromEWKT('SRID=4674;POINT (-40.12902 -2.842582)'))) / (select extract(epoch from '2026-06-08 20:38:28'::timestamp) - extract(epoch from '2026-06-08 20:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129106 -2.842367)'), GeomFromEWKT('SRID=4674;POINT (-40.12902 -2.842582)'))) / (select extract(epoch from '2026-06-08 20:38:28'::timestamp) - extract(epoch from '2026-06-08 20:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.128956 -2.84272)', '2026-06-08 20:38:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12902 -2.842582)'), GeomFromEWKT('SRID=4674;POINT (-40.128956 -2.84272)'))) / (select extract(epoch from '2026-06-08 20:38:37'::timestamp) - extract(epoch from '2026-06-08 20:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12902 -2.842582)'), GeomFromEWKT('SRID=4674;POINT (-40.128956 -2.84272)'))) / (select extract(epoch from '2026-06-08 20:38:37'::timestamp) - extract(epoch from '2026-06-08 20:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.128867 -2.84289)', '2026-06-08 20:38:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128956 -2.84272)'), GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.84289)'))) / (select extract(epoch from '2026-06-08 20:38:48'::timestamp) - extract(epoch from '2026-06-08 20:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128956 -2.84272)'), GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.84289)'))) / (select extract(epoch from '2026-06-08 20:38:48'::timestamp) - extract(epoch from '2026-06-08 20:38: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'), 46706, 'SRID=4674;POINT (-40.128788 -2.843073)', '2026-06-08 20:39:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.84289)'), GeomFromEWKT('SRID=4674;POINT (-40.128788 -2.843073)'))) / (select extract(epoch from '2026-06-08 20:39:00'::timestamp) - extract(epoch from '2026-06-08 20:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.84289)'), GeomFromEWKT('SRID=4674;POINT (-40.128788 -2.843073)'))) / (select extract(epoch from '2026-06-08 20:39:00'::timestamp) - extract(epoch from '2026-06-08 20:38: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'), 46706, 'SRID=4674;POINT (-40.128709 -2.843216)', '2026-06-08 20:39:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128788 -2.843073)'), GeomFromEWKT('SRID=4674;POINT (-40.128709 -2.843216)'))) / (select extract(epoch from '2026-06-08 20:39:09'::timestamp) - extract(epoch from '2026-06-08 20:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128788 -2.843073)'), GeomFromEWKT('SRID=4674;POINT (-40.128709 -2.843216)'))) / (select extract(epoch from '2026-06-08 20:39:09'::timestamp) - extract(epoch from '2026-06-08 20:39: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'), 46706, 'SRID=4674;POINT (-40.128608 -2.843389)', '2026-06-08 20:39:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128709 -2.843216)'), GeomFromEWKT('SRID=4674;POINT (-40.128608 -2.843389)'))) / (select extract(epoch from '2026-06-08 20:39:20'::timestamp) - extract(epoch from '2026-06-08 20:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128709 -2.843216)'), GeomFromEWKT('SRID=4674;POINT (-40.128608 -2.843389)'))) / (select extract(epoch from '2026-06-08 20:39:20'::timestamp) - extract(epoch from '2026-06-08 20:39: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'), 46706, 'SRID=4674;POINT (-40.128523 -2.843545)', '2026-06-08 20:39:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128608 -2.843389)'), GeomFromEWKT('SRID=4674;POINT (-40.128523 -2.843545)'))) / (select extract(epoch from '2026-06-08 20:39:30'::timestamp) - extract(epoch from '2026-06-08 20:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128608 -2.843389)'), GeomFromEWKT('SRID=4674;POINT (-40.128523 -2.843545)'))) / (select extract(epoch from '2026-06-08 20:39:30'::timestamp) - extract(epoch from '2026-06-08 20:39: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'), 46706, 'SRID=4674;POINT (-40.128471 -2.843689)', '2026-06-08 20:39:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128523 -2.843545)'), GeomFromEWKT('SRID=4674;POINT (-40.128471 -2.843689)'))) / (select extract(epoch from '2026-06-08 20:39:39'::timestamp) - extract(epoch from '2026-06-08 20:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128523 -2.843545)'), GeomFromEWKT('SRID=4674;POINT (-40.128471 -2.843689)'))) / (select extract(epoch from '2026-06-08 20:39:39'::timestamp) - extract(epoch from '2026-06-08 20:39: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'), 46706, 'SRID=4674;POINT (-40.12841 -2.843857)', '2026-06-08 20:39:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128471 -2.843689)'), GeomFromEWKT('SRID=4674;POINT (-40.12841 -2.843857)'))) / (select extract(epoch from '2026-06-08 20:39:49'::timestamp) - extract(epoch from '2026-06-08 20:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128471 -2.843689)'), GeomFromEWKT('SRID=4674;POINT (-40.12841 -2.843857)'))) / (select extract(epoch from '2026-06-08 20:39:49'::timestamp) - extract(epoch from '2026-06-08 20: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'), 46706, 'SRID=4674;POINT (-40.12833 -2.844)', '2026-06-08 20:39:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12841 -2.843857)'), GeomFromEWKT('SRID=4674;POINT (-40.12833 -2.844)'))) / (select extract(epoch from '2026-06-08 20:39:58'::timestamp) - extract(epoch from '2026-06-08 20:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12841 -2.843857)'), GeomFromEWKT('SRID=4674;POINT (-40.12833 -2.844)'))) / (select extract(epoch from '2026-06-08 20:39:58'::timestamp) - extract(epoch from '2026-06-08 20:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.128244 -2.844144)', '2026-06-08 20:40:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12833 -2.844)'), GeomFromEWKT('SRID=4674;POINT (-40.128244 -2.844144)'))) / (select extract(epoch from '2026-06-08 20:40:08'::timestamp) - extract(epoch from '2026-06-08 20:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12833 -2.844)'), GeomFromEWKT('SRID=4674;POINT (-40.128244 -2.844144)'))) / (select extract(epoch from '2026-06-08 20:40:08'::timestamp) - extract(epoch from '2026-06-08 20:39: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'), 46706, 'SRID=4674;POINT (-40.128153 -2.844272)', '2026-06-08 20:40:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128244 -2.844144)'), GeomFromEWKT('SRID=4674;POINT (-40.128153 -2.844272)'))) / (select extract(epoch from '2026-06-08 20:40:17'::timestamp) - extract(epoch from '2026-06-08 20:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128244 -2.844144)'), GeomFromEWKT('SRID=4674;POINT (-40.128153 -2.844272)'))) / (select extract(epoch from '2026-06-08 20:40:17'::timestamp) - extract(epoch from '2026-06-08 20:40: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'), 46706, 'SRID=4674;POINT (-40.128064 -2.844382)', '2026-06-08 20:40:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128153 -2.844272)'), GeomFromEWKT('SRID=4674;POINT (-40.128064 -2.844382)'))) / (select extract(epoch from '2026-06-08 20:40:25'::timestamp) - extract(epoch from '2026-06-08 20:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128153 -2.844272)'), GeomFromEWKT('SRID=4674;POINT (-40.128064 -2.844382)'))) / (select extract(epoch from '2026-06-08 20:40:25'::timestamp) - extract(epoch from '2026-06-08 20:40: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'), 46706, 'SRID=4674;POINT (-40.127986 -2.844516)', '2026-06-08 20:40:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128064 -2.844382)'), GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844516)'))) / (select extract(epoch from '2026-06-08 20:40:34'::timestamp) - extract(epoch from '2026-06-08 20:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128064 -2.844382)'), GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844516)'))) / (select extract(epoch from '2026-06-08 20:40:34'::timestamp) - extract(epoch from '2026-06-08 20:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.127911 -2.844658)', '2026-06-08 20:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844516)'), GeomFromEWKT('SRID=4674;POINT (-40.127911 -2.844658)'))) / (select extract(epoch from '2026-06-08 20:40:43'::timestamp) - extract(epoch from '2026-06-08 20:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844516)'), GeomFromEWKT('SRID=4674;POINT (-40.127911 -2.844658)'))) / (select extract(epoch from '2026-06-08 20:40:43'::timestamp) - extract(epoch from '2026-06-08 20:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46706, 'SRID=4674;POINT (-40.127827 -2.844802)', '2026-06-08 20:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127911 -2.844658)'), GeomFromEWKT('SRID=4674;POINT (-40.127827 -2.844802)'))) / (select extract(epoch from '2026-06-08 20:40:53'::timestamp) - extract(epoch from '2026-06-08 20:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127911 -2.844658)'), GeomFromEWKT('SRID=4674;POINT (-40.127827 -2.844802)'))) / (select extract(epoch from '2026-06-08 20:40:53'::timestamp) - extract(epoch from '2026-06-08 20:40: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'), 46706, 'SRID=4674;POINT (-40.127721 -2.844951)', '2026-06-08 20:41:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127827 -2.844802)'), GeomFromEWKT('SRID=4674;POINT (-40.127721 -2.844951)'))) / (select extract(epoch from '2026-06-08 20:41:04'::timestamp) - extract(epoch from '2026-06-08 20:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127827 -2.844802)'), GeomFromEWKT('SRID=4674;POINT (-40.127721 -2.844951)'))) / (select extract(epoch from '2026-06-08 20:41:04'::timestamp) - extract(epoch from '2026-06-08 20:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
