 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571707 -3.251207)', '2026-05-31 13:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57172 -3.251148)'), GeomFromEWKT('SRID=4674;POINT (-38.571707 -3.251207)'))) / (select extract(epoch from '2026-05-31 13:39:07'::timestamp) - extract(epoch from '2026-05-31 13:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57172 -3.251148)'), GeomFromEWKT('SRID=4674;POINT (-38.571707 -3.251207)'))) / (select extract(epoch from '2026-05-31 13:39:07'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571681 -3.251271)', '2026-05-31 13:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571707 -3.251207)'), GeomFromEWKT('SRID=4674;POINT (-38.571681 -3.251271)'))) / (select extract(epoch from '2026-05-31 13:39:15'::timestamp) - extract(epoch from '2026-05-31 13:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571707 -3.251207)'), GeomFromEWKT('SRID=4674;POINT (-38.571681 -3.251271)'))) / (select extract(epoch from '2026-05-31 13:39:15'::timestamp) - extract(epoch from '2026-05-31 13:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571673 -3.251291)', '2026-05-31 13:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571681 -3.251271)'), GeomFromEWKT('SRID=4674;POINT (-38.571673 -3.251291)'))) / (select extract(epoch from '2026-05-31 13:39:18'::timestamp) - extract(epoch from '2026-05-31 13:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571681 -3.251271)'), GeomFromEWKT('SRID=4674;POINT (-38.571673 -3.251291)'))) / (select extract(epoch from '2026-05-31 13:39:18'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.57167 -3.251313)', '2026-05-31 13:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571673 -3.251291)'), GeomFromEWKT('SRID=4674;POINT (-38.57167 -3.251313)'))) / (select extract(epoch from '2026-05-31 13:39:21'::timestamp) - extract(epoch from '2026-05-31 13:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571673 -3.251291)'), GeomFromEWKT('SRID=4674;POINT (-38.57167 -3.251313)'))) / (select extract(epoch from '2026-05-31 13:39:21'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571652 -3.251371)', '2026-05-31 13:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57167 -3.251313)'), GeomFromEWKT('SRID=4674;POINT (-38.571652 -3.251371)'))) / (select extract(epoch from '2026-05-31 13:39:27'::timestamp) - extract(epoch from '2026-05-31 13:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57167 -3.251313)'), GeomFromEWKT('SRID=4674;POINT (-38.571652 -3.251371)'))) / (select extract(epoch from '2026-05-31 13:39:27'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571632 -3.251413)', '2026-05-31 13:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571652 -3.251371)'), GeomFromEWKT('SRID=4674;POINT (-38.571632 -3.251413)'))) / (select extract(epoch from '2026-05-31 13:39:32'::timestamp) - extract(epoch from '2026-05-31 13:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571652 -3.251371)'), GeomFromEWKT('SRID=4674;POINT (-38.571632 -3.251413)'))) / (select extract(epoch from '2026-05-31 13:39:32'::timestamp) - extract(epoch from '2026-05-31 13:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571618 -3.25144)', '2026-05-31 13:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571632 -3.251413)'), GeomFromEWKT('SRID=4674;POINT (-38.571618 -3.25144)'))) / (select extract(epoch from '2026-05-31 13:39:34'::timestamp) - extract(epoch from '2026-05-31 13:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571632 -3.251413)'), GeomFromEWKT('SRID=4674;POINT (-38.571618 -3.25144)'))) / (select extract(epoch from '2026-05-31 13:39:34'::timestamp) - extract(epoch from '2026-05-31 13:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571616 -3.251475)', '2026-05-31 13:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571618 -3.25144)'), GeomFromEWKT('SRID=4674;POINT (-38.571616 -3.251475)'))) / (select extract(epoch from '2026-05-31 13:39:37'::timestamp) - extract(epoch from '2026-05-31 13:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571618 -3.25144)'), GeomFromEWKT('SRID=4674;POINT (-38.571616 -3.251475)'))) / (select extract(epoch from '2026-05-31 13:39:37'::timestamp) - extract(epoch from '2026-05-31 13:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571599 -3.251504)', '2026-05-31 13:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571616 -3.251475)'), GeomFromEWKT('SRID=4674;POINT (-38.571599 -3.251504)'))) / (select extract(epoch from '2026-05-31 13:39:40'::timestamp) - extract(epoch from '2026-05-31 13:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571616 -3.251475)'), GeomFromEWKT('SRID=4674;POINT (-38.571599 -3.251504)'))) / (select extract(epoch from '2026-05-31 13:39:40'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.57157 -3.251566)', '2026-05-31 13:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571599 -3.251504)'), GeomFromEWKT('SRID=4674;POINT (-38.57157 -3.251566)'))) / (select extract(epoch from '2026-05-31 13:39:46'::timestamp) - extract(epoch from '2026-05-31 13:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571599 -3.251504)'), GeomFromEWKT('SRID=4674;POINT (-38.57157 -3.251566)'))) / (select extract(epoch from '2026-05-31 13:39:46'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571559 -3.251583)', '2026-05-31 13:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57157 -3.251566)'), GeomFromEWKT('SRID=4674;POINT (-38.571559 -3.251583)'))) / (select extract(epoch from '2026-05-31 13:39:48'::timestamp) - extract(epoch from '2026-05-31 13:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57157 -3.251566)'), GeomFromEWKT('SRID=4674;POINT (-38.571559 -3.251583)'))) / (select extract(epoch from '2026-05-31 13:39:48'::timestamp) - extract(epoch from '2026-05-31 13:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571551 -3.251617)', '2026-05-31 13:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571559 -3.251583)'), GeomFromEWKT('SRID=4674;POINT (-38.571551 -3.251617)'))) / (select extract(epoch from '2026-05-31 13:39:51'::timestamp) - extract(epoch from '2026-05-31 13:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571559 -3.251583)'), GeomFromEWKT('SRID=4674;POINT (-38.571551 -3.251617)'))) / (select extract(epoch from '2026-05-31 13:39:51'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571515 -3.25168)', '2026-05-31 13:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571551 -3.251617)'), GeomFromEWKT('SRID=4674;POINT (-38.571515 -3.25168)'))) / (select extract(epoch from '2026-05-31 13:39:57'::timestamp) - extract(epoch from '2026-05-31 13:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571551 -3.251617)'), GeomFromEWKT('SRID=4674;POINT (-38.571515 -3.25168)'))) / (select extract(epoch from '2026-05-31 13:39:57'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571509 -3.251691)', '2026-05-31 13:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571515 -3.25168)'), GeomFromEWKT('SRID=4674;POINT (-38.571509 -3.251691)'))) / (select extract(epoch from '2026-05-31 13:39:58'::timestamp) - extract(epoch from '2026-05-31 13:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571515 -3.25168)'), GeomFromEWKT('SRID=4674;POINT (-38.571509 -3.251691)'))) / (select extract(epoch from '2026-05-31 13:39:58'::timestamp) - extract(epoch from '2026-05-31 13:39: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'), 46535, 'SRID=4674;POINT (-38.571491 -3.251735)', '2026-05-31 13:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571509 -3.251691)'), GeomFromEWKT('SRID=4674;POINT (-38.571491 -3.251735)'))) / (select extract(epoch from '2026-05-31 13:40:02'::timestamp) - extract(epoch from '2026-05-31 13:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571509 -3.251691)'), GeomFromEWKT('SRID=4674;POINT (-38.571491 -3.251735)'))) / (select extract(epoch from '2026-05-31 13:40:02'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571489 -3.251746)', '2026-05-31 13:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571491 -3.251735)'), GeomFromEWKT('SRID=4674;POINT (-38.571489 -3.251746)'))) / (select extract(epoch from '2026-05-31 13:40:03'::timestamp) - extract(epoch from '2026-05-31 13:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571491 -3.251735)'), GeomFromEWKT('SRID=4674;POINT (-38.571489 -3.251746)'))) / (select extract(epoch from '2026-05-31 13:40:03'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571482 -3.251767)', '2026-05-31 13:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571489 -3.251746)'), GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.251767)'))) / (select extract(epoch from '2026-05-31 13:40:05'::timestamp) - extract(epoch from '2026-05-31 13:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571489 -3.251746)'), GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.251767)'))) / (select extract(epoch from '2026-05-31 13:40:05'::timestamp) - extract(epoch from '2026-05-31 13:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571471 -3.251787)', '2026-05-31 13:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.251767)'), GeomFromEWKT('SRID=4674;POINT (-38.571471 -3.251787)'))) / (select extract(epoch from '2026-05-31 13:40:07'::timestamp) - extract(epoch from '2026-05-31 13:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571482 -3.251767)'), GeomFromEWKT('SRID=4674;POINT (-38.571471 -3.251787)'))) / (select extract(epoch from '2026-05-31 13:40:07'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571472 -3.251799)', '2026-05-31 13:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571471 -3.251787)'), GeomFromEWKT('SRID=4674;POINT (-38.571472 -3.251799)'))) / (select extract(epoch from '2026-05-31 13:40:08'::timestamp) - extract(epoch from '2026-05-31 13:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571471 -3.251787)'), GeomFromEWKT('SRID=4674;POINT (-38.571472 -3.251799)'))) / (select extract(epoch from '2026-05-31 13:40:08'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571469 -3.251833)', '2026-05-31 13:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571472 -3.251799)'), GeomFromEWKT('SRID=4674;POINT (-38.571469 -3.251833)'))) / (select extract(epoch from '2026-05-31 13:40:11'::timestamp) - extract(epoch from '2026-05-31 13:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571472 -3.251799)'), GeomFromEWKT('SRID=4674;POINT (-38.571469 -3.251833)'))) / (select extract(epoch from '2026-05-31 13:40:11'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571462 -3.251851)', '2026-05-31 13:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571469 -3.251833)'), GeomFromEWKT('SRID=4674;POINT (-38.571462 -3.251851)'))) / (select extract(epoch from '2026-05-31 13:40:13'::timestamp) - extract(epoch from '2026-05-31 13:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571469 -3.251833)'), GeomFromEWKT('SRID=4674;POINT (-38.571462 -3.251851)'))) / (select extract(epoch from '2026-05-31 13:40:13'::timestamp) - extract(epoch from '2026-05-31 13:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571443 -3.251921)', '2026-05-31 13:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571462 -3.251851)'), GeomFromEWKT('SRID=4674;POINT (-38.571443 -3.251921)'))) / (select extract(epoch from '2026-05-31 13:40:20'::timestamp) - extract(epoch from '2026-05-31 13:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571462 -3.251851)'), GeomFromEWKT('SRID=4674;POINT (-38.571443 -3.251921)'))) / (select extract(epoch from '2026-05-31 13:40:20'::timestamp) - extract(epoch from '2026-05-31 13:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571416 -3.251985)', '2026-05-31 13:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571443 -3.251921)'), GeomFromEWKT('SRID=4674;POINT (-38.571416 -3.251985)'))) / (select extract(epoch from '2026-05-31 13:40:27'::timestamp) - extract(epoch from '2026-05-31 13:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571443 -3.251921)'), GeomFromEWKT('SRID=4674;POINT (-38.571416 -3.251985)'))) / (select extract(epoch from '2026-05-31 13:40:27'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571391 -3.252047)', '2026-05-31 13:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571416 -3.251985)'), GeomFromEWKT('SRID=4674;POINT (-38.571391 -3.252047)'))) / (select extract(epoch from '2026-05-31 13:40:34'::timestamp) - extract(epoch from '2026-05-31 13:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571416 -3.251985)'), GeomFromEWKT('SRID=4674;POINT (-38.571391 -3.252047)'))) / (select extract(epoch from '2026-05-31 13:40:34'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571383 -3.252095)', '2026-05-31 13:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571391 -3.252047)'), GeomFromEWKT('SRID=4674;POINT (-38.571383 -3.252095)'))) / (select extract(epoch from '2026-05-31 13:40:39'::timestamp) - extract(epoch from '2026-05-31 13:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571391 -3.252047)'), GeomFromEWKT('SRID=4674;POINT (-38.571383 -3.252095)'))) / (select extract(epoch from '2026-05-31 13:40:39'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57138 -3.252129)', '2026-05-31 13:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571383 -3.252095)'), GeomFromEWKT('SRID=4674;POINT (-38.57138 -3.252129)'))) / (select extract(epoch from '2026-05-31 13:40:45'::timestamp) - extract(epoch from '2026-05-31 13:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571383 -3.252095)'), GeomFromEWKT('SRID=4674;POINT (-38.57138 -3.252129)'))) / (select extract(epoch from '2026-05-31 13:40:45'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.57139 -3.252202)', '2026-05-31 13:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57138 -3.252129)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252202)'))) / (select extract(epoch from '2026-05-31 13:40:54'::timestamp) - extract(epoch from '2026-05-31 13:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57138 -3.252129)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252202)'))) / (select extract(epoch from '2026-05-31 13:40:54'::timestamp) - extract(epoch from '2026-05-31 13:40: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'), 46535, 'SRID=4674;POINT (-38.571384 -3.252265)', '2026-05-31 13:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252202)'), GeomFromEWKT('SRID=4674;POINT (-38.571384 -3.252265)'))) / (select extract(epoch from '2026-05-31 13:41:00'::timestamp) - extract(epoch from '2026-05-31 13:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252202)'), GeomFromEWKT('SRID=4674;POINT (-38.571384 -3.252265)'))) / (select extract(epoch from '2026-05-31 13:41:00'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57139 -3.252341)', '2026-05-31 13:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571384 -3.252265)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252341)'))) / (select extract(epoch from '2026-05-31 13:41:08'::timestamp) - extract(epoch from '2026-05-31 13:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571384 -3.252265)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252341)'))) / (select extract(epoch from '2026-05-31 13:41:08'::timestamp) - extract(epoch from '2026-05-31 13:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571401 -3.252396)', '2026-05-31 13:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252341)'), GeomFromEWKT('SRID=4674;POINT (-38.571401 -3.252396)'))) / (select extract(epoch from '2026-05-31 13:41:16'::timestamp) - extract(epoch from '2026-05-31 13:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.252341)'), GeomFromEWKT('SRID=4674;POINT (-38.571401 -3.252396)'))) / (select extract(epoch from '2026-05-31 13:41:16'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571409 -3.252473)', '2026-05-31 13:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571401 -3.252396)'), GeomFromEWKT('SRID=4674;POINT (-38.571409 -3.252473)'))) / (select extract(epoch from '2026-05-31 13:41:26'::timestamp) - extract(epoch from '2026-05-31 13:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571401 -3.252396)'), GeomFromEWKT('SRID=4674;POINT (-38.571409 -3.252473)'))) / (select extract(epoch from '2026-05-31 13:41:26'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571413 -3.252491)', '2026-05-31 13:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571409 -3.252473)'), GeomFromEWKT('SRID=4674;POINT (-38.571413 -3.252491)'))) / (select extract(epoch from '2026-05-31 13:41:28'::timestamp) - extract(epoch from '2026-05-31 13:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571409 -3.252473)'), GeomFromEWKT('SRID=4674;POINT (-38.571413 -3.252491)'))) / (select extract(epoch from '2026-05-31 13:41:28'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571414 -3.252541)', '2026-05-31 13:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571413 -3.252491)'), GeomFromEWKT('SRID=4674;POINT (-38.571414 -3.252541)'))) / (select extract(epoch from '2026-05-31 13:41:33'::timestamp) - extract(epoch from '2026-05-31 13:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571413 -3.252491)'), GeomFromEWKT('SRID=4674;POINT (-38.571414 -3.252541)'))) / (select extract(epoch from '2026-05-31 13:41:33'::timestamp) - extract(epoch from '2026-05-31 13:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571411 -3.252615)', '2026-05-31 13:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571414 -3.252541)'), GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.252615)'))) / (select extract(epoch from '2026-05-31 13:41:40'::timestamp) - extract(epoch from '2026-05-31 13:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571414 -3.252541)'), GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.252615)'))) / (select extract(epoch from '2026-05-31 13:41:40'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.5714 -3.252646)', '2026-05-31 13:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.252615)'), GeomFromEWKT('SRID=4674;POINT (-38.5714 -3.252646)'))) / (select extract(epoch from '2026-05-31 13:41:43'::timestamp) - extract(epoch from '2026-05-31 13:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571411 -3.252615)'), GeomFromEWKT('SRID=4674;POINT (-38.5714 -3.252646)'))) / (select extract(epoch from '2026-05-31 13:41:43'::timestamp) - extract(epoch from '2026-05-31 13:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571405 -3.252666)', '2026-05-31 13:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5714 -3.252646)'), GeomFromEWKT('SRID=4674;POINT (-38.571405 -3.252666)'))) / (select extract(epoch from '2026-05-31 13:41:45'::timestamp) - extract(epoch from '2026-05-31 13:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5714 -3.252646)'), GeomFromEWKT('SRID=4674;POINT (-38.571405 -3.252666)'))) / (select extract(epoch from '2026-05-31 13:41:45'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571403 -3.252676)', '2026-05-31 13:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571405 -3.252666)'), GeomFromEWKT('SRID=4674;POINT (-38.571403 -3.252676)'))) / (select extract(epoch from '2026-05-31 13:41:46'::timestamp) - extract(epoch from '2026-05-31 13:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571405 -3.252666)'), GeomFromEWKT('SRID=4674;POINT (-38.571403 -3.252676)'))) / (select extract(epoch from '2026-05-31 13:41:46'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571378 -3.252739)', '2026-05-31 13:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571403 -3.252676)'), GeomFromEWKT('SRID=4674;POINT (-38.571378 -3.252739)'))) / (select extract(epoch from '2026-05-31 13:41:53'::timestamp) - extract(epoch from '2026-05-31 13:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571403 -3.252676)'), GeomFromEWKT('SRID=4674;POINT (-38.571378 -3.252739)'))) / (select extract(epoch from '2026-05-31 13:41:53'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571341 -3.252828)', '2026-05-31 13:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571378 -3.252739)'), GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.252828)'))) / (select extract(epoch from '2026-05-31 13:42:02'::timestamp) - extract(epoch from '2026-05-31 13:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571378 -3.252739)'), GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.252828)'))) / (select extract(epoch from '2026-05-31 13:42:02'::timestamp) - extract(epoch from '2026-05-31 13:41: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'), 46535, 'SRID=4674;POINT (-38.571313 -3.252916)', '2026-05-31 13:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.252828)'), GeomFromEWKT('SRID=4674;POINT (-38.571313 -3.252916)'))) / (select extract(epoch from '2026-05-31 13:42:10'::timestamp) - extract(epoch from '2026-05-31 13:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571341 -3.252828)'), GeomFromEWKT('SRID=4674;POINT (-38.571313 -3.252916)'))) / (select extract(epoch from '2026-05-31 13:42:10'::timestamp) - extract(epoch from '2026-05-31 13:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571312 -3.252936)', '2026-05-31 13:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571313 -3.252916)'), GeomFromEWKT('SRID=4674;POINT (-38.571312 -3.252936)'))) / (select extract(epoch from '2026-05-31 13:42:12'::timestamp) - extract(epoch from '2026-05-31 13:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571313 -3.252916)'), GeomFromEWKT('SRID=4674;POINT (-38.571312 -3.252936)'))) / (select extract(epoch from '2026-05-31 13:42:12'::timestamp) - extract(epoch from '2026-05-31 13:42: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'), 46535, 'SRID=4674;POINT (-38.5713 -3.252954)', '2026-05-31 13:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571312 -3.252936)'), GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252954)'))) / (select extract(epoch from '2026-05-31 13:42:14'::timestamp) - extract(epoch from '2026-05-31 13:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571312 -3.252936)'), GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252954)'))) / (select extract(epoch from '2026-05-31 13:42:14'::timestamp) - extract(epoch from '2026-05-31 13:42: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'), 46535, 'SRID=4674;POINT (-38.5713 -3.252963)', '2026-05-31 13:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252954)'), GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252963)'))) / (select extract(epoch from '2026-05-31 13:42:15'::timestamp) - extract(epoch from '2026-05-31 13:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252954)'), GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252963)'))) / (select extract(epoch from '2026-05-31 13:42:15'::timestamp) - extract(epoch from '2026-05-31 13:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571294 -3.252979)', '2026-05-31 13:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252963)'), GeomFromEWKT('SRID=4674;POINT (-38.571294 -3.252979)'))) / (select extract(epoch from '2026-05-31 13:42:17'::timestamp) - extract(epoch from '2026-05-31 13:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5713 -3.252963)'), GeomFromEWKT('SRID=4674;POINT (-38.571294 -3.252979)'))) / (select extract(epoch from '2026-05-31 13:42:17'::timestamp) - extract(epoch from '2026-05-31 13:42: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'), 46535, 'SRID=4674;POINT (-38.571286 -3.252995)', '2026-05-31 13:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571294 -3.252979)'), GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.252995)'))) / (select extract(epoch from '2026-05-31 13:42:19'::timestamp) - extract(epoch from '2026-05-31 13:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571294 -3.252979)'), GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.252995)'))) / (select extract(epoch from '2026-05-31 13:42:19'::timestamp) - extract(epoch from '2026-05-31 13:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571284 -3.253003)', '2026-05-31 13:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.252995)'), GeomFromEWKT('SRID=4674;POINT (-38.571284 -3.253003)'))) / (select extract(epoch from '2026-05-31 13:42:20'::timestamp) - extract(epoch from '2026-05-31 13:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571286 -3.252995)'), GeomFromEWKT('SRID=4674;POINT (-38.571284 -3.253003)'))) / (select extract(epoch from '2026-05-31 13:42:20'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571241 -3.253074)', '2026-05-31 13:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571284 -3.253003)'), GeomFromEWKT('SRID=4674;POINT (-38.571241 -3.253074)'))) / (select extract(epoch from '2026-05-31 13:42:29'::timestamp) - extract(epoch from '2026-05-31 13:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571284 -3.253003)'), GeomFromEWKT('SRID=4674;POINT (-38.571241 -3.253074)'))) / (select extract(epoch from '2026-05-31 13:42:29'::timestamp) - extract(epoch from '2026-05-31 13:42: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'), 46535, 'SRID=4674;POINT (-38.571212 -3.253146)', '2026-05-31 13:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571241 -3.253074)'), GeomFromEWKT('SRID=4674;POINT (-38.571212 -3.253146)'))) / (select extract(epoch from '2026-05-31 13:42:37'::timestamp) - extract(epoch from '2026-05-31 13:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571241 -3.253074)'), GeomFromEWKT('SRID=4674;POINT (-38.571212 -3.253146)'))) / (select extract(epoch from '2026-05-31 13:42:37'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.57119 -3.253211)', '2026-05-31 13:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571212 -3.253146)'), GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.253211)'))) / (select extract(epoch from '2026-05-31 13:42:44'::timestamp) - extract(epoch from '2026-05-31 13:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571212 -3.253146)'), GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.253211)'))) / (select extract(epoch from '2026-05-31 13:42:44'::timestamp) - extract(epoch from '2026-05-31 13:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571178 -3.253243)', '2026-05-31 13:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.253211)'), GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.253243)'))) / (select extract(epoch from '2026-05-31 13:42:47'::timestamp) - extract(epoch from '2026-05-31 13:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.253211)'), GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.253243)'))) / (select extract(epoch from '2026-05-31 13:42:47'::timestamp) - extract(epoch from '2026-05-31 13:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571166 -3.253267)', '2026-05-31 13:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.253243)'), GeomFromEWKT('SRID=4674;POINT (-38.571166 -3.253267)'))) / (select extract(epoch from '2026-05-31 13:42:51'::timestamp) - extract(epoch from '2026-05-31 13:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571178 -3.253243)'), GeomFromEWKT('SRID=4674;POINT (-38.571166 -3.253267)'))) / (select extract(epoch from '2026-05-31 13:42:51'::timestamp) - extract(epoch from '2026-05-31 13:42: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'), 46535, 'SRID=4674;POINT (-38.57114 -3.253343)', '2026-05-31 13:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571166 -3.253267)'), GeomFromEWKT('SRID=4674;POINT (-38.57114 -3.253343)'))) / (select extract(epoch from '2026-05-31 13:43:00'::timestamp) - extract(epoch from '2026-05-31 13:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571166 -3.253267)'), GeomFromEWKT('SRID=4674;POINT (-38.57114 -3.253343)'))) / (select extract(epoch from '2026-05-31 13:43:00'::timestamp) - extract(epoch from '2026-05-31 13:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571112 -3.253448)', '2026-05-31 13:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57114 -3.253343)'), GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.253448)'))) / (select extract(epoch from '2026-05-31 13:43:10'::timestamp) - extract(epoch from '2026-05-31 13:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57114 -3.253343)'), GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.253448)'))) / (select extract(epoch from '2026-05-31 13:43:10'::timestamp) - extract(epoch from '2026-05-31 13:43: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'), 46535, 'SRID=4674;POINT (-38.571109 -3.25352)', '2026-05-31 13:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.253448)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.25352)'))) / (select extract(epoch from '2026-05-31 13:43:17'::timestamp) - extract(epoch from '2026-05-31 13:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571112 -3.253448)'), GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.25352)'))) / (select extract(epoch from '2026-05-31 13:43:17'::timestamp) - extract(epoch from '2026-05-31 13:43: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'), 46535, 'SRID=4674;POINT (-38.571098 -3.253581)', '2026-05-31 13:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.25352)'), GeomFromEWKT('SRID=4674;POINT (-38.571098 -3.253581)'))) / (select extract(epoch from '2026-05-31 13:43:24'::timestamp) - extract(epoch from '2026-05-31 13:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571109 -3.25352)'), GeomFromEWKT('SRID=4674;POINT (-38.571098 -3.253581)'))) / (select extract(epoch from '2026-05-31 13:43:24'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571082 -3.253651)', '2026-05-31 13:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571098 -3.253581)'), GeomFromEWKT('SRID=4674;POINT (-38.571082 -3.253651)'))) / (select extract(epoch from '2026-05-31 13:43:31'::timestamp) - extract(epoch from '2026-05-31 13:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571098 -3.253581)'), GeomFromEWKT('SRID=4674;POINT (-38.571082 -3.253651)'))) / (select extract(epoch from '2026-05-31 13:43:31'::timestamp) - extract(epoch from '2026-05-31 13:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571083 -3.25372)', '2026-05-31 13:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571082 -3.253651)'), GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.25372)'))) / (select extract(epoch from '2026-05-31 13:43:37'::timestamp) - extract(epoch from '2026-05-31 13:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571082 -3.253651)'), GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.25372)'))) / (select extract(epoch from '2026-05-31 13:43:37'::timestamp) - extract(epoch from '2026-05-31 13:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571074 -3.253804)', '2026-05-31 13:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.25372)'), GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.253804)'))) / (select extract(epoch from '2026-05-31 13:43:45'::timestamp) - extract(epoch from '2026-05-31 13:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571083 -3.25372)'), GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.253804)'))) / (select extract(epoch from '2026-05-31 13:43:45'::timestamp) - extract(epoch from '2026-05-31 13:43: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'), 46535, 'SRID=4674;POINT (-38.571065 -3.253887)', '2026-05-31 13:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.253804)'), GeomFromEWKT('SRID=4674;POINT (-38.571065 -3.253887)'))) / (select extract(epoch from '2026-05-31 13:43:53'::timestamp) - extract(epoch from '2026-05-31 13:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571074 -3.253804)'), GeomFromEWKT('SRID=4674;POINT (-38.571065 -3.253887)'))) / (select extract(epoch from '2026-05-31 13:43:53'::timestamp) - extract(epoch from '2026-05-31 13:43: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'), 46535, 'SRID=4674;POINT (-38.571063 -3.253961)', '2026-05-31 13:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571065 -3.253887)'), GeomFromEWKT('SRID=4674;POINT (-38.571063 -3.253961)'))) / (select extract(epoch from '2026-05-31 13:43:59'::timestamp) - extract(epoch from '2026-05-31 13:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571065 -3.253887)'), GeomFromEWKT('SRID=4674;POINT (-38.571063 -3.253961)'))) / (select extract(epoch from '2026-05-31 13:43:59'::timestamp) - extract(epoch from '2026-05-31 13:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571068 -3.253971)', '2026-05-31 13:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571063 -3.253961)'), GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.253971)'))) / (select extract(epoch from '2026-05-31 13:44:00'::timestamp) - extract(epoch from '2026-05-31 13:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571063 -3.253961)'), GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.253971)'))) / (select extract(epoch from '2026-05-31 13:44:00'::timestamp) - extract(epoch from '2026-05-31 13:43: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'), 46535, 'SRID=4674;POINT (-38.57107 -3.253982)', '2026-05-31 13:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.253971)'), GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.253982)'))) / (select extract(epoch from '2026-05-31 13:44:01'::timestamp) - extract(epoch from '2026-05-31 13:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.253971)'), GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.253982)'))) / (select extract(epoch from '2026-05-31 13:44:01'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571066 -3.254007)', '2026-05-31 13:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.253982)'), GeomFromEWKT('SRID=4674;POINT (-38.571066 -3.254007)'))) / (select extract(epoch from '2026-05-31 13:44:04'::timestamp) - extract(epoch from '2026-05-31 13:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57107 -3.253982)'), GeomFromEWKT('SRID=4674;POINT (-38.571066 -3.254007)'))) / (select extract(epoch from '2026-05-31 13:44:04'::timestamp) - extract(epoch from '2026-05-31 13:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571068 -3.254021)', '2026-05-31 13:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571066 -3.254007)'), GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.254021)'))) / (select extract(epoch from '2026-05-31 13:44:05'::timestamp) - extract(epoch from '2026-05-31 13:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571066 -3.254007)'), GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.254021)'))) / (select extract(epoch from '2026-05-31 13:44:05'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571069 -3.254123)', '2026-05-31 13:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.254021)'), GeomFromEWKT('SRID=4674;POINT (-38.571069 -3.254123)'))) / (select extract(epoch from '2026-05-31 13:44:13'::timestamp) - extract(epoch from '2026-05-31 13:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571068 -3.254021)'), GeomFromEWKT('SRID=4674;POINT (-38.571069 -3.254123)'))) / (select extract(epoch from '2026-05-31 13:44:13'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571058 -3.254208)', '2026-05-31 13:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571069 -3.254123)'), GeomFromEWKT('SRID=4674;POINT (-38.571058 -3.254208)'))) / (select extract(epoch from '2026-05-31 13:44:21'::timestamp) - extract(epoch from '2026-05-31 13:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571069 -3.254123)'), GeomFromEWKT('SRID=4674;POINT (-38.571058 -3.254208)'))) / (select extract(epoch from '2026-05-31 13:44:21'::timestamp) - extract(epoch from '2026-05-31 13:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571053 -3.254231)', '2026-05-31 13:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571058 -3.254208)'), GeomFromEWKT('SRID=4674;POINT (-38.571053 -3.254231)'))) / (select extract(epoch from '2026-05-31 13:44:23'::timestamp) - extract(epoch from '2026-05-31 13:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571058 -3.254208)'), GeomFromEWKT('SRID=4674;POINT (-38.571053 -3.254231)'))) / (select extract(epoch from '2026-05-31 13:44:23'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571043 -3.25426)', '2026-05-31 13:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571053 -3.254231)'), GeomFromEWKT('SRID=4674;POINT (-38.571043 -3.25426)'))) / (select extract(epoch from '2026-05-31 13:44:27'::timestamp) - extract(epoch from '2026-05-31 13:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571053 -3.254231)'), GeomFromEWKT('SRID=4674;POINT (-38.571043 -3.25426)'))) / (select extract(epoch from '2026-05-31 13:44:27'::timestamp) - extract(epoch from '2026-05-31 13:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571025 -3.254315)', '2026-05-31 13:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571043 -3.25426)'), GeomFromEWKT('SRID=4674;POINT (-38.571025 -3.254315)'))) / (select extract(epoch from '2026-05-31 13:44:33'::timestamp) - extract(epoch from '2026-05-31 13:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571043 -3.25426)'), GeomFromEWKT('SRID=4674;POINT (-38.571025 -3.254315)'))) / (select extract(epoch from '2026-05-31 13:44:33'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571015 -3.25437)', '2026-05-31 13:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571025 -3.254315)'), GeomFromEWKT('SRID=4674;POINT (-38.571015 -3.25437)'))) / (select extract(epoch from '2026-05-31 13:44:40'::timestamp) - extract(epoch from '2026-05-31 13:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571025 -3.254315)'), GeomFromEWKT('SRID=4674;POINT (-38.571015 -3.25437)'))) / (select extract(epoch from '2026-05-31 13:44:40'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571012 -3.25439)', '2026-05-31 13:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571015 -3.25437)'), GeomFromEWKT('SRID=4674;POINT (-38.571012 -3.25439)'))) / (select extract(epoch from '2026-05-31 13:44:42'::timestamp) - extract(epoch from '2026-05-31 13:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571015 -3.25437)'), GeomFromEWKT('SRID=4674;POINT (-38.571012 -3.25439)'))) / (select extract(epoch from '2026-05-31 13:44:42'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.571006 -3.254407)', '2026-05-31 13:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571012 -3.25439)'), GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254407)'))) / (select extract(epoch from '2026-05-31 13:44:44'::timestamp) - extract(epoch from '2026-05-31 13:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571012 -3.25439)'), GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254407)'))) / (select extract(epoch from '2026-05-31 13:44:44'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.571006 -3.254417)', '2026-05-31 13:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254407)'), GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254417)'))) / (select extract(epoch from '2026-05-31 13:44:45'::timestamp) - extract(epoch from '2026-05-31 13:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254407)'), GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254417)'))) / (select extract(epoch from '2026-05-31 13:44:45'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.570979 -3.254481)', '2026-05-31 13:44:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254417)'), GeomFromEWKT('SRID=4674;POINT (-38.570979 -3.254481)'))) / (select extract(epoch from '2026-05-31 13:44:52'::timestamp) - extract(epoch from '2026-05-31 13:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571006 -3.254417)'), GeomFromEWKT('SRID=4674;POINT (-38.570979 -3.254481)'))) / (select extract(epoch from '2026-05-31 13:44:52'::timestamp) - extract(epoch from '2026-05-31 13:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570969 -3.254496)', '2026-05-31 13:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570979 -3.254481)'), GeomFromEWKT('SRID=4674;POINT (-38.570969 -3.254496)'))) / (select extract(epoch from '2026-05-31 13:44:54'::timestamp) - extract(epoch from '2026-05-31 13:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570979 -3.254481)'), GeomFromEWKT('SRID=4674;POINT (-38.570969 -3.254496)'))) / (select extract(epoch from '2026-05-31 13:44:54'::timestamp) - extract(epoch from '2026-05-31 13:44: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'), 46535, 'SRID=4674;POINT (-38.570946 -3.254523)', '2026-05-31 13:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570969 -3.254496)'), GeomFromEWKT('SRID=4674;POINT (-38.570946 -3.254523)'))) / (select extract(epoch from '2026-05-31 13:44:58'::timestamp) - extract(epoch from '2026-05-31 13:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570969 -3.254496)'), GeomFromEWKT('SRID=4674;POINT (-38.570946 -3.254523)'))) / (select extract(epoch from '2026-05-31 13:44:58'::timestamp) - extract(epoch from '2026-05-31 13:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570915 -3.25458)', '2026-05-31 13:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570946 -3.254523)'), GeomFromEWKT('SRID=4674;POINT (-38.570915 -3.25458)'))) / (select extract(epoch from '2026-05-31 13:45:05'::timestamp) - extract(epoch from '2026-05-31 13:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570946 -3.254523)'), GeomFromEWKT('SRID=4674;POINT (-38.570915 -3.25458)'))) / (select extract(epoch from '2026-05-31 13:45:05'::timestamp) - extract(epoch from '2026-05-31 13:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57089 -3.254602)', '2026-05-31 13:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570915 -3.25458)'), GeomFromEWKT('SRID=4674;POINT (-38.57089 -3.254602)'))) / (select extract(epoch from '2026-05-31 13:45:08'::timestamp) - extract(epoch from '2026-05-31 13:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570915 -3.25458)'), GeomFromEWKT('SRID=4674;POINT (-38.57089 -3.254602)'))) / (select extract(epoch from '2026-05-31 13:45:08'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570875 -3.254628)', '2026-05-31 13:45:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57089 -3.254602)'), GeomFromEWKT('SRID=4674;POINT (-38.570875 -3.254628)'))) / (select extract(epoch from '2026-05-31 13:45:11'::timestamp) - extract(epoch from '2026-05-31 13:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57089 -3.254602)'), GeomFromEWKT('SRID=4674;POINT (-38.570875 -3.254628)'))) / (select extract(epoch from '2026-05-31 13:45:11'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570861 -3.254645)', '2026-05-31 13:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570875 -3.254628)'), GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.254645)'))) / (select extract(epoch from '2026-05-31 13:45:13'::timestamp) - extract(epoch from '2026-05-31 13:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570875 -3.254628)'), GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.254645)'))) / (select extract(epoch from '2026-05-31 13:45:13'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570841 -3.25468)', '2026-05-31 13:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.254645)'), GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.25468)'))) / (select extract(epoch from '2026-05-31 13:45:17'::timestamp) - extract(epoch from '2026-05-31 13:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.254645)'), GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.25468)'))) / (select extract(epoch from '2026-05-31 13:45:17'::timestamp) - extract(epoch from '2026-05-31 13:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570823 -3.254726)', '2026-05-31 13:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.25468)'), GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254726)'))) / (select extract(epoch from '2026-05-31 13:45:22'::timestamp) - extract(epoch from '2026-05-31 13:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570841 -3.25468)'), GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254726)'))) / (select extract(epoch from '2026-05-31 13:45:22'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570823 -3.254748)', '2026-05-31 13:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254726)'), GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254748)'))) / (select extract(epoch from '2026-05-31 13:45:24'::timestamp) - extract(epoch from '2026-05-31 13:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254726)'), GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254748)'))) / (select extract(epoch from '2026-05-31 13:45:24'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570812 -3.254786)', '2026-05-31 13:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254748)'), GeomFromEWKT('SRID=4674;POINT (-38.570812 -3.254786)'))) / (select extract(epoch from '2026-05-31 13:45:28'::timestamp) - extract(epoch from '2026-05-31 13:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570823 -3.254748)'), GeomFromEWKT('SRID=4674;POINT (-38.570812 -3.254786)'))) / (select extract(epoch from '2026-05-31 13:45:28'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570808 -3.254806)', '2026-05-31 13:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570812 -3.254786)'), GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254806)'))) / (select extract(epoch from '2026-05-31 13:45:30'::timestamp) - extract(epoch from '2026-05-31 13:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570812 -3.254786)'), GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254806)'))) / (select extract(epoch from '2026-05-31 13:45:30'::timestamp) - extract(epoch from '2026-05-31 13:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570808 -3.254817)', '2026-05-31 13:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254806)'), GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254817)'))) / (select extract(epoch from '2026-05-31 13:45:31'::timestamp) - extract(epoch from '2026-05-31 13:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254806)'), GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254817)'))) / (select extract(epoch from '2026-05-31 13:45:31'::timestamp) - extract(epoch from '2026-05-31 13:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570804 -3.25484)', '2026-05-31 13:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254817)'), GeomFromEWKT('SRID=4674;POINT (-38.570804 -3.25484)'))) / (select extract(epoch from '2026-05-31 13:45:33'::timestamp) - extract(epoch from '2026-05-31 13:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570808 -3.254817)'), GeomFromEWKT('SRID=4674;POINT (-38.570804 -3.25484)'))) / (select extract(epoch from '2026-05-31 13:45:33'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570795 -3.254855)', '2026-05-31 13:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570804 -3.25484)'), GeomFromEWKT('SRID=4674;POINT (-38.570795 -3.254855)'))) / (select extract(epoch from '2026-05-31 13:45:35'::timestamp) - extract(epoch from '2026-05-31 13:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570804 -3.25484)'), GeomFromEWKT('SRID=4674;POINT (-38.570795 -3.254855)'))) / (select extract(epoch from '2026-05-31 13:45:35'::timestamp) - extract(epoch from '2026-05-31 13:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570782 -3.254892)', '2026-05-31 13:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570795 -3.254855)'), GeomFromEWKT('SRID=4674;POINT (-38.570782 -3.254892)'))) / (select extract(epoch from '2026-05-31 13:45:39'::timestamp) - extract(epoch from '2026-05-31 13:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570795 -3.254855)'), GeomFromEWKT('SRID=4674;POINT (-38.570782 -3.254892)'))) / (select extract(epoch from '2026-05-31 13:45:39'::timestamp) - extract(epoch from '2026-05-31 13:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570766 -3.254906)', '2026-05-31 13:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570782 -3.254892)'), GeomFromEWKT('SRID=4674;POINT (-38.570766 -3.254906)'))) / (select extract(epoch from '2026-05-31 13:45:41'::timestamp) - extract(epoch from '2026-05-31 13:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570782 -3.254892)'), GeomFromEWKT('SRID=4674;POINT (-38.570766 -3.254906)'))) / (select extract(epoch from '2026-05-31 13:45:41'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570722 -3.254962)', '2026-05-31 13:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570766 -3.254906)'), GeomFromEWKT('SRID=4674;POINT (-38.570722 -3.254962)'))) / (select extract(epoch from '2026-05-31 13:45:49'::timestamp) - extract(epoch from '2026-05-31 13:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570766 -3.254906)'), GeomFromEWKT('SRID=4674;POINT (-38.570722 -3.254962)'))) / (select extract(epoch from '2026-05-31 13:45:49'::timestamp) - extract(epoch from '2026-05-31 13:45: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'), 46535, 'SRID=4674;POINT (-38.570713 -3.255029)', '2026-05-31 13:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570722 -3.254962)'), GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255029)'))) / (select extract(epoch from '2026-05-31 13:45:58'::timestamp) - extract(epoch from '2026-05-31 13:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570722 -3.254962)'), GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255029)'))) / (select extract(epoch from '2026-05-31 13:45:58'::timestamp) - extract(epoch from '2026-05-31 13:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570706 -3.255088)', '2026-05-31 13:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255029)'), GeomFromEWKT('SRID=4674;POINT (-38.570706 -3.255088)'))) / (select extract(epoch from '2026-05-31 13:46:06'::timestamp) - extract(epoch from '2026-05-31 13:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255029)'), GeomFromEWKT('SRID=4674;POINT (-38.570706 -3.255088)'))) / (select extract(epoch from '2026-05-31 13:46:06'::timestamp) - extract(epoch from '2026-05-31 13:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570713 -3.255112)', '2026-05-31 13:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570706 -3.255088)'), GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255112)'))) / (select extract(epoch from '2026-05-31 13:46:09'::timestamp) - extract(epoch from '2026-05-31 13:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570706 -3.255088)'), GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255112)'))) / (select extract(epoch from '2026-05-31 13:46:09'::timestamp) - extract(epoch from '2026-05-31 13:46: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'), 46535, 'SRID=4674;POINT (-38.570721 -3.255136)', '2026-05-31 13:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255112)'), GeomFromEWKT('SRID=4674;POINT (-38.570721 -3.255136)'))) / (select extract(epoch from '2026-05-31 13:46:12'::timestamp) - extract(epoch from '2026-05-31 13:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570713 -3.255112)'), GeomFromEWKT('SRID=4674;POINT (-38.570721 -3.255136)'))) / (select extract(epoch from '2026-05-31 13:46:12'::timestamp) - extract(epoch from '2026-05-31 13:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570724 -3.255241)', '2026-05-31 13:46:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570721 -3.255136)'), GeomFromEWKT('SRID=4674;POINT (-38.570724 -3.255241)'))) / (select extract(epoch from '2026-05-31 13:46:22'::timestamp) - extract(epoch from '2026-05-31 13:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570721 -3.255136)'), GeomFromEWKT('SRID=4674;POINT (-38.570724 -3.255241)'))) / (select extract(epoch from '2026-05-31 13:46:22'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570727 -3.255328)', '2026-05-31 13:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570724 -3.255241)'), GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.255328)'))) / (select extract(epoch from '2026-05-31 13:46:30'::timestamp) - extract(epoch from '2026-05-31 13:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570724 -3.255241)'), GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.255328)'))) / (select extract(epoch from '2026-05-31 13:46:30'::timestamp) - extract(epoch from '2026-05-31 13:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570731 -3.255389)', '2026-05-31 13:46:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.255328)'), GeomFromEWKT('SRID=4674;POINT (-38.570731 -3.255389)'))) / (select extract(epoch from '2026-05-31 13:46:36'::timestamp) - extract(epoch from '2026-05-31 13:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570727 -3.255328)'), GeomFromEWKT('SRID=4674;POINT (-38.570731 -3.255389)'))) / (select extract(epoch from '2026-05-31 13:46:36'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570697 -3.255489)', '2026-05-31 13:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570731 -3.255389)'), GeomFromEWKT('SRID=4674;POINT (-38.570697 -3.255489)'))) / (select extract(epoch from '2026-05-31 13:46:46'::timestamp) - extract(epoch from '2026-05-31 13:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570731 -3.255389)'), GeomFromEWKT('SRID=4674;POINT (-38.570697 -3.255489)'))) / (select extract(epoch from '2026-05-31 13:46:46'::timestamp) - extract(epoch from '2026-05-31 13:46: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'), 46535, 'SRID=4674;POINT (-38.570681 -3.255522)', '2026-05-31 13:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570697 -3.255489)'), GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.255522)'))) / (select extract(epoch from '2026-05-31 13:46:49'::timestamp) - extract(epoch from '2026-05-31 13:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570697 -3.255489)'), GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.255522)'))) / (select extract(epoch from '2026-05-31 13:46:49'::timestamp) - extract(epoch from '2026-05-31 13:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57068 -3.255557)', '2026-05-31 13:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.255522)'), GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.255557)'))) / (select extract(epoch from '2026-05-31 13:46:52'::timestamp) - extract(epoch from '2026-05-31 13:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570681 -3.255522)'), GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.255557)'))) / (select extract(epoch from '2026-05-31 13:46:52'::timestamp) - extract(epoch from '2026-05-31 13:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570667 -3.25558)', '2026-05-31 13:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.255557)'), GeomFromEWKT('SRID=4674;POINT (-38.570667 -3.25558)'))) / (select extract(epoch from '2026-05-31 13:46:54'::timestamp) - extract(epoch from '2026-05-31 13:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.255557)'), GeomFromEWKT('SRID=4674;POINT (-38.570667 -3.25558)'))) / (select extract(epoch from '2026-05-31 13:46:54'::timestamp) - extract(epoch from '2026-05-31 13:46: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'), 46535, 'SRID=4674;POINT (-38.570669 -3.25561)', '2026-05-31 13:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570667 -3.25558)'), GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25561)'))) / (select extract(epoch from '2026-05-31 13:46:57'::timestamp) - extract(epoch from '2026-05-31 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570667 -3.25558)'), GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25561)'))) / (select extract(epoch from '2026-05-31 13:46:57'::timestamp) - extract(epoch from '2026-05-31 13:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570669 -3.25562)', '2026-05-31 13:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25561)'), GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25562)'))) / (select extract(epoch from '2026-05-31 13:46:58'::timestamp) - extract(epoch from '2026-05-31 13:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25561)'), GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25562)'))) / (select extract(epoch from '2026-05-31 13:46:58'::timestamp) - extract(epoch from '2026-05-31 13:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57067 -3.25564)', '2026-05-31 13:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25562)'), GeomFromEWKT('SRID=4674;POINT (-38.57067 -3.25564)'))) / (select extract(epoch from '2026-05-31 13:47:00'::timestamp) - extract(epoch from '2026-05-31 13:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570669 -3.25562)'), GeomFromEWKT('SRID=4674;POINT (-38.57067 -3.25564)'))) / (select extract(epoch from '2026-05-31 13:47:00'::timestamp) - extract(epoch from '2026-05-31 13:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570663 -3.255665)', '2026-05-31 13:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57067 -3.25564)'), GeomFromEWKT('SRID=4674;POINT (-38.570663 -3.255665)'))) / (select extract(epoch from '2026-05-31 13:47:03'::timestamp) - extract(epoch from '2026-05-31 13:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57067 -3.25564)'), GeomFromEWKT('SRID=4674;POINT (-38.570663 -3.255665)'))) / (select extract(epoch from '2026-05-31 13:47:03'::timestamp) - extract(epoch from '2026-05-31 13:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57064 -3.255732)', '2026-05-31 13:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570663 -3.255665)'), GeomFromEWKT('SRID=4674;POINT (-38.57064 -3.255732)'))) / (select extract(epoch from '2026-05-31 13:47:11'::timestamp) - extract(epoch from '2026-05-31 13:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570663 -3.255665)'), GeomFromEWKT('SRID=4674;POINT (-38.57064 -3.255732)'))) / (select extract(epoch from '2026-05-31 13:47:11'::timestamp) - extract(epoch from '2026-05-31 13:47: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'), 46535, 'SRID=4674;POINT (-38.570634 -3.255777)', '2026-05-31 13:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57064 -3.255732)'), GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.255777)'))) / (select extract(epoch from '2026-05-31 13:47:17'::timestamp) - extract(epoch from '2026-05-31 13:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57064 -3.255732)'), GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.255777)'))) / (select extract(epoch from '2026-05-31 13:47:17'::timestamp) - extract(epoch from '2026-05-31 13:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570635 -3.255856)', '2026-05-31 13:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.255777)'), GeomFromEWKT('SRID=4674;POINT (-38.570635 -3.255856)'))) / (select extract(epoch from '2026-05-31 13:47:27'::timestamp) - extract(epoch from '2026-05-31 13:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570634 -3.255777)'), GeomFromEWKT('SRID=4674;POINT (-38.570635 -3.255856)'))) / (select extract(epoch from '2026-05-31 13:47:27'::timestamp) - extract(epoch from '2026-05-31 13:47: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'), 46535, 'SRID=4674;POINT (-38.570641 -3.255948)', '2026-05-31 13:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570635 -3.255856)'), GeomFromEWKT('SRID=4674;POINT (-38.570641 -3.255948)'))) / (select extract(epoch from '2026-05-31 13:47:37'::timestamp) - extract(epoch from '2026-05-31 13:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570635 -3.255856)'), GeomFromEWKT('SRID=4674;POINT (-38.570641 -3.255948)'))) / (select extract(epoch from '2026-05-31 13:47:37'::timestamp) - extract(epoch from '2026-05-31 13:47: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'), 46535, 'SRID=4674;POINT (-38.570631 -3.256031)', '2026-05-31 13:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570641 -3.255948)'), GeomFromEWKT('SRID=4674;POINT (-38.570631 -3.256031)'))) / (select extract(epoch from '2026-05-31 13:47:44'::timestamp) - extract(epoch from '2026-05-31 13:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570641 -3.255948)'), GeomFromEWKT('SRID=4674;POINT (-38.570631 -3.256031)'))) / (select extract(epoch from '2026-05-31 13:47:44'::timestamp) - extract(epoch from '2026-05-31 13:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570628 -3.25613)', '2026-05-31 13:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570631 -3.256031)'), GeomFromEWKT('SRID=4674;POINT (-38.570628 -3.25613)'))) / (select extract(epoch from '2026-05-31 13:47:52'::timestamp) - extract(epoch from '2026-05-31 13:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570631 -3.256031)'), GeomFromEWKT('SRID=4674;POINT (-38.570628 -3.25613)'))) / (select extract(epoch from '2026-05-31 13:47:52'::timestamp) - extract(epoch from '2026-05-31 13:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570622 -3.256226)', '2026-05-31 13:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570628 -3.25613)'), GeomFromEWKT('SRID=4674;POINT (-38.570622 -3.256226)'))) / (select extract(epoch from '2026-05-31 13:48:00'::timestamp) - extract(epoch from '2026-05-31 13:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570628 -3.25613)'), GeomFromEWKT('SRID=4674;POINT (-38.570622 -3.256226)'))) / (select extract(epoch from '2026-05-31 13:48:00'::timestamp) - extract(epoch from '2026-05-31 13:47: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'), 46535, 'SRID=4674;POINT (-38.570625 -3.256292)', '2026-05-31 13:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570622 -3.256226)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.256292)'))) / (select extract(epoch from '2026-05-31 13:48:07'::timestamp) - extract(epoch from '2026-05-31 13:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570622 -3.256226)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.256292)'))) / (select extract(epoch from '2026-05-31 13:48:07'::timestamp) - extract(epoch from '2026-05-31 13:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570632 -3.256367)', '2026-05-31 13:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.256292)'), GeomFromEWKT('SRID=4674;POINT (-38.570632 -3.256367)'))) / (select extract(epoch from '2026-05-31 13:48:15'::timestamp) - extract(epoch from '2026-05-31 13:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.256292)'), GeomFromEWKT('SRID=4674;POINT (-38.570632 -3.256367)'))) / (select extract(epoch from '2026-05-31 13:48:15'::timestamp) - extract(epoch from '2026-05-31 13:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57063 -3.256377)', '2026-05-31 13:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570632 -3.256367)'), GeomFromEWKT('SRID=4674;POINT (-38.57063 -3.256377)'))) / (select extract(epoch from '2026-05-31 13:48:16'::timestamp) - extract(epoch from '2026-05-31 13:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570632 -3.256367)'), GeomFromEWKT('SRID=4674;POINT (-38.57063 -3.256377)'))) / (select extract(epoch from '2026-05-31 13:48:16'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570625 -3.25642)', '2026-05-31 13:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57063 -3.256377)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.25642)'))) / (select extract(epoch from '2026-05-31 13:48:20'::timestamp) - extract(epoch from '2026-05-31 13:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57063 -3.256377)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.25642)'))) / (select extract(epoch from '2026-05-31 13:48:20'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570621 -3.256432)', '2026-05-31 13:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.25642)'), GeomFromEWKT('SRID=4674;POINT (-38.570621 -3.256432)'))) / (select extract(epoch from '2026-05-31 13:48:21'::timestamp) - extract(epoch from '2026-05-31 13:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.25642)'), GeomFromEWKT('SRID=4674;POINT (-38.570621 -3.256432)'))) / (select extract(epoch from '2026-05-31 13:48:21'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570609 -3.256474)', '2026-05-31 13:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570621 -3.256432)'), GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256474)'))) / (select extract(epoch from '2026-05-31 13:48:25'::timestamp) - extract(epoch from '2026-05-31 13:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570621 -3.256432)'), GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256474)'))) / (select extract(epoch from '2026-05-31 13:48:25'::timestamp) - extract(epoch from '2026-05-31 13:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57061 -3.256494)', '2026-05-31 13:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256474)'), GeomFromEWKT('SRID=4674;POINT (-38.57061 -3.256494)'))) / (select extract(epoch from '2026-05-31 13:48:27'::timestamp) - extract(epoch from '2026-05-31 13:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256474)'), GeomFromEWKT('SRID=4674;POINT (-38.57061 -3.256494)'))) / (select extract(epoch from '2026-05-31 13:48:27'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570609 -3.256503)', '2026-05-31 13:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57061 -3.256494)'), GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256503)'))) / (select extract(epoch from '2026-05-31 13:48:28'::timestamp) - extract(epoch from '2026-05-31 13:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57061 -3.256494)'), GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256503)'))) / (select extract(epoch from '2026-05-31 13:48:28'::timestamp) - extract(epoch from '2026-05-31 13:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570606 -3.256554)', '2026-05-31 13:48:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256503)'), GeomFromEWKT('SRID=4674;POINT (-38.570606 -3.256554)'))) / (select extract(epoch from '2026-05-31 13:48:34'::timestamp) - extract(epoch from '2026-05-31 13:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570609 -3.256503)'), GeomFromEWKT('SRID=4674;POINT (-38.570606 -3.256554)'))) / (select extract(epoch from '2026-05-31 13:48:34'::timestamp) - extract(epoch from '2026-05-31 13:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570602 -3.256611)', '2026-05-31 13:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570606 -3.256554)'), GeomFromEWKT('SRID=4674;POINT (-38.570602 -3.256611)'))) / (select extract(epoch from '2026-05-31 13:48:41'::timestamp) - extract(epoch from '2026-05-31 13:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570606 -3.256554)'), GeomFromEWKT('SRID=4674;POINT (-38.570602 -3.256611)'))) / (select extract(epoch from '2026-05-31 13:48:41'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570597 -3.256629)', '2026-05-31 13:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570602 -3.256611)'), GeomFromEWKT('SRID=4674;POINT (-38.570597 -3.256629)'))) / (select extract(epoch from '2026-05-31 13:48:43'::timestamp) - extract(epoch from '2026-05-31 13:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570602 -3.256611)'), GeomFromEWKT('SRID=4674;POINT (-38.570597 -3.256629)'))) / (select extract(epoch from '2026-05-31 13:48:43'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570595 -3.256655)', '2026-05-31 13:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570597 -3.256629)'), GeomFromEWKT('SRID=4674;POINT (-38.570595 -3.256655)'))) / (select extract(epoch from '2026-05-31 13:48:46'::timestamp) - extract(epoch from '2026-05-31 13:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570597 -3.256629)'), GeomFromEWKT('SRID=4674;POINT (-38.570595 -3.256655)'))) / (select extract(epoch from '2026-05-31 13:48:46'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570589 -3.256672)', '2026-05-31 13:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570595 -3.256655)'), GeomFromEWKT('SRID=4674;POINT (-38.570589 -3.256672)'))) / (select extract(epoch from '2026-05-31 13:48:48'::timestamp) - extract(epoch from '2026-05-31 13:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570595 -3.256655)'), GeomFromEWKT('SRID=4674;POINT (-38.570589 -3.256672)'))) / (select extract(epoch from '2026-05-31 13:48:48'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570593 -3.256711)', '2026-05-31 13:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570589 -3.256672)'), GeomFromEWKT('SRID=4674;POINT (-38.570593 -3.256711)'))) / (select extract(epoch from '2026-05-31 13:48:52'::timestamp) - extract(epoch from '2026-05-31 13:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570589 -3.256672)'), GeomFromEWKT('SRID=4674;POINT (-38.570593 -3.256711)'))) / (select extract(epoch from '2026-05-31 13:48:52'::timestamp) - extract(epoch from '2026-05-31 13:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570585 -3.256735)', '2026-05-31 13:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570593 -3.256711)'), GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256735)'))) / (select extract(epoch from '2026-05-31 13:48:54'::timestamp) - extract(epoch from '2026-05-31 13:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570593 -3.256711)'), GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256735)'))) / (select extract(epoch from '2026-05-31 13:48:54'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570585 -3.256743)', '2026-05-31 13:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256735)'), GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256743)'))) / (select extract(epoch from '2026-05-31 13:48:55'::timestamp) - extract(epoch from '2026-05-31 13:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256735)'), GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256743)'))) / (select extract(epoch from '2026-05-31 13:48:55'::timestamp) - extract(epoch from '2026-05-31 13:48: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'), 46535, 'SRID=4674;POINT (-38.570574 -3.256784)', '2026-05-31 13:49:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256743)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256784)'))) / (select extract(epoch from '2026-05-31 13:49:00'::timestamp) - extract(epoch from '2026-05-31 13:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570585 -3.256743)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256784)'))) / (select extract(epoch from '2026-05-31 13:49:00'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570574 -3.256796)', '2026-05-31 13:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256784)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256796)'))) / (select extract(epoch from '2026-05-31 13:49:01'::timestamp) - extract(epoch from '2026-05-31 13:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256784)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256796)'))) / (select extract(epoch from '2026-05-31 13:49:01'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.570566 -3.256851)', '2026-05-31 13:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256796)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256851)'))) / (select extract(epoch from '2026-05-31 13:49:06'::timestamp) - extract(epoch from '2026-05-31 13:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.256796)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256851)'))) / (select extract(epoch from '2026-05-31 13:49:06'::timestamp) - extract(epoch from '2026-05-31 13:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570566 -3.25686)', '2026-05-31 13:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256851)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.25686)'))) / (select extract(epoch from '2026-05-31 13:49:07'::timestamp) - extract(epoch from '2026-05-31 13:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256851)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.25686)'))) / (select extract(epoch from '2026-05-31 13:49:07'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.570566 -3.256912)', '2026-05-31 13:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.25686)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256912)'))) / (select extract(epoch from '2026-05-31 13:49:11'::timestamp) - extract(epoch from '2026-05-31 13:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.25686)'), GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256912)'))) / (select extract(epoch from '2026-05-31 13:49:11'::timestamp) - extract(epoch from '2026-05-31 13:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570558 -3.256969)', '2026-05-31 13:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256912)'), GeomFromEWKT('SRID=4674;POINT (-38.570558 -3.256969)'))) / (select extract(epoch from '2026-05-31 13:49:17'::timestamp) - extract(epoch from '2026-05-31 13:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570566 -3.256912)'), GeomFromEWKT('SRID=4674;POINT (-38.570558 -3.256969)'))) / (select extract(epoch from '2026-05-31 13:49:17'::timestamp) - extract(epoch from '2026-05-31 13:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570554 -3.256978)', '2026-05-31 13:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570558 -3.256969)'), GeomFromEWKT('SRID=4674;POINT (-38.570554 -3.256978)'))) / (select extract(epoch from '2026-05-31 13:49:18'::timestamp) - extract(epoch from '2026-05-31 13:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570558 -3.256969)'), GeomFromEWKT('SRID=4674;POINT (-38.570554 -3.256978)'))) / (select extract(epoch from '2026-05-31 13:49:18'::timestamp) - extract(epoch from '2026-05-31 13:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570535 -3.257052)', '2026-05-31 13:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570554 -3.256978)'), GeomFromEWKT('SRID=4674;POINT (-38.570535 -3.257052)'))) / (select extract(epoch from '2026-05-31 13:49:25'::timestamp) - extract(epoch from '2026-05-31 13:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570554 -3.256978)'), GeomFromEWKT('SRID=4674;POINT (-38.570535 -3.257052)'))) / (select extract(epoch from '2026-05-31 13:49:25'::timestamp) - extract(epoch from '2026-05-31 13:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570518 -3.257151)', '2026-05-31 13:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570535 -3.257052)'), GeomFromEWKT('SRID=4674;POINT (-38.570518 -3.257151)'))) / (select extract(epoch from '2026-05-31 13:49:33'::timestamp) - extract(epoch from '2026-05-31 13:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570535 -3.257052)'), GeomFromEWKT('SRID=4674;POINT (-38.570518 -3.257151)'))) / (select extract(epoch from '2026-05-31 13:49:33'::timestamp) - extract(epoch from '2026-05-31 13:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570509 -3.25722)', '2026-05-31 13:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570518 -3.257151)'), GeomFromEWKT('SRID=4674;POINT (-38.570509 -3.25722)'))) / (select extract(epoch from '2026-05-31 13:49:39'::timestamp) - extract(epoch from '2026-05-31 13:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570518 -3.257151)'), GeomFromEWKT('SRID=4674;POINT (-38.570509 -3.25722)'))) / (select extract(epoch from '2026-05-31 13:49:39'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.57051 -3.257228)', '2026-05-31 13:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570509 -3.25722)'), GeomFromEWKT('SRID=4674;POINT (-38.57051 -3.257228)'))) / (select extract(epoch from '2026-05-31 13:49:40'::timestamp) - extract(epoch from '2026-05-31 13:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570509 -3.25722)'), GeomFromEWKT('SRID=4674;POINT (-38.57051 -3.257228)'))) / (select extract(epoch from '2026-05-31 13:49:40'::timestamp) - extract(epoch from '2026-05-31 13:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570511 -3.257291)', '2026-05-31 13:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57051 -3.257228)'), GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.257291)'))) / (select extract(epoch from '2026-05-31 13:49:46'::timestamp) - extract(epoch from '2026-05-31 13:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57051 -3.257228)'), GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.257291)'))) / (select extract(epoch from '2026-05-31 13:49:46'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.570513 -3.2573)', '2026-05-31 13:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.257291)'), GeomFromEWKT('SRID=4674;POINT (-38.570513 -3.2573)'))) / (select extract(epoch from '2026-05-31 13:49:47'::timestamp) - extract(epoch from '2026-05-31 13:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570511 -3.257291)'), GeomFromEWKT('SRID=4674;POINT (-38.570513 -3.2573)'))) / (select extract(epoch from '2026-05-31 13:49:47'::timestamp) - extract(epoch from '2026-05-31 13:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570507 -3.257347)', '2026-05-31 13:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570513 -3.2573)'), GeomFromEWKT('SRID=4674;POINT (-38.570507 -3.257347)'))) / (select extract(epoch from '2026-05-31 13:49:51'::timestamp) - extract(epoch from '2026-05-31 13:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570513 -3.2573)'), GeomFromEWKT('SRID=4674;POINT (-38.570507 -3.257347)'))) / (select extract(epoch from '2026-05-31 13:49:51'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.570506 -3.257376)', '2026-05-31 13:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570507 -3.257347)'), GeomFromEWKT('SRID=4674;POINT (-38.570506 -3.257376)'))) / (select extract(epoch from '2026-05-31 13:49:54'::timestamp) - extract(epoch from '2026-05-31 13:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570507 -3.257347)'), GeomFromEWKT('SRID=4674;POINT (-38.570506 -3.257376)'))) / (select extract(epoch from '2026-05-31 13:49:54'::timestamp) - extract(epoch from '2026-05-31 13:49: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'), 46535, 'SRID=4674;POINT (-38.570494 -3.257465)', '2026-05-31 13:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570506 -3.257376)'), GeomFromEWKT('SRID=4674;POINT (-38.570494 -3.257465)'))) / (select extract(epoch from '2026-05-31 13:50:02'::timestamp) - extract(epoch from '2026-05-31 13:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570506 -3.257376)'), GeomFromEWKT('SRID=4674;POINT (-38.570494 -3.257465)'))) / (select extract(epoch from '2026-05-31 13:50:02'::timestamp) - extract(epoch from '2026-05-31 13:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570485 -3.257493)', '2026-05-31 13:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570494 -3.257465)'), GeomFromEWKT('SRID=4674;POINT (-38.570485 -3.257493)'))) / (select extract(epoch from '2026-05-31 13:50:05'::timestamp) - extract(epoch from '2026-05-31 13:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570494 -3.257465)'), GeomFromEWKT('SRID=4674;POINT (-38.570485 -3.257493)'))) / (select extract(epoch from '2026-05-31 13:50:05'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.570482 -3.257532)', '2026-05-31 13:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570485 -3.257493)'), GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.257532)'))) / (select extract(epoch from '2026-05-31 13:50:08'::timestamp) - extract(epoch from '2026-05-31 13:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570485 -3.257493)'), GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.257532)'))) / (select extract(epoch from '2026-05-31 13:50:08'::timestamp) - extract(epoch from '2026-05-31 13:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57046 -3.257626)', '2026-05-31 13:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.257532)'), GeomFromEWKT('SRID=4674;POINT (-38.57046 -3.257626)'))) / (select extract(epoch from '2026-05-31 13:50:16'::timestamp) - extract(epoch from '2026-05-31 13:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.257532)'), GeomFromEWKT('SRID=4674;POINT (-38.57046 -3.257626)'))) / (select extract(epoch from '2026-05-31 13:50:16'::timestamp) - extract(epoch from '2026-05-31 13:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570449 -3.257679)', '2026-05-31 13:50:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57046 -3.257626)'), GeomFromEWKT('SRID=4674;POINT (-38.570449 -3.257679)'))) / (select extract(epoch from '2026-05-31 13:50:22'::timestamp) - extract(epoch from '2026-05-31 13:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57046 -3.257626)'), GeomFromEWKT('SRID=4674;POINT (-38.570449 -3.257679)'))) / (select extract(epoch from '2026-05-31 13:50:22'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.57043 -3.257751)', '2026-05-31 13:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570449 -3.257679)'), GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.257751)'))) / (select extract(epoch from '2026-05-31 13:50:30'::timestamp) - extract(epoch from '2026-05-31 13:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570449 -3.257679)'), GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.257751)'))) / (select extract(epoch from '2026-05-31 13:50:30'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.570417 -3.257818)', '2026-05-31 13:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.257751)'), GeomFromEWKT('SRID=4674;POINT (-38.570417 -3.257818)'))) / (select extract(epoch from '2026-05-31 13:50:38'::timestamp) - extract(epoch from '2026-05-31 13:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.257751)'), GeomFromEWKT('SRID=4674;POINT (-38.570417 -3.257818)'))) / (select extract(epoch from '2026-05-31 13:50:38'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.570411 -3.257873)', '2026-05-31 13:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570417 -3.257818)'), GeomFromEWKT('SRID=4674;POINT (-38.570411 -3.257873)'))) / (select extract(epoch from '2026-05-31 13:50:45'::timestamp) - extract(epoch from '2026-05-31 13:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570417 -3.257818)'), GeomFromEWKT('SRID=4674;POINT (-38.570411 -3.257873)'))) / (select extract(epoch from '2026-05-31 13:50:45'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.570395 -3.257948)', '2026-05-31 13:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570411 -3.257873)'), GeomFromEWKT('SRID=4674;POINT (-38.570395 -3.257948)'))) / (select extract(epoch from '2026-05-31 13:50:52'::timestamp) - extract(epoch from '2026-05-31 13:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570411 -3.257873)'), GeomFromEWKT('SRID=4674;POINT (-38.570395 -3.257948)'))) / (select extract(epoch from '2026-05-31 13:50:52'::timestamp) - extract(epoch from '2026-05-31 13:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570376 -3.258031)', '2026-05-31 13:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570395 -3.257948)'), GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258031)'))) / (select extract(epoch from '2026-05-31 13:51:00'::timestamp) - extract(epoch from '2026-05-31 13:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570395 -3.257948)'), GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258031)'))) / (select extract(epoch from '2026-05-31 13:51:00'::timestamp) - extract(epoch from '2026-05-31 13:50: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'), 46535, 'SRID=4674;POINT (-38.570375 -3.258042)', '2026-05-31 13:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258031)'), GeomFromEWKT('SRID=4674;POINT (-38.570375 -3.258042)'))) / (select extract(epoch from '2026-05-31 13:51:01'::timestamp) - extract(epoch from '2026-05-31 13:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258031)'), GeomFromEWKT('SRID=4674;POINT (-38.570375 -3.258042)'))) / (select extract(epoch from '2026-05-31 13:51:01'::timestamp) - extract(epoch from '2026-05-31 13:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570369 -3.258099)', '2026-05-31 13:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570375 -3.258042)'), GeomFromEWKT('SRID=4674;POINT (-38.570369 -3.258099)'))) / (select extract(epoch from '2026-05-31 13:51:06'::timestamp) - extract(epoch from '2026-05-31 13:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570375 -3.258042)'), GeomFromEWKT('SRID=4674;POINT (-38.570369 -3.258099)'))) / (select extract(epoch from '2026-05-31 13:51:06'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570364 -3.258174)', '2026-05-31 13:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570369 -3.258099)'), GeomFromEWKT('SRID=4674;POINT (-38.570364 -3.258174)'))) / (select extract(epoch from '2026-05-31 13:51:13'::timestamp) - extract(epoch from '2026-05-31 13:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570369 -3.258099)'), GeomFromEWKT('SRID=4674;POINT (-38.570364 -3.258174)'))) / (select extract(epoch from '2026-05-31 13:51:13'::timestamp) - extract(epoch from '2026-05-31 13:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570366 -3.258242)', '2026-05-31 13:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570364 -3.258174)'), GeomFromEWKT('SRID=4674;POINT (-38.570366 -3.258242)'))) / (select extract(epoch from '2026-05-31 13:51:20'::timestamp) - extract(epoch from '2026-05-31 13:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570364 -3.258174)'), GeomFromEWKT('SRID=4674;POINT (-38.570366 -3.258242)'))) / (select extract(epoch from '2026-05-31 13:51:20'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570362 -3.258281)', '2026-05-31 13:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570366 -3.258242)'), GeomFromEWKT('SRID=4674;POINT (-38.570362 -3.258281)'))) / (select extract(epoch from '2026-05-31 13:51:26'::timestamp) - extract(epoch from '2026-05-31 13:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570366 -3.258242)'), GeomFromEWKT('SRID=4674;POINT (-38.570362 -3.258281)'))) / (select extract(epoch from '2026-05-31 13:51:26'::timestamp) - extract(epoch from '2026-05-31 13:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570355 -3.258351)', '2026-05-31 13:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570362 -3.258281)'), GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.258351)'))) / (select extract(epoch from '2026-05-31 13:51:36'::timestamp) - extract(epoch from '2026-05-31 13:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570362 -3.258281)'), GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.258351)'))) / (select extract(epoch from '2026-05-31 13:51:36'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570373 -3.258396)', '2026-05-31 13:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.258351)'), GeomFromEWKT('SRID=4674;POINT (-38.570373 -3.258396)'))) / (select extract(epoch from '2026-05-31 13:51:42'::timestamp) - extract(epoch from '2026-05-31 13:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570355 -3.258351)'), GeomFromEWKT('SRID=4674;POINT (-38.570373 -3.258396)'))) / (select extract(epoch from '2026-05-31 13:51:42'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570376 -3.258405)', '2026-05-31 13:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570373 -3.258396)'), GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258405)'))) / (select extract(epoch from '2026-05-31 13:51:43'::timestamp) - extract(epoch from '2026-05-31 13:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570373 -3.258396)'), GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258405)'))) / (select extract(epoch from '2026-05-31 13:51:43'::timestamp) - extract(epoch from '2026-05-31 13:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570389 -3.258453)', '2026-05-31 13:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258405)'), GeomFromEWKT('SRID=4674;POINT (-38.570389 -3.258453)'))) / (select extract(epoch from '2026-05-31 13:51:48'::timestamp) - extract(epoch from '2026-05-31 13:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570376 -3.258405)'), GeomFromEWKT('SRID=4674;POINT (-38.570389 -3.258453)'))) / (select extract(epoch from '2026-05-31 13:51:48'::timestamp) - extract(epoch from '2026-05-31 13:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570387 -3.258468)', '2026-05-31 13:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570389 -3.258453)'), GeomFromEWKT('SRID=4674;POINT (-38.570387 -3.258468)'))) / (select extract(epoch from '2026-05-31 13:51:50'::timestamp) - extract(epoch from '2026-05-31 13:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570389 -3.258453)'), GeomFromEWKT('SRID=4674;POINT (-38.570387 -3.258468)'))) / (select extract(epoch from '2026-05-31 13:51:50'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570402 -3.25851)', '2026-05-31 13:51:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570387 -3.258468)'), GeomFromEWKT('SRID=4674;POINT (-38.570402 -3.25851)'))) / (select extract(epoch from '2026-05-31 13:51:55'::timestamp) - extract(epoch from '2026-05-31 13:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570387 -3.258468)'), GeomFromEWKT('SRID=4674;POINT (-38.570402 -3.25851)'))) / (select extract(epoch from '2026-05-31 13:51:55'::timestamp) - extract(epoch from '2026-05-31 13:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570406 -3.258519)', '2026-05-31 13:51:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570402 -3.25851)'), GeomFromEWKT('SRID=4674;POINT (-38.570406 -3.258519)'))) / (select extract(epoch from '2026-05-31 13:51:56'::timestamp) - extract(epoch from '2026-05-31 13:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570402 -3.25851)'), GeomFromEWKT('SRID=4674;POINT (-38.570406 -3.258519)'))) / (select extract(epoch from '2026-05-31 13:51:56'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.57043 -3.258591)', '2026-05-31 13:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570406 -3.258519)'), GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.258591)'))) / (select extract(epoch from '2026-05-31 13:52:03'::timestamp) - extract(epoch from '2026-05-31 13:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570406 -3.258519)'), GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.258591)'))) / (select extract(epoch from '2026-05-31 13:52:03'::timestamp) - extract(epoch from '2026-05-31 13:51: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'), 46535, 'SRID=4674;POINT (-38.570441 -3.258654)', '2026-05-31 13:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.258591)'), GeomFromEWKT('SRID=4674;POINT (-38.570441 -3.258654)'))) / (select extract(epoch from '2026-05-31 13:52:11'::timestamp) - extract(epoch from '2026-05-31 13:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57043 -3.258591)'), GeomFromEWKT('SRID=4674;POINT (-38.570441 -3.258654)'))) / (select extract(epoch from '2026-05-31 13:52:11'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.570455 -3.258735)', '2026-05-31 13:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570441 -3.258654)'), GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258735)'))) / (select extract(epoch from '2026-05-31 13:52:21'::timestamp) - extract(epoch from '2026-05-31 13:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570441 -3.258654)'), GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258735)'))) / (select extract(epoch from '2026-05-31 13:52:21'::timestamp) - extract(epoch from '2026-05-31 13:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570453 -3.258754)', '2026-05-31 13:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258735)'), GeomFromEWKT('SRID=4674;POINT (-38.570453 -3.258754)'))) / (select extract(epoch from '2026-05-31 13:52:23'::timestamp) - extract(epoch from '2026-05-31 13:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258735)'), GeomFromEWKT('SRID=4674;POINT (-38.570453 -3.258754)'))) / (select extract(epoch from '2026-05-31 13:52:23'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570451 -3.258771)', '2026-05-31 13:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570453 -3.258754)'), GeomFromEWKT('SRID=4674;POINT (-38.570451 -3.258771)'))) / (select extract(epoch from '2026-05-31 13:52:25'::timestamp) - extract(epoch from '2026-05-31 13:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570453 -3.258754)'), GeomFromEWKT('SRID=4674;POINT (-38.570451 -3.258771)'))) / (select extract(epoch from '2026-05-31 13:52:25'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.570455 -3.258779)', '2026-05-31 13:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570451 -3.258771)'), GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258779)'))) / (select extract(epoch from '2026-05-31 13:52:26'::timestamp) - extract(epoch from '2026-05-31 13:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570451 -3.258771)'), GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258779)'))) / (select extract(epoch from '2026-05-31 13:52:26'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.57044 -3.258842)', '2026-05-31 13:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258779)'), GeomFromEWKT('SRID=4674;POINT (-38.57044 -3.258842)'))) / (select extract(epoch from '2026-05-31 13:52:32'::timestamp) - extract(epoch from '2026-05-31 13:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570455 -3.258779)'), GeomFromEWKT('SRID=4674;POINT (-38.57044 -3.258842)'))) / (select extract(epoch from '2026-05-31 13:52:32'::timestamp) - extract(epoch from '2026-05-31 13:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570414 -3.258901)', '2026-05-31 13:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57044 -3.258842)'), GeomFromEWKT('SRID=4674;POINT (-38.570414 -3.258901)'))) / (select extract(epoch from '2026-05-31 13:52:39'::timestamp) - extract(epoch from '2026-05-31 13:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57044 -3.258842)'), GeomFromEWKT('SRID=4674;POINT (-38.570414 -3.258901)'))) / (select extract(epoch from '2026-05-31 13:52:39'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.570393 -3.258945)', '2026-05-31 13:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570414 -3.258901)'), GeomFromEWKT('SRID=4674;POINT (-38.570393 -3.258945)'))) / (select extract(epoch from '2026-05-31 13:52:45'::timestamp) - extract(epoch from '2026-05-31 13:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570414 -3.258901)'), GeomFromEWKT('SRID=4674;POINT (-38.570393 -3.258945)'))) / (select extract(epoch from '2026-05-31 13:52:45'::timestamp) - extract(epoch from '2026-05-31 13:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570346 -3.259034)', '2026-05-31 13:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570393 -3.258945)'), GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.259034)'))) / (select extract(epoch from '2026-05-31 13:52:55'::timestamp) - extract(epoch from '2026-05-31 13:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570393 -3.258945)'), GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.259034)'))) / (select extract(epoch from '2026-05-31 13:52:55'::timestamp) - extract(epoch from '2026-05-31 13:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570344 -3.259057)', '2026-05-31 13:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.259034)'), GeomFromEWKT('SRID=4674;POINT (-38.570344 -3.259057)'))) / (select extract(epoch from '2026-05-31 13:52:58'::timestamp) - extract(epoch from '2026-05-31 13:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570346 -3.259034)'), GeomFromEWKT('SRID=4674;POINT (-38.570344 -3.259057)'))) / (select extract(epoch from '2026-05-31 13:52:58'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.570345 -3.25911)', '2026-05-31 13:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570344 -3.259057)'), GeomFromEWKT('SRID=4674;POINT (-38.570345 -3.25911)'))) / (select extract(epoch from '2026-05-31 13:53:02'::timestamp) - extract(epoch from '2026-05-31 13:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570344 -3.259057)'), GeomFromEWKT('SRID=4674;POINT (-38.570345 -3.25911)'))) / (select extract(epoch from '2026-05-31 13:53:02'::timestamp) - extract(epoch from '2026-05-31 13:52: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'), 46535, 'SRID=4674;POINT (-38.570339 -3.259152)', '2026-05-31 13:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570345 -3.25911)'), GeomFromEWKT('SRID=4674;POINT (-38.570339 -3.259152)'))) / (select extract(epoch from '2026-05-31 13:53:07'::timestamp) - extract(epoch from '2026-05-31 13:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570345 -3.25911)'), GeomFromEWKT('SRID=4674;POINT (-38.570339 -3.259152)'))) / (select extract(epoch from '2026-05-31 13:53:07'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570321 -3.259239)', '2026-05-31 13:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570339 -3.259152)'), GeomFromEWKT('SRID=4674;POINT (-38.570321 -3.259239)'))) / (select extract(epoch from '2026-05-31 13:53:15'::timestamp) - extract(epoch from '2026-05-31 13:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570339 -3.259152)'), GeomFromEWKT('SRID=4674;POINT (-38.570321 -3.259239)'))) / (select extract(epoch from '2026-05-31 13:53:15'::timestamp) - extract(epoch from '2026-05-31 13:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57031 -3.259328)', '2026-05-31 13:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570321 -3.259239)'), GeomFromEWKT('SRID=4674;POINT (-38.57031 -3.259328)'))) / (select extract(epoch from '2026-05-31 13:53:24'::timestamp) - extract(epoch from '2026-05-31 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570321 -3.259239)'), GeomFromEWKT('SRID=4674;POINT (-38.57031 -3.259328)'))) / (select extract(epoch from '2026-05-31 13:53:24'::timestamp) - extract(epoch from '2026-05-31 13:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570299 -3.259395)', '2026-05-31 13:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57031 -3.259328)'), GeomFromEWKT('SRID=4674;POINT (-38.570299 -3.259395)'))) / (select extract(epoch from '2026-05-31 13:53:30'::timestamp) - extract(epoch from '2026-05-31 13:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57031 -3.259328)'), GeomFromEWKT('SRID=4674;POINT (-38.570299 -3.259395)'))) / (select extract(epoch from '2026-05-31 13:53:30'::timestamp) - extract(epoch from '2026-05-31 13:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570296 -3.259402)', '2026-05-31 13:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570299 -3.259395)'), GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259402)'))) / (select extract(epoch from '2026-05-31 13:53:31'::timestamp) - extract(epoch from '2026-05-31 13:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570299 -3.259395)'), GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259402)'))) / (select extract(epoch from '2026-05-31 13:53:31'::timestamp) - extract(epoch from '2026-05-31 13:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570296 -3.259419)', '2026-05-31 13:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259402)'), GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259419)'))) / (select extract(epoch from '2026-05-31 13:53:33'::timestamp) - extract(epoch from '2026-05-31 13:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259402)'), GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259419)'))) / (select extract(epoch from '2026-05-31 13:53:33'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570292 -3.25944)', '2026-05-31 13:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259419)'), GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.25944)'))) / (select extract(epoch from '2026-05-31 13:53:35'::timestamp) - extract(epoch from '2026-05-31 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570296 -3.259419)'), GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.25944)'))) / (select extract(epoch from '2026-05-31 13:53:35'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570284 -3.259457)', '2026-05-31 13:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.25944)'), GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259457)'))) / (select extract(epoch from '2026-05-31 13:53:37'::timestamp) - extract(epoch from '2026-05-31 13:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570292 -3.25944)'), GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259457)'))) / (select extract(epoch from '2026-05-31 13:53:37'::timestamp) - extract(epoch from '2026-05-31 13:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570288 -3.259476)', '2026-05-31 13:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259457)'), GeomFromEWKT('SRID=4674;POINT (-38.570288 -3.259476)'))) / (select extract(epoch from '2026-05-31 13:53:39'::timestamp) - extract(epoch from '2026-05-31 13:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259457)'), GeomFromEWKT('SRID=4674;POINT (-38.570288 -3.259476)'))) / (select extract(epoch from '2026-05-31 13:53:39'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570284 -3.259484)', '2026-05-31 13:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570288 -3.259476)'), GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259484)'))) / (select extract(epoch from '2026-05-31 13:53:40'::timestamp) - extract(epoch from '2026-05-31 13:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570288 -3.259476)'), GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259484)'))) / (select extract(epoch from '2026-05-31 13:53:40'::timestamp) - extract(epoch from '2026-05-31 13:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570282 -3.2595)', '2026-05-31 13:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259484)'), GeomFromEWKT('SRID=4674;POINT (-38.570282 -3.2595)'))) / (select extract(epoch from '2026-05-31 13:53:42'::timestamp) - extract(epoch from '2026-05-31 13:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570284 -3.259484)'), GeomFromEWKT('SRID=4674;POINT (-38.570282 -3.2595)'))) / (select extract(epoch from '2026-05-31 13:53:42'::timestamp) - extract(epoch from '2026-05-31 13:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570281 -3.259532)', '2026-05-31 13:53:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570282 -3.2595)'), GeomFromEWKT('SRID=4674;POINT (-38.570281 -3.259532)'))) / (select extract(epoch from '2026-05-31 13:53:45'::timestamp) - extract(epoch from '2026-05-31 13:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570282 -3.2595)'), GeomFromEWKT('SRID=4674;POINT (-38.570281 -3.259532)'))) / (select extract(epoch from '2026-05-31 13:53:45'::timestamp) - extract(epoch from '2026-05-31 13:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570273 -3.259555)', '2026-05-31 13:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570281 -3.259532)'), GeomFromEWKT('SRID=4674;POINT (-38.570273 -3.259555)'))) / (select extract(epoch from '2026-05-31 13:53:48'::timestamp) - extract(epoch from '2026-05-31 13:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570281 -3.259532)'), GeomFromEWKT('SRID=4674;POINT (-38.570273 -3.259555)'))) / (select extract(epoch from '2026-05-31 13:53:48'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570275 -3.259588)', '2026-05-31 13:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570273 -3.259555)'), GeomFromEWKT('SRID=4674;POINT (-38.570275 -3.259588)'))) / (select extract(epoch from '2026-05-31 13:53:51'::timestamp) - extract(epoch from '2026-05-31 13:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570273 -3.259555)'), GeomFromEWKT('SRID=4674;POINT (-38.570275 -3.259588)'))) / (select extract(epoch from '2026-05-31 13:53:51'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570266 -3.25965)', '2026-05-31 13:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570275 -3.259588)'), GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.25965)'))) / (select extract(epoch from '2026-05-31 13:53:57'::timestamp) - extract(epoch from '2026-05-31 13:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570275 -3.259588)'), GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.25965)'))) / (select extract(epoch from '2026-05-31 13:53:57'::timestamp) - extract(epoch from '2026-05-31 13:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570268 -3.259673)', '2026-05-31 13:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.25965)'), GeomFromEWKT('SRID=4674;POINT (-38.570268 -3.259673)'))) / (select extract(epoch from '2026-05-31 13:53:59'::timestamp) - extract(epoch from '2026-05-31 13:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.25965)'), GeomFromEWKT('SRID=4674;POINT (-38.570268 -3.259673)'))) / (select extract(epoch from '2026-05-31 13:53:59'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570266 -3.259682)', '2026-05-31 13:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570268 -3.259673)'), GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.259682)'))) / (select extract(epoch from '2026-05-31 13:54:00'::timestamp) - extract(epoch from '2026-05-31 13:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570268 -3.259673)'), GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.259682)'))) / (select extract(epoch from '2026-05-31 13:54:00'::timestamp) - extract(epoch from '2026-05-31 13:53: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'), 46535, 'SRID=4674;POINT (-38.570263 -3.259716)', '2026-05-31 13:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.259682)'), GeomFromEWKT('SRID=4674;POINT (-38.570263 -3.259716)'))) / (select extract(epoch from '2026-05-31 13:54:03'::timestamp) - extract(epoch from '2026-05-31 13:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570266 -3.259682)'), GeomFromEWKT('SRID=4674;POINT (-38.570263 -3.259716)'))) / (select extract(epoch from '2026-05-31 13:54:03'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570267 -3.259738)', '2026-05-31 13:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570263 -3.259716)'), GeomFromEWKT('SRID=4674;POINT (-38.570267 -3.259738)'))) / (select extract(epoch from '2026-05-31 13:54:05'::timestamp) - extract(epoch from '2026-05-31 13:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570263 -3.259716)'), GeomFromEWKT('SRID=4674;POINT (-38.570267 -3.259738)'))) / (select extract(epoch from '2026-05-31 13:54:05'::timestamp) - extract(epoch from '2026-05-31 13:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570259 -3.259803)', '2026-05-31 13:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570267 -3.259738)'), GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259803)'))) / (select extract(epoch from '2026-05-31 13:54:11'::timestamp) - extract(epoch from '2026-05-31 13:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570267 -3.259738)'), GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259803)'))) / (select extract(epoch from '2026-05-31 13:54:11'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570259 -3.259813)', '2026-05-31 13:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259803)'), GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259813)'))) / (select extract(epoch from '2026-05-31 13:54:12'::timestamp) - extract(epoch from '2026-05-31 13:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259803)'), GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259813)'))) / (select extract(epoch from '2026-05-31 13:54:12'::timestamp) - extract(epoch from '2026-05-31 13:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57026 -3.259861)', '2026-05-31 13:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259813)'), GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.259861)'))) / (select extract(epoch from '2026-05-31 13:54:17'::timestamp) - extract(epoch from '2026-05-31 13:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570259 -3.259813)'), GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.259861)'))) / (select extract(epoch from '2026-05-31 13:54:17'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570252 -3.259926)', '2026-05-31 13:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.259861)'), GeomFromEWKT('SRID=4674;POINT (-38.570252 -3.259926)'))) / (select extract(epoch from '2026-05-31 13:54:22'::timestamp) - extract(epoch from '2026-05-31 13:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57026 -3.259861)'), GeomFromEWKT('SRID=4674;POINT (-38.570252 -3.259926)'))) / (select extract(epoch from '2026-05-31 13:54:22'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570238 -3.259987)', '2026-05-31 13:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570252 -3.259926)'), GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.259987)'))) / (select extract(epoch from '2026-05-31 13:54:29'::timestamp) - extract(epoch from '2026-05-31 13:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570252 -3.259926)'), GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.259987)'))) / (select extract(epoch from '2026-05-31 13:54:29'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570226 -3.260068)', '2026-05-31 13:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.259987)'), GeomFromEWKT('SRID=4674;POINT (-38.570226 -3.260068)'))) / (select extract(epoch from '2026-05-31 13:54:36'::timestamp) - extract(epoch from '2026-05-31 13:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.259987)'), GeomFromEWKT('SRID=4674;POINT (-38.570226 -3.260068)'))) / (select extract(epoch from '2026-05-31 13:54:36'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570217 -3.260123)', '2026-05-31 13:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570226 -3.260068)'), GeomFromEWKT('SRID=4674;POINT (-38.570217 -3.260123)'))) / (select extract(epoch from '2026-05-31 13:54:42'::timestamp) - extract(epoch from '2026-05-31 13:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570226 -3.260068)'), GeomFromEWKT('SRID=4674;POINT (-38.570217 -3.260123)'))) / (select extract(epoch from '2026-05-31 13:54:42'::timestamp) - extract(epoch from '2026-05-31 13:54: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'), 46535, 'SRID=4674;POINT (-38.570203 -3.260221)', '2026-05-31 13:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570217 -3.260123)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260221)'))) / (select extract(epoch from '2026-05-31 13:54:50'::timestamp) - extract(epoch from '2026-05-31 13:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570217 -3.260123)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260221)'))) / (select extract(epoch from '2026-05-31 13:54:50'::timestamp) - extract(epoch from '2026-05-31 13:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570198 -3.260229)', '2026-05-31 13:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260221)'), GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.260229)'))) / (select extract(epoch from '2026-05-31 13:54:51'::timestamp) - extract(epoch from '2026-05-31 13:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260221)'), GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.260229)'))) / (select extract(epoch from '2026-05-31 13:54:51'::timestamp) - extract(epoch from '2026-05-31 13:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570183 -3.260264)', '2026-05-31 13:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.260229)'), GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260264)'))) / (select extract(epoch from '2026-05-31 13:54:55'::timestamp) - extract(epoch from '2026-05-31 13:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.260229)'), GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260264)'))) / (select extract(epoch from '2026-05-31 13:54:55'::timestamp) - extract(epoch from '2026-05-31 13:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570173 -3.260319)', '2026-05-31 13:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260264)'), GeomFromEWKT('SRID=4674;POINT (-38.570173 -3.260319)'))) / (select extract(epoch from '2026-05-31 13:55:00'::timestamp) - extract(epoch from '2026-05-31 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260264)'), GeomFromEWKT('SRID=4674;POINT (-38.570173 -3.260319)'))) / (select extract(epoch from '2026-05-31 13:55:00'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570181 -3.260385)', '2026-05-31 13:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570173 -3.260319)'), GeomFromEWKT('SRID=4674;POINT (-38.570181 -3.260385)'))) / (select extract(epoch from '2026-05-31 13:55:10'::timestamp) - extract(epoch from '2026-05-31 13:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570173 -3.260319)'), GeomFromEWKT('SRID=4674;POINT (-38.570181 -3.260385)'))) / (select extract(epoch from '2026-05-31 13:55:10'::timestamp) - extract(epoch from '2026-05-31 13:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570198 -3.26044)', '2026-05-31 13:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570181 -3.260385)'), GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.26044)'))) / (select extract(epoch from '2026-05-31 13:55:19'::timestamp) - extract(epoch from '2026-05-31 13:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570181 -3.260385)'), GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.26044)'))) / (select extract(epoch from '2026-05-31 13:55:19'::timestamp) - extract(epoch from '2026-05-31 13:55: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'), 46535, 'SRID=4674;POINT (-38.570222 -3.260519)', '2026-05-31 13:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.26044)'), GeomFromEWKT('SRID=4674;POINT (-38.570222 -3.260519)'))) / (select extract(epoch from '2026-05-31 13:55:28'::timestamp) - extract(epoch from '2026-05-31 13:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570198 -3.26044)'), GeomFromEWKT('SRID=4674;POINT (-38.570222 -3.260519)'))) / (select extract(epoch from '2026-05-31 13:55:28'::timestamp) - extract(epoch from '2026-05-31 13:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570233 -3.260569)', '2026-05-31 13:55:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570222 -3.260519)'), GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.260569)'))) / (select extract(epoch from '2026-05-31 13:55:33'::timestamp) - extract(epoch from '2026-05-31 13:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570222 -3.260519)'), GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.260569)'))) / (select extract(epoch from '2026-05-31 13:55:33'::timestamp) - extract(epoch from '2026-05-31 13:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570237 -3.260578)', '2026-05-31 13:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.260569)'), GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260578)'))) / (select extract(epoch from '2026-05-31 13:55:34'::timestamp) - extract(epoch from '2026-05-31 13:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570233 -3.260569)'), GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260578)'))) / (select extract(epoch from '2026-05-31 13:55:34'::timestamp) - extract(epoch from '2026-05-31 13:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570239 -3.260592)', '2026-05-31 13:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260578)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.260592)'))) / (select extract(epoch from '2026-05-31 13:55:36'::timestamp) - extract(epoch from '2026-05-31 13:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260578)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.260592)'))) / (select extract(epoch from '2026-05-31 13:55:36'::timestamp) - extract(epoch from '2026-05-31 13:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570234 -3.260611)', '2026-05-31 13:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.260592)'), GeomFromEWKT('SRID=4674;POINT (-38.570234 -3.260611)'))) / (select extract(epoch from '2026-05-31 13:55:38'::timestamp) - extract(epoch from '2026-05-31 13:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.260592)'), GeomFromEWKT('SRID=4674;POINT (-38.570234 -3.260611)'))) / (select extract(epoch from '2026-05-31 13:55:38'::timestamp) - extract(epoch from '2026-05-31 13:55: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'), 46535, 'SRID=4674;POINT (-38.570237 -3.260623)', '2026-05-31 13:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570234 -3.260611)'), GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260623)'))) / (select extract(epoch from '2026-05-31 13:55:39'::timestamp) - extract(epoch from '2026-05-31 13:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570234 -3.260611)'), GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260623)'))) / (select extract(epoch from '2026-05-31 13:55:39'::timestamp) - extract(epoch from '2026-05-31 13:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570239 -3.26069)', '2026-05-31 13:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260623)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.26069)'))) / (select extract(epoch from '2026-05-31 13:55:45'::timestamp) - extract(epoch from '2026-05-31 13:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570237 -3.260623)'), GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.26069)'))) / (select extract(epoch from '2026-05-31 13:55:45'::timestamp) - extract(epoch from '2026-05-31 13:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570219 -3.260772)', '2026-05-31 13:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.26069)'), GeomFromEWKT('SRID=4674;POINT (-38.570219 -3.260772)'))) / (select extract(epoch from '2026-05-31 13:55:53'::timestamp) - extract(epoch from '2026-05-31 13:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570239 -3.26069)'), GeomFromEWKT('SRID=4674;POINT (-38.570219 -3.260772)'))) / (select extract(epoch from '2026-05-31 13:55:53'::timestamp) - extract(epoch from '2026-05-31 13:55: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'), 46535, 'SRID=4674;POINT (-38.570203 -3.260845)', '2026-05-31 13:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570219 -3.260772)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260845)'))) / (select extract(epoch from '2026-05-31 13:55:59'::timestamp) - extract(epoch from '2026-05-31 13:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570219 -3.260772)'), GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260845)'))) / (select extract(epoch from '2026-05-31 13:55:59'::timestamp) - extract(epoch from '2026-05-31 13:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570187 -3.260903)', '2026-05-31 13:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260845)'), GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.260903)'))) / (select extract(epoch from '2026-05-31 13:56:05'::timestamp) - extract(epoch from '2026-05-31 13:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570203 -3.260845)'), GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.260903)'))) / (select extract(epoch from '2026-05-31 13:56:05'::timestamp) - extract(epoch from '2026-05-31 13:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570187 -3.26091)', '2026-05-31 13:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.260903)'), GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.26091)'))) / (select extract(epoch from '2026-05-31 13:56:06'::timestamp) - extract(epoch from '2026-05-31 13:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.260903)'), GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.26091)'))) / (select extract(epoch from '2026-05-31 13:56:06'::timestamp) - extract(epoch from '2026-05-31 13:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570183 -3.260918)', '2026-05-31 13:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.26091)'), GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260918)'))) / (select extract(epoch from '2026-05-31 13:56:07'::timestamp) - extract(epoch from '2026-05-31 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570187 -3.26091)'), GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260918)'))) / (select extract(epoch from '2026-05-31 13:56:07'::timestamp) - extract(epoch from '2026-05-31 13:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570178 -3.260946)', '2026-05-31 13:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260918)'), GeomFromEWKT('SRID=4674;POINT (-38.570178 -3.260946)'))) / (select extract(epoch from '2026-05-31 13:56:10'::timestamp) - extract(epoch from '2026-05-31 13:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570183 -3.260918)'), GeomFromEWKT('SRID=4674;POINT (-38.570178 -3.260946)'))) / (select extract(epoch from '2026-05-31 13:56:10'::timestamp) - extract(epoch from '2026-05-31 13:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570165 -3.261024)', '2026-05-31 13:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570178 -3.260946)'), GeomFromEWKT('SRID=4674;POINT (-38.570165 -3.261024)'))) / (select extract(epoch from '2026-05-31 13:56:20'::timestamp) - extract(epoch from '2026-05-31 13:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570178 -3.260946)'), GeomFromEWKT('SRID=4674;POINT (-38.570165 -3.261024)'))) / (select extract(epoch from '2026-05-31 13:56:20'::timestamp) - extract(epoch from '2026-05-31 13:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570141 -3.261101)', '2026-05-31 13:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570165 -3.261024)'), GeomFromEWKT('SRID=4674;POINT (-38.570141 -3.261101)'))) / (select extract(epoch from '2026-05-31 13:56:27'::timestamp) - extract(epoch from '2026-05-31 13:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570165 -3.261024)'), GeomFromEWKT('SRID=4674;POINT (-38.570141 -3.261101)'))) / (select extract(epoch from '2026-05-31 13:56:27'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570117 -3.261183)', '2026-05-31 13:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570141 -3.261101)'), GeomFromEWKT('SRID=4674;POINT (-38.570117 -3.261183)'))) / (select extract(epoch from '2026-05-31 13:56:36'::timestamp) - extract(epoch from '2026-05-31 13:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570141 -3.261101)'), GeomFromEWKT('SRID=4674;POINT (-38.570117 -3.261183)'))) / (select extract(epoch from '2026-05-31 13:56:36'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570112 -3.2612)', '2026-05-31 13:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570117 -3.261183)'), GeomFromEWKT('SRID=4674;POINT (-38.570112 -3.2612)'))) / (select extract(epoch from '2026-05-31 13:56:38'::timestamp) - extract(epoch from '2026-05-31 13:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570117 -3.261183)'), GeomFromEWKT('SRID=4674;POINT (-38.570112 -3.2612)'))) / (select extract(epoch from '2026-05-31 13:56:38'::timestamp) - extract(epoch from '2026-05-31 13:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570114 -3.261229)', '2026-05-31 13:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570112 -3.2612)'), GeomFromEWKT('SRID=4674;POINT (-38.570114 -3.261229)'))) / (select extract(epoch from '2026-05-31 13:56:42'::timestamp) - extract(epoch from '2026-05-31 13:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570112 -3.2612)'), GeomFromEWKT('SRID=4674;POINT (-38.570114 -3.261229)'))) / (select extract(epoch from '2026-05-31 13:56:42'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570107 -3.261251)', '2026-05-31 13:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570114 -3.261229)'), GeomFromEWKT('SRID=4674;POINT (-38.570107 -3.261251)'))) / (select extract(epoch from '2026-05-31 13:56:45'::timestamp) - extract(epoch from '2026-05-31 13:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570114 -3.261229)'), GeomFromEWKT('SRID=4674;POINT (-38.570107 -3.261251)'))) / (select extract(epoch from '2026-05-31 13:56:45'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570103 -3.261297)', '2026-05-31 13:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570107 -3.261251)'), GeomFromEWKT('SRID=4674;POINT (-38.570103 -3.261297)'))) / (select extract(epoch from '2026-05-31 13:56:50'::timestamp) - extract(epoch from '2026-05-31 13:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570107 -3.261251)'), GeomFromEWKT('SRID=4674;POINT (-38.570103 -3.261297)'))) / (select extract(epoch from '2026-05-31 13:56:50'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570095 -3.261367)', '2026-05-31 13:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570103 -3.261297)'), GeomFromEWKT('SRID=4674;POINT (-38.570095 -3.261367)'))) / (select extract(epoch from '2026-05-31 13:56:58'::timestamp) - extract(epoch from '2026-05-31 13:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570103 -3.261297)'), GeomFromEWKT('SRID=4674;POINT (-38.570095 -3.261367)'))) / (select extract(epoch from '2026-05-31 13:56:58'::timestamp) - extract(epoch from '2026-05-31 13:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570087 -3.261434)', '2026-05-31 13:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570095 -3.261367)'), GeomFromEWKT('SRID=4674;POINT (-38.570087 -3.261434)'))) / (select extract(epoch from '2026-05-31 13:57:06'::timestamp) - extract(epoch from '2026-05-31 13:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570095 -3.261367)'), GeomFromEWKT('SRID=4674;POINT (-38.570087 -3.261434)'))) / (select extract(epoch from '2026-05-31 13:57:06'::timestamp) - extract(epoch from '2026-05-31 13:56: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'), 46535, 'SRID=4674;POINT (-38.570068 -3.261487)', '2026-05-31 13:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570087 -3.261434)'), GeomFromEWKT('SRID=4674;POINT (-38.570068 -3.261487)'))) / (select extract(epoch from '2026-05-31 13:57:12'::timestamp) - extract(epoch from '2026-05-31 13:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570087 -3.261434)'), GeomFromEWKT('SRID=4674;POINT (-38.570068 -3.261487)'))) / (select extract(epoch from '2026-05-31 13:57:12'::timestamp) - extract(epoch from '2026-05-31 13:57: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'), 46535, 'SRID=4674;POINT (-38.570065 -3.261514)', '2026-05-31 13:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570068 -3.261487)'), GeomFromEWKT('SRID=4674;POINT (-38.570065 -3.261514)'))) / (select extract(epoch from '2026-05-31 13:57:15'::timestamp) - extract(epoch from '2026-05-31 13:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570068 -3.261487)'), GeomFromEWKT('SRID=4674;POINT (-38.570065 -3.261514)'))) / (select extract(epoch from '2026-05-31 13:57:15'::timestamp) - extract(epoch from '2026-05-31 13:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570053 -3.261539)', '2026-05-31 13:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570065 -3.261514)'), GeomFromEWKT('SRID=4674;POINT (-38.570053 -3.261539)'))) / (select extract(epoch from '2026-05-31 13:57:17'::timestamp) - extract(epoch from '2026-05-31 13:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570065 -3.261514)'), GeomFromEWKT('SRID=4674;POINT (-38.570053 -3.261539)'))) / (select extract(epoch from '2026-05-31 13:57:17'::timestamp) - extract(epoch from '2026-05-31 13:57: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'), 46535, 'SRID=4674;POINT (-38.570031 -3.261589)', '2026-05-31 13:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570053 -3.261539)'), GeomFromEWKT('SRID=4674;POINT (-38.570031 -3.261589)'))) / (select extract(epoch from '2026-05-31 13:57:23'::timestamp) - extract(epoch from '2026-05-31 13:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570053 -3.261539)'), GeomFromEWKT('SRID=4674;POINT (-38.570031 -3.261589)'))) / (select extract(epoch from '2026-05-31 13:57:23'::timestamp) - extract(epoch from '2026-05-31 13:57: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'), 46535, 'SRID=4674;POINT (-38.570025 -3.261643)', '2026-05-31 13:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570031 -3.261589)'), GeomFromEWKT('SRID=4674;POINT (-38.570025 -3.261643)'))) / (select extract(epoch from '2026-05-31 13:57:31'::timestamp) - extract(epoch from '2026-05-31 13:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570031 -3.261589)'), GeomFromEWKT('SRID=4674;POINT (-38.570025 -3.261643)'))) / (select extract(epoch from '2026-05-31 13:57:31'::timestamp) - extract(epoch from '2026-05-31 13:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570008 -3.261731)', '2026-05-31 13:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570025 -3.261643)'), GeomFromEWKT('SRID=4674;POINT (-38.570008 -3.261731)'))) / (select extract(epoch from '2026-05-31 13:57:42'::timestamp) - extract(epoch from '2026-05-31 13:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570025 -3.261643)'), GeomFromEWKT('SRID=4674;POINT (-38.570008 -3.261731)'))) / (select extract(epoch from '2026-05-31 13:57:42'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.570001 -3.261802)', '2026-05-31 13:57:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570008 -3.261731)'), GeomFromEWKT('SRID=4674;POINT (-38.570001 -3.261802)'))) / (select extract(epoch from '2026-05-31 13:57:49'::timestamp) - extract(epoch from '2026-05-31 13:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570008 -3.261731)'), GeomFromEWKT('SRID=4674;POINT (-38.570001 -3.261802)'))) / (select extract(epoch from '2026-05-31 13:57:49'::timestamp) - extract(epoch from '2026-05-31 13:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569986 -3.261879)', '2026-05-31 13:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570001 -3.261802)'), GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.261879)'))) / (select extract(epoch from '2026-05-31 13:57:56'::timestamp) - extract(epoch from '2026-05-31 13:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570001 -3.261802)'), GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.261879)'))) / (select extract(epoch from '2026-05-31 13:57:56'::timestamp) - extract(epoch from '2026-05-31 13:57: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'), 46535, 'SRID=4674;POINT (-38.569969 -3.261949)', '2026-05-31 13:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.261879)'), GeomFromEWKT('SRID=4674;POINT (-38.569969 -3.261949)'))) / (select extract(epoch from '2026-05-31 13:58:03'::timestamp) - extract(epoch from '2026-05-31 13:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.261879)'), GeomFromEWKT('SRID=4674;POINT (-38.569969 -3.261949)'))) / (select extract(epoch from '2026-05-31 13:58:03'::timestamp) - extract(epoch from '2026-05-31 13:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569956 -3.261979)', '2026-05-31 13:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569969 -3.261949)'), GeomFromEWKT('SRID=4674;POINT (-38.569956 -3.261979)'))) / (select extract(epoch from '2026-05-31 13:58:07'::timestamp) - extract(epoch from '2026-05-31 13:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569969 -3.261949)'), GeomFromEWKT('SRID=4674;POINT (-38.569956 -3.261979)'))) / (select extract(epoch from '2026-05-31 13:58:07'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569946 -3.261996)', '2026-05-31 13:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569956 -3.261979)'), GeomFromEWKT('SRID=4674;POINT (-38.569946 -3.261996)'))) / (select extract(epoch from '2026-05-31 13:58:10'::timestamp) - extract(epoch from '2026-05-31 13:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569956 -3.261979)'), GeomFromEWKT('SRID=4674;POINT (-38.569946 -3.261996)'))) / (select extract(epoch from '2026-05-31 13:58:10'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569933 -3.262052)', '2026-05-31 13:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569946 -3.261996)'), GeomFromEWKT('SRID=4674;POINT (-38.569933 -3.262052)'))) / (select extract(epoch from '2026-05-31 13:58:18'::timestamp) - extract(epoch from '2026-05-31 13:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569946 -3.261996)'), GeomFromEWKT('SRID=4674;POINT (-38.569933 -3.262052)'))) / (select extract(epoch from '2026-05-31 13:58:18'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569932 -3.262069)', '2026-05-31 13:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569933 -3.262052)'), GeomFromEWKT('SRID=4674;POINT (-38.569932 -3.262069)'))) / (select extract(epoch from '2026-05-31 13:58:20'::timestamp) - extract(epoch from '2026-05-31 13:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569933 -3.262052)'), GeomFromEWKT('SRID=4674;POINT (-38.569932 -3.262069)'))) / (select extract(epoch from '2026-05-31 13:58:20'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569927 -3.2621)', '2026-05-31 13:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569932 -3.262069)'), GeomFromEWKT('SRID=4674;POINT (-38.569927 -3.2621)'))) / (select extract(epoch from '2026-05-31 13:58:24'::timestamp) - extract(epoch from '2026-05-31 13:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569932 -3.262069)'), GeomFromEWKT('SRID=4674;POINT (-38.569927 -3.2621)'))) / (select extract(epoch from '2026-05-31 13:58:24'::timestamp) - extract(epoch from '2026-05-31 13:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569892 -3.262173)', '2026-05-31 13:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569927 -3.2621)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.262173)'))) / (select extract(epoch from '2026-05-31 13:58:33'::timestamp) - extract(epoch from '2026-05-31 13:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569927 -3.2621)'), GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.262173)'))) / (select extract(epoch from '2026-05-31 13:58:33'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569876 -3.262236)', '2026-05-31 13:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.262173)'), GeomFromEWKT('SRID=4674;POINT (-38.569876 -3.262236)'))) / (select extract(epoch from '2026-05-31 13:58:40'::timestamp) - extract(epoch from '2026-05-31 13:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569892 -3.262173)'), GeomFromEWKT('SRID=4674;POINT (-38.569876 -3.262236)'))) / (select extract(epoch from '2026-05-31 13:58:40'::timestamp) - extract(epoch from '2026-05-31 13:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569868 -3.262274)', '2026-05-31 13:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569876 -3.262236)'), GeomFromEWKT('SRID=4674;POINT (-38.569868 -3.262274)'))) / (select extract(epoch from '2026-05-31 13:58:47'::timestamp) - extract(epoch from '2026-05-31 13:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569876 -3.262236)'), GeomFromEWKT('SRID=4674;POINT (-38.569868 -3.262274)'))) / (select extract(epoch from '2026-05-31 13:58:47'::timestamp) - extract(epoch from '2026-05-31 13:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569864 -3.262282)', '2026-05-31 13:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569868 -3.262274)'), GeomFromEWKT('SRID=4674;POINT (-38.569864 -3.262282)'))) / (select extract(epoch from '2026-05-31 13:58:48'::timestamp) - extract(epoch from '2026-05-31 13:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569868 -3.262274)'), GeomFromEWKT('SRID=4674;POINT (-38.569864 -3.262282)'))) / (select extract(epoch from '2026-05-31 13:58:48'::timestamp) - extract(epoch from '2026-05-31 13:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569853 -3.262334)', '2026-05-31 13:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569864 -3.262282)'), GeomFromEWKT('SRID=4674;POINT (-38.569853 -3.262334)'))) / (select extract(epoch from '2026-05-31 13:58:55'::timestamp) - extract(epoch from '2026-05-31 13:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569864 -3.262282)'), GeomFromEWKT('SRID=4674;POINT (-38.569853 -3.262334)'))) / (select extract(epoch from '2026-05-31 13:58:55'::timestamp) - extract(epoch from '2026-05-31 13:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569828 -3.262395)', '2026-05-31 13:59:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569853 -3.262334)'), GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.262395)'))) / (select extract(epoch from '2026-05-31 13:59:02'::timestamp) - extract(epoch from '2026-05-31 13:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569853 -3.262334)'), GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.262395)'))) / (select extract(epoch from '2026-05-31 13:59:02'::timestamp) - extract(epoch from '2026-05-31 13:58: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'), 46535, 'SRID=4674;POINT (-38.569798 -3.262465)', '2026-05-31 13:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.262395)'), GeomFromEWKT('SRID=4674;POINT (-38.569798 -3.262465)'))) / (select extract(epoch from '2026-05-31 13:59:09'::timestamp) - extract(epoch from '2026-05-31 13:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569828 -3.262395)'), GeomFromEWKT('SRID=4674;POINT (-38.569798 -3.262465)'))) / (select extract(epoch from '2026-05-31 13:59:09'::timestamp) - extract(epoch from '2026-05-31 13:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569783 -3.262505)', '2026-05-31 13:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569798 -3.262465)'), GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.262505)'))) / (select extract(epoch from '2026-05-31 13:59:13'::timestamp) - extract(epoch from '2026-05-31 13:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569798 -3.262465)'), GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.262505)'))) / (select extract(epoch from '2026-05-31 13:59:13'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.56977 -3.262531)', '2026-05-31 13:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.262505)'), GeomFromEWKT('SRID=4674;POINT (-38.56977 -3.262531)'))) / (select extract(epoch from '2026-05-31 13:59:16'::timestamp) - extract(epoch from '2026-05-31 13:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.262505)'), GeomFromEWKT('SRID=4674;POINT (-38.56977 -3.262531)'))) / (select extract(epoch from '2026-05-31 13:59:16'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.569747 -3.262565)', '2026-05-31 13:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56977 -3.262531)'), GeomFromEWKT('SRID=4674;POINT (-38.569747 -3.262565)'))) / (select extract(epoch from '2026-05-31 13:59:20'::timestamp) - extract(epoch from '2026-05-31 13:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56977 -3.262531)'), GeomFromEWKT('SRID=4674;POINT (-38.569747 -3.262565)'))) / (select extract(epoch from '2026-05-31 13:59:20'::timestamp) - extract(epoch from '2026-05-31 13:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569738 -3.262578)', '2026-05-31 13:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569747 -3.262565)'), GeomFromEWKT('SRID=4674;POINT (-38.569738 -3.262578)'))) / (select extract(epoch from '2026-05-31 13:59:22'::timestamp) - extract(epoch from '2026-05-31 13:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569747 -3.262565)'), GeomFromEWKT('SRID=4674;POINT (-38.569738 -3.262578)'))) / (select extract(epoch from '2026-05-31 13:59:22'::timestamp) - extract(epoch from '2026-05-31 13:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569714 -3.262627)', '2026-05-31 13:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569738 -3.262578)'), GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.262627)'))) / (select extract(epoch from '2026-05-31 13:59:28'::timestamp) - extract(epoch from '2026-05-31 13:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569738 -3.262578)'), GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.262627)'))) / (select extract(epoch from '2026-05-31 13:59:28'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.569679 -3.262679)', '2026-05-31 13:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.262627)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.262679)'))) / (select extract(epoch from '2026-05-31 13:59:35'::timestamp) - extract(epoch from '2026-05-31 13:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.262627)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.262679)'))) / (select extract(epoch from '2026-05-31 13:59:35'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.569643 -3.262752)', '2026-05-31 13:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.262679)'), GeomFromEWKT('SRID=4674;POINT (-38.569643 -3.262752)'))) / (select extract(epoch from '2026-05-31 13:59:43'::timestamp) - extract(epoch from '2026-05-31 13:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.262679)'), GeomFromEWKT('SRID=4674;POINT (-38.569643 -3.262752)'))) / (select extract(epoch from '2026-05-31 13:59:43'::timestamp) - extract(epoch from '2026-05-31 13:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569616 -3.262802)', '2026-05-31 13:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569643 -3.262752)'), GeomFromEWKT('SRID=4674;POINT (-38.569616 -3.262802)'))) / (select extract(epoch from '2026-05-31 13:59:49'::timestamp) - extract(epoch from '2026-05-31 13:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569643 -3.262752)'), GeomFromEWKT('SRID=4674;POINT (-38.569616 -3.262802)'))) / (select extract(epoch from '2026-05-31 13:59:49'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.569593 -3.262867)', '2026-05-31 13:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569616 -3.262802)'), GeomFromEWKT('SRID=4674;POINT (-38.569593 -3.262867)'))) / (select extract(epoch from '2026-05-31 13:59:55'::timestamp) - extract(epoch from '2026-05-31 13:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569616 -3.262802)'), GeomFromEWKT('SRID=4674;POINT (-38.569593 -3.262867)'))) / (select extract(epoch from '2026-05-31 13:59:55'::timestamp) - extract(epoch from '2026-05-31 13: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'), 46535, 'SRID=4674;POINT (-38.569559 -3.26293)', '2026-05-31 14:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569593 -3.262867)'), GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.26293)'))) / (select extract(epoch from '2026-05-31 14:00:02'::timestamp) - extract(epoch from '2026-05-31 13:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569593 -3.262867)'), GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.26293)'))) / (select extract(epoch from '2026-05-31 14:00:02'::timestamp) - extract(epoch from '2026-05-31 13:59: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'), 46535, 'SRID=4674;POINT (-38.56952 -3.262988)', '2026-05-31 14:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.26293)'), GeomFromEWKT('SRID=4674;POINT (-38.56952 -3.262988)'))) / (select extract(epoch from '2026-05-31 14:00:09'::timestamp) - extract(epoch from '2026-05-31 14:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.26293)'), GeomFromEWKT('SRID=4674;POINT (-38.56952 -3.262988)'))) / (select extract(epoch from '2026-05-31 14:00:09'::timestamp) - extract(epoch from '2026-05-31 14:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569497 -3.263042)', '2026-05-31 14:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56952 -3.262988)'), GeomFromEWKT('SRID=4674;POINT (-38.569497 -3.263042)'))) / (select extract(epoch from '2026-05-31 14:00:15'::timestamp) - extract(epoch from '2026-05-31 14:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56952 -3.262988)'), GeomFromEWKT('SRID=4674;POINT (-38.569497 -3.263042)'))) / (select extract(epoch from '2026-05-31 14:00:15'::timestamp) - extract(epoch from '2026-05-31 14:00: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'), 46535, 'SRID=4674;POINT (-38.569492 -3.263061)', '2026-05-31 14:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569497 -3.263042)'), GeomFromEWKT('SRID=4674;POINT (-38.569492 -3.263061)'))) / (select extract(epoch from '2026-05-31 14:00:18'::timestamp) - extract(epoch from '2026-05-31 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569497 -3.263042)'), GeomFromEWKT('SRID=4674;POINT (-38.569492 -3.263061)'))) / (select extract(epoch from '2026-05-31 14:00:18'::timestamp) - extract(epoch from '2026-05-31 14:00: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'), 46535, 'SRID=4674;POINT (-38.569465 -3.263132)', '2026-05-31 14:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569492 -3.263061)'), GeomFromEWKT('SRID=4674;POINT (-38.569465 -3.263132)'))) / (select extract(epoch from '2026-05-31 14:00:28'::timestamp) - extract(epoch from '2026-05-31 14:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569492 -3.263061)'), GeomFromEWKT('SRID=4674;POINT (-38.569465 -3.263132)'))) / (select extract(epoch from '2026-05-31 14:00:28'::timestamp) - extract(epoch from '2026-05-31 14:00: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'), 46535, 'SRID=4674;POINT (-38.569442 -3.263201)', '2026-05-31 14:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569465 -3.263132)'), GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.263201)'))) / (select extract(epoch from '2026-05-31 14:00:35'::timestamp) - extract(epoch from '2026-05-31 14:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569465 -3.263132)'), GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.263201)'))) / (select extract(epoch from '2026-05-31 14:00:35'::timestamp) - extract(epoch from '2026-05-31 14:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569423 -3.263264)', '2026-05-31 14:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.263201)'), GeomFromEWKT('SRID=4674;POINT (-38.569423 -3.263264)'))) / (select extract(epoch from '2026-05-31 14:00:41'::timestamp) - extract(epoch from '2026-05-31 14:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.263201)'), GeomFromEWKT('SRID=4674;POINT (-38.569423 -3.263264)'))) / (select extract(epoch from '2026-05-31 14:00:41'::timestamp) - extract(epoch from '2026-05-31 14:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569397 -3.263329)', '2026-05-31 14:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569423 -3.263264)'), GeomFromEWKT('SRID=4674;POINT (-38.569397 -3.263329)'))) / (select extract(epoch from '2026-05-31 14:00:48'::timestamp) - extract(epoch from '2026-05-31 14:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569423 -3.263264)'), GeomFromEWKT('SRID=4674;POINT (-38.569397 -3.263329)'))) / (select extract(epoch from '2026-05-31 14:00:48'::timestamp) - extract(epoch from '2026-05-31 14:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569373 -3.263394)', '2026-05-31 14:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569397 -3.263329)'), GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.263394)'))) / (select extract(epoch from '2026-05-31 14:00:54'::timestamp) - extract(epoch from '2026-05-31 14:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569397 -3.263329)'), GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.263394)'))) / (select extract(epoch from '2026-05-31 14:00:54'::timestamp) - extract(epoch from '2026-05-31 14:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569352 -3.263427)', '2026-05-31 14:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.263394)'), GeomFromEWKT('SRID=4674;POINT (-38.569352 -3.263427)'))) / (select extract(epoch from '2026-05-31 14:00:58'::timestamp) - extract(epoch from '2026-05-31 14:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.263394)'), GeomFromEWKT('SRID=4674;POINT (-38.569352 -3.263427)'))) / (select extract(epoch from '2026-05-31 14:00:58'::timestamp) - extract(epoch from '2026-05-31 14:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569341 -3.263461)', '2026-05-31 14:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569352 -3.263427)'), GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.263461)'))) / (select extract(epoch from '2026-05-31 14:01:01'::timestamp) - extract(epoch from '2026-05-31 14:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569352 -3.263427)'), GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.263461)'))) / (select extract(epoch from '2026-05-31 14:01:01'::timestamp) - extract(epoch from '2026-05-31 14:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569309 -3.26352)', '2026-05-31 14:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.263461)'), GeomFromEWKT('SRID=4674;POINT (-38.569309 -3.26352)'))) / (select extract(epoch from '2026-05-31 14:01:08'::timestamp) - extract(epoch from '2026-05-31 14:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.263461)'), GeomFromEWKT('SRID=4674;POINT (-38.569309 -3.26352)'))) / (select extract(epoch from '2026-05-31 14:01:08'::timestamp) - extract(epoch from '2026-05-31 14:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569282 -3.263603)', '2026-05-31 14:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569309 -3.26352)'), GeomFromEWKT('SRID=4674;POINT (-38.569282 -3.263603)'))) / (select extract(epoch from '2026-05-31 14:01:18'::timestamp) - extract(epoch from '2026-05-31 14:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569309 -3.26352)'), GeomFromEWKT('SRID=4674;POINT (-38.569282 -3.263603)'))) / (select extract(epoch from '2026-05-31 14:01:18'::timestamp) - extract(epoch from '2026-05-31 14:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569268 -3.263669)', '2026-05-31 14:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569282 -3.263603)'), GeomFromEWKT('SRID=4674;POINT (-38.569268 -3.263669)'))) / (select extract(epoch from '2026-05-31 14:01:26'::timestamp) - extract(epoch from '2026-05-31 14:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569282 -3.263603)'), GeomFromEWKT('SRID=4674;POINT (-38.569268 -3.263669)'))) / (select extract(epoch from '2026-05-31 14:01:26'::timestamp) - extract(epoch from '2026-05-31 14:01: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'), 46535, 'SRID=4674;POINT (-38.569257 -3.263703)', '2026-05-31 14:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569268 -3.263669)'), GeomFromEWKT('SRID=4674;POINT (-38.569257 -3.263703)'))) / (select extract(epoch from '2026-05-31 14:01:30'::timestamp) - extract(epoch from '2026-05-31 14:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569268 -3.263669)'), GeomFromEWKT('SRID=4674;POINT (-38.569257 -3.263703)'))) / (select extract(epoch from '2026-05-31 14:01:30'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.569253 -3.263714)', '2026-05-31 14:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569257 -3.263703)'), GeomFromEWKT('SRID=4674;POINT (-38.569253 -3.263714)'))) / (select extract(epoch from '2026-05-31 14:01:32'::timestamp) - extract(epoch from '2026-05-31 14:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569257 -3.263703)'), GeomFromEWKT('SRID=4674;POINT (-38.569253 -3.263714)'))) / (select extract(epoch from '2026-05-31 14:01:32'::timestamp) - extract(epoch from '2026-05-31 14:01: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'), 46535, 'SRID=4674;POINT (-38.569242 -3.263783)', '2026-05-31 14:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569253 -3.263714)'), GeomFromEWKT('SRID=4674;POINT (-38.569242 -3.263783)'))) / (select extract(epoch from '2026-05-31 14:01:41'::timestamp) - extract(epoch from '2026-05-31 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569253 -3.263714)'), GeomFromEWKT('SRID=4674;POINT (-38.569242 -3.263783)'))) / (select extract(epoch from '2026-05-31 14:01:41'::timestamp) - extract(epoch from '2026-05-31 14:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569231 -3.263834)', '2026-05-31 14:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569242 -3.263783)'), GeomFromEWKT('SRID=4674;POINT (-38.569231 -3.263834)'))) / (select extract(epoch from '2026-05-31 14:01:48'::timestamp) - extract(epoch from '2026-05-31 14:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569242 -3.263783)'), GeomFromEWKT('SRID=4674;POINT (-38.569231 -3.263834)'))) / (select extract(epoch from '2026-05-31 14:01:48'::timestamp) - extract(epoch from '2026-05-31 14:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569214 -3.263917)', '2026-05-31 14:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569231 -3.263834)'), GeomFromEWKT('SRID=4674;POINT (-38.569214 -3.263917)'))) / (select extract(epoch from '2026-05-31 14:01:56'::timestamp) - extract(epoch from '2026-05-31 14:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569231 -3.263834)'), GeomFromEWKT('SRID=4674;POINT (-38.569214 -3.263917)'))) / (select extract(epoch from '2026-05-31 14:01:56'::timestamp) - extract(epoch from '2026-05-31 14:01: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'), 46535, 'SRID=4674;POINT (-38.569204 -3.263955)', '2026-05-31 14:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569214 -3.263917)'), GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.263955)'))) / (select extract(epoch from '2026-05-31 14:02:00'::timestamp) - extract(epoch from '2026-05-31 14:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569214 -3.263917)'), GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.263955)'))) / (select extract(epoch from '2026-05-31 14:02:00'::timestamp) - extract(epoch from '2026-05-31 14:01: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'), 46535, 'SRID=4674;POINT (-38.569205 -3.263965)', '2026-05-31 14:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.263955)'), GeomFromEWKT('SRID=4674;POINT (-38.569205 -3.263965)'))) / (select extract(epoch from '2026-05-31 14:02:01'::timestamp) - extract(epoch from '2026-05-31 14:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.263955)'), GeomFromEWKT('SRID=4674;POINT (-38.569205 -3.263965)'))) / (select extract(epoch from '2026-05-31 14:02:01'::timestamp) - extract(epoch from '2026-05-31 14:02: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'), 46535, 'SRID=4674;POINT (-38.569204 -3.264027)', '2026-05-31 14:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569205 -3.263965)'), GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.264027)'))) / (select extract(epoch from '2026-05-31 14:02:08'::timestamp) - extract(epoch from '2026-05-31 14:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569205 -3.263965)'), GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.264027)'))) / (select extract(epoch from '2026-05-31 14:02:08'::timestamp) - extract(epoch from '2026-05-31 14:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569195 -3.264153)', '2026-05-31 14:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.264027)'), GeomFromEWKT('SRID=4674;POINT (-38.569195 -3.264153)'))) / (select extract(epoch from '2026-05-31 14:02:22'::timestamp) - extract(epoch from '2026-05-31 14:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569204 -3.264027)'), GeomFromEWKT('SRID=4674;POINT (-38.569195 -3.264153)'))) / (select extract(epoch from '2026-05-31 14:02:22'::timestamp) - extract(epoch from '2026-05-31 14:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569183 -3.264237)', '2026-05-31 14:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569195 -3.264153)'), GeomFromEWKT('SRID=4674;POINT (-38.569183 -3.264237)'))) / (select extract(epoch from '2026-05-31 14:02:30'::timestamp) - extract(epoch from '2026-05-31 14:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569195 -3.264153)'), GeomFromEWKT('SRID=4674;POINT (-38.569183 -3.264237)'))) / (select extract(epoch from '2026-05-31 14:02:30'::timestamp) - extract(epoch from '2026-05-31 14:02: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'), 46535, 'SRID=4674;POINT (-38.569184 -3.26427)', '2026-05-31 14:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569183 -3.264237)'), GeomFromEWKT('SRID=4674;POINT (-38.569184 -3.26427)'))) / (select extract(epoch from '2026-05-31 14:02:33'::timestamp) - extract(epoch from '2026-05-31 14:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569183 -3.264237)'), GeomFromEWKT('SRID=4674;POINT (-38.569184 -3.26427)'))) / (select extract(epoch from '2026-05-31 14:02:33'::timestamp) - extract(epoch from '2026-05-31 14:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569179 -3.264298)', '2026-05-31 14:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569184 -3.26427)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264298)'))) / (select extract(epoch from '2026-05-31 14:02:36'::timestamp) - extract(epoch from '2026-05-31 14:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569184 -3.26427)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264298)'))) / (select extract(epoch from '2026-05-31 14:02:36'::timestamp) - extract(epoch from '2026-05-31 14:02: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'), 46535, 'SRID=4674;POINT (-38.569179 -3.264375)', '2026-05-31 14:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264298)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264375)'))) / (select extract(epoch from '2026-05-31 14:02:43'::timestamp) - extract(epoch from '2026-05-31 14:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264298)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264375)'))) / (select extract(epoch from '2026-05-31 14:02:43'::timestamp) - extract(epoch from '2026-05-31 14:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569179 -3.264396)', '2026-05-31 14:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264375)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264396)'))) / (select extract(epoch from '2026-05-31 14:02:45'::timestamp) - extract(epoch from '2026-05-31 14:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264375)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264396)'))) / (select extract(epoch from '2026-05-31 14:02:45'::timestamp) - extract(epoch from '2026-05-31 14:02: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'), 46535, 'SRID=4674;POINT (-38.569175 -3.264457)', '2026-05-31 14:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264396)'), GeomFromEWKT('SRID=4674;POINT (-38.569175 -3.264457)'))) / (select extract(epoch from '2026-05-31 14:02:50'::timestamp) - extract(epoch from '2026-05-31 14:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.264396)'), GeomFromEWKT('SRID=4674;POINT (-38.569175 -3.264457)'))) / (select extract(epoch from '2026-05-31 14:02:50'::timestamp) - extract(epoch from '2026-05-31 14:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569161 -3.264547)', '2026-05-31 14:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569175 -3.264457)'), GeomFromEWKT('SRID=4674;POINT (-38.569161 -3.264547)'))) / (select extract(epoch from '2026-05-31 14:02:59'::timestamp) - extract(epoch from '2026-05-31 14:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569175 -3.264457)'), GeomFromEWKT('SRID=4674;POINT (-38.569161 -3.264547)'))) / (select extract(epoch from '2026-05-31 14:02:59'::timestamp) - extract(epoch from '2026-05-31 14:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569154 -3.2646)', '2026-05-31 14:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569161 -3.264547)'), GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.2646)'))) / (select extract(epoch from '2026-05-31 14:03:05'::timestamp) - extract(epoch from '2026-05-31 14:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569161 -3.264547)'), GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.2646)'))) / (select extract(epoch from '2026-05-31 14:03:05'::timestamp) - extract(epoch from '2026-05-31 14:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569154 -3.264609)', '2026-05-31 14:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.2646)'), GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.264609)'))) / (select extract(epoch from '2026-05-31 14:03:06'::timestamp) - extract(epoch from '2026-05-31 14:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.2646)'), GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.264609)'))) / (select extract(epoch from '2026-05-31 14:03:06'::timestamp) - extract(epoch from '2026-05-31 14:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569148 -3.26464)', '2026-05-31 14:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.264609)'), GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.26464)'))) / (select extract(epoch from '2026-05-31 14:03:09'::timestamp) - extract(epoch from '2026-05-31 14:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569154 -3.264609)'), GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.26464)'))) / (select extract(epoch from '2026-05-31 14:03:09'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569155 -3.264661)', '2026-05-31 14:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.26464)'), GeomFromEWKT('SRID=4674;POINT (-38.569155 -3.264661)'))) / (select extract(epoch from '2026-05-31 14:03:11'::timestamp) - extract(epoch from '2026-05-31 14:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.26464)'), GeomFromEWKT('SRID=4674;POINT (-38.569155 -3.264661)'))) / (select extract(epoch from '2026-05-31 14:03:11'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569142 -3.264727)', '2026-05-31 14:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569155 -3.264661)'), GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264727)'))) / (select extract(epoch from '2026-05-31 14:03:20'::timestamp) - extract(epoch from '2026-05-31 14:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569155 -3.264661)'), GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264727)'))) / (select extract(epoch from '2026-05-31 14:03:20'::timestamp) - extract(epoch from '2026-05-31 14:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569142 -3.264795)', '2026-05-31 14:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264727)'), GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264795)'))) / (select extract(epoch from '2026-05-31 14:03:27'::timestamp) - extract(epoch from '2026-05-31 14:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264727)'), GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264795)'))) / (select extract(epoch from '2026-05-31 14:03:27'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569148 -3.264874)', '2026-05-31 14:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264795)'), GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.264874)'))) / (select extract(epoch from '2026-05-31 14:03:35'::timestamp) - extract(epoch from '2026-05-31 14:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569142 -3.264795)'), GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.264874)'))) / (select extract(epoch from '2026-05-31 14:03:35'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569136 -3.264966)', '2026-05-31 14:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.264874)'), GeomFromEWKT('SRID=4674;POINT (-38.569136 -3.264966)'))) / (select extract(epoch from '2026-05-31 14:03:43'::timestamp) - extract(epoch from '2026-05-31 14:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569148 -3.264874)'), GeomFromEWKT('SRID=4674;POINT (-38.569136 -3.264966)'))) / (select extract(epoch from '2026-05-31 14:03:43'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569113 -3.265059)', '2026-05-31 14:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569136 -3.264966)'), GeomFromEWKT('SRID=4674;POINT (-38.569113 -3.265059)'))) / (select extract(epoch from '2026-05-31 14:03:51'::timestamp) - extract(epoch from '2026-05-31 14:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569136 -3.264966)'), GeomFromEWKT('SRID=4674;POINT (-38.569113 -3.265059)'))) / (select extract(epoch from '2026-05-31 14:03:51'::timestamp) - extract(epoch from '2026-05-31 14:03: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'), 46535, 'SRID=4674;POINT (-38.569104 -3.265126)', '2026-05-31 14:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569113 -3.265059)'), GeomFromEWKT('SRID=4674;POINT (-38.569104 -3.265126)'))) / (select extract(epoch from '2026-05-31 14:03:57'::timestamp) - extract(epoch from '2026-05-31 14:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569113 -3.265059)'), GeomFromEWKT('SRID=4674;POINT (-38.569104 -3.265126)'))) / (select extract(epoch from '2026-05-31 14:03:57'::timestamp) - extract(epoch from '2026-05-31 14:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569092 -3.265169)', '2026-05-31 14:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569104 -3.265126)'), GeomFromEWKT('SRID=4674;POINT (-38.569092 -3.265169)'))) / (select extract(epoch from '2026-05-31 14:04:02'::timestamp) - extract(epoch from '2026-05-31 14:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569104 -3.265126)'), GeomFromEWKT('SRID=4674;POINT (-38.569092 -3.265169)'))) / (select extract(epoch from '2026-05-31 14:04:02'::timestamp) - extract(epoch from '2026-05-31 14:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569088 -3.265189)', '2026-05-31 14:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569092 -3.265169)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265189)'))) / (select extract(epoch from '2026-05-31 14:04:04'::timestamp) - extract(epoch from '2026-05-31 14:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569092 -3.265169)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265189)'))) / (select extract(epoch from '2026-05-31 14:04:04'::timestamp) - extract(epoch from '2026-05-31 14:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569088 -3.265216)', '2026-05-31 14:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265189)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265216)'))) / (select extract(epoch from '2026-05-31 14:04:07'::timestamp) - extract(epoch from '2026-05-31 14:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265189)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265216)'))) / (select extract(epoch from '2026-05-31 14:04:07'::timestamp) - extract(epoch from '2026-05-31 14:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569081 -3.265238)', '2026-05-31 14:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265216)'), GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.265238)'))) / (select extract(epoch from '2026-05-31 14:04:10'::timestamp) - extract(epoch from '2026-05-31 14:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.265216)'), GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.265238)'))) / (select extract(epoch from '2026-05-31 14:04:10'::timestamp) - extract(epoch from '2026-05-31 14:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569077 -3.265323)', '2026-05-31 14:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.265238)'), GeomFromEWKT('SRID=4674;POINT (-38.569077 -3.265323)'))) / (select extract(epoch from '2026-05-31 14:04:18'::timestamp) - extract(epoch from '2026-05-31 14:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.265238)'), GeomFromEWKT('SRID=4674;POINT (-38.569077 -3.265323)'))) / (select extract(epoch from '2026-05-31 14:04:18'::timestamp) - extract(epoch from '2026-05-31 14:04: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'), 46535, 'SRID=4674;POINT (-38.56907 -3.265378)', '2026-05-31 14:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569077 -3.265323)'), GeomFromEWKT('SRID=4674;POINT (-38.56907 -3.265378)'))) / (select extract(epoch from '2026-05-31 14:04:24'::timestamp) - extract(epoch from '2026-05-31 14:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569077 -3.265323)'), GeomFromEWKT('SRID=4674;POINT (-38.56907 -3.265378)'))) / (select extract(epoch from '2026-05-31 14:04:24'::timestamp) - extract(epoch from '2026-05-31 14:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569065 -3.265454)', '2026-05-31 14:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56907 -3.265378)'), GeomFromEWKT('SRID=4674;POINT (-38.569065 -3.265454)'))) / (select extract(epoch from '2026-05-31 14:04:32'::timestamp) - extract(epoch from '2026-05-31 14:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56907 -3.265378)'), GeomFromEWKT('SRID=4674;POINT (-38.569065 -3.265454)'))) / (select extract(epoch from '2026-05-31 14:04:32'::timestamp) - extract(epoch from '2026-05-31 14:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569063 -3.265472)', '2026-05-31 14:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569065 -3.265454)'), GeomFromEWKT('SRID=4674;POINT (-38.569063 -3.265472)'))) / (select extract(epoch from '2026-05-31 14:04:34'::timestamp) - extract(epoch from '2026-05-31 14:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569065 -3.265454)'), GeomFromEWKT('SRID=4674;POINT (-38.569063 -3.265472)'))) / (select extract(epoch from '2026-05-31 14:04:34'::timestamp) - extract(epoch from '2026-05-31 14:04: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'), 46535, 'SRID=4674;POINT (-38.569067 -3.265513)', '2026-05-31 14:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569063 -3.265472)'), GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.265513)'))) / (select extract(epoch from '2026-05-31 14:04:38'::timestamp) - extract(epoch from '2026-05-31 14:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569063 -3.265472)'), GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.265513)'))) / (select extract(epoch from '2026-05-31 14:04:38'::timestamp) - extract(epoch from '2026-05-31 14:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569055 -3.265596)', '2026-05-31 14:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.265513)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265596)'))) / (select extract(epoch from '2026-05-31 14:04:46'::timestamp) - extract(epoch from '2026-05-31 14:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.265513)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265596)'))) / (select extract(epoch from '2026-05-31 14:04:46'::timestamp) - extract(epoch from '2026-05-31 14:04: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'), 46535, 'SRID=4674;POINT (-38.569055 -3.265607)', '2026-05-31 14:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265596)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265607)'))) / (select extract(epoch from '2026-05-31 14:04:47'::timestamp) - extract(epoch from '2026-05-31 14:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265596)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265607)'))) / (select extract(epoch from '2026-05-31 14:04:47'::timestamp) - extract(epoch from '2026-05-31 14:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569053 -3.265645)', '2026-05-31 14:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265607)'), GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.265645)'))) / (select extract(epoch from '2026-05-31 14:04:51'::timestamp) - extract(epoch from '2026-05-31 14:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.265607)'), GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.265645)'))) / (select extract(epoch from '2026-05-31 14:04:51'::timestamp) - extract(epoch from '2026-05-31 14:04: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'), 46535, 'SRID=4674;POINT (-38.569045 -3.265731)', '2026-05-31 14:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.265645)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265731)'))) / (select extract(epoch from '2026-05-31 14:05:00'::timestamp) - extract(epoch from '2026-05-31 14:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.265645)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265731)'))) / (select extract(epoch from '2026-05-31 14:05:00'::timestamp) - extract(epoch from '2026-05-31 14:04: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'), 46535, 'SRID=4674;POINT (-38.569034 -3.265801)', '2026-05-31 14:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265731)'), GeomFromEWKT('SRID=4674;POINT (-38.569034 -3.265801)'))) / (select extract(epoch from '2026-05-31 14:05:08'::timestamp) - extract(epoch from '2026-05-31 14:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265731)'), GeomFromEWKT('SRID=4674;POINT (-38.569034 -3.265801)'))) / (select extract(epoch from '2026-05-31 14:05:08'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569045 -3.265864)', '2026-05-31 14:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569034 -3.265801)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265864)'))) / (select extract(epoch from '2026-05-31 14:05:15'::timestamp) - extract(epoch from '2026-05-31 14:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569034 -3.265801)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265864)'))) / (select extract(epoch from '2026-05-31 14:05:15'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569047 -3.265955)', '2026-05-31 14:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265864)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.265955)'))) / (select extract(epoch from '2026-05-31 14:05:25'::timestamp) - extract(epoch from '2026-05-31 14:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.265864)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.265955)'))) / (select extract(epoch from '2026-05-31 14:05:25'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569047 -3.266073)', '2026-05-31 14:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.265955)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266073)'))) / (select extract(epoch from '2026-05-31 14:05:36'::timestamp) - extract(epoch from '2026-05-31 14:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.265955)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266073)'))) / (select extract(epoch from '2026-05-31 14:05:36'::timestamp) - extract(epoch from '2026-05-31 14:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569045 -3.26613)', '2026-05-31 14:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266073)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.26613)'))) / (select extract(epoch from '2026-05-31 14:05:43'::timestamp) - extract(epoch from '2026-05-31 14:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266073)'), GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.26613)'))) / (select extract(epoch from '2026-05-31 14:05:43'::timestamp) - extract(epoch from '2026-05-31 14:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569047 -3.266137)', '2026-05-31 14:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.26613)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266137)'))) / (select extract(epoch from '2026-05-31 14:05:44'::timestamp) - extract(epoch from '2026-05-31 14:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569045 -3.26613)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266137)'))) / (select extract(epoch from '2026-05-31 14:05:44'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569046 -3.266179)', '2026-05-31 14:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266137)'), GeomFromEWKT('SRID=4674;POINT (-38.569046 -3.266179)'))) / (select extract(epoch from '2026-05-31 14:05:49'::timestamp) - extract(epoch from '2026-05-31 14:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266137)'), GeomFromEWKT('SRID=4674;POINT (-38.569046 -3.266179)'))) / (select extract(epoch from '2026-05-31 14:05:49'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569047 -3.266187)', '2026-05-31 14:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569046 -3.266179)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266187)'))) / (select extract(epoch from '2026-05-31 14:05:50'::timestamp) - extract(epoch from '2026-05-31 14:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569046 -3.266179)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266187)'))) / (select extract(epoch from '2026-05-31 14:05:50'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569054 -3.266227)', '2026-05-31 14:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266187)'), GeomFromEWKT('SRID=4674;POINT (-38.569054 -3.266227)'))) / (select extract(epoch from '2026-05-31 14:05:55'::timestamp) - extract(epoch from '2026-05-31 14:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.266187)'), GeomFromEWKT('SRID=4674;POINT (-38.569054 -3.266227)'))) / (select extract(epoch from '2026-05-31 14:05:55'::timestamp) - extract(epoch from '2026-05-31 14:05: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'), 46535, 'SRID=4674;POINT (-38.569053 -3.266236)', '2026-05-31 14:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569054 -3.266227)'), GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.266236)'))) / (select extract(epoch from '2026-05-31 14:05:56'::timestamp) - extract(epoch from '2026-05-31 14:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569054 -3.266227)'), GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.266236)'))) / (select extract(epoch from '2026-05-31 14:05:56'::timestamp) - extract(epoch from '2026-05-31 14:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569055 -3.266305)', '2026-05-31 14:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.266236)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.266305)'))) / (select extract(epoch from '2026-05-31 14:06:03'::timestamp) - extract(epoch from '2026-05-31 14:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569053 -3.266236)'), GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.266305)'))) / (select extract(epoch from '2026-05-31 14:06:03'::timestamp) - extract(epoch from '2026-05-31 14:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569061 -3.266346)', '2026-05-31 14:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.266305)'), GeomFromEWKT('SRID=4674;POINT (-38.569061 -3.266346)'))) / (select extract(epoch from '2026-05-31 14:06:07'::timestamp) - extract(epoch from '2026-05-31 14:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569055 -3.266305)'), GeomFromEWKT('SRID=4674;POINT (-38.569061 -3.266346)'))) / (select extract(epoch from '2026-05-31 14:06:07'::timestamp) - extract(epoch from '2026-05-31 14:06: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'), 46535, 'SRID=4674;POINT (-38.569059 -3.266366)', '2026-05-31 14:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569061 -3.266346)'), GeomFromEWKT('SRID=4674;POINT (-38.569059 -3.266366)'))) / (select extract(epoch from '2026-05-31 14:06:09'::timestamp) - extract(epoch from '2026-05-31 14:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569061 -3.266346)'), GeomFromEWKT('SRID=4674;POINT (-38.569059 -3.266366)'))) / (select extract(epoch from '2026-05-31 14:06:09'::timestamp) - extract(epoch from '2026-05-31 14:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56906 -3.266434)', '2026-05-31 14:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569059 -3.266366)'), GeomFromEWKT('SRID=4674;POINT (-38.56906 -3.266434)'))) / (select extract(epoch from '2026-05-31 14:06:16'::timestamp) - extract(epoch from '2026-05-31 14:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569059 -3.266366)'), GeomFromEWKT('SRID=4674;POINT (-38.56906 -3.266434)'))) / (select extract(epoch from '2026-05-31 14:06:16'::timestamp) - extract(epoch from '2026-05-31 14:06: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'), 46535, 'SRID=4674;POINT (-38.569056 -3.266512)', '2026-05-31 14:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56906 -3.266434)'), GeomFromEWKT('SRID=4674;POINT (-38.569056 -3.266512)'))) / (select extract(epoch from '2026-05-31 14:06:25'::timestamp) - extract(epoch from '2026-05-31 14:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56906 -3.266434)'), GeomFromEWKT('SRID=4674;POINT (-38.569056 -3.266512)'))) / (select extract(epoch from '2026-05-31 14:06:25'::timestamp) - extract(epoch from '2026-05-31 14:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569058 -3.266606)', '2026-05-31 14:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569056 -3.266512)'), GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.266606)'))) / (select extract(epoch from '2026-05-31 14:06:38'::timestamp) - extract(epoch from '2026-05-31 14:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569056 -3.266512)'), GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.266606)'))) / (select extract(epoch from '2026-05-31 14:06:38'::timestamp) - extract(epoch from '2026-05-31 14:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569067 -3.266653)', '2026-05-31 14:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.266606)'), GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.266653)'))) / (select extract(epoch from '2026-05-31 14:06:44'::timestamp) - extract(epoch from '2026-05-31 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.266606)'), GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.266653)'))) / (select extract(epoch from '2026-05-31 14:06:44'::timestamp) - extract(epoch from '2026-05-31 14:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569079 -3.266675)', '2026-05-31 14:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.266653)'), GeomFromEWKT('SRID=4674;POINT (-38.569079 -3.266675)'))) / (select extract(epoch from '2026-05-31 14:06:47'::timestamp) - extract(epoch from '2026-05-31 14:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569067 -3.266653)'), GeomFromEWKT('SRID=4674;POINT (-38.569079 -3.266675)'))) / (select extract(epoch from '2026-05-31 14:06:47'::timestamp) - extract(epoch from '2026-05-31 14:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569088 -3.266721)', '2026-05-31 14:06:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569079 -3.266675)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.266721)'))) / (select extract(epoch from '2026-05-31 14:06:53'::timestamp) - extract(epoch from '2026-05-31 14:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569079 -3.266675)'), GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.266721)'))) / (select extract(epoch from '2026-05-31 14:06:53'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.569096 -3.266775)', '2026-05-31 14:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.266721)'), GeomFromEWKT('SRID=4674;POINT (-38.569096 -3.266775)'))) / (select extract(epoch from '2026-05-31 14:06:59'::timestamp) - extract(epoch from '2026-05-31 14:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569088 -3.266721)'), GeomFromEWKT('SRID=4674;POINT (-38.569096 -3.266775)'))) / (select extract(epoch from '2026-05-31 14:06:59'::timestamp) - extract(epoch from '2026-05-31 14:06: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'), 46535, 'SRID=4674;POINT (-38.569123 -3.266828)', '2026-05-31 14:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569096 -3.266775)'), GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266828)'))) / (select extract(epoch from '2026-05-31 14:07:04'::timestamp) - extract(epoch from '2026-05-31 14:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569096 -3.266775)'), GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266828)'))) / (select extract(epoch from '2026-05-31 14:07:04'::timestamp) - extract(epoch from '2026-05-31 14:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569121 -3.266838)', '2026-05-31 14:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266828)'), GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266838)'))) / (select extract(epoch from '2026-05-31 14:07:05'::timestamp) - extract(epoch from '2026-05-31 14:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266828)'), GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266838)'))) / (select extract(epoch from '2026-05-31 14:07:05'::timestamp) - extract(epoch from '2026-05-31 14:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569121 -3.266848)', '2026-05-31 14:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266838)'), GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266848)'))) / (select extract(epoch from '2026-05-31 14:07:07'::timestamp) - extract(epoch from '2026-05-31 14:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266838)'), GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266848)'))) / (select extract(epoch from '2026-05-31 14:07:07'::timestamp) - extract(epoch from '2026-05-31 14:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569123 -3.266886)', '2026-05-31 14:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266848)'), GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266886)'))) / (select extract(epoch from '2026-05-31 14:07:10'::timestamp) - extract(epoch from '2026-05-31 14:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569121 -3.266848)'), GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266886)'))) / (select extract(epoch from '2026-05-31 14:07:10'::timestamp) - extract(epoch from '2026-05-31 14:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569111 -3.267002)', '2026-05-31 14:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266886)'), GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.267002)'))) / (select extract(epoch from '2026-05-31 14:07:20'::timestamp) - extract(epoch from '2026-05-31 14:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569123 -3.266886)'), GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.267002)'))) / (select extract(epoch from '2026-05-31 14:07:20'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.569107 -3.267061)', '2026-05-31 14:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.267002)'), GeomFromEWKT('SRID=4674;POINT (-38.569107 -3.267061)'))) / (select extract(epoch from '2026-05-31 14:07:27'::timestamp) - extract(epoch from '2026-05-31 14:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.267002)'), GeomFromEWKT('SRID=4674;POINT (-38.569107 -3.267061)'))) / (select extract(epoch from '2026-05-31 14:07:27'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569108 -3.267105)', '2026-05-31 14:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569107 -3.267061)'), GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267105)'))) / (select extract(epoch from '2026-05-31 14:07:32'::timestamp) - extract(epoch from '2026-05-31 14:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569107 -3.267061)'), GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267105)'))) / (select extract(epoch from '2026-05-31 14:07:32'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569108 -3.267122)', '2026-05-31 14:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267105)'), GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267122)'))) / (select extract(epoch from '2026-05-31 14:07:34'::timestamp) - extract(epoch from '2026-05-31 14:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267105)'), GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267122)'))) / (select extract(epoch from '2026-05-31 14:07:34'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569109 -3.267196)', '2026-05-31 14:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267122)'), GeomFromEWKT('SRID=4674;POINT (-38.569109 -3.267196)'))) / (select extract(epoch from '2026-05-31 14:07:41'::timestamp) - extract(epoch from '2026-05-31 14:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569108 -3.267122)'), GeomFromEWKT('SRID=4674;POINT (-38.569109 -3.267196)'))) / (select extract(epoch from '2026-05-31 14:07:41'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569103 -3.267265)', '2026-05-31 14:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569109 -3.267196)'), GeomFromEWKT('SRID=4674;POINT (-38.569103 -3.267265)'))) / (select extract(epoch from '2026-05-31 14:07:47'::timestamp) - extract(epoch from '2026-05-31 14:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569109 -3.267196)'), GeomFromEWKT('SRID=4674;POINT (-38.569103 -3.267265)'))) / (select extract(epoch from '2026-05-31 14:07:47'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569081 -3.267349)', '2026-05-31 14:07:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569103 -3.267265)'), GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.267349)'))) / (select extract(epoch from '2026-05-31 14:07:55'::timestamp) - extract(epoch from '2026-05-31 14:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569103 -3.267265)'), GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.267349)'))) / (select extract(epoch from '2026-05-31 14:07:55'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569078 -3.267381)', '2026-05-31 14:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.267349)'), GeomFromEWKT('SRID=4674;POINT (-38.569078 -3.267381)'))) / (select extract(epoch from '2026-05-31 14:07:58'::timestamp) - extract(epoch from '2026-05-31 14:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569081 -3.267349)'), GeomFromEWKT('SRID=4674;POINT (-38.569078 -3.267381)'))) / (select extract(epoch from '2026-05-31 14:07:58'::timestamp) - extract(epoch from '2026-05-31 14:07: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'), 46535, 'SRID=4674;POINT (-38.569062 -3.267403)', '2026-05-31 14:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569078 -3.267381)'), GeomFromEWKT('SRID=4674;POINT (-38.569062 -3.267403)'))) / (select extract(epoch from '2026-05-31 14:08:01'::timestamp) - extract(epoch from '2026-05-31 14:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569078 -3.267381)'), GeomFromEWKT('SRID=4674;POINT (-38.569062 -3.267403)'))) / (select extract(epoch from '2026-05-31 14:08:01'::timestamp) - extract(epoch from '2026-05-31 14:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569058 -3.267422)', '2026-05-31 14:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569062 -3.267403)'), GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.267422)'))) / (select extract(epoch from '2026-05-31 14:08:03'::timestamp) - extract(epoch from '2026-05-31 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569062 -3.267403)'), GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.267422)'))) / (select extract(epoch from '2026-05-31 14:08:03'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.569036 -3.267471)', '2026-05-31 14:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.267422)'), GeomFromEWKT('SRID=4674;POINT (-38.569036 -3.267471)'))) / (select extract(epoch from '2026-05-31 14:08:08'::timestamp) - extract(epoch from '2026-05-31 14:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569058 -3.267422)'), GeomFromEWKT('SRID=4674;POINT (-38.569036 -3.267471)'))) / (select extract(epoch from '2026-05-31 14:08:08'::timestamp) - extract(epoch from '2026-05-31 14:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56903 -3.267497)', '2026-05-31 14:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569036 -3.267471)'), GeomFromEWKT('SRID=4674;POINT (-38.56903 -3.267497)'))) / (select extract(epoch from '2026-05-31 14:08:11'::timestamp) - extract(epoch from '2026-05-31 14:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569036 -3.267471)'), GeomFromEWKT('SRID=4674;POINT (-38.56903 -3.267497)'))) / (select extract(epoch from '2026-05-31 14:08:11'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.569016 -3.267535)', '2026-05-31 14:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56903 -3.267497)'), GeomFromEWKT('SRID=4674;POINT (-38.569016 -3.267535)'))) / (select extract(epoch from '2026-05-31 14:08:15'::timestamp) - extract(epoch from '2026-05-31 14:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56903 -3.267497)'), GeomFromEWKT('SRID=4674;POINT (-38.569016 -3.267535)'))) / (select extract(epoch from '2026-05-31 14:08:15'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.569007 -3.267597)', '2026-05-31 14:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569016 -3.267535)'), GeomFromEWKT('SRID=4674;POINT (-38.569007 -3.267597)'))) / (select extract(epoch from '2026-05-31 14:08:21'::timestamp) - extract(epoch from '2026-05-31 14:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569016 -3.267535)'), GeomFromEWKT('SRID=4674;POINT (-38.569007 -3.267597)'))) / (select extract(epoch from '2026-05-31 14:08:21'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.568981 -3.267674)', '2026-05-31 14:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569007 -3.267597)'), GeomFromEWKT('SRID=4674;POINT (-38.568981 -3.267674)'))) / (select extract(epoch from '2026-05-31 14:08:29'::timestamp) - extract(epoch from '2026-05-31 14:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569007 -3.267597)'), GeomFromEWKT('SRID=4674;POINT (-38.568981 -3.267674)'))) / (select extract(epoch from '2026-05-31 14:08:29'::timestamp) - extract(epoch from '2026-05-31 14:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568971 -3.267708)', '2026-05-31 14:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568981 -3.267674)'), GeomFromEWKT('SRID=4674;POINT (-38.568971 -3.267708)'))) / (select extract(epoch from '2026-05-31 14:08:32'::timestamp) - extract(epoch from '2026-05-31 14:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568981 -3.267674)'), GeomFromEWKT('SRID=4674;POINT (-38.568971 -3.267708)'))) / (select extract(epoch from '2026-05-31 14:08:32'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.56897 -3.267733)', '2026-05-31 14:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568971 -3.267708)'), GeomFromEWKT('SRID=4674;POINT (-38.56897 -3.267733)'))) / (select extract(epoch from '2026-05-31 14:08:34'::timestamp) - extract(epoch from '2026-05-31 14:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568971 -3.267708)'), GeomFromEWKT('SRID=4674;POINT (-38.56897 -3.267733)'))) / (select extract(epoch from '2026-05-31 14:08:34'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.568953 -3.267786)', '2026-05-31 14:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56897 -3.267733)'), GeomFromEWKT('SRID=4674;POINT (-38.568953 -3.267786)'))) / (select extract(epoch from '2026-05-31 14:08:40'::timestamp) - extract(epoch from '2026-05-31 14:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56897 -3.267733)'), GeomFromEWKT('SRID=4674;POINT (-38.568953 -3.267786)'))) / (select extract(epoch from '2026-05-31 14:08:40'::timestamp) - extract(epoch from '2026-05-31 14:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568955 -3.267795)', '2026-05-31 14:08:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568953 -3.267786)'), GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267795)'))) / (select extract(epoch from '2026-05-31 14:08:41'::timestamp) - extract(epoch from '2026-05-31 14:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568953 -3.267786)'), GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267795)'))) / (select extract(epoch from '2026-05-31 14:08:41'::timestamp) - extract(epoch from '2026-05-31 14:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568955 -3.267804)', '2026-05-31 14:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267795)'), GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267804)'))) / (select extract(epoch from '2026-05-31 14:08:42'::timestamp) - extract(epoch from '2026-05-31 14:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267795)'), GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267804)'))) / (select extract(epoch from '2026-05-31 14:08:42'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.568948 -3.267842)', '2026-05-31 14:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267804)'), GeomFromEWKT('SRID=4674;POINT (-38.568948 -3.267842)'))) / (select extract(epoch from '2026-05-31 14:08:47'::timestamp) - extract(epoch from '2026-05-31 14:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568955 -3.267804)'), GeomFromEWKT('SRID=4674;POINT (-38.568948 -3.267842)'))) / (select extract(epoch from '2026-05-31 14:08:47'::timestamp) - extract(epoch from '2026-05-31 14:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56894 -3.267902)', '2026-05-31 14:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568948 -3.267842)'), GeomFromEWKT('SRID=4674;POINT (-38.56894 -3.267902)'))) / (select extract(epoch from '2026-05-31 14:08:53'::timestamp) - extract(epoch from '2026-05-31 14:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568948 -3.267842)'), GeomFromEWKT('SRID=4674;POINT (-38.56894 -3.267902)'))) / (select extract(epoch from '2026-05-31 14:08:53'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.568937 -3.267924)', '2026-05-31 14:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56894 -3.267902)'), GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.267924)'))) / (select extract(epoch from '2026-05-31 14:08:55'::timestamp) - extract(epoch from '2026-05-31 14:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56894 -3.267902)'), GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.267924)'))) / (select extract(epoch from '2026-05-31 14:08:55'::timestamp) - extract(epoch from '2026-05-31 14:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568937 -3.26795)', '2026-05-31 14:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.267924)'), GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.26795)'))) / (select extract(epoch from '2026-05-31 14:08:58'::timestamp) - extract(epoch from '2026-05-31 14:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.267924)'), GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.26795)'))) / (select extract(epoch from '2026-05-31 14:08:58'::timestamp) - extract(epoch from '2026-05-31 14:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568927 -3.267994)', '2026-05-31 14:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.26795)'), GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.267994)'))) / (select extract(epoch from '2026-05-31 14:09:04'::timestamp) - extract(epoch from '2026-05-31 14:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568937 -3.26795)'), GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.267994)'))) / (select extract(epoch from '2026-05-31 14:09:04'::timestamp) - extract(epoch from '2026-05-31 14:08: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'), 46535, 'SRID=4674;POINT (-38.568915 -3.268052)', '2026-05-31 14:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.267994)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268052)'))) / (select extract(epoch from '2026-05-31 14:09:11'::timestamp) - extract(epoch from '2026-05-31 14:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.267994)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268052)'))) / (select extract(epoch from '2026-05-31 14:09:11'::timestamp) - extract(epoch from '2026-05-31 14:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568898 -3.268125)', '2026-05-31 14:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268052)'), GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268125)'))) / (select extract(epoch from '2026-05-31 14:09:18'::timestamp) - extract(epoch from '2026-05-31 14:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268052)'), GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268125)'))) / (select extract(epoch from '2026-05-31 14:09:18'::timestamp) - extract(epoch from '2026-05-31 14:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568885 -3.268205)', '2026-05-31 14:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268125)'), GeomFromEWKT('SRID=4674;POINT (-38.568885 -3.268205)'))) / (select extract(epoch from '2026-05-31 14:09:26'::timestamp) - extract(epoch from '2026-05-31 14:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268125)'), GeomFromEWKT('SRID=4674;POINT (-38.568885 -3.268205)'))) / (select extract(epoch from '2026-05-31 14:09:26'::timestamp) - extract(epoch from '2026-05-31 14:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56888 -3.268279)', '2026-05-31 14:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568885 -3.268205)'), GeomFromEWKT('SRID=4674;POINT (-38.56888 -3.268279)'))) / (select extract(epoch from '2026-05-31 14:09:33'::timestamp) - extract(epoch from '2026-05-31 14:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568885 -3.268205)'), GeomFromEWKT('SRID=4674;POINT (-38.56888 -3.268279)'))) / (select extract(epoch from '2026-05-31 14:09:33'::timestamp) - extract(epoch from '2026-05-31 14:09: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'), 46535, 'SRID=4674;POINT (-38.568877 -3.268302)', '2026-05-31 14:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56888 -3.268279)'), GeomFromEWKT('SRID=4674;POINT (-38.568877 -3.268302)'))) / (select extract(epoch from '2026-05-31 14:09:35'::timestamp) - extract(epoch from '2026-05-31 14:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56888 -3.268279)'), GeomFromEWKT('SRID=4674;POINT (-38.568877 -3.268302)'))) / (select extract(epoch from '2026-05-31 14:09:35'::timestamp) - extract(epoch from '2026-05-31 14:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568871 -3.268318)', '2026-05-31 14:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568877 -3.268302)'), GeomFromEWKT('SRID=4674;POINT (-38.568871 -3.268318)'))) / (select extract(epoch from '2026-05-31 14:09:37'::timestamp) - extract(epoch from '2026-05-31 14:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568877 -3.268302)'), GeomFromEWKT('SRID=4674;POINT (-38.568871 -3.268318)'))) / (select extract(epoch from '2026-05-31 14:09:37'::timestamp) - extract(epoch from '2026-05-31 14:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568868 -3.268336)', '2026-05-31 14:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568871 -3.268318)'), GeomFromEWKT('SRID=4674;POINT (-38.568868 -3.268336)'))) / (select extract(epoch from '2026-05-31 14:09:39'::timestamp) - extract(epoch from '2026-05-31 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568871 -3.268318)'), GeomFromEWKT('SRID=4674;POINT (-38.568868 -3.268336)'))) / (select extract(epoch from '2026-05-31 14:09:39'::timestamp) - extract(epoch from '2026-05-31 14:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568858 -3.268418)', '2026-05-31 14:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568868 -3.268336)'), GeomFromEWKT('SRID=4674;POINT (-38.568858 -3.268418)'))) / (select extract(epoch from '2026-05-31 14:09:47'::timestamp) - extract(epoch from '2026-05-31 14:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568868 -3.268336)'), GeomFromEWKT('SRID=4674;POINT (-38.568858 -3.268418)'))) / (select extract(epoch from '2026-05-31 14:09:47'::timestamp) - extract(epoch from '2026-05-31 14:09: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'), 46535, 'SRID=4674;POINT (-38.568864 -3.268517)', '2026-05-31 14:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568858 -3.268418)'), GeomFromEWKT('SRID=4674;POINT (-38.568864 -3.268517)'))) / (select extract(epoch from '2026-05-31 14:09:58'::timestamp) - extract(epoch from '2026-05-31 14:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568858 -3.268418)'), GeomFromEWKT('SRID=4674;POINT (-38.568864 -3.268517)'))) / (select extract(epoch from '2026-05-31 14:09:58'::timestamp) - extract(epoch from '2026-05-31 14:09: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'), 46535, 'SRID=4674;POINT (-38.568884 -3.268603)', '2026-05-31 14:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568864 -3.268517)'), GeomFromEWKT('SRID=4674;POINT (-38.568884 -3.268603)'))) / (select extract(epoch from '2026-05-31 14:10:07'::timestamp) - extract(epoch from '2026-05-31 14:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568864 -3.268517)'), GeomFromEWKT('SRID=4674;POINT (-38.568884 -3.268603)'))) / (select extract(epoch from '2026-05-31 14:10:07'::timestamp) - extract(epoch from '2026-05-31 14:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568898 -3.268678)', '2026-05-31 14:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568884 -3.268603)'), GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268678)'))) / (select extract(epoch from '2026-05-31 14:10:14'::timestamp) - extract(epoch from '2026-05-31 14:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568884 -3.268603)'), GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268678)'))) / (select extract(epoch from '2026-05-31 14:10:14'::timestamp) - extract(epoch from '2026-05-31 14:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568915 -3.268753)', '2026-05-31 14:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268678)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268753)'))) / (select extract(epoch from '2026-05-31 14:10:22'::timestamp) - extract(epoch from '2026-05-31 14:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568898 -3.268678)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268753)'))) / (select extract(epoch from '2026-05-31 14:10:22'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568922 -3.268806)', '2026-05-31 14:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268753)'), GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.268806)'))) / (select extract(epoch from '2026-05-31 14:10:28'::timestamp) - extract(epoch from '2026-05-31 14:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.268753)'), GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.268806)'))) / (select extract(epoch from '2026-05-31 14:10:28'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568927 -3.268826)', '2026-05-31 14:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.268806)'), GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.268826)'))) / (select extract(epoch from '2026-05-31 14:10:30'::timestamp) - extract(epoch from '2026-05-31 14:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.268806)'), GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.268826)'))) / (select extract(epoch from '2026-05-31 14:10:30'::timestamp) - extract(epoch from '2026-05-31 14:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568933 -3.268877)', '2026-05-31 14:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.268826)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.268877)'))) / (select extract(epoch from '2026-05-31 14:10:34'::timestamp) - extract(epoch from '2026-05-31 14:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568927 -3.268826)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.268877)'))) / (select extract(epoch from '2026-05-31 14:10:34'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568932 -3.26891)', '2026-05-31 14:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.268877)'), GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.26891)'))) / (select extract(epoch from '2026-05-31 14:10:37'::timestamp) - extract(epoch from '2026-05-31 14:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.268877)'), GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.26891)'))) / (select extract(epoch from '2026-05-31 14:10:37'::timestamp) - extract(epoch from '2026-05-31 14:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568931 -3.268929)', '2026-05-31 14:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.26891)'), GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.268929)'))) / (select extract(epoch from '2026-05-31 14:10:39'::timestamp) - extract(epoch from '2026-05-31 14:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.26891)'), GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.268929)'))) / (select extract(epoch from '2026-05-31 14:10:39'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568933 -3.269017)', '2026-05-31 14:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.268929)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269017)'))) / (select extract(epoch from '2026-05-31 14:10:46'::timestamp) - extract(epoch from '2026-05-31 14:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.268929)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269017)'))) / (select extract(epoch from '2026-05-31 14:10:46'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568932 -3.269039)', '2026-05-31 14:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269017)'), GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.269039)'))) / (select extract(epoch from '2026-05-31 14:10:48'::timestamp) - extract(epoch from '2026-05-31 14:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269017)'), GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.269039)'))) / (select extract(epoch from '2026-05-31 14:10:48'::timestamp) - extract(epoch from '2026-05-31 14:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56893 -3.269066)', '2026-05-31 14:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.269039)'), GeomFromEWKT('SRID=4674;POINT (-38.56893 -3.269066)'))) / (select extract(epoch from '2026-05-31 14:10:51'::timestamp) - extract(epoch from '2026-05-31 14:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568932 -3.269039)'), GeomFromEWKT('SRID=4674;POINT (-38.56893 -3.269066)'))) / (select extract(epoch from '2026-05-31 14:10:51'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568934 -3.269077)', '2026-05-31 14:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56893 -3.269066)'), GeomFromEWKT('SRID=4674;POINT (-38.568934 -3.269077)'))) / (select extract(epoch from '2026-05-31 14:10:52'::timestamp) - extract(epoch from '2026-05-31 14:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56893 -3.269066)'), GeomFromEWKT('SRID=4674;POINT (-38.568934 -3.269077)'))) / (select extract(epoch from '2026-05-31 14:10:52'::timestamp) - extract(epoch from '2026-05-31 14:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568933 -3.269102)', '2026-05-31 14:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568934 -3.269077)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269102)'))) / (select extract(epoch from '2026-05-31 14:10:54'::timestamp) - extract(epoch from '2026-05-31 14:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568934 -3.269077)'), GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269102)'))) / (select extract(epoch from '2026-05-31 14:10:54'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568928 -3.269145)', '2026-05-31 14:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269102)'), GeomFromEWKT('SRID=4674;POINT (-38.568928 -3.269145)'))) / (select extract(epoch from '2026-05-31 14:10:58'::timestamp) - extract(epoch from '2026-05-31 14:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568933 -3.269102)'), GeomFromEWKT('SRID=4674;POINT (-38.568928 -3.269145)'))) / (select extract(epoch from '2026-05-31 14:10:58'::timestamp) - extract(epoch from '2026-05-31 14:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568926 -3.269231)', '2026-05-31 14:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568928 -3.269145)'), GeomFromEWKT('SRID=4674;POINT (-38.568926 -3.269231)'))) / (select extract(epoch from '2026-05-31 14:11:06'::timestamp) - extract(epoch from '2026-05-31 14:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568928 -3.269145)'), GeomFromEWKT('SRID=4674;POINT (-38.568926 -3.269231)'))) / (select extract(epoch from '2026-05-31 14:11:06'::timestamp) - extract(epoch from '2026-05-31 14:10: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'), 46535, 'SRID=4674;POINT (-38.568931 -3.269289)', '2026-05-31 14:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568926 -3.269231)'), GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.269289)'))) / (select extract(epoch from '2026-05-31 14:11:13'::timestamp) - extract(epoch from '2026-05-31 14:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568926 -3.269231)'), GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.269289)'))) / (select extract(epoch from '2026-05-31 14:11:13'::timestamp) - extract(epoch from '2026-05-31 14:11: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'), 46535, 'SRID=4674;POINT (-38.568922 -3.269342)', '2026-05-31 14:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.269289)'), GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.269342)'))) / (select extract(epoch from '2026-05-31 14:11:19'::timestamp) - extract(epoch from '2026-05-31 14:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568931 -3.269289)'), GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.269342)'))) / (select extract(epoch from '2026-05-31 14:11:19'::timestamp) - extract(epoch from '2026-05-31 14:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568908 -3.269387)', '2026-05-31 14:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.269342)'), GeomFromEWKT('SRID=4674;POINT (-38.568908 -3.269387)'))) / (select extract(epoch from '2026-05-31 14:11:24'::timestamp) - extract(epoch from '2026-05-31 14:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568922 -3.269342)'), GeomFromEWKT('SRID=4674;POINT (-38.568908 -3.269387)'))) / (select extract(epoch from '2026-05-31 14:11:24'::timestamp) - extract(epoch from '2026-05-31 14:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5689 -3.269414)', '2026-05-31 14:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568908 -3.269387)'), GeomFromEWKT('SRID=4674;POINT (-38.5689 -3.269414)'))) / (select extract(epoch from '2026-05-31 14:11:28'::timestamp) - extract(epoch from '2026-05-31 14:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568908 -3.269387)'), GeomFromEWKT('SRID=4674;POINT (-38.5689 -3.269414)'))) / (select extract(epoch from '2026-05-31 14:11:28'::timestamp) - extract(epoch from '2026-05-31 14:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568895 -3.269423)', '2026-05-31 14:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5689 -3.269414)'), GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269423)'))) / (select extract(epoch from '2026-05-31 14:11:29'::timestamp) - extract(epoch from '2026-05-31 14:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5689 -3.269414)'), GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269423)'))) / (select extract(epoch from '2026-05-31 14:11:29'::timestamp) - extract(epoch from '2026-05-31 14:11: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'), 46535, 'SRID=4674;POINT (-38.568895 -3.269459)', '2026-05-31 14:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269423)'), GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269459)'))) / (select extract(epoch from '2026-05-31 14:11:33'::timestamp) - extract(epoch from '2026-05-31 14:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269423)'), GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269459)'))) / (select extract(epoch from '2026-05-31 14:11:33'::timestamp) - extract(epoch from '2026-05-31 14:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568875 -3.269518)', '2026-05-31 14:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269459)'), GeomFromEWKT('SRID=4674;POINT (-38.568875 -3.269518)'))) / (select extract(epoch from '2026-05-31 14:11:40'::timestamp) - extract(epoch from '2026-05-31 14:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568895 -3.269459)'), GeomFromEWKT('SRID=4674;POINT (-38.568875 -3.269518)'))) / (select extract(epoch from '2026-05-31 14:11:40'::timestamp) - extract(epoch from '2026-05-31 14:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568854 -3.269627)', '2026-05-31 14:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568875 -3.269518)'), GeomFromEWKT('SRID=4674;POINT (-38.568854 -3.269627)'))) / (select extract(epoch from '2026-05-31 14:11:52'::timestamp) - extract(epoch from '2026-05-31 14:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568875 -3.269518)'), GeomFromEWKT('SRID=4674;POINT (-38.568854 -3.269627)'))) / (select extract(epoch from '2026-05-31 14:11:52'::timestamp) - extract(epoch from '2026-05-31 14:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568848 -3.26968)', '2026-05-31 14:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568854 -3.269627)'), GeomFromEWKT('SRID=4674;POINT (-38.568848 -3.26968)'))) / (select extract(epoch from '2026-05-31 14:11:57'::timestamp) - extract(epoch from '2026-05-31 14:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568854 -3.269627)'), GeomFromEWKT('SRID=4674;POINT (-38.568848 -3.26968)'))) / (select extract(epoch from '2026-05-31 14:11:57'::timestamp) - extract(epoch from '2026-05-31 14:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568844 -3.269695)', '2026-05-31 14:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568848 -3.26968)'), GeomFromEWKT('SRID=4674;POINT (-38.568844 -3.269695)'))) / (select extract(epoch from '2026-05-31 14:11:59'::timestamp) - extract(epoch from '2026-05-31 14:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568848 -3.26968)'), GeomFromEWKT('SRID=4674;POINT (-38.568844 -3.269695)'))) / (select extract(epoch from '2026-05-31 14:11:59'::timestamp) - extract(epoch from '2026-05-31 14:11: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'), 46535, 'SRID=4674;POINT (-38.568837 -3.269767)', '2026-05-31 14:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568844 -3.269695)'), GeomFromEWKT('SRID=4674;POINT (-38.568837 -3.269767)'))) / (select extract(epoch from '2026-05-31 14:12:05'::timestamp) - extract(epoch from '2026-05-31 14:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568844 -3.269695)'), GeomFromEWKT('SRID=4674;POINT (-38.568837 -3.269767)'))) / (select extract(epoch from '2026-05-31 14:12:05'::timestamp) - extract(epoch from '2026-05-31 14:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568839 -3.269777)', '2026-05-31 14:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568837 -3.269767)'), GeomFromEWKT('SRID=4674;POINT (-38.568839 -3.269777)'))) / (select extract(epoch from '2026-05-31 14:12:06'::timestamp) - extract(epoch from '2026-05-31 14:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568837 -3.269767)'), GeomFromEWKT('SRID=4674;POINT (-38.568839 -3.269777)'))) / (select extract(epoch from '2026-05-31 14:12:06'::timestamp) - extract(epoch from '2026-05-31 14:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568843 -3.269796)', '2026-05-31 14:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568839 -3.269777)'), GeomFromEWKT('SRID=4674;POINT (-38.568843 -3.269796)'))) / (select extract(epoch from '2026-05-31 14:12:08'::timestamp) - extract(epoch from '2026-05-31 14:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568839 -3.269777)'), GeomFromEWKT('SRID=4674;POINT (-38.568843 -3.269796)'))) / (select extract(epoch from '2026-05-31 14:12:08'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568835 -3.269843)', '2026-05-31 14:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568843 -3.269796)'), GeomFromEWKT('SRID=4674;POINT (-38.568835 -3.269843)'))) / (select extract(epoch from '2026-05-31 14:12:13'::timestamp) - extract(epoch from '2026-05-31 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568843 -3.269796)'), GeomFromEWKT('SRID=4674;POINT (-38.568835 -3.269843)'))) / (select extract(epoch from '2026-05-31 14:12:13'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568831 -3.269887)', '2026-05-31 14:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568835 -3.269843)'), GeomFromEWKT('SRID=4674;POINT (-38.568831 -3.269887)'))) / (select extract(epoch from '2026-05-31 14:12:18'::timestamp) - extract(epoch from '2026-05-31 14:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568835 -3.269843)'), GeomFromEWKT('SRID=4674;POINT (-38.568831 -3.269887)'))) / (select extract(epoch from '2026-05-31 14:12:18'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568828 -3.269902)', '2026-05-31 14:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568831 -3.269887)'), GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.269902)'))) / (select extract(epoch from '2026-05-31 14:12:20'::timestamp) - extract(epoch from '2026-05-31 14:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568831 -3.269887)'), GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.269902)'))) / (select extract(epoch from '2026-05-31 14:12:20'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.56883 -3.269946)', '2026-05-31 14:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.269902)'), GeomFromEWKT('SRID=4674;POINT (-38.56883 -3.269946)'))) / (select extract(epoch from '2026-05-31 14:12:24'::timestamp) - extract(epoch from '2026-05-31 14:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.269902)'), GeomFromEWKT('SRID=4674;POINT (-38.56883 -3.269946)'))) / (select extract(epoch from '2026-05-31 14:12:24'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.56882 -3.269967)', '2026-05-31 14:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56883 -3.269946)'), GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.269967)'))) / (select extract(epoch from '2026-05-31 14:12:26'::timestamp) - extract(epoch from '2026-05-31 14:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56883 -3.269946)'), GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.269967)'))) / (select extract(epoch from '2026-05-31 14:12:26'::timestamp) - extract(epoch from '2026-05-31 14:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568818 -3.269976)', '2026-05-31 14:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.269967)'), GeomFromEWKT('SRID=4674;POINT (-38.568818 -3.269976)'))) / (select extract(epoch from '2026-05-31 14:12:27'::timestamp) - extract(epoch from '2026-05-31 14:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.269967)'), GeomFromEWKT('SRID=4674;POINT (-38.568818 -3.269976)'))) / (select extract(epoch from '2026-05-31 14:12:27'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568817 -3.269993)', '2026-05-31 14:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568818 -3.269976)'), GeomFromEWKT('SRID=4674;POINT (-38.568817 -3.269993)'))) / (select extract(epoch from '2026-05-31 14:12:29'::timestamp) - extract(epoch from '2026-05-31 14:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568818 -3.269976)'), GeomFromEWKT('SRID=4674;POINT (-38.568817 -3.269993)'))) / (select extract(epoch from '2026-05-31 14:12:29'::timestamp) - extract(epoch from '2026-05-31 14:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568808 -3.270013)', '2026-05-31 14:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568817 -3.269993)'), GeomFromEWKT('SRID=4674;POINT (-38.568808 -3.270013)'))) / (select extract(epoch from '2026-05-31 14:12:31'::timestamp) - extract(epoch from '2026-05-31 14:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568817 -3.269993)'), GeomFromEWKT('SRID=4674;POINT (-38.568808 -3.270013)'))) / (select extract(epoch from '2026-05-31 14:12:31'::timestamp) - extract(epoch from '2026-05-31 14:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568797 -3.270082)', '2026-05-31 14:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568808 -3.270013)'), GeomFromEWKT('SRID=4674;POINT (-38.568797 -3.270082)'))) / (select extract(epoch from '2026-05-31 14:12:39'::timestamp) - extract(epoch from '2026-05-31 14:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568808 -3.270013)'), GeomFromEWKT('SRID=4674;POINT (-38.568797 -3.270082)'))) / (select extract(epoch from '2026-05-31 14:12:39'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568774 -3.270151)', '2026-05-31 14:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568797 -3.270082)'), GeomFromEWKT('SRID=4674;POINT (-38.568774 -3.270151)'))) / (select extract(epoch from '2026-05-31 14:12:48'::timestamp) - extract(epoch from '2026-05-31 14:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568797 -3.270082)'), GeomFromEWKT('SRID=4674;POINT (-38.568774 -3.270151)'))) / (select extract(epoch from '2026-05-31 14:12:48'::timestamp) - extract(epoch from '2026-05-31 14:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56875 -3.270227)', '2026-05-31 14:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568774 -3.270151)'), GeomFromEWKT('SRID=4674;POINT (-38.56875 -3.270227)'))) / (select extract(epoch from '2026-05-31 14:12:56'::timestamp) - extract(epoch from '2026-05-31 14:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568774 -3.270151)'), GeomFromEWKT('SRID=4674;POINT (-38.56875 -3.270227)'))) / (select extract(epoch from '2026-05-31 14:12:56'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568727 -3.270273)', '2026-05-31 14:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56875 -3.270227)'), GeomFromEWKT('SRID=4674;POINT (-38.568727 -3.270273)'))) / (select extract(epoch from '2026-05-31 14:13:02'::timestamp) - extract(epoch from '2026-05-31 14:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56875 -3.270227)'), GeomFromEWKT('SRID=4674;POINT (-38.568727 -3.270273)'))) / (select extract(epoch from '2026-05-31 14:13:02'::timestamp) - extract(epoch from '2026-05-31 14:12: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'), 46535, 'SRID=4674;POINT (-38.568703 -3.270322)', '2026-05-31 14:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568727 -3.270273)'), GeomFromEWKT('SRID=4674;POINT (-38.568703 -3.270322)'))) / (select extract(epoch from '2026-05-31 14:13:08'::timestamp) - extract(epoch from '2026-05-31 14:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568727 -3.270273)'), GeomFromEWKT('SRID=4674;POINT (-38.568703 -3.270322)'))) / (select extract(epoch from '2026-05-31 14:13:08'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.568699 -3.270328)', '2026-05-31 14:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568703 -3.270322)'), GeomFromEWKT('SRID=4674;POINT (-38.568699 -3.270328)'))) / (select extract(epoch from '2026-05-31 14:13:09'::timestamp) - extract(epoch from '2026-05-31 14:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568703 -3.270322)'), GeomFromEWKT('SRID=4674;POINT (-38.568699 -3.270328)'))) / (select extract(epoch from '2026-05-31 14:13:09'::timestamp) - extract(epoch from '2026-05-31 14:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56869 -3.270357)', '2026-05-31 14:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568699 -3.270328)'), GeomFromEWKT('SRID=4674;POINT (-38.56869 -3.270357)'))) / (select extract(epoch from '2026-05-31 14:13:13'::timestamp) - extract(epoch from '2026-05-31 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568699 -3.270328)'), GeomFromEWKT('SRID=4674;POINT (-38.56869 -3.270357)'))) / (select extract(epoch from '2026-05-31 14:13:13'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.568677 -3.270379)', '2026-05-31 14:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56869 -3.270357)'), GeomFromEWKT('SRID=4674;POINT (-38.568677 -3.270379)'))) / (select extract(epoch from '2026-05-31 14:13:16'::timestamp) - extract(epoch from '2026-05-31 14:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56869 -3.270357)'), GeomFromEWKT('SRID=4674;POINT (-38.568677 -3.270379)'))) / (select extract(epoch from '2026-05-31 14:13:16'::timestamp) - extract(epoch from '2026-05-31 14:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568669 -3.270447)', '2026-05-31 14:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568677 -3.270379)'), GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.270447)'))) / (select extract(epoch from '2026-05-31 14:13:23'::timestamp) - extract(epoch from '2026-05-31 14:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568677 -3.270379)'), GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.270447)'))) / (select extract(epoch from '2026-05-31 14:13:23'::timestamp) - extract(epoch from '2026-05-31 14:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568665 -3.270465)', '2026-05-31 14:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.270447)'), GeomFromEWKT('SRID=4674;POINT (-38.568665 -3.270465)'))) / (select extract(epoch from '2026-05-31 14:13:25'::timestamp) - extract(epoch from '2026-05-31 14:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.270447)'), GeomFromEWKT('SRID=4674;POINT (-38.568665 -3.270465)'))) / (select extract(epoch from '2026-05-31 14:13:25'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.56866 -3.27048)', '2026-05-31 14:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568665 -3.270465)'), GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.27048)'))) / (select extract(epoch from '2026-05-31 14:13:27'::timestamp) - extract(epoch from '2026-05-31 14:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568665 -3.270465)'), GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.27048)'))) / (select extract(epoch from '2026-05-31 14:13:27'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.568658 -3.270487)', '2026-05-31 14:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.27048)'), GeomFromEWKT('SRID=4674;POINT (-38.568658 -3.270487)'))) / (select extract(epoch from '2026-05-31 14:13:28'::timestamp) - extract(epoch from '2026-05-31 14:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.27048)'), GeomFromEWKT('SRID=4674;POINT (-38.568658 -3.270487)'))) / (select extract(epoch from '2026-05-31 14:13:28'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.568644 -3.270558)', '2026-05-31 14:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568658 -3.270487)'), GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.270558)'))) / (select extract(epoch from '2026-05-31 14:13:35'::timestamp) - extract(epoch from '2026-05-31 14:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568658 -3.270487)'), GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.270558)'))) / (select extract(epoch from '2026-05-31 14:13:35'::timestamp) - extract(epoch from '2026-05-31 14:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568636 -3.270592)', '2026-05-31 14:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.270558)'), GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.270592)'))) / (select extract(epoch from '2026-05-31 14:13:41'::timestamp) - extract(epoch from '2026-05-31 14:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.270558)'), GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.270592)'))) / (select extract(epoch from '2026-05-31 14:13:41'::timestamp) - extract(epoch from '2026-05-31 14:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568623 -3.270649)', '2026-05-31 14:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.270592)'), GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.270649)'))) / (select extract(epoch from '2026-05-31 14:13:49'::timestamp) - extract(epoch from '2026-05-31 14:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.270592)'), GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.270649)'))) / (select extract(epoch from '2026-05-31 14:13:49'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.56861 -3.27072)', '2026-05-31 14:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.270649)'), GeomFromEWKT('SRID=4674;POINT (-38.56861 -3.27072)'))) / (select extract(epoch from '2026-05-31 14:13:56'::timestamp) - extract(epoch from '2026-05-31 14:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.270649)'), GeomFromEWKT('SRID=4674;POINT (-38.56861 -3.27072)'))) / (select extract(epoch from '2026-05-31 14:13:56'::timestamp) - extract(epoch from '2026-05-31 14:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568605 -3.270729)', '2026-05-31 14:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56861 -3.27072)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.270729)'))) / (select extract(epoch from '2026-05-31 14:13:57'::timestamp) - extract(epoch from '2026-05-31 14:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56861 -3.27072)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.270729)'))) / (select extract(epoch from '2026-05-31 14:13:57'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.5686 -3.270749)', '2026-05-31 14:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.270729)'), GeomFromEWKT('SRID=4674;POINT (-38.5686 -3.270749)'))) / (select extract(epoch from '2026-05-31 14:13:59'::timestamp) - extract(epoch from '2026-05-31 14:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.270729)'), GeomFromEWKT('SRID=4674;POINT (-38.5686 -3.270749)'))) / (select extract(epoch from '2026-05-31 14:13:59'::timestamp) - extract(epoch from '2026-05-31 14:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568599 -3.270816)', '2026-05-31 14:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5686 -3.270749)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.270816)'))) / (select extract(epoch from '2026-05-31 14:14:05'::timestamp) - extract(epoch from '2026-05-31 14:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5686 -3.270749)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.270816)'))) / (select extract(epoch from '2026-05-31 14:14:05'::timestamp) - extract(epoch from '2026-05-31 14:13: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'), 46535, 'SRID=4674;POINT (-38.568586 -3.270887)', '2026-05-31 14:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.270816)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.270887)'))) / (select extract(epoch from '2026-05-31 14:14:12'::timestamp) - extract(epoch from '2026-05-31 14:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.270816)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.270887)'))) / (select extract(epoch from '2026-05-31 14:14:12'::timestamp) - extract(epoch from '2026-05-31 14:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568585 -3.270899)', '2026-05-31 14:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.270887)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.270899)'))) / (select extract(epoch from '2026-05-31 14:14:13'::timestamp) - extract(epoch from '2026-05-31 14:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.270887)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.270899)'))) / (select extract(epoch from '2026-05-31 14:14:13'::timestamp) - extract(epoch from '2026-05-31 14:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568578 -3.270945)', '2026-05-31 14:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.270899)'), GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.270945)'))) / (select extract(epoch from '2026-05-31 14:14:17'::timestamp) - extract(epoch from '2026-05-31 14:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.270899)'), GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.270945)'))) / (select extract(epoch from '2026-05-31 14:14:17'::timestamp) - extract(epoch from '2026-05-31 14:14: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'), 46535, 'SRID=4674;POINT (-38.568579 -3.270954)', '2026-05-31 14:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.270945)'), GeomFromEWKT('SRID=4674;POINT (-38.568579 -3.270954)'))) / (select extract(epoch from '2026-05-31 14:14:18'::timestamp) - extract(epoch from '2026-05-31 14:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.270945)'), GeomFromEWKT('SRID=4674;POINT (-38.568579 -3.270954)'))) / (select extract(epoch from '2026-05-31 14:14:18'::timestamp) - extract(epoch from '2026-05-31 14:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56856 -3.271019)', '2026-05-31 14:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568579 -3.270954)'), GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.271019)'))) / (select extract(epoch from '2026-05-31 14:14:25'::timestamp) - extract(epoch from '2026-05-31 14:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568579 -3.270954)'), GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.271019)'))) / (select extract(epoch from '2026-05-31 14:14:25'::timestamp) - extract(epoch from '2026-05-31 14:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568552 -3.271084)', '2026-05-31 14:14:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.271019)'), GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.271084)'))) / (select extract(epoch from '2026-05-31 14:14:31'::timestamp) - extract(epoch from '2026-05-31 14:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.271019)'), GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.271084)'))) / (select extract(epoch from '2026-05-31 14:14:31'::timestamp) - extract(epoch from '2026-05-31 14:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568538 -3.271138)', '2026-05-31 14:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.271084)'), GeomFromEWKT('SRID=4674;POINT (-38.568538 -3.271138)'))) / (select extract(epoch from '2026-05-31 14:14:38'::timestamp) - extract(epoch from '2026-05-31 14:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.271084)'), GeomFromEWKT('SRID=4674;POINT (-38.568538 -3.271138)'))) / (select extract(epoch from '2026-05-31 14:14:38'::timestamp) - extract(epoch from '2026-05-31 14:14: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'), 46535, 'SRID=4674;POINT (-38.568535 -3.27119)', '2026-05-31 14:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568538 -3.271138)'), GeomFromEWKT('SRID=4674;POINT (-38.568535 -3.27119)'))) / (select extract(epoch from '2026-05-31 14:14:44'::timestamp) - extract(epoch from '2026-05-31 14:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568538 -3.271138)'), GeomFromEWKT('SRID=4674;POINT (-38.568535 -3.27119)'))) / (select extract(epoch from '2026-05-31 14:14:44'::timestamp) - extract(epoch from '2026-05-31 14:14: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'), 46535, 'SRID=4674;POINT (-38.568531 -3.271261)', '2026-05-31 14:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568535 -3.27119)'), GeomFromEWKT('SRID=4674;POINT (-38.568531 -3.271261)'))) / (select extract(epoch from '2026-05-31 14:14:53'::timestamp) - extract(epoch from '2026-05-31 14:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568535 -3.27119)'), GeomFromEWKT('SRID=4674;POINT (-38.568531 -3.271261)'))) / (select extract(epoch from '2026-05-31 14:14:53'::timestamp) - extract(epoch from '2026-05-31 14:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568525 -3.271353)', '2026-05-31 14:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568531 -3.271261)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.271353)'))) / (select extract(epoch from '2026-05-31 14:15:01'::timestamp) - extract(epoch from '2026-05-31 14:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568531 -3.271261)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.271353)'))) / (select extract(epoch from '2026-05-31 14:15:01'::timestamp) - extract(epoch from '2026-05-31 14:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568526 -3.271363)', '2026-05-31 14:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.271353)'), GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.271363)'))) / (select extract(epoch from '2026-05-31 14:15:02'::timestamp) - extract(epoch from '2026-05-31 14:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.271353)'), GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.271363)'))) / (select extract(epoch from '2026-05-31 14:15:02'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568533 -3.271385)', '2026-05-31 14:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.271363)'), GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.271385)'))) / (select extract(epoch from '2026-05-31 14:15:04'::timestamp) - extract(epoch from '2026-05-31 14:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.271363)'), GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.271385)'))) / (select extract(epoch from '2026-05-31 14:15:04'::timestamp) - extract(epoch from '2026-05-31 14:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568527 -3.271402)', '2026-05-31 14:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.271385)'), GeomFromEWKT('SRID=4674;POINT (-38.568527 -3.271402)'))) / (select extract(epoch from '2026-05-31 14:15:06'::timestamp) - extract(epoch from '2026-05-31 14:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.271385)'), GeomFromEWKT('SRID=4674;POINT (-38.568527 -3.271402)'))) / (select extract(epoch from '2026-05-31 14:15:06'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.56854 -3.271454)', '2026-05-31 14:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568527 -3.271402)'), GeomFromEWKT('SRID=4674;POINT (-38.56854 -3.271454)'))) / (select extract(epoch from '2026-05-31 14:15:10'::timestamp) - extract(epoch from '2026-05-31 14:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568527 -3.271402)'), GeomFromEWKT('SRID=4674;POINT (-38.56854 -3.271454)'))) / (select extract(epoch from '2026-05-31 14:15:10'::timestamp) - extract(epoch from '2026-05-31 14:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568541 -3.271468)', '2026-05-31 14:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56854 -3.271454)'), GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.271468)'))) / (select extract(epoch from '2026-05-31 14:15:12'::timestamp) - extract(epoch from '2026-05-31 14:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56854 -3.271454)'), GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.271468)'))) / (select extract(epoch from '2026-05-31 14:15:12'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568546 -3.271503)', '2026-05-31 14:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.271468)'), GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.271503)'))) / (select extract(epoch from '2026-05-31 14:15:16'::timestamp) - extract(epoch from '2026-05-31 14:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.271468)'), GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.271503)'))) / (select extract(epoch from '2026-05-31 14:15:16'::timestamp) - extract(epoch from '2026-05-31 14:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568554 -3.271571)', '2026-05-31 14:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.271503)'), GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.271571)'))) / (select extract(epoch from '2026-05-31 14:15:23'::timestamp) - extract(epoch from '2026-05-31 14:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.271503)'), GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.271571)'))) / (select extract(epoch from '2026-05-31 14:15:23'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568573 -3.271646)', '2026-05-31 14:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.271571)'), GeomFromEWKT('SRID=4674;POINT (-38.568573 -3.271646)'))) / (select extract(epoch from '2026-05-31 14:15:31'::timestamp) - extract(epoch from '2026-05-31 14:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.271571)'), GeomFromEWKT('SRID=4674;POINT (-38.568573 -3.271646)'))) / (select extract(epoch from '2026-05-31 14:15:31'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568575 -3.271715)', '2026-05-31 14:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568573 -3.271646)'), GeomFromEWKT('SRID=4674;POINT (-38.568575 -3.271715)'))) / (select extract(epoch from '2026-05-31 14:15:38'::timestamp) - extract(epoch from '2026-05-31 14:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568573 -3.271646)'), GeomFromEWKT('SRID=4674;POINT (-38.568575 -3.271715)'))) / (select extract(epoch from '2026-05-31 14:15:38'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568581 -3.271727)', '2026-05-31 14:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568575 -3.271715)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271727)'))) / (select extract(epoch from '2026-05-31 14:15:39'::timestamp) - extract(epoch from '2026-05-31 14:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568575 -3.271715)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271727)'))) / (select extract(epoch from '2026-05-31 14:15:39'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568585 -3.271744)', '2026-05-31 14:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271727)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.271744)'))) / (select extract(epoch from '2026-05-31 14:15:41'::timestamp) - extract(epoch from '2026-05-31 14:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271727)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.271744)'))) / (select extract(epoch from '2026-05-31 14:15:41'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568581 -3.271764)', '2026-05-31 14:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.271744)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271764)'))) / (select extract(epoch from '2026-05-31 14:15:43'::timestamp) - extract(epoch from '2026-05-31 14:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.271744)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271764)'))) / (select extract(epoch from '2026-05-31 14:15:43'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568588 -3.271773)', '2026-05-31 14:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271764)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.271773)'))) / (select extract(epoch from '2026-05-31 14:15:44'::timestamp) - extract(epoch from '2026-05-31 14:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.271764)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.271773)'))) / (select extract(epoch from '2026-05-31 14:15:44'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568594 -3.271783)', '2026-05-31 14:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.271773)'), GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.271783)'))) / (select extract(epoch from '2026-05-31 14:15:45'::timestamp) - extract(epoch from '2026-05-31 14:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.271773)'), GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.271783)'))) / (select extract(epoch from '2026-05-31 14:15:45'::timestamp) - extract(epoch from '2026-05-31 14:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568592 -3.27181)', '2026-05-31 14:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.271783)'), GeomFromEWKT('SRID=4674;POINT (-38.568592 -3.27181)'))) / (select extract(epoch from '2026-05-31 14:15:48'::timestamp) - extract(epoch from '2026-05-31 14:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.271783)'), GeomFromEWKT('SRID=4674;POINT (-38.568592 -3.27181)'))) / (select extract(epoch from '2026-05-31 14:15:48'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568594 -3.27182)', '2026-05-31 14:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568592 -3.27181)'), GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.27182)'))) / (select extract(epoch from '2026-05-31 14:15:49'::timestamp) - extract(epoch from '2026-05-31 14:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568592 -3.27181)'), GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.27182)'))) / (select extract(epoch from '2026-05-31 14:15:49'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.568622 -3.271897)', '2026-05-31 14:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.27182)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.271897)'))) / (select extract(epoch from '2026-05-31 14:15:56'::timestamp) - extract(epoch from '2026-05-31 14:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568594 -3.27182)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.271897)'))) / (select extract(epoch from '2026-05-31 14:15:56'::timestamp) - extract(epoch from '2026-05-31 14:15: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'), 46535, 'SRID=4674;POINT (-38.56863 -3.271945)', '2026-05-31 14:16:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.271897)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.271945)'))) / (select extract(epoch from '2026-05-31 14:16:02'::timestamp) - extract(epoch from '2026-05-31 14:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.271897)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.271945)'))) / (select extract(epoch from '2026-05-31 14:16:02'::timestamp) - extract(epoch from '2026-05-31 14:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56863 -3.272047)', '2026-05-31 14:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.271945)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.272047)'))) / (select extract(epoch from '2026-05-31 14:16:12'::timestamp) - extract(epoch from '2026-05-31 14:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.271945)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.272047)'))) / (select extract(epoch from '2026-05-31 14:16:12'::timestamp) - extract(epoch from '2026-05-31 14:16: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'), 46535, 'SRID=4674;POINT (-38.568618 -3.272148)', '2026-05-31 14:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.272047)'), GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.272148)'))) / (select extract(epoch from '2026-05-31 14:16:22'::timestamp) - extract(epoch from '2026-05-31 14:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.272047)'), GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.272148)'))) / (select extract(epoch from '2026-05-31 14:16:22'::timestamp) - extract(epoch from '2026-05-31 14:16: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'), 46535, 'SRID=4674;POINT (-38.568607 -3.272216)', '2026-05-31 14:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.272148)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272216)'))) / (select extract(epoch from '2026-05-31 14:16:28'::timestamp) - extract(epoch from '2026-05-31 14:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.272148)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272216)'))) / (select extract(epoch from '2026-05-31 14:16:28'::timestamp) - extract(epoch from '2026-05-31 14:16: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'), 46535, 'SRID=4674;POINT (-38.568588 -3.272304)', '2026-05-31 14:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272216)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.272304)'))) / (select extract(epoch from '2026-05-31 14:16:35'::timestamp) - extract(epoch from '2026-05-31 14:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272216)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.272304)'))) / (select extract(epoch from '2026-05-31 14:16:35'::timestamp) - extract(epoch from '2026-05-31 14:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568585 -3.272334)', '2026-05-31 14:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.272304)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.272334)'))) / (select extract(epoch from '2026-05-31 14:16:38'::timestamp) - extract(epoch from '2026-05-31 14:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.272304)'), GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.272334)'))) / (select extract(epoch from '2026-05-31 14:16:38'::timestamp) - extract(epoch from '2026-05-31 14:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568578 -3.272355)', '2026-05-31 14:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.272334)'), GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.272355)'))) / (select extract(epoch from '2026-05-31 14:16:41'::timestamp) - extract(epoch from '2026-05-31 14:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568585 -3.272334)'), GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.272355)'))) / (select extract(epoch from '2026-05-31 14:16:41'::timestamp) - extract(epoch from '2026-05-31 14:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56856 -3.272434)', '2026-05-31 14:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.272355)'), GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.272434)'))) / (select extract(epoch from '2026-05-31 14:16:50'::timestamp) - extract(epoch from '2026-05-31 14:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568578 -3.272355)'), GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.272434)'))) / (select extract(epoch from '2026-05-31 14:16:50'::timestamp) - extract(epoch from '2026-05-31 14:16: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'), 46535, 'SRID=4674;POINT (-38.568521 -3.272516)', '2026-05-31 14:17:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.272434)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.272516)'))) / (select extract(epoch from '2026-05-31 14:17:00'::timestamp) - extract(epoch from '2026-05-31 14:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56856 -3.272434)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.272516)'))) / (select extract(epoch from '2026-05-31 14:17:00'::timestamp) - extract(epoch from '2026-05-31 14:16: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'), 46535, 'SRID=4674;POINT (-38.568539 -3.272565)', '2026-05-31 14:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.272516)'), GeomFromEWKT('SRID=4674;POINT (-38.568539 -3.272565)'))) / (select extract(epoch from '2026-05-31 14:17:09'::timestamp) - extract(epoch from '2026-05-31 14:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.272516)'), GeomFromEWKT('SRID=4674;POINT (-38.568539 -3.272565)'))) / (select extract(epoch from '2026-05-31 14:17:09'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568566 -3.272643)', '2026-05-31 14:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568539 -3.272565)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.272643)'))) / (select extract(epoch from '2026-05-31 14:17:18'::timestamp) - extract(epoch from '2026-05-31 14:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568539 -3.272565)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.272643)'))) / (select extract(epoch from '2026-05-31 14:17:18'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.56857 -3.272652)', '2026-05-31 14:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.272643)'), GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.272652)'))) / (select extract(epoch from '2026-05-31 14:17:19'::timestamp) - extract(epoch from '2026-05-31 14:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.272643)'), GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.272652)'))) / (select extract(epoch from '2026-05-31 14:17:19'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568588 -3.27268)', '2026-05-31 14:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.272652)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.27268)'))) / (select extract(epoch from '2026-05-31 14:17:23'::timestamp) - extract(epoch from '2026-05-31 14:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.272652)'), GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.27268)'))) / (select extract(epoch from '2026-05-31 14:17:23'::timestamp) - extract(epoch from '2026-05-31 14:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568605 -3.272731)', '2026-05-31 14:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.27268)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.272731)'))) / (select extract(epoch from '2026-05-31 14:17:29'::timestamp) - extract(epoch from '2026-05-31 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568588 -3.27268)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.272731)'))) / (select extract(epoch from '2026-05-31 14:17:29'::timestamp) - extract(epoch from '2026-05-31 14:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568607 -3.272744)', '2026-05-31 14:17:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.272731)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272744)'))) / (select extract(epoch from '2026-05-31 14:17:30'::timestamp) - extract(epoch from '2026-05-31 14:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.272731)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272744)'))) / (select extract(epoch from '2026-05-31 14:17:30'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568617 -3.272784)', '2026-05-31 14:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272744)'), GeomFromEWKT('SRID=4674;POINT (-38.568617 -3.272784)'))) / (select extract(epoch from '2026-05-31 14:17:34'::timestamp) - extract(epoch from '2026-05-31 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.272744)'), GeomFromEWKT('SRID=4674;POINT (-38.568617 -3.272784)'))) / (select extract(epoch from '2026-05-31 14:17:34'::timestamp) - extract(epoch from '2026-05-31 14:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568626 -3.272852)', '2026-05-31 14:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568617 -3.272784)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.272852)'))) / (select extract(epoch from '2026-05-31 14:17:41'::timestamp) - extract(epoch from '2026-05-31 14:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568617 -3.272784)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.272852)'))) / (select extract(epoch from '2026-05-31 14:17:41'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568633 -3.272932)', '2026-05-31 14:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.272852)'), GeomFromEWKT('SRID=4674;POINT (-38.568633 -3.272932)'))) / (select extract(epoch from '2026-05-31 14:17:48'::timestamp) - extract(epoch from '2026-05-31 14:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.272852)'), GeomFromEWKT('SRID=4674;POINT (-38.568633 -3.272932)'))) / (select extract(epoch from '2026-05-31 14:17:48'::timestamp) - extract(epoch from '2026-05-31 14:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
