 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394942 -3.464128)', '2026-07-06 16:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394886 -3.464015)'), GeomFromEWKT('SRID=4674;POINT (-38.394942 -3.464128)'))) / (select extract(epoch from '2026-07-06 16:42:05'::timestamp) - extract(epoch from '2026-07-06 16:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394886 -3.464015)'), GeomFromEWKT('SRID=4674;POINT (-38.394942 -3.464128)'))) / (select extract(epoch from '2026-07-06 16:42:05'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394951 -3.464157)', '2026-07-06 16:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394942 -3.464128)'), GeomFromEWKT('SRID=4674;POINT (-38.394951 -3.464157)'))) / (select extract(epoch from '2026-07-06 16:42:07'::timestamp) - extract(epoch from '2026-07-06 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394942 -3.464128)'), GeomFromEWKT('SRID=4674;POINT (-38.394951 -3.464157)'))) / (select extract(epoch from '2026-07-06 16:42:07'::timestamp) - extract(epoch from '2026-07-06 16:42: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'), 47390, 'SRID=4674;POINT (-38.394972 -3.464204)', '2026-07-06 16:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394951 -3.464157)'), GeomFromEWKT('SRID=4674;POINT (-38.394972 -3.464204)'))) / (select extract(epoch from '2026-07-06 16:42:10'::timestamp) - extract(epoch from '2026-07-06 16:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394951 -3.464157)'), GeomFromEWKT('SRID=4674;POINT (-38.394972 -3.464204)'))) / (select extract(epoch from '2026-07-06 16:42:10'::timestamp) - extract(epoch from '2026-07-06 16:42: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'), 47390, 'SRID=4674;POINT (-38.395021 -3.464293)', '2026-07-06 16:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394972 -3.464204)'), GeomFromEWKT('SRID=4674;POINT (-38.395021 -3.464293)'))) / (select extract(epoch from '2026-07-06 16:42:16'::timestamp) - extract(epoch from '2026-07-06 16:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394972 -3.464204)'), GeomFromEWKT('SRID=4674;POINT (-38.395021 -3.464293)'))) / (select extract(epoch from '2026-07-06 16:42:16'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.395081 -3.464388)', '2026-07-06 16:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395021 -3.464293)'), GeomFromEWKT('SRID=4674;POINT (-38.395081 -3.464388)'))) / (select extract(epoch from '2026-07-06 16:42:23'::timestamp) - extract(epoch from '2026-07-06 16:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395021 -3.464293)'), GeomFromEWKT('SRID=4674;POINT (-38.395081 -3.464388)'))) / (select extract(epoch from '2026-07-06 16:42:23'::timestamp) - extract(epoch from '2026-07-06 16:42: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'), 47390, 'SRID=4674;POINT (-38.395116 -3.464477)', '2026-07-06 16:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395081 -3.464388)'), GeomFromEWKT('SRID=4674;POINT (-38.395116 -3.464477)'))) / (select extract(epoch from '2026-07-06 16:42:29'::timestamp) - extract(epoch from '2026-07-06 16:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395081 -3.464388)'), GeomFromEWKT('SRID=4674;POINT (-38.395116 -3.464477)'))) / (select extract(epoch from '2026-07-06 16:42:29'::timestamp) - extract(epoch from '2026-07-06 16:42: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'), 47390, 'SRID=4674;POINT (-38.395166 -3.464583)', '2026-07-06 16:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395116 -3.464477)'), GeomFromEWKT('SRID=4674;POINT (-38.395166 -3.464583)'))) / (select extract(epoch from '2026-07-06 16:42:36'::timestamp) - extract(epoch from '2026-07-06 16:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395116 -3.464477)'), GeomFromEWKT('SRID=4674;POINT (-38.395166 -3.464583)'))) / (select extract(epoch from '2026-07-06 16:42:36'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39522 -3.464713)', '2026-07-06 16:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395166 -3.464583)'), GeomFromEWKT('SRID=4674;POINT (-38.39522 -3.464713)'))) / (select extract(epoch from '2026-07-06 16:42:44'::timestamp) - extract(epoch from '2026-07-06 16:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395166 -3.464583)'), GeomFromEWKT('SRID=4674;POINT (-38.39522 -3.464713)'))) / (select extract(epoch from '2026-07-06 16:42:44'::timestamp) - extract(epoch from '2026-07-06 16:42: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'), 47390, 'SRID=4674;POINT (-38.395275 -3.464851)', '2026-07-06 16:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39522 -3.464713)'), GeomFromEWKT('SRID=4674;POINT (-38.395275 -3.464851)'))) / (select extract(epoch from '2026-07-06 16:42:52'::timestamp) - extract(epoch from '2026-07-06 16:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39522 -3.464713)'), GeomFromEWKT('SRID=4674;POINT (-38.395275 -3.464851)'))) / (select extract(epoch from '2026-07-06 16:42:52'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.395327 -3.464969)', '2026-07-06 16:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395275 -3.464851)'), GeomFromEWKT('SRID=4674;POINT (-38.395327 -3.464969)'))) / (select extract(epoch from '2026-07-06 16:42:59'::timestamp) - extract(epoch from '2026-07-06 16:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395275 -3.464851)'), GeomFromEWKT('SRID=4674;POINT (-38.395327 -3.464969)'))) / (select extract(epoch from '2026-07-06 16:42:59'::timestamp) - extract(epoch from '2026-07-06 16:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.395356 -3.465053)', '2026-07-06 16:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395327 -3.464969)'), GeomFromEWKT('SRID=4674;POINT (-38.395356 -3.465053)'))) / (select extract(epoch from '2026-07-06 16:43:04'::timestamp) - extract(epoch from '2026-07-06 16:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395327 -3.464969)'), GeomFromEWKT('SRID=4674;POINT (-38.395356 -3.465053)'))) / (select extract(epoch from '2026-07-06 16:43:04'::timestamp) - extract(epoch from '2026-07-06 16:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.395365 -3.465068)', '2026-07-06 16:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395356 -3.465053)'), GeomFromEWKT('SRID=4674;POINT (-38.395365 -3.465068)'))) / (select extract(epoch from '2026-07-06 16:43:05'::timestamp) - extract(epoch from '2026-07-06 16:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395356 -3.465053)'), GeomFromEWKT('SRID=4674;POINT (-38.395365 -3.465068)'))) / (select extract(epoch from '2026-07-06 16:43:05'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395404 -3.465183)', '2026-07-06 16:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395365 -3.465068)'), GeomFromEWKT('SRID=4674;POINT (-38.395404 -3.465183)'))) / (select extract(epoch from '2026-07-06 16:43:11'::timestamp) - extract(epoch from '2026-07-06 16:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395365 -3.465068)'), GeomFromEWKT('SRID=4674;POINT (-38.395404 -3.465183)'))) / (select extract(epoch from '2026-07-06 16:43:11'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395448 -3.465284)', '2026-07-06 16:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395404 -3.465183)'), GeomFromEWKT('SRID=4674;POINT (-38.395448 -3.465284)'))) / (select extract(epoch from '2026-07-06 16:43:17'::timestamp) - extract(epoch from '2026-07-06 16:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395404 -3.465183)'), GeomFromEWKT('SRID=4674;POINT (-38.395448 -3.465284)'))) / (select extract(epoch from '2026-07-06 16:43:17'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395487 -3.465419)', '2026-07-06 16:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395448 -3.465284)'), GeomFromEWKT('SRID=4674;POINT (-38.395487 -3.465419)'))) / (select extract(epoch from '2026-07-06 16:43:24'::timestamp) - extract(epoch from '2026-07-06 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395448 -3.465284)'), GeomFromEWKT('SRID=4674;POINT (-38.395487 -3.465419)'))) / (select extract(epoch from '2026-07-06 16:43:24'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39552 -3.465534)', '2026-07-06 16:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395487 -3.465419)'), GeomFromEWKT('SRID=4674;POINT (-38.39552 -3.465534)'))) / (select extract(epoch from '2026-07-06 16:43:30'::timestamp) - extract(epoch from '2026-07-06 16:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395487 -3.465419)'), GeomFromEWKT('SRID=4674;POINT (-38.39552 -3.465534)'))) / (select extract(epoch from '2026-07-06 16:43:30'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.395552 -3.465614)', '2026-07-06 16:43:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39552 -3.465534)'), GeomFromEWKT('SRID=4674;POINT (-38.395552 -3.465614)'))) / (select extract(epoch from '2026-07-06 16:43:35'::timestamp) - extract(epoch from '2026-07-06 16:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39552 -3.465534)'), GeomFromEWKT('SRID=4674;POINT (-38.395552 -3.465614)'))) / (select extract(epoch from '2026-07-06 16:43:35'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395601 -3.465729)', '2026-07-06 16:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395552 -3.465614)'), GeomFromEWKT('SRID=4674;POINT (-38.395601 -3.465729)'))) / (select extract(epoch from '2026-07-06 16:43:41'::timestamp) - extract(epoch from '2026-07-06 16:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395552 -3.465614)'), GeomFromEWKT('SRID=4674;POINT (-38.395601 -3.465729)'))) / (select extract(epoch from '2026-07-06 16:43:41'::timestamp) - extract(epoch from '2026-07-06 16:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.395646 -3.46586)', '2026-07-06 16:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395601 -3.465729)'), GeomFromEWKT('SRID=4674;POINT (-38.395646 -3.46586)'))) / (select extract(epoch from '2026-07-06 16:43:48'::timestamp) - extract(epoch from '2026-07-06 16:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395601 -3.465729)'), GeomFromEWKT('SRID=4674;POINT (-38.395646 -3.46586)'))) / (select extract(epoch from '2026-07-06 16:43:48'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395696 -3.465984)', '2026-07-06 16:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395646 -3.46586)'), GeomFromEWKT('SRID=4674;POINT (-38.395696 -3.465984)'))) / (select extract(epoch from '2026-07-06 16:43:55'::timestamp) - extract(epoch from '2026-07-06 16:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395646 -3.46586)'), GeomFromEWKT('SRID=4674;POINT (-38.395696 -3.465984)'))) / (select extract(epoch from '2026-07-06 16:43:55'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.39575 -3.466101)', '2026-07-06 16:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395696 -3.465984)'), GeomFromEWKT('SRID=4674;POINT (-38.39575 -3.466101)'))) / (select extract(epoch from '2026-07-06 16:44:02'::timestamp) - extract(epoch from '2026-07-06 16:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395696 -3.465984)'), GeomFromEWKT('SRID=4674;POINT (-38.39575 -3.466101)'))) / (select extract(epoch from '2026-07-06 16:44:02'::timestamp) - extract(epoch from '2026-07-06 16:43: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'), 47390, 'SRID=4674;POINT (-38.395789 -3.466191)', '2026-07-06 16:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39575 -3.466101)'), GeomFromEWKT('SRID=4674;POINT (-38.395789 -3.466191)'))) / (select extract(epoch from '2026-07-06 16:44:07'::timestamp) - extract(epoch from '2026-07-06 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39575 -3.466101)'), GeomFromEWKT('SRID=4674;POINT (-38.395789 -3.466191)'))) / (select extract(epoch from '2026-07-06 16:44:07'::timestamp) - extract(epoch from '2026-07-06 16:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.395848 -3.466299)', '2026-07-06 16:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395789 -3.466191)'), GeomFromEWKT('SRID=4674;POINT (-38.395848 -3.466299)'))) / (select extract(epoch from '2026-07-06 16:44:14'::timestamp) - extract(epoch from '2026-07-06 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395789 -3.466191)'), GeomFromEWKT('SRID=4674;POINT (-38.395848 -3.466299)'))) / (select extract(epoch from '2026-07-06 16:44:14'::timestamp) - extract(epoch from '2026-07-06 16:44: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'), 47390, 'SRID=4674;POINT (-38.39591 -3.466418)', '2026-07-06 16:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395848 -3.466299)'), GeomFromEWKT('SRID=4674;POINT (-38.39591 -3.466418)'))) / (select extract(epoch from '2026-07-06 16:44:22'::timestamp) - extract(epoch from '2026-07-06 16:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395848 -3.466299)'), GeomFromEWKT('SRID=4674;POINT (-38.39591 -3.466418)'))) / (select extract(epoch from '2026-07-06 16:44:22'::timestamp) - extract(epoch from '2026-07-06 16:44: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'), 47390, 'SRID=4674;POINT (-38.39596 -3.466521)', '2026-07-06 16:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39591 -3.466418)'), GeomFromEWKT('SRID=4674;POINT (-38.39596 -3.466521)'))) / (select extract(epoch from '2026-07-06 16:44:29'::timestamp) - extract(epoch from '2026-07-06 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39591 -3.466418)'), GeomFromEWKT('SRID=4674;POINT (-38.39596 -3.466521)'))) / (select extract(epoch from '2026-07-06 16:44:29'::timestamp) - extract(epoch from '2026-07-06 16:44: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'), 47390, 'SRID=4674;POINT (-38.39602 -3.466633)', '2026-07-06 16:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39596 -3.466521)'), GeomFromEWKT('SRID=4674;POINT (-38.39602 -3.466633)'))) / (select extract(epoch from '2026-07-06 16:44:36'::timestamp) - extract(epoch from '2026-07-06 16:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39596 -3.466521)'), GeomFromEWKT('SRID=4674;POINT (-38.39602 -3.466633)'))) / (select extract(epoch from '2026-07-06 16:44:36'::timestamp) - extract(epoch from '2026-07-06 16:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.396068 -3.466724)', '2026-07-06 16:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39602 -3.466633)'), GeomFromEWKT('SRID=4674;POINT (-38.396068 -3.466724)'))) / (select extract(epoch from '2026-07-06 16:44:42'::timestamp) - extract(epoch from '2026-07-06 16:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39602 -3.466633)'), GeomFromEWKT('SRID=4674;POINT (-38.396068 -3.466724)'))) / (select extract(epoch from '2026-07-06 16:44:42'::timestamp) - extract(epoch from '2026-07-06 16:44: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'), 47390, 'SRID=4674;POINT (-38.396139 -3.46685)', '2026-07-06 16:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396068 -3.466724)'), GeomFromEWKT('SRID=4674;POINT (-38.396139 -3.46685)'))) / (select extract(epoch from '2026-07-06 16:44:50'::timestamp) - extract(epoch from '2026-07-06 16:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396068 -3.466724)'), GeomFromEWKT('SRID=4674;POINT (-38.396139 -3.46685)'))) / (select extract(epoch from '2026-07-06 16:44:50'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.396201 -3.466968)', '2026-07-06 16:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396139 -3.46685)'), GeomFromEWKT('SRID=4674;POINT (-38.396201 -3.466968)'))) / (select extract(epoch from '2026-07-06 16:44:57'::timestamp) - extract(epoch from '2026-07-06 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396139 -3.46685)'), GeomFromEWKT('SRID=4674;POINT (-38.396201 -3.466968)'))) / (select extract(epoch from '2026-07-06 16:44:57'::timestamp) - extract(epoch from '2026-07-06 16:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.396261 -3.467083)', '2026-07-06 16:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396201 -3.466968)'), GeomFromEWKT('SRID=4674;POINT (-38.396261 -3.467083)'))) / (select extract(epoch from '2026-07-06 16:45:04'::timestamp) - extract(epoch from '2026-07-06 16:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396201 -3.466968)'), GeomFromEWKT('SRID=4674;POINT (-38.396261 -3.467083)'))) / (select extract(epoch from '2026-07-06 16:45:04'::timestamp) - extract(epoch from '2026-07-06 16:44: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'), 47390, 'SRID=4674;POINT (-38.396288 -3.467151)', '2026-07-06 16:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396261 -3.467083)'), GeomFromEWKT('SRID=4674;POINT (-38.396288 -3.467151)'))) / (select extract(epoch from '2026-07-06 16:45:09'::timestamp) - extract(epoch from '2026-07-06 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396261 -3.467083)'), GeomFromEWKT('SRID=4674;POINT (-38.396288 -3.467151)'))) / (select extract(epoch from '2026-07-06 16:45:09'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.39634 -3.467275)', '2026-07-06 16:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396288 -3.467151)'), GeomFromEWKT('SRID=4674;POINT (-38.39634 -3.467275)'))) / (select extract(epoch from '2026-07-06 16:45:17'::timestamp) - extract(epoch from '2026-07-06 16:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396288 -3.467151)'), GeomFromEWKT('SRID=4674;POINT (-38.39634 -3.467275)'))) / (select extract(epoch from '2026-07-06 16:45:17'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396399 -3.467378)', '2026-07-06 16:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39634 -3.467275)'), GeomFromEWKT('SRID=4674;POINT (-38.396399 -3.467378)'))) / (select extract(epoch from '2026-07-06 16:45:23'::timestamp) - extract(epoch from '2026-07-06 16:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39634 -3.467275)'), GeomFromEWKT('SRID=4674;POINT (-38.396399 -3.467378)'))) / (select extract(epoch from '2026-07-06 16:45:23'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.396446 -3.467471)', '2026-07-06 16:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396399 -3.467378)'), GeomFromEWKT('SRID=4674;POINT (-38.396446 -3.467471)'))) / (select extract(epoch from '2026-07-06 16:45:29'::timestamp) - extract(epoch from '2026-07-06 16:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396399 -3.467378)'), GeomFromEWKT('SRID=4674;POINT (-38.396446 -3.467471)'))) / (select extract(epoch from '2026-07-06 16:45:29'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396496 -3.46758)', '2026-07-06 16:45:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396446 -3.467471)'), GeomFromEWKT('SRID=4674;POINT (-38.396496 -3.46758)'))) / (select extract(epoch from '2026-07-06 16:45:36'::timestamp) - extract(epoch from '2026-07-06 16:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396446 -3.467471)'), GeomFromEWKT('SRID=4674;POINT (-38.396496 -3.46758)'))) / (select extract(epoch from '2026-07-06 16:45:36'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396551 -3.467696)', '2026-07-06 16:45:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396496 -3.46758)'), GeomFromEWKT('SRID=4674;POINT (-38.396551 -3.467696)'))) / (select extract(epoch from '2026-07-06 16:45:43'::timestamp) - extract(epoch from '2026-07-06 16:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396496 -3.46758)'), GeomFromEWKT('SRID=4674;POINT (-38.396551 -3.467696)'))) / (select extract(epoch from '2026-07-06 16:45:43'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396592 -3.467785)', '2026-07-06 16:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396551 -3.467696)'), GeomFromEWKT('SRID=4674;POINT (-38.396592 -3.467785)'))) / (select extract(epoch from '2026-07-06 16:45:48'::timestamp) - extract(epoch from '2026-07-06 16:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396551 -3.467696)'), GeomFromEWKT('SRID=4674;POINT (-38.396592 -3.467785)'))) / (select extract(epoch from '2026-07-06 16:45:48'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396642 -3.467877)', '2026-07-06 16:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396592 -3.467785)'), GeomFromEWKT('SRID=4674;POINT (-38.396642 -3.467877)'))) / (select extract(epoch from '2026-07-06 16:45:54'::timestamp) - extract(epoch from '2026-07-06 16:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396592 -3.467785)'), GeomFromEWKT('SRID=4674;POINT (-38.396642 -3.467877)'))) / (select extract(epoch from '2026-07-06 16:45:54'::timestamp) - extract(epoch from '2026-07-06 16:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39671 -3.46801)', '2026-07-06 16:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396642 -3.467877)'), GeomFromEWKT('SRID=4674;POINT (-38.39671 -3.46801)'))) / (select extract(epoch from '2026-07-06 16:46:02'::timestamp) - extract(epoch from '2026-07-06 16:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396642 -3.467877)'), GeomFromEWKT('SRID=4674;POINT (-38.39671 -3.46801)'))) / (select extract(epoch from '2026-07-06 16:46:02'::timestamp) - extract(epoch from '2026-07-06 16:45: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'), 47390, 'SRID=4674;POINT (-38.396781 -3.468123)', '2026-07-06 16:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39671 -3.46801)'), GeomFromEWKT('SRID=4674;POINT (-38.396781 -3.468123)'))) / (select extract(epoch from '2026-07-06 16:46:08'::timestamp) - extract(epoch from '2026-07-06 16:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39671 -3.46801)'), GeomFromEWKT('SRID=4674;POINT (-38.396781 -3.468123)'))) / (select extract(epoch from '2026-07-06 16:46:08'::timestamp) - extract(epoch from '2026-07-06 16:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.396822 -3.468213)', '2026-07-06 16:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396781 -3.468123)'), GeomFromEWKT('SRID=4674;POINT (-38.396822 -3.468213)'))) / (select extract(epoch from '2026-07-06 16:46:13'::timestamp) - extract(epoch from '2026-07-06 16:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396781 -3.468123)'), GeomFromEWKT('SRID=4674;POINT (-38.396822 -3.468213)'))) / (select extract(epoch from '2026-07-06 16:46:13'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.396894 -3.468328)', '2026-07-06 16:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396822 -3.468213)'), GeomFromEWKT('SRID=4674;POINT (-38.396894 -3.468328)'))) / (select extract(epoch from '2026-07-06 16:46:20'::timestamp) - extract(epoch from '2026-07-06 16:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396822 -3.468213)'), GeomFromEWKT('SRID=4674;POINT (-38.396894 -3.468328)'))) / (select extract(epoch from '2026-07-06 16:46:20'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.39695 -3.468439)', '2026-07-06 16:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396894 -3.468328)'), GeomFromEWKT('SRID=4674;POINT (-38.39695 -3.468439)'))) / (select extract(epoch from '2026-07-06 16:46:27'::timestamp) - extract(epoch from '2026-07-06 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396894 -3.468328)'), GeomFromEWKT('SRID=4674;POINT (-38.39695 -3.468439)'))) / (select extract(epoch from '2026-07-06 16:46:27'::timestamp) - extract(epoch from '2026-07-06 16:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397009 -3.468561)', '2026-07-06 16:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39695 -3.468439)'), GeomFromEWKT('SRID=4674;POINT (-38.397009 -3.468561)'))) / (select extract(epoch from '2026-07-06 16:46:35'::timestamp) - extract(epoch from '2026-07-06 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39695 -3.468439)'), GeomFromEWKT('SRID=4674;POINT (-38.397009 -3.468561)'))) / (select extract(epoch from '2026-07-06 16:46:35'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.397049 -3.468634)', '2026-07-06 16:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397009 -3.468561)'), GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.468634)'))) / (select extract(epoch from '2026-07-06 16:46:40'::timestamp) - extract(epoch from '2026-07-06 16:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397009 -3.468561)'), GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.468634)'))) / (select extract(epoch from '2026-07-06 16:46:40'::timestamp) - extract(epoch from '2026-07-06 16:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397062 -3.468664)', '2026-07-06 16:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.468634)'), GeomFromEWKT('SRID=4674;POINT (-38.397062 -3.468664)'))) / (select extract(epoch from '2026-07-06 16:46:42'::timestamp) - extract(epoch from '2026-07-06 16:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.468634)'), GeomFromEWKT('SRID=4674;POINT (-38.397062 -3.468664)'))) / (select extract(epoch from '2026-07-06 16:46:42'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.397124 -3.46879)', '2026-07-06 16:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397062 -3.468664)'), GeomFromEWKT('SRID=4674;POINT (-38.397124 -3.46879)'))) / (select extract(epoch from '2026-07-06 16:46:50'::timestamp) - extract(epoch from '2026-07-06 16:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397062 -3.468664)'), GeomFromEWKT('SRID=4674;POINT (-38.397124 -3.46879)'))) / (select extract(epoch from '2026-07-06 16:46:50'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.397181 -3.468903)', '2026-07-06 16:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397124 -3.46879)'), GeomFromEWKT('SRID=4674;POINT (-38.397181 -3.468903)'))) / (select extract(epoch from '2026-07-06 16:46:58'::timestamp) - extract(epoch from '2026-07-06 16:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397124 -3.46879)'), GeomFromEWKT('SRID=4674;POINT (-38.397181 -3.468903)'))) / (select extract(epoch from '2026-07-06 16:46:58'::timestamp) - extract(epoch from '2026-07-06 16:46: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'), 47390, 'SRID=4674;POINT (-38.397226 -3.468986)', '2026-07-06 16:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397181 -3.468903)'), GeomFromEWKT('SRID=4674;POINT (-38.397226 -3.468986)'))) / (select extract(epoch from '2026-07-06 16:47:04'::timestamp) - extract(epoch from '2026-07-06 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397181 -3.468903)'), GeomFromEWKT('SRID=4674;POINT (-38.397226 -3.468986)'))) / (select extract(epoch from '2026-07-06 16:47:04'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.397281 -3.469096)', '2026-07-06 16:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397226 -3.468986)'), GeomFromEWKT('SRID=4674;POINT (-38.397281 -3.469096)'))) / (select extract(epoch from '2026-07-06 16:47:10'::timestamp) - extract(epoch from '2026-07-06 16:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397226 -3.468986)'), GeomFromEWKT('SRID=4674;POINT (-38.397281 -3.469096)'))) / (select extract(epoch from '2026-07-06 16:47:10'::timestamp) - extract(epoch from '2026-07-06 16:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397349 -3.469243)', '2026-07-06 16:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397281 -3.469096)'), GeomFromEWKT('SRID=4674;POINT (-38.397349 -3.469243)'))) / (select extract(epoch from '2026-07-06 16:47:19'::timestamp) - extract(epoch from '2026-07-06 16:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397281 -3.469096)'), GeomFromEWKT('SRID=4674;POINT (-38.397349 -3.469243)'))) / (select extract(epoch from '2026-07-06 16:47:19'::timestamp) - extract(epoch from '2026-07-06 16:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397399 -3.46933)', '2026-07-06 16:47:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397349 -3.469243)'), GeomFromEWKT('SRID=4674;POINT (-38.397399 -3.46933)'))) / (select extract(epoch from '2026-07-06 16:47:25'::timestamp) - extract(epoch from '2026-07-06 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397349 -3.469243)'), GeomFromEWKT('SRID=4674;POINT (-38.397399 -3.46933)'))) / (select extract(epoch from '2026-07-06 16:47:25'::timestamp) - extract(epoch from '2026-07-06 16:47: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'), 47390, 'SRID=4674;POINT (-38.397452 -3.469435)', '2026-07-06 16:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397399 -3.46933)'), GeomFromEWKT('SRID=4674;POINT (-38.397452 -3.469435)'))) / (select extract(epoch from '2026-07-06 16:47:32'::timestamp) - extract(epoch from '2026-07-06 16:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397399 -3.46933)'), GeomFromEWKT('SRID=4674;POINT (-38.397452 -3.469435)'))) / (select extract(epoch from '2026-07-06 16:47:32'::timestamp) - extract(epoch from '2026-07-06 16:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397486 -3.46951)', '2026-07-06 16:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397452 -3.469435)'), GeomFromEWKT('SRID=4674;POINT (-38.397486 -3.46951)'))) / (select extract(epoch from '2026-07-06 16:47:37'::timestamp) - extract(epoch from '2026-07-06 16:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397452 -3.469435)'), GeomFromEWKT('SRID=4674;POINT (-38.397486 -3.46951)'))) / (select extract(epoch from '2026-07-06 16:47:37'::timestamp) - extract(epoch from '2026-07-06 16:47: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'), 47390, 'SRID=4674;POINT (-38.397538 -3.469599)', '2026-07-06 16:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397486 -3.46951)'), GeomFromEWKT('SRID=4674;POINT (-38.397538 -3.469599)'))) / (select extract(epoch from '2026-07-06 16:47:43'::timestamp) - extract(epoch from '2026-07-06 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397486 -3.46951)'), GeomFromEWKT('SRID=4674;POINT (-38.397538 -3.469599)'))) / (select extract(epoch from '2026-07-06 16:47:43'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.397549 -3.469613)', '2026-07-06 16:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397538 -3.469599)'), GeomFromEWKT('SRID=4674;POINT (-38.397549 -3.469613)'))) / (select extract(epoch from '2026-07-06 16:47:44'::timestamp) - extract(epoch from '2026-07-06 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397538 -3.469599)'), GeomFromEWKT('SRID=4674;POINT (-38.397549 -3.469613)'))) / (select extract(epoch from '2026-07-06 16:47:44'::timestamp) - extract(epoch from '2026-07-06 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39758 -3.469692)', '2026-07-06 16:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397549 -3.469613)'), GeomFromEWKT('SRID=4674;POINT (-38.39758 -3.469692)'))) / (select extract(epoch from '2026-07-06 16:47:49'::timestamp) - extract(epoch from '2026-07-06 16:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397549 -3.469613)'), GeomFromEWKT('SRID=4674;POINT (-38.39758 -3.469692)'))) / (select extract(epoch from '2026-07-06 16:47:49'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.397621 -3.469786)', '2026-07-06 16:47:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39758 -3.469692)'), GeomFromEWKT('SRID=4674;POINT (-38.397621 -3.469786)'))) / (select extract(epoch from '2026-07-06 16:47:55'::timestamp) - extract(epoch from '2026-07-06 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39758 -3.469692)'), GeomFromEWKT('SRID=4674;POINT (-38.397621 -3.469786)'))) / (select extract(epoch from '2026-07-06 16:47:55'::timestamp) - extract(epoch from '2026-07-06 16:47: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'), 47390, 'SRID=4674;POINT (-38.397682 -3.469894)', '2026-07-06 16:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397621 -3.469786)'), GeomFromEWKT('SRID=4674;POINT (-38.397682 -3.469894)'))) / (select extract(epoch from '2026-07-06 16:48:02'::timestamp) - extract(epoch from '2026-07-06 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397621 -3.469786)'), GeomFromEWKT('SRID=4674;POINT (-38.397682 -3.469894)'))) / (select extract(epoch from '2026-07-06 16:48:02'::timestamp) - extract(epoch from '2026-07-06 16:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397723 -3.46999)', '2026-07-06 16:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397682 -3.469894)'), GeomFromEWKT('SRID=4674;POINT (-38.397723 -3.46999)'))) / (select extract(epoch from '2026-07-06 16:48:08'::timestamp) - extract(epoch from '2026-07-06 16:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397682 -3.469894)'), GeomFromEWKT('SRID=4674;POINT (-38.397723 -3.46999)'))) / (select extract(epoch from '2026-07-06 16:48:08'::timestamp) - extract(epoch from '2026-07-06 16:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397781 -3.470103)', '2026-07-06 16:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397723 -3.46999)'), GeomFromEWKT('SRID=4674;POINT (-38.397781 -3.470103)'))) / (select extract(epoch from '2026-07-06 16:48:15'::timestamp) - extract(epoch from '2026-07-06 16:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397723 -3.46999)'), GeomFromEWKT('SRID=4674;POINT (-38.397781 -3.470103)'))) / (select extract(epoch from '2026-07-06 16:48:15'::timestamp) - extract(epoch from '2026-07-06 16:48: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'), 47390, 'SRID=4674;POINT (-38.397845 -3.470226)', '2026-07-06 16:48:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397781 -3.470103)'), GeomFromEWKT('SRID=4674;POINT (-38.397845 -3.470226)'))) / (select extract(epoch from '2026-07-06 16:48:23'::timestamp) - extract(epoch from '2026-07-06 16:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397781 -3.470103)'), GeomFromEWKT('SRID=4674;POINT (-38.397845 -3.470226)'))) / (select extract(epoch from '2026-07-06 16:48:23'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39789 -3.470333)', '2026-07-06 16:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397845 -3.470226)'), GeomFromEWKT('SRID=4674;POINT (-38.39789 -3.470333)'))) / (select extract(epoch from '2026-07-06 16:48:30'::timestamp) - extract(epoch from '2026-07-06 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397845 -3.470226)'), GeomFromEWKT('SRID=4674;POINT (-38.39789 -3.470333)'))) / (select extract(epoch from '2026-07-06 16:48:30'::timestamp) - extract(epoch from '2026-07-06 16:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.397941 -3.470463)', '2026-07-06 16:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39789 -3.470333)'), GeomFromEWKT('SRID=4674;POINT (-38.397941 -3.470463)'))) / (select extract(epoch from '2026-07-06 16:48:38'::timestamp) - extract(epoch from '2026-07-06 16:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39789 -3.470333)'), GeomFromEWKT('SRID=4674;POINT (-38.397941 -3.470463)'))) / (select extract(epoch from '2026-07-06 16:48:38'::timestamp) - extract(epoch from '2026-07-06 16:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39799 -3.470574)', '2026-07-06 16:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397941 -3.470463)'), GeomFromEWKT('SRID=4674;POINT (-38.39799 -3.470574)'))) / (select extract(epoch from '2026-07-06 16:48:44'::timestamp) - extract(epoch from '2026-07-06 16:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397941 -3.470463)'), GeomFromEWKT('SRID=4674;POINT (-38.39799 -3.470574)'))) / (select extract(epoch from '2026-07-06 16:48:44'::timestamp) - extract(epoch from '2026-07-06 16:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398046 -3.470685)', '2026-07-06 16:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39799 -3.470574)'), GeomFromEWKT('SRID=4674;POINT (-38.398046 -3.470685)'))) / (select extract(epoch from '2026-07-06 16:48:50'::timestamp) - extract(epoch from '2026-07-06 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39799 -3.470574)'), GeomFromEWKT('SRID=4674;POINT (-38.398046 -3.470685)'))) / (select extract(epoch from '2026-07-06 16:48:50'::timestamp) - extract(epoch from '2026-07-06 16:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398087 -3.470773)', '2026-07-06 16:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398046 -3.470685)'), GeomFromEWKT('SRID=4674;POINT (-38.398087 -3.470773)'))) / (select extract(epoch from '2026-07-06 16:48:55'::timestamp) - extract(epoch from '2026-07-06 16:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398046 -3.470685)'), GeomFromEWKT('SRID=4674;POINT (-38.398087 -3.470773)'))) / (select extract(epoch from '2026-07-06 16:48:55'::timestamp) - extract(epoch from '2026-07-06 16:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39813 -3.470868)', '2026-07-06 16:49:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398087 -3.470773)'), GeomFromEWKT('SRID=4674;POINT (-38.39813 -3.470868)'))) / (select extract(epoch from '2026-07-06 16:49:00'::timestamp) - extract(epoch from '2026-07-06 16:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398087 -3.470773)'), GeomFromEWKT('SRID=4674;POINT (-38.39813 -3.470868)'))) / (select extract(epoch from '2026-07-06 16:49:00'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.398172 -3.470956)', '2026-07-06 16:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39813 -3.470868)'), GeomFromEWKT('SRID=4674;POINT (-38.398172 -3.470956)'))) / (select extract(epoch from '2026-07-06 16:49:05'::timestamp) - extract(epoch from '2026-07-06 16:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39813 -3.470868)'), GeomFromEWKT('SRID=4674;POINT (-38.398172 -3.470956)'))) / (select extract(epoch from '2026-07-06 16:49:05'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.398258 -3.471117)', '2026-07-06 16:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398172 -3.470956)'), GeomFromEWKT('SRID=4674;POINT (-38.398258 -3.471117)'))) / (select extract(epoch from '2026-07-06 16:49:14'::timestamp) - extract(epoch from '2026-07-06 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398172 -3.470956)'), GeomFromEWKT('SRID=4674;POINT (-38.398258 -3.471117)'))) / (select extract(epoch from '2026-07-06 16:49:14'::timestamp) - extract(epoch from '2026-07-06 16:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398323 -3.471266)', '2026-07-06 16:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398258 -3.471117)'), GeomFromEWKT('SRID=4674;POINT (-38.398323 -3.471266)'))) / (select extract(epoch from '2026-07-06 16:49:22'::timestamp) - extract(epoch from '2026-07-06 16:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398258 -3.471117)'), GeomFromEWKT('SRID=4674;POINT (-38.398323 -3.471266)'))) / (select extract(epoch from '2026-07-06 16:49:22'::timestamp) - extract(epoch from '2026-07-06 16:49: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'), 47390, 'SRID=4674;POINT (-38.3984 -3.471421)', '2026-07-06 16:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398323 -3.471266)'), GeomFromEWKT('SRID=4674;POINT (-38.3984 -3.471421)'))) / (select extract(epoch from '2026-07-06 16:49:31'::timestamp) - extract(epoch from '2026-07-06 16:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398323 -3.471266)'), GeomFromEWKT('SRID=4674;POINT (-38.3984 -3.471421)'))) / (select extract(epoch from '2026-07-06 16:49:31'::timestamp) - extract(epoch from '2026-07-06 16:49: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'), 47390, 'SRID=4674;POINT (-38.398439 -3.471532)', '2026-07-06 16:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3984 -3.471421)'), GeomFromEWKT('SRID=4674;POINT (-38.398439 -3.471532)'))) / (select extract(epoch from '2026-07-06 16:49:37'::timestamp) - extract(epoch from '2026-07-06 16:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3984 -3.471421)'), GeomFromEWKT('SRID=4674;POINT (-38.398439 -3.471532)'))) / (select extract(epoch from '2026-07-06 16:49:37'::timestamp) - extract(epoch from '2026-07-06 16:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398491 -3.471636)', '2026-07-06 16:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398439 -3.471532)'), GeomFromEWKT('SRID=4674;POINT (-38.398491 -3.471636)'))) / (select extract(epoch from '2026-07-06 16:49:43'::timestamp) - extract(epoch from '2026-07-06 16:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398439 -3.471532)'), GeomFromEWKT('SRID=4674;POINT (-38.398491 -3.471636)'))) / (select extract(epoch from '2026-07-06 16:49:43'::timestamp) - extract(epoch from '2026-07-06 16:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398566 -3.471792)', '2026-07-06 16:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398491 -3.471636)'), GeomFromEWKT('SRID=4674;POINT (-38.398566 -3.471792)'))) / (select extract(epoch from '2026-07-06 16:49:52'::timestamp) - extract(epoch from '2026-07-06 16:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398491 -3.471636)'), GeomFromEWKT('SRID=4674;POINT (-38.398566 -3.471792)'))) / (select extract(epoch from '2026-07-06 16:49:52'::timestamp) - extract(epoch from '2026-07-06 16:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398612 -3.471895)', '2026-07-06 16:49:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398566 -3.471792)'), GeomFromEWKT('SRID=4674;POINT (-38.398612 -3.471895)'))) / (select extract(epoch from '2026-07-06 16:49:58'::timestamp) - extract(epoch from '2026-07-06 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398566 -3.471792)'), GeomFromEWKT('SRID=4674;POINT (-38.398612 -3.471895)'))) / (select extract(epoch from '2026-07-06 16:49:58'::timestamp) - extract(epoch from '2026-07-06 16:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398682 -3.472037)', '2026-07-06 16:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398612 -3.471895)'), GeomFromEWKT('SRID=4674;POINT (-38.398682 -3.472037)'))) / (select extract(epoch from '2026-07-06 16:50:06'::timestamp) - extract(epoch from '2026-07-06 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398612 -3.471895)'), GeomFromEWKT('SRID=4674;POINT (-38.398682 -3.472037)'))) / (select extract(epoch from '2026-07-06 16:50:06'::timestamp) - extract(epoch from '2026-07-06 16:49: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'), 47390, 'SRID=4674;POINT (-38.398735 -3.47214)', '2026-07-06 16:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398682 -3.472037)'), GeomFromEWKT('SRID=4674;POINT (-38.398735 -3.47214)'))) / (select extract(epoch from '2026-07-06 16:50:12'::timestamp) - extract(epoch from '2026-07-06 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398682 -3.472037)'), GeomFromEWKT('SRID=4674;POINT (-38.398735 -3.47214)'))) / (select extract(epoch from '2026-07-06 16:50:12'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.398815 -3.472286)', '2026-07-06 16:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398735 -3.47214)'), GeomFromEWKT('SRID=4674;POINT (-38.398815 -3.472286)'))) / (select extract(epoch from '2026-07-06 16:50:21'::timestamp) - extract(epoch from '2026-07-06 16:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398735 -3.47214)'), GeomFromEWKT('SRID=4674;POINT (-38.398815 -3.472286)'))) / (select extract(epoch from '2026-07-06 16:50:21'::timestamp) - extract(epoch from '2026-07-06 16:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.398824 -3.472316)', '2026-07-06 16:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398815 -3.472286)'), GeomFromEWKT('SRID=4674;POINT (-38.398824 -3.472316)'))) / (select extract(epoch from '2026-07-06 16:50:23'::timestamp) - extract(epoch from '2026-07-06 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398815 -3.472286)'), GeomFromEWKT('SRID=4674;POINT (-38.398824 -3.472316)'))) / (select extract(epoch from '2026-07-06 16:50:23'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.398858 -3.472348)', '2026-07-06 16:50:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398824 -3.472316)'), GeomFromEWKT('SRID=4674;POINT (-38.398858 -3.472348)'))) / (select extract(epoch from '2026-07-06 16:50:25'::timestamp) - extract(epoch from '2026-07-06 16:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398824 -3.472316)'), GeomFromEWKT('SRID=4674;POINT (-38.398858 -3.472348)'))) / (select extract(epoch from '2026-07-06 16:50:25'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.398886 -3.472409)', '2026-07-06 16:50:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398858 -3.472348)'), GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.472409)'))) / (select extract(epoch from '2026-07-06 16:50:29'::timestamp) - extract(epoch from '2026-07-06 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398858 -3.472348)'), GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.472409)'))) / (select extract(epoch from '2026-07-06 16:50:29'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.398939 -3.472508)', '2026-07-06 16:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.472409)'), GeomFromEWKT('SRID=4674;POINT (-38.398939 -3.472508)'))) / (select extract(epoch from '2026-07-06 16:50:35'::timestamp) - extract(epoch from '2026-07-06 16:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.472409)'), GeomFromEWKT('SRID=4674;POINT (-38.398939 -3.472508)'))) / (select extract(epoch from '2026-07-06 16:50:35'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.398986 -3.47259)', '2026-07-06 16:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398939 -3.472508)'), GeomFromEWKT('SRID=4674;POINT (-38.398986 -3.47259)'))) / (select extract(epoch from '2026-07-06 16:50:41'::timestamp) - extract(epoch from '2026-07-06 16:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398939 -3.472508)'), GeomFromEWKT('SRID=4674;POINT (-38.398986 -3.47259)'))) / (select extract(epoch from '2026-07-06 16:50:41'::timestamp) - extract(epoch from '2026-07-06 16:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.399043 -3.472695)', '2026-07-06 16:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398986 -3.47259)'), GeomFromEWKT('SRID=4674;POINT (-38.399043 -3.472695)'))) / (select extract(epoch from '2026-07-06 16:50:47'::timestamp) - extract(epoch from '2026-07-06 16:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398986 -3.47259)'), GeomFromEWKT('SRID=4674;POINT (-38.399043 -3.472695)'))) / (select extract(epoch from '2026-07-06 16:50:47'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.399084 -3.4728)', '2026-07-06 16:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399043 -3.472695)'), GeomFromEWKT('SRID=4674;POINT (-38.399084 -3.4728)'))) / (select extract(epoch from '2026-07-06 16:50:53'::timestamp) - extract(epoch from '2026-07-06 16:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399043 -3.472695)'), GeomFromEWKT('SRID=4674;POINT (-38.399084 -3.4728)'))) / (select extract(epoch from '2026-07-06 16:50:53'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.399124 -3.472903)', '2026-07-06 16:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399084 -3.4728)'), GeomFromEWKT('SRID=4674;POINT (-38.399124 -3.472903)'))) / (select extract(epoch from '2026-07-06 16:50:59'::timestamp) - extract(epoch from '2026-07-06 16:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399084 -3.4728)'), GeomFromEWKT('SRID=4674;POINT (-38.399124 -3.472903)'))) / (select extract(epoch from '2026-07-06 16:50:59'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.399186 -3.473045)', '2026-07-06 16:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399124 -3.472903)'), GeomFromEWKT('SRID=4674;POINT (-38.399186 -3.473045)'))) / (select extract(epoch from '2026-07-06 16:51:07'::timestamp) - extract(epoch from '2026-07-06 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399124 -3.472903)'), GeomFromEWKT('SRID=4674;POINT (-38.399186 -3.473045)'))) / (select extract(epoch from '2026-07-06 16:51:07'::timestamp) - extract(epoch from '2026-07-06 16:50: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'), 47390, 'SRID=4674;POINT (-38.399253 -3.473183)', '2026-07-06 16:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399186 -3.473045)'), GeomFromEWKT('SRID=4674;POINT (-38.399253 -3.473183)'))) / (select extract(epoch from '2026-07-06 16:51:15'::timestamp) - extract(epoch from '2026-07-06 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399186 -3.473045)'), GeomFromEWKT('SRID=4674;POINT (-38.399253 -3.473183)'))) / (select extract(epoch from '2026-07-06 16:51:15'::timestamp) - extract(epoch from '2026-07-06 16:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.399323 -3.473295)', '2026-07-06 16:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399253 -3.473183)'), GeomFromEWKT('SRID=4674;POINT (-38.399323 -3.473295)'))) / (select extract(epoch from '2026-07-06 16:51:23'::timestamp) - extract(epoch from '2026-07-06 16:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399253 -3.473183)'), GeomFromEWKT('SRID=4674;POINT (-38.399323 -3.473295)'))) / (select extract(epoch from '2026-07-06 16:51:23'::timestamp) - extract(epoch from '2026-07-06 16:51: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'), 47390, 'SRID=4674;POINT (-38.399398 -3.473438)', '2026-07-06 16:51:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399323 -3.473295)'), GeomFromEWKT('SRID=4674;POINT (-38.399398 -3.473438)'))) / (select extract(epoch from '2026-07-06 16:51:32'::timestamp) - extract(epoch from '2026-07-06 16:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399323 -3.473295)'), GeomFromEWKT('SRID=4674;POINT (-38.399398 -3.473438)'))) / (select extract(epoch from '2026-07-06 16:51:32'::timestamp) - extract(epoch from '2026-07-06 16:51: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'), 47390, 'SRID=4674;POINT (-38.399447 -3.47355)', '2026-07-06 16:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399398 -3.473438)'), GeomFromEWKT('SRID=4674;POINT (-38.399447 -3.47355)'))) / (select extract(epoch from '2026-07-06 16:51:39'::timestamp) - extract(epoch from '2026-07-06 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399398 -3.473438)'), GeomFromEWKT('SRID=4674;POINT (-38.399447 -3.47355)'))) / (select extract(epoch from '2026-07-06 16:51:39'::timestamp) - extract(epoch from '2026-07-06 16:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.399495 -3.47366)', '2026-07-06 16:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399447 -3.47355)'), GeomFromEWKT('SRID=4674;POINT (-38.399495 -3.47366)'))) / (select extract(epoch from '2026-07-06 16:51:46'::timestamp) - extract(epoch from '2026-07-06 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399447 -3.47355)'), GeomFromEWKT('SRID=4674;POINT (-38.399495 -3.47366)'))) / (select extract(epoch from '2026-07-06 16:51:46'::timestamp) - extract(epoch from '2026-07-06 16:51: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'), 47390, 'SRID=4674;POINT (-38.399541 -3.473743)', '2026-07-06 16:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399495 -3.47366)'), GeomFromEWKT('SRID=4674;POINT (-38.399541 -3.473743)'))) / (select extract(epoch from '2026-07-06 16:51:51'::timestamp) - extract(epoch from '2026-07-06 16:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399495 -3.47366)'), GeomFromEWKT('SRID=4674;POINT (-38.399541 -3.473743)'))) / (select extract(epoch from '2026-07-06 16:51:51'::timestamp) - extract(epoch from '2026-07-06 16:51: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'), 47390, 'SRID=4674;POINT (-38.399619 -3.473848)', '2026-07-06 16:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399541 -3.473743)'), GeomFromEWKT('SRID=4674;POINT (-38.399619 -3.473848)'))) / (select extract(epoch from '2026-07-06 16:51:58'::timestamp) - extract(epoch from '2026-07-06 16:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399541 -3.473743)'), GeomFromEWKT('SRID=4674;POINT (-38.399619 -3.473848)'))) / (select extract(epoch from '2026-07-06 16:51:58'::timestamp) - extract(epoch from '2026-07-06 16:51: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'), 47390, 'SRID=4674;POINT (-38.399664 -3.473967)', '2026-07-06 16:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399619 -3.473848)'), GeomFromEWKT('SRID=4674;POINT (-38.399664 -3.473967)'))) / (select extract(epoch from '2026-07-06 16:52:05'::timestamp) - extract(epoch from '2026-07-06 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399619 -3.473848)'), GeomFromEWKT('SRID=4674;POINT (-38.399664 -3.473967)'))) / (select extract(epoch from '2026-07-06 16:52:05'::timestamp) - extract(epoch from '2026-07-06 16:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.399707 -3.474092)', '2026-07-06 16:52:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399664 -3.473967)'), GeomFromEWKT('SRID=4674;POINT (-38.399707 -3.474092)'))) / (select extract(epoch from '2026-07-06 16:52:12'::timestamp) - extract(epoch from '2026-07-06 16:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399664 -3.473967)'), GeomFromEWKT('SRID=4674;POINT (-38.399707 -3.474092)'))) / (select extract(epoch from '2026-07-06 16:52:12'::timestamp) - extract(epoch from '2026-07-06 16:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.399757 -3.474237)', '2026-07-06 16:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399707 -3.474092)'), GeomFromEWKT('SRID=4674;POINT (-38.399757 -3.474237)'))) / (select extract(epoch from '2026-07-06 16:52:21'::timestamp) - extract(epoch from '2026-07-06 16:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399707 -3.474092)'), GeomFromEWKT('SRID=4674;POINT (-38.399757 -3.474237)'))) / (select extract(epoch from '2026-07-06 16:52:21'::timestamp) - extract(epoch from '2026-07-06 16:52: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'), 47390, 'SRID=4674;POINT (-38.399801 -3.474331)', '2026-07-06 16:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399757 -3.474237)'), GeomFromEWKT('SRID=4674;POINT (-38.399801 -3.474331)'))) / (select extract(epoch from '2026-07-06 16:52:27'::timestamp) - extract(epoch from '2026-07-06 16:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399757 -3.474237)'), GeomFromEWKT('SRID=4674;POINT (-38.399801 -3.474331)'))) / (select extract(epoch from '2026-07-06 16:52:27'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.399851 -3.474456)', '2026-07-06 16:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399801 -3.474331)'), GeomFromEWKT('SRID=4674;POINT (-38.399851 -3.474456)'))) / (select extract(epoch from '2026-07-06 16:52:35'::timestamp) - extract(epoch from '2026-07-06 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399801 -3.474331)'), GeomFromEWKT('SRID=4674;POINT (-38.399851 -3.474456)'))) / (select extract(epoch from '2026-07-06 16:52:35'::timestamp) - extract(epoch from '2026-07-06 16:52: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'), 47390, 'SRID=4674;POINT (-38.399924 -3.474596)', '2026-07-06 16:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399851 -3.474456)'), GeomFromEWKT('SRID=4674;POINT (-38.399924 -3.474596)'))) / (select extract(epoch from '2026-07-06 16:52:44'::timestamp) - extract(epoch from '2026-07-06 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399851 -3.474456)'), GeomFromEWKT('SRID=4674;POINT (-38.399924 -3.474596)'))) / (select extract(epoch from '2026-07-06 16:52:44'::timestamp) - extract(epoch from '2026-07-06 16:52: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'), 47390, 'SRID=4674;POINT (-38.399984 -3.474743)', '2026-07-06 16:52:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399924 -3.474596)'), GeomFromEWKT('SRID=4674;POINT (-38.399984 -3.474743)'))) / (select extract(epoch from '2026-07-06 16:52:53'::timestamp) - extract(epoch from '2026-07-06 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399924 -3.474596)'), GeomFromEWKT('SRID=4674;POINT (-38.399984 -3.474743)'))) / (select extract(epoch from '2026-07-06 16:52:53'::timestamp) - extract(epoch from '2026-07-06 16:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.400038 -3.474862)', '2026-07-06 16:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399984 -3.474743)'), GeomFromEWKT('SRID=4674;POINT (-38.400038 -3.474862)'))) / (select extract(epoch from '2026-07-06 16:53:00'::timestamp) - extract(epoch from '2026-07-06 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399984 -3.474743)'), GeomFromEWKT('SRID=4674;POINT (-38.400038 -3.474862)'))) / (select extract(epoch from '2026-07-06 16:53:00'::timestamp) - extract(epoch from '2026-07-06 16:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4001 -3.474975)', '2026-07-06 16:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400038 -3.474862)'), GeomFromEWKT('SRID=4674;POINT (-38.4001 -3.474975)'))) / (select extract(epoch from '2026-07-06 16:53:06'::timestamp) - extract(epoch from '2026-07-06 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400038 -3.474862)'), GeomFromEWKT('SRID=4674;POINT (-38.4001 -3.474975)'))) / (select extract(epoch from '2026-07-06 16:53:06'::timestamp) - extract(epoch from '2026-07-06 16:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.400178 -3.475106)', '2026-07-06 16:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4001 -3.474975)'), GeomFromEWKT('SRID=4674;POINT (-38.400178 -3.475106)'))) / (select extract(epoch from '2026-07-06 16:53:14'::timestamp) - extract(epoch from '2026-07-06 16:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4001 -3.474975)'), GeomFromEWKT('SRID=4674;POINT (-38.400178 -3.475106)'))) / (select extract(epoch from '2026-07-06 16:53:14'::timestamp) - extract(epoch from '2026-07-06 16:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.400239 -3.475208)', '2026-07-06 16:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400178 -3.475106)'), GeomFromEWKT('SRID=4674;POINT (-38.400239 -3.475208)'))) / (select extract(epoch from '2026-07-06 16:53:20'::timestamp) - extract(epoch from '2026-07-06 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400178 -3.475106)'), GeomFromEWKT('SRID=4674;POINT (-38.400239 -3.475208)'))) / (select extract(epoch from '2026-07-06 16:53:20'::timestamp) - extract(epoch from '2026-07-06 16:53: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'), 47390, 'SRID=4674;POINT (-38.400294 -3.475344)', '2026-07-06 16:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400239 -3.475208)'), GeomFromEWKT('SRID=4674;POINT (-38.400294 -3.475344)'))) / (select extract(epoch from '2026-07-06 16:53:28'::timestamp) - extract(epoch from '2026-07-06 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400239 -3.475208)'), GeomFromEWKT('SRID=4674;POINT (-38.400294 -3.475344)'))) / (select extract(epoch from '2026-07-06 16:53:28'::timestamp) - extract(epoch from '2026-07-06 16:53: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'), 47390, 'SRID=4674;POINT (-38.400328 -3.475426)', '2026-07-06 16:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400294 -3.475344)'), GeomFromEWKT('SRID=4674;POINT (-38.400328 -3.475426)'))) / (select extract(epoch from '2026-07-06 16:53:33'::timestamp) - extract(epoch from '2026-07-06 16:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400294 -3.475344)'), GeomFromEWKT('SRID=4674;POINT (-38.400328 -3.475426)'))) / (select extract(epoch from '2026-07-06 16:53:33'::timestamp) - extract(epoch from '2026-07-06 16:53: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'), 47390, 'SRID=4674;POINT (-38.400383 -3.475524)', '2026-07-06 16:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400328 -3.475426)'), GeomFromEWKT('SRID=4674;POINT (-38.400383 -3.475524)'))) / (select extract(epoch from '2026-07-06 16:53:39'::timestamp) - extract(epoch from '2026-07-06 16:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400328 -3.475426)'), GeomFromEWKT('SRID=4674;POINT (-38.400383 -3.475524)'))) / (select extract(epoch from '2026-07-06 16:53:39'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.400431 -3.475604)', '2026-07-06 16:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400383 -3.475524)'), GeomFromEWKT('SRID=4674;POINT (-38.400431 -3.475604)'))) / (select extract(epoch from '2026-07-06 16:53:44'::timestamp) - extract(epoch from '2026-07-06 16:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400383 -3.475524)'), GeomFromEWKT('SRID=4674;POINT (-38.400431 -3.475604)'))) / (select extract(epoch from '2026-07-06 16:53:44'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.400478 -3.475707)', '2026-07-06 16:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400431 -3.475604)'), GeomFromEWKT('SRID=4674;POINT (-38.400478 -3.475707)'))) / (select extract(epoch from '2026-07-06 16:53:50'::timestamp) - extract(epoch from '2026-07-06 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400431 -3.475604)'), GeomFromEWKT('SRID=4674;POINT (-38.400478 -3.475707)'))) / (select extract(epoch from '2026-07-06 16:53:50'::timestamp) - extract(epoch from '2026-07-06 16:53: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'), 47390, 'SRID=4674;POINT (-38.400549 -3.475842)', '2026-07-06 16:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400478 -3.475707)'), GeomFromEWKT('SRID=4674;POINT (-38.400549 -3.475842)'))) / (select extract(epoch from '2026-07-06 16:53:58'::timestamp) - extract(epoch from '2026-07-06 16:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400478 -3.475707)'), GeomFromEWKT('SRID=4674;POINT (-38.400549 -3.475842)'))) / (select extract(epoch from '2026-07-06 16:53:58'::timestamp) - extract(epoch from '2026-07-06 16:53: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'), 47390, 'SRID=4674;POINT (-38.400599 -3.475945)', '2026-07-06 16:54:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400549 -3.475842)'), GeomFromEWKT('SRID=4674;POINT (-38.400599 -3.475945)'))) / (select extract(epoch from '2026-07-06 16:54:04'::timestamp) - extract(epoch from '2026-07-06 16:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400549 -3.475842)'), GeomFromEWKT('SRID=4674;POINT (-38.400599 -3.475945)'))) / (select extract(epoch from '2026-07-06 16:54:04'::timestamp) - extract(epoch from '2026-07-06 16:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.400669 -3.476066)', '2026-07-06 16:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400599 -3.475945)'), GeomFromEWKT('SRID=4674;POINT (-38.400669 -3.476066)'))) / (select extract(epoch from '2026-07-06 16:54:12'::timestamp) - extract(epoch from '2026-07-06 16:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400599 -3.475945)'), GeomFromEWKT('SRID=4674;POINT (-38.400669 -3.476066)'))) / (select extract(epoch from '2026-07-06 16:54:12'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.400736 -3.47618)', '2026-07-06 16:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400669 -3.476066)'), GeomFromEWKT('SRID=4674;POINT (-38.400736 -3.47618)'))) / (select extract(epoch from '2026-07-06 16:54:19'::timestamp) - extract(epoch from '2026-07-06 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400669 -3.476066)'), GeomFromEWKT('SRID=4674;POINT (-38.400736 -3.47618)'))) / (select extract(epoch from '2026-07-06 16:54:19'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.400783 -3.476276)', '2026-07-06 16:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400736 -3.47618)'), GeomFromEWKT('SRID=4674;POINT (-38.400783 -3.476276)'))) / (select extract(epoch from '2026-07-06 16:54:25'::timestamp) - extract(epoch from '2026-07-06 16:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400736 -3.47618)'), GeomFromEWKT('SRID=4674;POINT (-38.400783 -3.476276)'))) / (select extract(epoch from '2026-07-06 16:54:25'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.400844 -3.4764)', '2026-07-06 16:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400783 -3.476276)'), GeomFromEWKT('SRID=4674;POINT (-38.400844 -3.4764)'))) / (select extract(epoch from '2026-07-06 16:54:32'::timestamp) - extract(epoch from '2026-07-06 16:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400783 -3.476276)'), GeomFromEWKT('SRID=4674;POINT (-38.400844 -3.4764)'))) / (select extract(epoch from '2026-07-06 16:54:32'::timestamp) - extract(epoch from '2026-07-06 16:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.400901 -3.476519)', '2026-07-06 16:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400844 -3.4764)'), GeomFromEWKT('SRID=4674;POINT (-38.400901 -3.476519)'))) / (select extract(epoch from '2026-07-06 16:54:39'::timestamp) - extract(epoch from '2026-07-06 16:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400844 -3.4764)'), GeomFromEWKT('SRID=4674;POINT (-38.400901 -3.476519)'))) / (select extract(epoch from '2026-07-06 16:54:39'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.400952 -3.476606)', '2026-07-06 16:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400901 -3.476519)'), GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.476606)'))) / (select extract(epoch from '2026-07-06 16:54:44'::timestamp) - extract(epoch from '2026-07-06 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400901 -3.476519)'), GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.476606)'))) / (select extract(epoch from '2026-07-06 16:54:44'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.401015 -3.476721)', '2026-07-06 16:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.476606)'), GeomFromEWKT('SRID=4674;POINT (-38.401015 -3.476721)'))) / (select extract(epoch from '2026-07-06 16:54:51'::timestamp) - extract(epoch from '2026-07-06 16:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.476606)'), GeomFromEWKT('SRID=4674;POINT (-38.401015 -3.476721)'))) / (select extract(epoch from '2026-07-06 16:54:51'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.401061 -3.476825)', '2026-07-06 16:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401015 -3.476721)'), GeomFromEWKT('SRID=4674;POINT (-38.401061 -3.476825)'))) / (select extract(epoch from '2026-07-06 16:54:57'::timestamp) - extract(epoch from '2026-07-06 16:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401015 -3.476721)'), GeomFromEWKT('SRID=4674;POINT (-38.401061 -3.476825)'))) / (select extract(epoch from '2026-07-06 16:54:57'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.401143 -3.476987)', '2026-07-06 16:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401061 -3.476825)'), GeomFromEWKT('SRID=4674;POINT (-38.401143 -3.476987)'))) / (select extract(epoch from '2026-07-06 16:55:06'::timestamp) - extract(epoch from '2026-07-06 16:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401061 -3.476825)'), GeomFromEWKT('SRID=4674;POINT (-38.401143 -3.476987)'))) / (select extract(epoch from '2026-07-06 16:55:06'::timestamp) - extract(epoch from '2026-07-06 16:54: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'), 47390, 'SRID=4674;POINT (-38.401194 -3.47707)', '2026-07-06 16:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401143 -3.476987)'), GeomFromEWKT('SRID=4674;POINT (-38.401194 -3.47707)'))) / (select extract(epoch from '2026-07-06 16:55:11'::timestamp) - extract(epoch from '2026-07-06 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401143 -3.476987)'), GeomFromEWKT('SRID=4674;POINT (-38.401194 -3.47707)'))) / (select extract(epoch from '2026-07-06 16:55:11'::timestamp) - extract(epoch from '2026-07-06 16:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.401267 -3.47721)', '2026-07-06 16:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401194 -3.47707)'), GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.47721)'))) / (select extract(epoch from '2026-07-06 16:55:19'::timestamp) - extract(epoch from '2026-07-06 16:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401194 -3.47707)'), GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.47721)'))) / (select extract(epoch from '2026-07-06 16:55:19'::timestamp) - extract(epoch from '2026-07-06 16:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.401306 -3.477306)', '2026-07-06 16:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.47721)'), GeomFromEWKT('SRID=4674;POINT (-38.401306 -3.477306)'))) / (select extract(epoch from '2026-07-06 16:55:24'::timestamp) - extract(epoch from '2026-07-06 16:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401267 -3.47721)'), GeomFromEWKT('SRID=4674;POINT (-38.401306 -3.477306)'))) / (select extract(epoch from '2026-07-06 16:55:24'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.401359 -3.477417)', '2026-07-06 16:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401306 -3.477306)'), GeomFromEWKT('SRID=4674;POINT (-38.401359 -3.477417)'))) / (select extract(epoch from '2026-07-06 16:55:30'::timestamp) - extract(epoch from '2026-07-06 16:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401306 -3.477306)'), GeomFromEWKT('SRID=4674;POINT (-38.401359 -3.477417)'))) / (select extract(epoch from '2026-07-06 16:55:30'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401422 -3.477542)', '2026-07-06 16:55:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401359 -3.477417)'), GeomFromEWKT('SRID=4674;POINT (-38.401422 -3.477542)'))) / (select extract(epoch from '2026-07-06 16:55:37'::timestamp) - extract(epoch from '2026-07-06 16:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401359 -3.477417)'), GeomFromEWKT('SRID=4674;POINT (-38.401422 -3.477542)'))) / (select extract(epoch from '2026-07-06 16:55:37'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401481 -3.477673)', '2026-07-06 16:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401422 -3.477542)'), GeomFromEWKT('SRID=4674;POINT (-38.401481 -3.477673)'))) / (select extract(epoch from '2026-07-06 16:55:44'::timestamp) - extract(epoch from '2026-07-06 16:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401422 -3.477542)'), GeomFromEWKT('SRID=4674;POINT (-38.401481 -3.477673)'))) / (select extract(epoch from '2026-07-06 16:55:44'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401538 -3.477788)', '2026-07-06 16:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401481 -3.477673)'), GeomFromEWKT('SRID=4674;POINT (-38.401538 -3.477788)'))) / (select extract(epoch from '2026-07-06 16:55:50'::timestamp) - extract(epoch from '2026-07-06 16:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401481 -3.477673)'), GeomFromEWKT('SRID=4674;POINT (-38.401538 -3.477788)'))) / (select extract(epoch from '2026-07-06 16:55:50'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401607 -3.477924)', '2026-07-06 16:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401538 -3.477788)'), GeomFromEWKT('SRID=4674;POINT (-38.401607 -3.477924)'))) / (select extract(epoch from '2026-07-06 16:55:58'::timestamp) - extract(epoch from '2026-07-06 16:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401538 -3.477788)'), GeomFromEWKT('SRID=4674;POINT (-38.401607 -3.477924)'))) / (select extract(epoch from '2026-07-06 16:55:58'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401661 -3.478011)', '2026-07-06 16:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401607 -3.477924)'), GeomFromEWKT('SRID=4674;POINT (-38.401661 -3.478011)'))) / (select extract(epoch from '2026-07-06 16:56:04'::timestamp) - extract(epoch from '2026-07-06 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401607 -3.477924)'), GeomFromEWKT('SRID=4674;POINT (-38.401661 -3.478011)'))) / (select extract(epoch from '2026-07-06 16:56:04'::timestamp) - extract(epoch from '2026-07-06 16:55: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'), 47390, 'SRID=4674;POINT (-38.401715 -3.478104)', '2026-07-06 16:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401661 -3.478011)'), GeomFromEWKT('SRID=4674;POINT (-38.401715 -3.478104)'))) / (select extract(epoch from '2026-07-06 16:56:10'::timestamp) - extract(epoch from '2026-07-06 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401661 -3.478011)'), GeomFromEWKT('SRID=4674;POINT (-38.401715 -3.478104)'))) / (select extract(epoch from '2026-07-06 16:56:10'::timestamp) - extract(epoch from '2026-07-06 16:56: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'), 47390, 'SRID=4674;POINT (-38.401783 -3.478209)', '2026-07-06 16:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401715 -3.478104)'), GeomFromEWKT('SRID=4674;POINT (-38.401783 -3.478209)'))) / (select extract(epoch from '2026-07-06 16:56:17'::timestamp) - extract(epoch from '2026-07-06 16:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401715 -3.478104)'), GeomFromEWKT('SRID=4674;POINT (-38.401783 -3.478209)'))) / (select extract(epoch from '2026-07-06 16:56:17'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.401832 -3.478299)', '2026-07-06 16:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401783 -3.478209)'), GeomFromEWKT('SRID=4674;POINT (-38.401832 -3.478299)'))) / (select extract(epoch from '2026-07-06 16:56:23'::timestamp) - extract(epoch from '2026-07-06 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401783 -3.478209)'), GeomFromEWKT('SRID=4674;POINT (-38.401832 -3.478299)'))) / (select extract(epoch from '2026-07-06 16:56:23'::timestamp) - extract(epoch from '2026-07-06 16:56: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'), 47390, 'SRID=4674;POINT (-38.401877 -3.478414)', '2026-07-06 16:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401832 -3.478299)'), GeomFromEWKT('SRID=4674;POINT (-38.401877 -3.478414)'))) / (select extract(epoch from '2026-07-06 16:56:30'::timestamp) - extract(epoch from '2026-07-06 16:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401832 -3.478299)'), GeomFromEWKT('SRID=4674;POINT (-38.401877 -3.478414)'))) / (select extract(epoch from '2026-07-06 16:56:30'::timestamp) - extract(epoch from '2026-07-06 16:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40194 -3.478521)', '2026-07-06 16:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401877 -3.478414)'), GeomFromEWKT('SRID=4674;POINT (-38.40194 -3.478521)'))) / (select extract(epoch from '2026-07-06 16:56:37'::timestamp) - extract(epoch from '2026-07-06 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401877 -3.478414)'), GeomFromEWKT('SRID=4674;POINT (-38.40194 -3.478521)'))) / (select extract(epoch from '2026-07-06 16:56:37'::timestamp) - extract(epoch from '2026-07-06 16:56: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'), 47390, 'SRID=4674;POINT (-38.401993 -3.478623)', '2026-07-06 16:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40194 -3.478521)'), GeomFromEWKT('SRID=4674;POINT (-38.401993 -3.478623)'))) / (select extract(epoch from '2026-07-06 16:56:43'::timestamp) - extract(epoch from '2026-07-06 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40194 -3.478521)'), GeomFromEWKT('SRID=4674;POINT (-38.401993 -3.478623)'))) / (select extract(epoch from '2026-07-06 16:56:43'::timestamp) - extract(epoch from '2026-07-06 16:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402054 -3.478744)', '2026-07-06 16:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401993 -3.478623)'), GeomFromEWKT('SRID=4674;POINT (-38.402054 -3.478744)'))) / (select extract(epoch from '2026-07-06 16:56:50'::timestamp) - extract(epoch from '2026-07-06 16:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401993 -3.478623)'), GeomFromEWKT('SRID=4674;POINT (-38.402054 -3.478744)'))) / (select extract(epoch from '2026-07-06 16:56:50'::timestamp) - extract(epoch from '2026-07-06 16:56: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'), 47390, 'SRID=4674;POINT (-38.40212 -3.478854)', '2026-07-06 16:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402054 -3.478744)'), GeomFromEWKT('SRID=4674;POINT (-38.40212 -3.478854)'))) / (select extract(epoch from '2026-07-06 16:56:56'::timestamp) - extract(epoch from '2026-07-06 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402054 -3.478744)'), GeomFromEWKT('SRID=4674;POINT (-38.40212 -3.478854)'))) / (select extract(epoch from '2026-07-06 16:56:56'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.402177 -3.478957)', '2026-07-06 16:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40212 -3.478854)'), GeomFromEWKT('SRID=4674;POINT (-38.402177 -3.478957)'))) / (select extract(epoch from '2026-07-06 16:57:02'::timestamp) - extract(epoch from '2026-07-06 16:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40212 -3.478854)'), GeomFromEWKT('SRID=4674;POINT (-38.402177 -3.478957)'))) / (select extract(epoch from '2026-07-06 16:57:02'::timestamp) - extract(epoch from '2026-07-06 16:56: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'), 47390, 'SRID=4674;POINT (-38.402219 -3.479041)', '2026-07-06 16:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402177 -3.478957)'), GeomFromEWKT('SRID=4674;POINT (-38.402219 -3.479041)'))) / (select extract(epoch from '2026-07-06 16:57:07'::timestamp) - extract(epoch from '2026-07-06 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402177 -3.478957)'), GeomFromEWKT('SRID=4674;POINT (-38.402219 -3.479041)'))) / (select extract(epoch from '2026-07-06 16:57:07'::timestamp) - extract(epoch from '2026-07-06 16:57: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'), 47390, 'SRID=4674;POINT (-38.402301 -3.479175)', '2026-07-06 16:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402219 -3.479041)'), GeomFromEWKT('SRID=4674;POINT (-38.402301 -3.479175)'))) / (select extract(epoch from '2026-07-06 16:57:15'::timestamp) - extract(epoch from '2026-07-06 16:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402219 -3.479041)'), GeomFromEWKT('SRID=4674;POINT (-38.402301 -3.479175)'))) / (select extract(epoch from '2026-07-06 16:57:15'::timestamp) - extract(epoch from '2026-07-06 16:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402351 -3.479282)', '2026-07-06 16:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402301 -3.479175)'), GeomFromEWKT('SRID=4674;POINT (-38.402351 -3.479282)'))) / (select extract(epoch from '2026-07-06 16:57:21'::timestamp) - extract(epoch from '2026-07-06 16:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402301 -3.479175)'), GeomFromEWKT('SRID=4674;POINT (-38.402351 -3.479282)'))) / (select extract(epoch from '2026-07-06 16:57:21'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.402399 -3.479383)', '2026-07-06 16:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402351 -3.479282)'), GeomFromEWKT('SRID=4674;POINT (-38.402399 -3.479383)'))) / (select extract(epoch from '2026-07-06 16:57:27'::timestamp) - extract(epoch from '2026-07-06 16:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402351 -3.479282)'), GeomFromEWKT('SRID=4674;POINT (-38.402399 -3.479383)'))) / (select extract(epoch from '2026-07-06 16:57:27'::timestamp) - extract(epoch from '2026-07-06 16:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402477 -3.479499)', '2026-07-06 16:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402399 -3.479383)'), GeomFromEWKT('SRID=4674;POINT (-38.402477 -3.479499)'))) / (select extract(epoch from '2026-07-06 16:57:34'::timestamp) - extract(epoch from '2026-07-06 16:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402399 -3.479383)'), GeomFromEWKT('SRID=4674;POINT (-38.402477 -3.479499)'))) / (select extract(epoch from '2026-07-06 16:57:34'::timestamp) - extract(epoch from '2026-07-06 16:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402526 -3.479575)', '2026-07-06 16:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402477 -3.479499)'), GeomFromEWKT('SRID=4674;POINT (-38.402526 -3.479575)'))) / (select extract(epoch from '2026-07-06 16:57:39'::timestamp) - extract(epoch from '2026-07-06 16:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402477 -3.479499)'), GeomFromEWKT('SRID=4674;POINT (-38.402526 -3.479575)'))) / (select extract(epoch from '2026-07-06 16:57:39'::timestamp) - extract(epoch from '2026-07-06 16:57: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'), 47390, 'SRID=4674;POINT (-38.40258 -3.479672)', '2026-07-06 16:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402526 -3.479575)'), GeomFromEWKT('SRID=4674;POINT (-38.40258 -3.479672)'))) / (select extract(epoch from '2026-07-06 16:57:45'::timestamp) - extract(epoch from '2026-07-06 16:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402526 -3.479575)'), GeomFromEWKT('SRID=4674;POINT (-38.40258 -3.479672)'))) / (select extract(epoch from '2026-07-06 16:57:45'::timestamp) - extract(epoch from '2026-07-06 16:57: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'), 47390, 'SRID=4674;POINT (-38.402625 -3.479766)', '2026-07-06 16:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40258 -3.479672)'), GeomFromEWKT('SRID=4674;POINT (-38.402625 -3.479766)'))) / (select extract(epoch from '2026-07-06 16:57:51'::timestamp) - extract(epoch from '2026-07-06 16:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40258 -3.479672)'), GeomFromEWKT('SRID=4674;POINT (-38.402625 -3.479766)'))) / (select extract(epoch from '2026-07-06 16:57:51'::timestamp) - extract(epoch from '2026-07-06 16:57: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'), 47390, 'SRID=4674;POINT (-38.402688 -3.479876)', '2026-07-06 16:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402625 -3.479766)'), GeomFromEWKT('SRID=4674;POINT (-38.402688 -3.479876)'))) / (select extract(epoch from '2026-07-06 16:57:58'::timestamp) - extract(epoch from '2026-07-06 16:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402625 -3.479766)'), GeomFromEWKT('SRID=4674;POINT (-38.402688 -3.479876)'))) / (select extract(epoch from '2026-07-06 16:57:58'::timestamp) - extract(epoch from '2026-07-06 16:57: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'), 47390, 'SRID=4674;POINT (-38.402735 -3.47997)', '2026-07-06 16:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402688 -3.479876)'), GeomFromEWKT('SRID=4674;POINT (-38.402735 -3.47997)'))) / (select extract(epoch from '2026-07-06 16:58:04'::timestamp) - extract(epoch from '2026-07-06 16:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402688 -3.479876)'), GeomFromEWKT('SRID=4674;POINT (-38.402735 -3.47997)'))) / (select extract(epoch from '2026-07-06 16:58:04'::timestamp) - extract(epoch from '2026-07-06 16:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402784 -3.480076)', '2026-07-06 16:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402735 -3.47997)'), GeomFromEWKT('SRID=4674;POINT (-38.402784 -3.480076)'))) / (select extract(epoch from '2026-07-06 16:58:11'::timestamp) - extract(epoch from '2026-07-06 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402735 -3.47997)'), GeomFromEWKT('SRID=4674;POINT (-38.402784 -3.480076)'))) / (select extract(epoch from '2026-07-06 16:58:11'::timestamp) - extract(epoch from '2026-07-06 16:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402796 -3.480093)', '2026-07-06 16:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402784 -3.480076)'), GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.480093)'))) / (select extract(epoch from '2026-07-06 16:58:12'::timestamp) - extract(epoch from '2026-07-06 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402784 -3.480076)'), GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.480093)'))) / (select extract(epoch from '2026-07-06 16:58:12'::timestamp) - extract(epoch from '2026-07-06 16:58: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'), 47390, 'SRID=4674;POINT (-38.402834 -3.48014)', '2026-07-06 16:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.480093)'), GeomFromEWKT('SRID=4674;POINT (-38.402834 -3.48014)'))) / (select extract(epoch from '2026-07-06 16:58:15'::timestamp) - extract(epoch from '2026-07-06 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402796 -3.480093)'), GeomFromEWKT('SRID=4674;POINT (-38.402834 -3.48014)'))) / (select extract(epoch from '2026-07-06 16:58:15'::timestamp) - extract(epoch from '2026-07-06 16:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402895 -3.480227)', '2026-07-06 16:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402834 -3.48014)'), GeomFromEWKT('SRID=4674;POINT (-38.402895 -3.480227)'))) / (select extract(epoch from '2026-07-06 16:58:21'::timestamp) - extract(epoch from '2026-07-06 16:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402834 -3.48014)'), GeomFromEWKT('SRID=4674;POINT (-38.402895 -3.480227)'))) / (select extract(epoch from '2026-07-06 16:58:21'::timestamp) - extract(epoch from '2026-07-06 16:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.402964 -3.480322)', '2026-07-06 16:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402895 -3.480227)'), GeomFromEWKT('SRID=4674;POINT (-38.402964 -3.480322)'))) / (select extract(epoch from '2026-07-06 16:58:27'::timestamp) - extract(epoch from '2026-07-06 16:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402895 -3.480227)'), GeomFromEWKT('SRID=4674;POINT (-38.402964 -3.480322)'))) / (select extract(epoch from '2026-07-06 16:58:27'::timestamp) - extract(epoch from '2026-07-06 16:58: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'), 47390, 'SRID=4674;POINT (-38.403013 -3.480419)', '2026-07-06 16:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402964 -3.480322)'), GeomFromEWKT('SRID=4674;POINT (-38.403013 -3.480419)'))) / (select extract(epoch from '2026-07-06 16:58:33'::timestamp) - extract(epoch from '2026-07-06 16:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402964 -3.480322)'), GeomFromEWKT('SRID=4674;POINT (-38.403013 -3.480419)'))) / (select extract(epoch from '2026-07-06 16:58:33'::timestamp) - extract(epoch from '2026-07-06 16:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403072 -3.480542)', '2026-07-06 16:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403013 -3.480419)'), GeomFromEWKT('SRID=4674;POINT (-38.403072 -3.480542)'))) / (select extract(epoch from '2026-07-06 16:58:40'::timestamp) - extract(epoch from '2026-07-06 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403013 -3.480419)'), GeomFromEWKT('SRID=4674;POINT (-38.403072 -3.480542)'))) / (select extract(epoch from '2026-07-06 16:58:40'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.403132 -3.48066)', '2026-07-06 16:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403072 -3.480542)'), GeomFromEWKT('SRID=4674;POINT (-38.403132 -3.48066)'))) / (select extract(epoch from '2026-07-06 16:58:47'::timestamp) - extract(epoch from '2026-07-06 16:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403072 -3.480542)'), GeomFromEWKT('SRID=4674;POINT (-38.403132 -3.48066)'))) / (select extract(epoch from '2026-07-06 16:58:47'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.403178 -3.480761)', '2026-07-06 16:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403132 -3.48066)'), GeomFromEWKT('SRID=4674;POINT (-38.403178 -3.480761)'))) / (select extract(epoch from '2026-07-06 16:58:53'::timestamp) - extract(epoch from '2026-07-06 16:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403132 -3.48066)'), GeomFromEWKT('SRID=4674;POINT (-38.403178 -3.480761)'))) / (select extract(epoch from '2026-07-06 16:58:53'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.403223 -3.480852)', '2026-07-06 16:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403178 -3.480761)'), GeomFromEWKT('SRID=4674;POINT (-38.403223 -3.480852)'))) / (select extract(epoch from '2026-07-06 16:58:59'::timestamp) - extract(epoch from '2026-07-06 16:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403178 -3.480761)'), GeomFromEWKT('SRID=4674;POINT (-38.403223 -3.480852)'))) / (select extract(epoch from '2026-07-06 16:58:59'::timestamp) - extract(epoch from '2026-07-06 16:58: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'), 47390, 'SRID=4674;POINT (-38.403258 -3.480918)', '2026-07-06 16:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403223 -3.480852)'), GeomFromEWKT('SRID=4674;POINT (-38.403258 -3.480918)'))) / (select extract(epoch from '2026-07-06 16:59:03'::timestamp) - extract(epoch from '2026-07-06 16:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403223 -3.480852)'), GeomFromEWKT('SRID=4674;POINT (-38.403258 -3.480918)'))) / (select extract(epoch from '2026-07-06 16:59:03'::timestamp) - extract(epoch from '2026-07-06 16:58: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'), 47390, 'SRID=4674;POINT (-38.403278 -3.480954)', '2026-07-06 16:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403258 -3.480918)'), GeomFromEWKT('SRID=4674;POINT (-38.403278 -3.480954)'))) / (select extract(epoch from '2026-07-06 16:59:05'::timestamp) - extract(epoch from '2026-07-06 16:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403258 -3.480918)'), GeomFromEWKT('SRID=4674;POINT (-38.403278 -3.480954)'))) / (select extract(epoch from '2026-07-06 16:59:05'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.403323 -3.481062)', '2026-07-06 16:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403278 -3.480954)'), GeomFromEWKT('SRID=4674;POINT (-38.403323 -3.481062)'))) / (select extract(epoch from '2026-07-06 16:59:11'::timestamp) - extract(epoch from '2026-07-06 16:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403278 -3.480954)'), GeomFromEWKT('SRID=4674;POINT (-38.403323 -3.481062)'))) / (select extract(epoch from '2026-07-06 16:59:11'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.403364 -3.481194)', '2026-07-06 16:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403323 -3.481062)'), GeomFromEWKT('SRID=4674;POINT (-38.403364 -3.481194)'))) / (select extract(epoch from '2026-07-06 16:59:18'::timestamp) - extract(epoch from '2026-07-06 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403323 -3.481062)'), GeomFromEWKT('SRID=4674;POINT (-38.403364 -3.481194)'))) / (select extract(epoch from '2026-07-06 16:59:18'::timestamp) - extract(epoch from '2026-07-06 16:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403428 -3.481348)', '2026-07-06 16:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403364 -3.481194)'), GeomFromEWKT('SRID=4674;POINT (-38.403428 -3.481348)'))) / (select extract(epoch from '2026-07-06 16:59:26'::timestamp) - extract(epoch from '2026-07-06 16:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403364 -3.481194)'), GeomFromEWKT('SRID=4674;POINT (-38.403428 -3.481348)'))) / (select extract(epoch from '2026-07-06 16:59:26'::timestamp) - extract(epoch from '2026-07-06 16:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403493 -3.481497)', '2026-07-06 16:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403428 -3.481348)'), GeomFromEWKT('SRID=4674;POINT (-38.403493 -3.481497)'))) / (select extract(epoch from '2026-07-06 16:59:34'::timestamp) - extract(epoch from '2026-07-06 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403428 -3.481348)'), GeomFromEWKT('SRID=4674;POINT (-38.403493 -3.481497)'))) / (select extract(epoch from '2026-07-06 16:59:34'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.403536 -3.481589)', '2026-07-06 16:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403493 -3.481497)'), GeomFromEWKT('SRID=4674;POINT (-38.403536 -3.481589)'))) / (select extract(epoch from '2026-07-06 16:59:39'::timestamp) - extract(epoch from '2026-07-06 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403493 -3.481497)'), GeomFromEWKT('SRID=4674;POINT (-38.403536 -3.481589)'))) / (select extract(epoch from '2026-07-06 16:59:39'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.40358 -3.481717)', '2026-07-06 16:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403536 -3.481589)'), GeomFromEWKT('SRID=4674;POINT (-38.40358 -3.481717)'))) / (select extract(epoch from '2026-07-06 16:59:46'::timestamp) - extract(epoch from '2026-07-06 16:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403536 -3.481589)'), GeomFromEWKT('SRID=4674;POINT (-38.40358 -3.481717)'))) / (select extract(epoch from '2026-07-06 16:59:46'::timestamp) - extract(epoch from '2026-07-06 16:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403625 -3.481839)', '2026-07-06 16:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40358 -3.481717)'), GeomFromEWKT('SRID=4674;POINT (-38.403625 -3.481839)'))) / (select extract(epoch from '2026-07-06 16:59:53'::timestamp) - extract(epoch from '2026-07-06 16:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40358 -3.481717)'), GeomFromEWKT('SRID=4674;POINT (-38.403625 -3.481839)'))) / (select extract(epoch from '2026-07-06 16:59:53'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.403674 -3.481952)', '2026-07-06 17:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403625 -3.481839)'), GeomFromEWKT('SRID=4674;POINT (-38.403674 -3.481952)'))) / (select extract(epoch from '2026-07-06 17:00:00'::timestamp) - extract(epoch from '2026-07-06 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403625 -3.481839)'), GeomFromEWKT('SRID=4674;POINT (-38.403674 -3.481952)'))) / (select extract(epoch from '2026-07-06 17:00:00'::timestamp) - extract(epoch from '2026-07-06 16:59: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'), 47390, 'SRID=4674;POINT (-38.403741 -3.48209)', '2026-07-06 17:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403674 -3.481952)'), GeomFromEWKT('SRID=4674;POINT (-38.403741 -3.48209)'))) / (select extract(epoch from '2026-07-06 17:00:08'::timestamp) - extract(epoch from '2026-07-06 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403674 -3.481952)'), GeomFromEWKT('SRID=4674;POINT (-38.403741 -3.48209)'))) / (select extract(epoch from '2026-07-06 17:00:08'::timestamp) - extract(epoch from '2026-07-06 17:00: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'), 47390, 'SRID=4674;POINT (-38.40379 -3.482194)', '2026-07-06 17:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403741 -3.48209)'), GeomFromEWKT('SRID=4674;POINT (-38.40379 -3.482194)'))) / (select extract(epoch from '2026-07-06 17:00:14'::timestamp) - extract(epoch from '2026-07-06 17:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403741 -3.48209)'), GeomFromEWKT('SRID=4674;POINT (-38.40379 -3.482194)'))) / (select extract(epoch from '2026-07-06 17:00:14'::timestamp) - extract(epoch from '2026-07-06 17:00: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'), 47390, 'SRID=4674;POINT (-38.403844 -3.48232)', '2026-07-06 17:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40379 -3.482194)'), GeomFromEWKT('SRID=4674;POINT (-38.403844 -3.48232)'))) / (select extract(epoch from '2026-07-06 17:00:21'::timestamp) - extract(epoch from '2026-07-06 17:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40379 -3.482194)'), GeomFromEWKT('SRID=4674;POINT (-38.403844 -3.48232)'))) / (select extract(epoch from '2026-07-06 17:00:21'::timestamp) - extract(epoch from '2026-07-06 17:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403902 -3.482453)', '2026-07-06 17:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403844 -3.48232)'), GeomFromEWKT('SRID=4674;POINT (-38.403902 -3.482453)'))) / (select extract(epoch from '2026-07-06 17:00:28'::timestamp) - extract(epoch from '2026-07-06 17:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403844 -3.48232)'), GeomFromEWKT('SRID=4674;POINT (-38.403902 -3.482453)'))) / (select extract(epoch from '2026-07-06 17:00:28'::timestamp) - extract(epoch from '2026-07-06 17:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.403972 -3.482586)', '2026-07-06 17:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403902 -3.482453)'), GeomFromEWKT('SRID=4674;POINT (-38.403972 -3.482586)'))) / (select extract(epoch from '2026-07-06 17:00:35'::timestamp) - extract(epoch from '2026-07-06 17:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403902 -3.482453)'), GeomFromEWKT('SRID=4674;POINT (-38.403972 -3.482586)'))) / (select extract(epoch from '2026-07-06 17:00:35'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.40403 -3.482698)', '2026-07-06 17:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403972 -3.482586)'), GeomFromEWKT('SRID=4674;POINT (-38.40403 -3.482698)'))) / (select extract(epoch from '2026-07-06 17:00:41'::timestamp) - extract(epoch from '2026-07-06 17:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403972 -3.482586)'), GeomFromEWKT('SRID=4674;POINT (-38.40403 -3.482698)'))) / (select extract(epoch from '2026-07-06 17:00:41'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.404084 -3.482816)', '2026-07-06 17:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40403 -3.482698)'), GeomFromEWKT('SRID=4674;POINT (-38.404084 -3.482816)'))) / (select extract(epoch from '2026-07-06 17:00:47'::timestamp) - extract(epoch from '2026-07-06 17:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40403 -3.482698)'), GeomFromEWKT('SRID=4674;POINT (-38.404084 -3.482816)'))) / (select extract(epoch from '2026-07-06 17:00:47'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.404136 -3.482923)', '2026-07-06 17:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404084 -3.482816)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.482923)'))) / (select extract(epoch from '2026-07-06 17:00:53'::timestamp) - extract(epoch from '2026-07-06 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404084 -3.482816)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.482923)'))) / (select extract(epoch from '2026-07-06 17:00:53'::timestamp) - extract(epoch from '2026-07-06 17:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404208 -3.483062)', '2026-07-06 17:01:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.482923)'), GeomFromEWKT('SRID=4674;POINT (-38.404208 -3.483062)'))) / (select extract(epoch from '2026-07-06 17:01:00'::timestamp) - extract(epoch from '2026-07-06 17:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.482923)'), GeomFromEWKT('SRID=4674;POINT (-38.404208 -3.483062)'))) / (select extract(epoch from '2026-07-06 17:01:00'::timestamp) - extract(epoch from '2026-07-06 17:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404263 -3.483141)', '2026-07-06 17:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404208 -3.483062)'), GeomFromEWKT('SRID=4674;POINT (-38.404263 -3.483141)'))) / (select extract(epoch from '2026-07-06 17:01:05'::timestamp) - extract(epoch from '2026-07-06 17:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404208 -3.483062)'), GeomFromEWKT('SRID=4674;POINT (-38.404263 -3.483141)'))) / (select extract(epoch from '2026-07-06 17:01:05'::timestamp) - extract(epoch from '2026-07-06 17:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404315 -3.483227)', '2026-07-06 17:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404263 -3.483141)'), GeomFromEWKT('SRID=4674;POINT (-38.404315 -3.483227)'))) / (select extract(epoch from '2026-07-06 17:01:10'::timestamp) - extract(epoch from '2026-07-06 17:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404263 -3.483141)'), GeomFromEWKT('SRID=4674;POINT (-38.404315 -3.483227)'))) / (select extract(epoch from '2026-07-06 17:01:10'::timestamp) - extract(epoch from '2026-07-06 17:01: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'), 47390, 'SRID=4674;POINT (-38.40437 -3.483334)', '2026-07-06 17:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404315 -3.483227)'), GeomFromEWKT('SRID=4674;POINT (-38.40437 -3.483334)'))) / (select extract(epoch from '2026-07-06 17:01:16'::timestamp) - extract(epoch from '2026-07-06 17:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404315 -3.483227)'), GeomFromEWKT('SRID=4674;POINT (-38.40437 -3.483334)'))) / (select extract(epoch from '2026-07-06 17:01:16'::timestamp) - extract(epoch from '2026-07-06 17:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40442 -3.483462)', '2026-07-06 17:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40437 -3.483334)'), GeomFromEWKT('SRID=4674;POINT (-38.40442 -3.483462)'))) / (select extract(epoch from '2026-07-06 17:01:23'::timestamp) - extract(epoch from '2026-07-06 17:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40437 -3.483334)'), GeomFromEWKT('SRID=4674;POINT (-38.40442 -3.483462)'))) / (select extract(epoch from '2026-07-06 17:01:23'::timestamp) - extract(epoch from '2026-07-06 17:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404465 -3.483551)', '2026-07-06 17:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40442 -3.483462)'), GeomFromEWKT('SRID=4674;POINT (-38.404465 -3.483551)'))) / (select extract(epoch from '2026-07-06 17:01:29'::timestamp) - extract(epoch from '2026-07-06 17:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40442 -3.483462)'), GeomFromEWKT('SRID=4674;POINT (-38.404465 -3.483551)'))) / (select extract(epoch from '2026-07-06 17:01:29'::timestamp) - extract(epoch from '2026-07-06 17:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404518 -3.483655)', '2026-07-06 17:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404465 -3.483551)'), GeomFromEWKT('SRID=4674;POINT (-38.404518 -3.483655)'))) / (select extract(epoch from '2026-07-06 17:01:35'::timestamp) - extract(epoch from '2026-07-06 17:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404465 -3.483551)'), GeomFromEWKT('SRID=4674;POINT (-38.404518 -3.483655)'))) / (select extract(epoch from '2026-07-06 17:01:35'::timestamp) - extract(epoch from '2026-07-06 17:01: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'), 47390, 'SRID=4674;POINT (-38.404563 -3.483778)', '2026-07-06 17:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404518 -3.483655)'), GeomFromEWKT('SRID=4674;POINT (-38.404563 -3.483778)'))) / (select extract(epoch from '2026-07-06 17:01:42'::timestamp) - extract(epoch from '2026-07-06 17:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404518 -3.483655)'), GeomFromEWKT('SRID=4674;POINT (-38.404563 -3.483778)'))) / (select extract(epoch from '2026-07-06 17:01:42'::timestamp) - extract(epoch from '2026-07-06 17:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404603 -3.483879)', '2026-07-06 17:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404563 -3.483778)'), GeomFromEWKT('SRID=4674;POINT (-38.404603 -3.483879)'))) / (select extract(epoch from '2026-07-06 17:01:48'::timestamp) - extract(epoch from '2026-07-06 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404563 -3.483778)'), GeomFromEWKT('SRID=4674;POINT (-38.404603 -3.483879)'))) / (select extract(epoch from '2026-07-06 17:01:48'::timestamp) - extract(epoch from '2026-07-06 17:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404651 -3.483976)', '2026-07-06 17:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404603 -3.483879)'), GeomFromEWKT('SRID=4674;POINT (-38.404651 -3.483976)'))) / (select extract(epoch from '2026-07-06 17:01:53'::timestamp) - extract(epoch from '2026-07-06 17:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404603 -3.483879)'), GeomFromEWKT('SRID=4674;POINT (-38.404651 -3.483976)'))) / (select extract(epoch from '2026-07-06 17:01:53'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.404695 -3.484077)', '2026-07-06 17:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404651 -3.483976)'), GeomFromEWKT('SRID=4674;POINT (-38.404695 -3.484077)'))) / (select extract(epoch from '2026-07-06 17:01:59'::timestamp) - extract(epoch from '2026-07-06 17:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404651 -3.483976)'), GeomFromEWKT('SRID=4674;POINT (-38.404695 -3.484077)'))) / (select extract(epoch from '2026-07-06 17:01:59'::timestamp) - extract(epoch from '2026-07-06 17:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404735 -3.484183)', '2026-07-06 17:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404695 -3.484077)'), GeomFromEWKT('SRID=4674;POINT (-38.404735 -3.484183)'))) / (select extract(epoch from '2026-07-06 17:02:05'::timestamp) - extract(epoch from '2026-07-06 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404695 -3.484077)'), GeomFromEWKT('SRID=4674;POINT (-38.404735 -3.484183)'))) / (select extract(epoch from '2026-07-06 17:02:05'::timestamp) - extract(epoch from '2026-07-06 17:01: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'), 47390, 'SRID=4674;POINT (-38.404799 -3.484325)', '2026-07-06 17:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404735 -3.484183)'), GeomFromEWKT('SRID=4674;POINT (-38.404799 -3.484325)'))) / (select extract(epoch from '2026-07-06 17:02:13'::timestamp) - extract(epoch from '2026-07-06 17:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404735 -3.484183)'), GeomFromEWKT('SRID=4674;POINT (-38.404799 -3.484325)'))) / (select extract(epoch from '2026-07-06 17:02:13'::timestamp) - extract(epoch from '2026-07-06 17:02: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'), 47390, 'SRID=4674;POINT (-38.404854 -3.484451)', '2026-07-06 17:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404799 -3.484325)'), GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.484451)'))) / (select extract(epoch from '2026-07-06 17:02:21'::timestamp) - extract(epoch from '2026-07-06 17:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404799 -3.484325)'), GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.484451)'))) / (select extract(epoch from '2026-07-06 17:02:21'::timestamp) - extract(epoch from '2026-07-06 17:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404903 -3.484555)', '2026-07-06 17:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.484451)'), GeomFromEWKT('SRID=4674;POINT (-38.404903 -3.484555)'))) / (select extract(epoch from '2026-07-06 17:02:28'::timestamp) - extract(epoch from '2026-07-06 17:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404854 -3.484451)'), GeomFromEWKT('SRID=4674;POINT (-38.404903 -3.484555)'))) / (select extract(epoch from '2026-07-06 17:02:28'::timestamp) - extract(epoch from '2026-07-06 17:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.404956 -3.484681)', '2026-07-06 17:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404903 -3.484555)'), GeomFromEWKT('SRID=4674;POINT (-38.404956 -3.484681)'))) / (select extract(epoch from '2026-07-06 17:02:36'::timestamp) - extract(epoch from '2026-07-06 17:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404903 -3.484555)'), GeomFromEWKT('SRID=4674;POINT (-38.404956 -3.484681)'))) / (select extract(epoch from '2026-07-06 17:02:36'::timestamp) - extract(epoch from '2026-07-06 17:02: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'), 47390, 'SRID=4674;POINT (-38.404971 -3.484716)', '2026-07-06 17:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404956 -3.484681)'), GeomFromEWKT('SRID=4674;POINT (-38.404971 -3.484716)'))) / (select extract(epoch from '2026-07-06 17:02:38'::timestamp) - extract(epoch from '2026-07-06 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404956 -3.484681)'), GeomFromEWKT('SRID=4674;POINT (-38.404971 -3.484716)'))) / (select extract(epoch from '2026-07-06 17:02:38'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.405001 -3.484767)', '2026-07-06 17:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404971 -3.484716)'), GeomFromEWKT('SRID=4674;POINT (-38.405001 -3.484767)'))) / (select extract(epoch from '2026-07-06 17:02:41'::timestamp) - extract(epoch from '2026-07-06 17:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404971 -3.484716)'), GeomFromEWKT('SRID=4674;POINT (-38.405001 -3.484767)'))) / (select extract(epoch from '2026-07-06 17:02:41'::timestamp) - extract(epoch from '2026-07-06 17:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405039 -3.484848)', '2026-07-06 17:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405001 -3.484767)'), GeomFromEWKT('SRID=4674;POINT (-38.405039 -3.484848)'))) / (select extract(epoch from '2026-07-06 17:02:46'::timestamp) - extract(epoch from '2026-07-06 17:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405001 -3.484767)'), GeomFromEWKT('SRID=4674;POINT (-38.405039 -3.484848)'))) / (select extract(epoch from '2026-07-06 17:02:46'::timestamp) - extract(epoch from '2026-07-06 17:02: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'), 47390, 'SRID=4674;POINT (-38.405093 -3.484958)', '2026-07-06 17:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405039 -3.484848)'), GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.484958)'))) / (select extract(epoch from '2026-07-06 17:02:53'::timestamp) - extract(epoch from '2026-07-06 17:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405039 -3.484848)'), GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.484958)'))) / (select extract(epoch from '2026-07-06 17:02:53'::timestamp) - extract(epoch from '2026-07-06 17:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405174 -3.485103)', '2026-07-06 17:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.484958)'), GeomFromEWKT('SRID=4674;POINT (-38.405174 -3.485103)'))) / (select extract(epoch from '2026-07-06 17:03:01'::timestamp) - extract(epoch from '2026-07-06 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405093 -3.484958)'), GeomFromEWKT('SRID=4674;POINT (-38.405174 -3.485103)'))) / (select extract(epoch from '2026-07-06 17:03:01'::timestamp) - extract(epoch from '2026-07-06 17:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405203 -3.485172)', '2026-07-06 17:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405174 -3.485103)'), GeomFromEWKT('SRID=4674;POINT (-38.405203 -3.485172)'))) / (select extract(epoch from '2026-07-06 17:03:05'::timestamp) - extract(epoch from '2026-07-06 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405174 -3.485103)'), GeomFromEWKT('SRID=4674;POINT (-38.405203 -3.485172)'))) / (select extract(epoch from '2026-07-06 17:03:05'::timestamp) - extract(epoch from '2026-07-06 17:03: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'), 47390, 'SRID=4674;POINT (-38.405214 -3.485189)', '2026-07-06 17:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405203 -3.485172)'), GeomFromEWKT('SRID=4674;POINT (-38.405214 -3.485189)'))) / (select extract(epoch from '2026-07-06 17:03:06'::timestamp) - extract(epoch from '2026-07-06 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405203 -3.485172)'), GeomFromEWKT('SRID=4674;POINT (-38.405214 -3.485189)'))) / (select extract(epoch from '2026-07-06 17:03:06'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.405301 -3.485345)', '2026-07-06 17:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405214 -3.485189)'), GeomFromEWKT('SRID=4674;POINT (-38.405301 -3.485345)'))) / (select extract(epoch from '2026-07-06 17:03:15'::timestamp) - extract(epoch from '2026-07-06 17:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405214 -3.485189)'), GeomFromEWKT('SRID=4674;POINT (-38.405301 -3.485345)'))) / (select extract(epoch from '2026-07-06 17:03:15'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.405368 -3.48548)', '2026-07-06 17:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405301 -3.485345)'), GeomFromEWKT('SRID=4674;POINT (-38.405368 -3.48548)'))) / (select extract(epoch from '2026-07-06 17:03:23'::timestamp) - extract(epoch from '2026-07-06 17:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405301 -3.485345)'), GeomFromEWKT('SRID=4674;POINT (-38.405368 -3.48548)'))) / (select extract(epoch from '2026-07-06 17:03:23'::timestamp) - extract(epoch from '2026-07-06 17:03: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'), 47390, 'SRID=4674;POINT (-38.405407 -3.485569)', '2026-07-06 17:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405368 -3.48548)'), GeomFromEWKT('SRID=4674;POINT (-38.405407 -3.485569)'))) / (select extract(epoch from '2026-07-06 17:03:29'::timestamp) - extract(epoch from '2026-07-06 17:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405368 -3.48548)'), GeomFromEWKT('SRID=4674;POINT (-38.405407 -3.485569)'))) / (select extract(epoch from '2026-07-06 17:03:29'::timestamp) - extract(epoch from '2026-07-06 17:03: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'), 47390, 'SRID=4674;POINT (-38.405472 -3.485682)', '2026-07-06 17:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405407 -3.485569)'), GeomFromEWKT('SRID=4674;POINT (-38.405472 -3.485682)'))) / (select extract(epoch from '2026-07-06 17:03:36'::timestamp) - extract(epoch from '2026-07-06 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405407 -3.485569)'), GeomFromEWKT('SRID=4674;POINT (-38.405472 -3.485682)'))) / (select extract(epoch from '2026-07-06 17:03:36'::timestamp) - extract(epoch from '2026-07-06 17:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405539 -3.485825)', '2026-07-06 17:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405472 -3.485682)'), GeomFromEWKT('SRID=4674;POINT (-38.405539 -3.485825)'))) / (select extract(epoch from '2026-07-06 17:03:44'::timestamp) - extract(epoch from '2026-07-06 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405472 -3.485682)'), GeomFromEWKT('SRID=4674;POINT (-38.405539 -3.485825)'))) / (select extract(epoch from '2026-07-06 17:03:44'::timestamp) - extract(epoch from '2026-07-06 17:03: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'), 47390, 'SRID=4674;POINT (-38.405586 -3.485918)', '2026-07-06 17:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405539 -3.485825)'), GeomFromEWKT('SRID=4674;POINT (-38.405586 -3.485918)'))) / (select extract(epoch from '2026-07-06 17:03:50'::timestamp) - extract(epoch from '2026-07-06 17:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405539 -3.485825)'), GeomFromEWKT('SRID=4674;POINT (-38.405586 -3.485918)'))) / (select extract(epoch from '2026-07-06 17:03:50'::timestamp) - extract(epoch from '2026-07-06 17:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405636 -3.486029)', '2026-07-06 17:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405586 -3.485918)'), GeomFromEWKT('SRID=4674;POINT (-38.405636 -3.486029)'))) / (select extract(epoch from '2026-07-06 17:03:57'::timestamp) - extract(epoch from '2026-07-06 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405586 -3.485918)'), GeomFromEWKT('SRID=4674;POINT (-38.405636 -3.486029)'))) / (select extract(epoch from '2026-07-06 17:03:57'::timestamp) - extract(epoch from '2026-07-06 17:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40568 -3.486132)', '2026-07-06 17:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405636 -3.486029)'), GeomFromEWKT('SRID=4674;POINT (-38.40568 -3.486132)'))) / (select extract(epoch from '2026-07-06 17:04:03'::timestamp) - extract(epoch from '2026-07-06 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405636 -3.486029)'), GeomFromEWKT('SRID=4674;POINT (-38.40568 -3.486132)'))) / (select extract(epoch from '2026-07-06 17:04:03'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.405718 -3.486225)', '2026-07-06 17:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40568 -3.486132)'), GeomFromEWKT('SRID=4674;POINT (-38.405718 -3.486225)'))) / (select extract(epoch from '2026-07-06 17:04:09'::timestamp) - extract(epoch from '2026-07-06 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40568 -3.486132)'), GeomFromEWKT('SRID=4674;POINT (-38.405718 -3.486225)'))) / (select extract(epoch from '2026-07-06 17:04:09'::timestamp) - extract(epoch from '2026-07-06 17:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405743 -3.486315)', '2026-07-06 17:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405718 -3.486225)'), GeomFromEWKT('SRID=4674;POINT (-38.405743 -3.486315)'))) / (select extract(epoch from '2026-07-06 17:04:15'::timestamp) - extract(epoch from '2026-07-06 17:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405718 -3.486225)'), GeomFromEWKT('SRID=4674;POINT (-38.405743 -3.486315)'))) / (select extract(epoch from '2026-07-06 17:04:15'::timestamp) - extract(epoch from '2026-07-06 17:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405799 -3.486432)', '2026-07-06 17:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405743 -3.486315)'), GeomFromEWKT('SRID=4674;POINT (-38.405799 -3.486432)'))) / (select extract(epoch from '2026-07-06 17:04:22'::timestamp) - extract(epoch from '2026-07-06 17:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405743 -3.486315)'), GeomFromEWKT('SRID=4674;POINT (-38.405799 -3.486432)'))) / (select extract(epoch from '2026-07-06 17:04:22'::timestamp) - extract(epoch from '2026-07-06 17:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405837 -3.486509)', '2026-07-06 17:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405799 -3.486432)'), GeomFromEWKT('SRID=4674;POINT (-38.405837 -3.486509)'))) / (select extract(epoch from '2026-07-06 17:04:27'::timestamp) - extract(epoch from '2026-07-06 17:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405799 -3.486432)'), GeomFromEWKT('SRID=4674;POINT (-38.405837 -3.486509)'))) / (select extract(epoch from '2026-07-06 17:04:27'::timestamp) - extract(epoch from '2026-07-06 17:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405902 -3.486649)', '2026-07-06 17:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405837 -3.486509)'), GeomFromEWKT('SRID=4674;POINT (-38.405902 -3.486649)'))) / (select extract(epoch from '2026-07-06 17:04:35'::timestamp) - extract(epoch from '2026-07-06 17:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405837 -3.486509)'), GeomFromEWKT('SRID=4674;POINT (-38.405902 -3.486649)'))) / (select extract(epoch from '2026-07-06 17:04:35'::timestamp) - extract(epoch from '2026-07-06 17:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.405965 -3.486748)', '2026-07-06 17:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405902 -3.486649)'), GeomFromEWKT('SRID=4674;POINT (-38.405965 -3.486748)'))) / (select extract(epoch from '2026-07-06 17:04:42'::timestamp) - extract(epoch from '2026-07-06 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405902 -3.486649)'), GeomFromEWKT('SRID=4674;POINT (-38.405965 -3.486748)'))) / (select extract(epoch from '2026-07-06 17:04:42'::timestamp) - extract(epoch from '2026-07-06 17:04: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'), 47390, 'SRID=4674;POINT (-38.406007 -3.486839)', '2026-07-06 17:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405965 -3.486748)'), GeomFromEWKT('SRID=4674;POINT (-38.406007 -3.486839)'))) / (select extract(epoch from '2026-07-06 17:04:48'::timestamp) - extract(epoch from '2026-07-06 17:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405965 -3.486748)'), GeomFromEWKT('SRID=4674;POINT (-38.406007 -3.486839)'))) / (select extract(epoch from '2026-07-06 17:04:48'::timestamp) - extract(epoch from '2026-07-06 17:04: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'), 47390, 'SRID=4674;POINT (-38.406071 -3.48695)', '2026-07-06 17:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406007 -3.486839)'), GeomFromEWKT('SRID=4674;POINT (-38.406071 -3.48695)'))) / (select extract(epoch from '2026-07-06 17:04:55'::timestamp) - extract(epoch from '2026-07-06 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406007 -3.486839)'), GeomFromEWKT('SRID=4674;POINT (-38.406071 -3.48695)'))) / (select extract(epoch from '2026-07-06 17:04:55'::timestamp) - extract(epoch from '2026-07-06 17:04: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'), 47390, 'SRID=4674;POINT (-38.406132 -3.487063)', '2026-07-06 17:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406071 -3.48695)'), GeomFromEWKT('SRID=4674;POINT (-38.406132 -3.487063)'))) / (select extract(epoch from '2026-07-06 17:05:02'::timestamp) - extract(epoch from '2026-07-06 17:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406071 -3.48695)'), GeomFromEWKT('SRID=4674;POINT (-38.406132 -3.487063)'))) / (select extract(epoch from '2026-07-06 17:05:02'::timestamp) - extract(epoch from '2026-07-06 17:04: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'), 47390, 'SRID=4674;POINT (-38.406181 -3.487195)', '2026-07-06 17:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406132 -3.487063)'), GeomFromEWKT('SRID=4674;POINT (-38.406181 -3.487195)'))) / (select extract(epoch from '2026-07-06 17:05:10'::timestamp) - extract(epoch from '2026-07-06 17:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406132 -3.487063)'), GeomFromEWKT('SRID=4674;POINT (-38.406181 -3.487195)'))) / (select extract(epoch from '2026-07-06 17:05:10'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.406221 -3.487297)', '2026-07-06 17:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406181 -3.487195)'), GeomFromEWKT('SRID=4674;POINT (-38.406221 -3.487297)'))) / (select extract(epoch from '2026-07-06 17:05:16'::timestamp) - extract(epoch from '2026-07-06 17:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406181 -3.487195)'), GeomFromEWKT('SRID=4674;POINT (-38.406221 -3.487297)'))) / (select extract(epoch from '2026-07-06 17:05:16'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.406274 -3.487419)', '2026-07-06 17:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406221 -3.487297)'), GeomFromEWKT('SRID=4674;POINT (-38.406274 -3.487419)'))) / (select extract(epoch from '2026-07-06 17:05:23'::timestamp) - extract(epoch from '2026-07-06 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406221 -3.487297)'), GeomFromEWKT('SRID=4674;POINT (-38.406274 -3.487419)'))) / (select extract(epoch from '2026-07-06 17:05:23'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.406298 -3.487505)', '2026-07-06 17:05:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406274 -3.487419)'), GeomFromEWKT('SRID=4674;POINT (-38.406298 -3.487505)'))) / (select extract(epoch from '2026-07-06 17:05:28'::timestamp) - extract(epoch from '2026-07-06 17:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406274 -3.487419)'), GeomFromEWKT('SRID=4674;POINT (-38.406298 -3.487505)'))) / (select extract(epoch from '2026-07-06 17:05:28'::timestamp) - extract(epoch from '2026-07-06 17:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.406341 -3.487616)', '2026-07-06 17:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406298 -3.487505)'), GeomFromEWKT('SRID=4674;POINT (-38.406341 -3.487616)'))) / (select extract(epoch from '2026-07-06 17:05:34'::timestamp) - extract(epoch from '2026-07-06 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406298 -3.487505)'), GeomFromEWKT('SRID=4674;POINT (-38.406341 -3.487616)'))) / (select extract(epoch from '2026-07-06 17:05:34'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.406395 -3.487723)', '2026-07-06 17:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406341 -3.487616)'), GeomFromEWKT('SRID=4674;POINT (-38.406395 -3.487723)'))) / (select extract(epoch from '2026-07-06 17:05:40'::timestamp) - extract(epoch from '2026-07-06 17:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406341 -3.487616)'), GeomFromEWKT('SRID=4674;POINT (-38.406395 -3.487723)'))) / (select extract(epoch from '2026-07-06 17:05:40'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.406467 -3.487882)', '2026-07-06 17:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406395 -3.487723)'), GeomFromEWKT('SRID=4674;POINT (-38.406467 -3.487882)'))) / (select extract(epoch from '2026-07-06 17:05:49'::timestamp) - extract(epoch from '2026-07-06 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406395 -3.487723)'), GeomFromEWKT('SRID=4674;POINT (-38.406467 -3.487882)'))) / (select extract(epoch from '2026-07-06 17:05:49'::timestamp) - extract(epoch from '2026-07-06 17:05: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'), 47390, 'SRID=4674;POINT (-38.40653 -3.487998)', '2026-07-06 17:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406467 -3.487882)'), GeomFromEWKT('SRID=4674;POINT (-38.40653 -3.487998)'))) / (select extract(epoch from '2026-07-06 17:05:56'::timestamp) - extract(epoch from '2026-07-06 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406467 -3.487882)'), GeomFromEWKT('SRID=4674;POINT (-38.40653 -3.487998)'))) / (select extract(epoch from '2026-07-06 17:05:56'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.406579 -3.488076)', '2026-07-06 17:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40653 -3.487998)'), GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.488076)'))) / (select extract(epoch from '2026-07-06 17:06:01'::timestamp) - extract(epoch from '2026-07-06 17:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40653 -3.487998)'), GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.488076)'))) / (select extract(epoch from '2026-07-06 17:06:01'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.406625 -3.488183)', '2026-07-06 17:06:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.488076)'), GeomFromEWKT('SRID=4674;POINT (-38.406625 -3.488183)'))) / (select extract(epoch from '2026-07-06 17:06:08'::timestamp) - extract(epoch from '2026-07-06 17:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406579 -3.488076)'), GeomFromEWKT('SRID=4674;POINT (-38.406625 -3.488183)'))) / (select extract(epoch from '2026-07-06 17:06:08'::timestamp) - extract(epoch from '2026-07-06 17:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.406662 -3.488279)', '2026-07-06 17:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406625 -3.488183)'), GeomFromEWKT('SRID=4674;POINT (-38.406662 -3.488279)'))) / (select extract(epoch from '2026-07-06 17:06:15'::timestamp) - extract(epoch from '2026-07-06 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406625 -3.488183)'), GeomFromEWKT('SRID=4674;POINT (-38.406662 -3.488279)'))) / (select extract(epoch from '2026-07-06 17:06:15'::timestamp) - extract(epoch from '2026-07-06 17:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.406704 -3.488426)', '2026-07-06 17:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406662 -3.488279)'), GeomFromEWKT('SRID=4674;POINT (-38.406704 -3.488426)'))) / (select extract(epoch from '2026-07-06 17:06:23'::timestamp) - extract(epoch from '2026-07-06 17:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406662 -3.488279)'), GeomFromEWKT('SRID=4674;POINT (-38.406704 -3.488426)'))) / (select extract(epoch from '2026-07-06 17:06:23'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406733 -3.488514)', '2026-07-06 17:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406704 -3.488426)'), GeomFromEWKT('SRID=4674;POINT (-38.406733 -3.488514)'))) / (select extract(epoch from '2026-07-06 17:06:28'::timestamp) - extract(epoch from '2026-07-06 17:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406704 -3.488426)'), GeomFromEWKT('SRID=4674;POINT (-38.406733 -3.488514)'))) / (select extract(epoch from '2026-07-06 17:06:28'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406775 -3.488665)', '2026-07-06 17:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406733 -3.488514)'), GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.488665)'))) / (select extract(epoch from '2026-07-06 17:06:36'::timestamp) - extract(epoch from '2026-07-06 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406733 -3.488514)'), GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.488665)'))) / (select extract(epoch from '2026-07-06 17:06:36'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406802 -3.488757)', '2026-07-06 17:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.488665)'), GeomFromEWKT('SRID=4674;POINT (-38.406802 -3.488757)'))) / (select extract(epoch from '2026-07-06 17:06:41'::timestamp) - extract(epoch from '2026-07-06 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406775 -3.488665)'), GeomFromEWKT('SRID=4674;POINT (-38.406802 -3.488757)'))) / (select extract(epoch from '2026-07-06 17:06:41'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406827 -3.488883)', '2026-07-06 17:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406802 -3.488757)'), GeomFromEWKT('SRID=4674;POINT (-38.406827 -3.488883)'))) / (select extract(epoch from '2026-07-06 17:06:48'::timestamp) - extract(epoch from '2026-07-06 17:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406802 -3.488757)'), GeomFromEWKT('SRID=4674;POINT (-38.406827 -3.488883)'))) / (select extract(epoch from '2026-07-06 17:06:48'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406862 -3.488995)', '2026-07-06 17:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406827 -3.488883)'), GeomFromEWKT('SRID=4674;POINT (-38.406862 -3.488995)'))) / (select extract(epoch from '2026-07-06 17:06:54'::timestamp) - extract(epoch from '2026-07-06 17:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406827 -3.488883)'), GeomFromEWKT('SRID=4674;POINT (-38.406862 -3.488995)'))) / (select extract(epoch from '2026-07-06 17:06:54'::timestamp) - extract(epoch from '2026-07-06 17:06: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'), 47390, 'SRID=4674;POINT (-38.406925 -3.489108)', '2026-07-06 17:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406862 -3.488995)'), GeomFromEWKT('SRID=4674;POINT (-38.406925 -3.489108)'))) / (select extract(epoch from '2026-07-06 17:07:01'::timestamp) - extract(epoch from '2026-07-06 17:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406862 -3.488995)'), GeomFromEWKT('SRID=4674;POINT (-38.406925 -3.489108)'))) / (select extract(epoch from '2026-07-06 17:07:01'::timestamp) - extract(epoch from '2026-07-06 17:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.406975 -3.489202)', '2026-07-06 17:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406925 -3.489108)'), GeomFromEWKT('SRID=4674;POINT (-38.406975 -3.489202)'))) / (select extract(epoch from '2026-07-06 17:07:07'::timestamp) - extract(epoch from '2026-07-06 17:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406925 -3.489108)'), GeomFromEWKT('SRID=4674;POINT (-38.406975 -3.489202)'))) / (select extract(epoch from '2026-07-06 17:07:07'::timestamp) - extract(epoch from '2026-07-06 17:07: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'), 47390, 'SRID=4674;POINT (-38.40701 -3.489283)', '2026-07-06 17:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406975 -3.489202)'), GeomFromEWKT('SRID=4674;POINT (-38.40701 -3.489283)'))) / (select extract(epoch from '2026-07-06 17:07:12'::timestamp) - extract(epoch from '2026-07-06 17:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406975 -3.489202)'), GeomFromEWKT('SRID=4674;POINT (-38.40701 -3.489283)'))) / (select extract(epoch from '2026-07-06 17:07:12'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.407011 -3.489297)', '2026-07-06 17:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40701 -3.489283)'), GeomFromEWKT('SRID=4674;POINT (-38.407011 -3.489297)'))) / (select extract(epoch from '2026-07-06 17:07:13'::timestamp) - extract(epoch from '2026-07-06 17:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40701 -3.489283)'), GeomFromEWKT('SRID=4674;POINT (-38.407011 -3.489297)'))) / (select extract(epoch from '2026-07-06 17:07:13'::timestamp) - extract(epoch from '2026-07-06 17:07: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'), 47390, 'SRID=4674;POINT (-38.407031 -3.489384)', '2026-07-06 17:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407011 -3.489297)'), GeomFromEWKT('SRID=4674;POINT (-38.407031 -3.489384)'))) / (select extract(epoch from '2026-07-06 17:07:19'::timestamp) - extract(epoch from '2026-07-06 17:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407011 -3.489297)'), GeomFromEWKT('SRID=4674;POINT (-38.407031 -3.489384)'))) / (select extract(epoch from '2026-07-06 17:07:19'::timestamp) - extract(epoch from '2026-07-06 17:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407054 -3.489482)', '2026-07-06 17:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407031 -3.489384)'), GeomFromEWKT('SRID=4674;POINT (-38.407054 -3.489482)'))) / (select extract(epoch from '2026-07-06 17:07:25'::timestamp) - extract(epoch from '2026-07-06 17:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407031 -3.489384)'), GeomFromEWKT('SRID=4674;POINT (-38.407054 -3.489482)'))) / (select extract(epoch from '2026-07-06 17:07:25'::timestamp) - extract(epoch from '2026-07-06 17:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407078 -3.489588)', '2026-07-06 17:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407054 -3.489482)'), GeomFromEWKT('SRID=4674;POINT (-38.407078 -3.489588)'))) / (select extract(epoch from '2026-07-06 17:07:32'::timestamp) - extract(epoch from '2026-07-06 17:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407054 -3.489482)'), GeomFromEWKT('SRID=4674;POINT (-38.407078 -3.489588)'))) / (select extract(epoch from '2026-07-06 17:07:32'::timestamp) - extract(epoch from '2026-07-06 17:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407099 -3.489697)', '2026-07-06 17:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407078 -3.489588)'), GeomFromEWKT('SRID=4674;POINT (-38.407099 -3.489697)'))) / (select extract(epoch from '2026-07-06 17:07:39'::timestamp) - extract(epoch from '2026-07-06 17:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407078 -3.489588)'), GeomFromEWKT('SRID=4674;POINT (-38.407099 -3.489697)'))) / (select extract(epoch from '2026-07-06 17:07:39'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.407124 -3.48978)', '2026-07-06 17:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407099 -3.489697)'), GeomFromEWKT('SRID=4674;POINT (-38.407124 -3.48978)'))) / (select extract(epoch from '2026-07-06 17:07:44'::timestamp) - extract(epoch from '2026-07-06 17:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407099 -3.489697)'), GeomFromEWKT('SRID=4674;POINT (-38.407124 -3.48978)'))) / (select extract(epoch from '2026-07-06 17:07:44'::timestamp) - extract(epoch from '2026-07-06 17:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407127 -3.489799)', '2026-07-06 17:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407124 -3.48978)'), GeomFromEWKT('SRID=4674;POINT (-38.407127 -3.489799)'))) / (select extract(epoch from '2026-07-06 17:07:45'::timestamp) - extract(epoch from '2026-07-06 17:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407124 -3.48978)'), GeomFromEWKT('SRID=4674;POINT (-38.407127 -3.489799)'))) / (select extract(epoch from '2026-07-06 17:07:45'::timestamp) - extract(epoch from '2026-07-06 17:07: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'), 47390, 'SRID=4674;POINT (-38.40715 -3.489957)', '2026-07-06 17:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407127 -3.489799)'), GeomFromEWKT('SRID=4674;POINT (-38.40715 -3.489957)'))) / (select extract(epoch from '2026-07-06 17:07:53'::timestamp) - extract(epoch from '2026-07-06 17:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407127 -3.489799)'), GeomFromEWKT('SRID=4674;POINT (-38.40715 -3.489957)'))) / (select extract(epoch from '2026-07-06 17:07:53'::timestamp) - extract(epoch from '2026-07-06 17:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407179 -3.490065)', '2026-07-06 17:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40715 -3.489957)'), GeomFromEWKT('SRID=4674;POINT (-38.407179 -3.490065)'))) / (select extract(epoch from '2026-07-06 17:07:59'::timestamp) - extract(epoch from '2026-07-06 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40715 -3.489957)'), GeomFromEWKT('SRID=4674;POINT (-38.407179 -3.490065)'))) / (select extract(epoch from '2026-07-06 17:07:59'::timestamp) - extract(epoch from '2026-07-06 17:07: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'), 47390, 'SRID=4674;POINT (-38.407209 -3.490189)', '2026-07-06 17:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407179 -3.490065)'), GeomFromEWKT('SRID=4674;POINT (-38.407209 -3.490189)'))) / (select extract(epoch from '2026-07-06 17:08:06'::timestamp) - extract(epoch from '2026-07-06 17:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407179 -3.490065)'), GeomFromEWKT('SRID=4674;POINT (-38.407209 -3.490189)'))) / (select extract(epoch from '2026-07-06 17:08:06'::timestamp) - extract(epoch from '2026-07-06 17:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407255 -3.490344)', '2026-07-06 17:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407209 -3.490189)'), GeomFromEWKT('SRID=4674;POINT (-38.407255 -3.490344)'))) / (select extract(epoch from '2026-07-06 17:08:14'::timestamp) - extract(epoch from '2026-07-06 17:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407209 -3.490189)'), GeomFromEWKT('SRID=4674;POINT (-38.407255 -3.490344)'))) / (select extract(epoch from '2026-07-06 17:08:14'::timestamp) - extract(epoch from '2026-07-06 17:08: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'), 47390, 'SRID=4674;POINT (-38.40726 -3.490366)', '2026-07-06 17:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407255 -3.490344)'), GeomFromEWKT('SRID=4674;POINT (-38.40726 -3.490366)'))) / (select extract(epoch from '2026-07-06 17:08:15'::timestamp) - extract(epoch from '2026-07-06 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407255 -3.490344)'), GeomFromEWKT('SRID=4674;POINT (-38.40726 -3.490366)'))) / (select extract(epoch from '2026-07-06 17:08:15'::timestamp) - extract(epoch from '2026-07-06 17:08: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'), 47390, 'SRID=4674;POINT (-38.407279 -3.490448)', '2026-07-06 17:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40726 -3.490366)'), GeomFromEWKT('SRID=4674;POINT (-38.407279 -3.490448)'))) / (select extract(epoch from '2026-07-06 17:08:19'::timestamp) - extract(epoch from '2026-07-06 17:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40726 -3.490366)'), GeomFromEWKT('SRID=4674;POINT (-38.407279 -3.490448)'))) / (select extract(epoch from '2026-07-06 17:08:19'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.407309 -3.490588)', '2026-07-06 17:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407279 -3.490448)'), GeomFromEWKT('SRID=4674;POINT (-38.407309 -3.490588)'))) / (select extract(epoch from '2026-07-06 17:08:26'::timestamp) - extract(epoch from '2026-07-06 17:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407279 -3.490448)'), GeomFromEWKT('SRID=4674;POINT (-38.407309 -3.490588)'))) / (select extract(epoch from '2026-07-06 17:08:26'::timestamp) - extract(epoch from '2026-07-06 17:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407342 -3.490711)', '2026-07-06 17:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407309 -3.490588)'), GeomFromEWKT('SRID=4674;POINT (-38.407342 -3.490711)'))) / (select extract(epoch from '2026-07-06 17:08:32'::timestamp) - extract(epoch from '2026-07-06 17:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407309 -3.490588)'), GeomFromEWKT('SRID=4674;POINT (-38.407342 -3.490711)'))) / (select extract(epoch from '2026-07-06 17:08:32'::timestamp) - extract(epoch from '2026-07-06 17:08: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'), 47390, 'SRID=4674;POINT (-38.407432 -3.490901)', '2026-07-06 17:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407342 -3.490711)'), GeomFromEWKT('SRID=4674;POINT (-38.407432 -3.490901)'))) / (select extract(epoch from '2026-07-06 17:08:42'::timestamp) - extract(epoch from '2026-07-06 17:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407342 -3.490711)'), GeomFromEWKT('SRID=4674;POINT (-38.407432 -3.490901)'))) / (select extract(epoch from '2026-07-06 17:08:42'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.407515 -3.491041)', '2026-07-06 17:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407432 -3.490901)'), GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.491041)'))) / (select extract(epoch from '2026-07-06 17:08:50'::timestamp) - extract(epoch from '2026-07-06 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407432 -3.490901)'), GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.491041)'))) / (select extract(epoch from '2026-07-06 17:08:50'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.407612 -3.491221)', '2026-07-06 17:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.491041)'), GeomFromEWKT('SRID=4674;POINT (-38.407612 -3.491221)'))) / (select extract(epoch from '2026-07-06 17:09:00'::timestamp) - extract(epoch from '2026-07-06 17:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407515 -3.491041)'), GeomFromEWKT('SRID=4674;POINT (-38.407612 -3.491221)'))) / (select extract(epoch from '2026-07-06 17:09:00'::timestamp) - extract(epoch from '2026-07-06 17:08: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'), 47390, 'SRID=4674;POINT (-38.407659 -3.49134)', '2026-07-06 17:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407612 -3.491221)'), GeomFromEWKT('SRID=4674;POINT (-38.407659 -3.49134)'))) / (select extract(epoch from '2026-07-06 17:09:06'::timestamp) - extract(epoch from '2026-07-06 17:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407612 -3.491221)'), GeomFromEWKT('SRID=4674;POINT (-38.407659 -3.49134)'))) / (select extract(epoch from '2026-07-06 17:09:06'::timestamp) - extract(epoch from '2026-07-06 17:09: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'), 47390, 'SRID=4674;POINT (-38.407711 -3.49145)', '2026-07-06 17:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407659 -3.49134)'), GeomFromEWKT('SRID=4674;POINT (-38.407711 -3.49145)'))) / (select extract(epoch from '2026-07-06 17:09:12'::timestamp) - extract(epoch from '2026-07-06 17:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407659 -3.49134)'), GeomFromEWKT('SRID=4674;POINT (-38.407711 -3.49145)'))) / (select extract(epoch from '2026-07-06 17:09:12'::timestamp) - extract(epoch from '2026-07-06 17:09: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'), 47390, 'SRID=4674;POINT (-38.407753 -3.491562)', '2026-07-06 17:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407711 -3.49145)'), GeomFromEWKT('SRID=4674;POINT (-38.407753 -3.491562)'))) / (select extract(epoch from '2026-07-06 17:09:18'::timestamp) - extract(epoch from '2026-07-06 17:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407711 -3.49145)'), GeomFromEWKT('SRID=4674;POINT (-38.407753 -3.491562)'))) / (select extract(epoch from '2026-07-06 17:09:18'::timestamp) - extract(epoch from '2026-07-06 17:09: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'), 47390, 'SRID=4674;POINT (-38.407776 -3.491655)', '2026-07-06 17:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407753 -3.491562)'), GeomFromEWKT('SRID=4674;POINT (-38.407776 -3.491655)'))) / (select extract(epoch from '2026-07-06 17:09:23'::timestamp) - extract(epoch from '2026-07-06 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407753 -3.491562)'), GeomFromEWKT('SRID=4674;POINT (-38.407776 -3.491655)'))) / (select extract(epoch from '2026-07-06 17:09:23'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.40784 -3.491796)', '2026-07-06 17:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407776 -3.491655)'), GeomFromEWKT('SRID=4674;POINT (-38.40784 -3.491796)'))) / (select extract(epoch from '2026-07-06 17:09:31'::timestamp) - extract(epoch from '2026-07-06 17:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407776 -3.491655)'), GeomFromEWKT('SRID=4674;POINT (-38.40784 -3.491796)'))) / (select extract(epoch from '2026-07-06 17:09:31'::timestamp) - extract(epoch from '2026-07-06 17:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.407903 -3.4919)', '2026-07-06 17:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40784 -3.491796)'), GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.4919)'))) / (select extract(epoch from '2026-07-06 17:09:37'::timestamp) - extract(epoch from '2026-07-06 17:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40784 -3.491796)'), GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.4919)'))) / (select extract(epoch from '2026-07-06 17:09:37'::timestamp) - extract(epoch from '2026-07-06 17:09: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'), 47390, 'SRID=4674;POINT (-38.40796 -3.492012)', '2026-07-06 17:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.4919)'), GeomFromEWKT('SRID=4674;POINT (-38.40796 -3.492012)'))) / (select extract(epoch from '2026-07-06 17:09:44'::timestamp) - extract(epoch from '2026-07-06 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.4919)'), GeomFromEWKT('SRID=4674;POINT (-38.40796 -3.492012)'))) / (select extract(epoch from '2026-07-06 17:09:44'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.408009 -3.492107)', '2026-07-06 17:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40796 -3.492012)'), GeomFromEWKT('SRID=4674;POINT (-38.408009 -3.492107)'))) / (select extract(epoch from '2026-07-06 17:09:50'::timestamp) - extract(epoch from '2026-07-06 17:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40796 -3.492012)'), GeomFromEWKT('SRID=4674;POINT (-38.408009 -3.492107)'))) / (select extract(epoch from '2026-07-06 17:09:50'::timestamp) - extract(epoch from '2026-07-06 17:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40807 -3.492214)', '2026-07-06 17:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408009 -3.492107)'), GeomFromEWKT('SRID=4674;POINT (-38.40807 -3.492214)'))) / (select extract(epoch from '2026-07-06 17:09:57'::timestamp) - extract(epoch from '2026-07-06 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408009 -3.492107)'), GeomFromEWKT('SRID=4674;POINT (-38.40807 -3.492214)'))) / (select extract(epoch from '2026-07-06 17:09:57'::timestamp) - extract(epoch from '2026-07-06 17:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.408118 -3.4923)', '2026-07-06 17:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40807 -3.492214)'), GeomFromEWKT('SRID=4674;POINT (-38.408118 -3.4923)'))) / (select extract(epoch from '2026-07-06 17:10:03'::timestamp) - extract(epoch from '2026-07-06 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40807 -3.492214)'), GeomFromEWKT('SRID=4674;POINT (-38.408118 -3.4923)'))) / (select extract(epoch from '2026-07-06 17:10:03'::timestamp) - extract(epoch from '2026-07-06 17:09: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'), 47390, 'SRID=4674;POINT (-38.408145 -3.492384)', '2026-07-06 17:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408118 -3.4923)'), GeomFromEWKT('SRID=4674;POINT (-38.408145 -3.492384)'))) / (select extract(epoch from '2026-07-06 17:10:08'::timestamp) - extract(epoch from '2026-07-06 17:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408118 -3.4923)'), GeomFromEWKT('SRID=4674;POINT (-38.408145 -3.492384)'))) / (select extract(epoch from '2026-07-06 17:10:08'::timestamp) - extract(epoch from '2026-07-06 17:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.408191 -3.492484)', '2026-07-06 17:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408145 -3.492384)'), GeomFromEWKT('SRID=4674;POINT (-38.408191 -3.492484)'))) / (select extract(epoch from '2026-07-06 17:10:14'::timestamp) - extract(epoch from '2026-07-06 17:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408145 -3.492384)'), GeomFromEWKT('SRID=4674;POINT (-38.408191 -3.492484)'))) / (select extract(epoch from '2026-07-06 17:10:14'::timestamp) - extract(epoch from '2026-07-06 17:10: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'), 47390, 'SRID=4674;POINT (-38.408236 -3.492597)', '2026-07-06 17:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408191 -3.492484)'), GeomFromEWKT('SRID=4674;POINT (-38.408236 -3.492597)'))) / (select extract(epoch from '2026-07-06 17:10:20'::timestamp) - extract(epoch from '2026-07-06 17:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408191 -3.492484)'), GeomFromEWKT('SRID=4674;POINT (-38.408236 -3.492597)'))) / (select extract(epoch from '2026-07-06 17:10:20'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.408298 -3.492723)', '2026-07-06 17:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408236 -3.492597)'), GeomFromEWKT('SRID=4674;POINT (-38.408298 -3.492723)'))) / (select extract(epoch from '2026-07-06 17:10:27'::timestamp) - extract(epoch from '2026-07-06 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408236 -3.492597)'), GeomFromEWKT('SRID=4674;POINT (-38.408298 -3.492723)'))) / (select extract(epoch from '2026-07-06 17:10:27'::timestamp) - extract(epoch from '2026-07-06 17:10: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'), 47390, 'SRID=4674;POINT (-38.408359 -3.492832)', '2026-07-06 17:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408298 -3.492723)'), GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.492832)'))) / (select extract(epoch from '2026-07-06 17:10:33'::timestamp) - extract(epoch from '2026-07-06 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408298 -3.492723)'), GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.492832)'))) / (select extract(epoch from '2026-07-06 17:10:33'::timestamp) - extract(epoch from '2026-07-06 17:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.408394 -3.492936)', '2026-07-06 17:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.492832)'), GeomFromEWKT('SRID=4674;POINT (-38.408394 -3.492936)'))) / (select extract(epoch from '2026-07-06 17:10:39'::timestamp) - extract(epoch from '2026-07-06 17:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408359 -3.492832)'), GeomFromEWKT('SRID=4674;POINT (-38.408394 -3.492936)'))) / (select extract(epoch from '2026-07-06 17:10:39'::timestamp) - extract(epoch from '2026-07-06 17:10: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'), 47390, 'SRID=4674;POINT (-38.408438 -3.493035)', '2026-07-06 17:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408394 -3.492936)'), GeomFromEWKT('SRID=4674;POINT (-38.408438 -3.493035)'))) / (select extract(epoch from '2026-07-06 17:10:45'::timestamp) - extract(epoch from '2026-07-06 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408394 -3.492936)'), GeomFromEWKT('SRID=4674;POINT (-38.408438 -3.493035)'))) / (select extract(epoch from '2026-07-06 17:10:45'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.40851 -3.493171)', '2026-07-06 17:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408438 -3.493035)'), GeomFromEWKT('SRID=4674;POINT (-38.40851 -3.493171)'))) / (select extract(epoch from '2026-07-06 17:10:53'::timestamp) - extract(epoch from '2026-07-06 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408438 -3.493035)'), GeomFromEWKT('SRID=4674;POINT (-38.40851 -3.493171)'))) / (select extract(epoch from '2026-07-06 17:10:53'::timestamp) - extract(epoch from '2026-07-06 17:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.408584 -3.493302)', '2026-07-06 17:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40851 -3.493171)'), GeomFromEWKT('SRID=4674;POINT (-38.408584 -3.493302)'))) / (select extract(epoch from '2026-07-06 17:11:01'::timestamp) - extract(epoch from '2026-07-06 17:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40851 -3.493171)'), GeomFromEWKT('SRID=4674;POINT (-38.408584 -3.493302)'))) / (select extract(epoch from '2026-07-06 17:11:01'::timestamp) - extract(epoch from '2026-07-06 17:10: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'), 47390, 'SRID=4674;POINT (-38.408659 -3.493422)', '2026-07-06 17:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408584 -3.493302)'), GeomFromEWKT('SRID=4674;POINT (-38.408659 -3.493422)'))) / (select extract(epoch from '2026-07-06 17:11:08'::timestamp) - extract(epoch from '2026-07-06 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408584 -3.493302)'), GeomFromEWKT('SRID=4674;POINT (-38.408659 -3.493422)'))) / (select extract(epoch from '2026-07-06 17:11:08'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.408709 -3.493533)', '2026-07-06 17:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408659 -3.493422)'), GeomFromEWKT('SRID=4674;POINT (-38.408709 -3.493533)'))) / (select extract(epoch from '2026-07-06 17:11:14'::timestamp) - extract(epoch from '2026-07-06 17:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408659 -3.493422)'), GeomFromEWKT('SRID=4674;POINT (-38.408709 -3.493533)'))) / (select extract(epoch from '2026-07-06 17:11:14'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.408756 -3.493636)', '2026-07-06 17:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408709 -3.493533)'), GeomFromEWKT('SRID=4674;POINT (-38.408756 -3.493636)'))) / (select extract(epoch from '2026-07-06 17:11:20'::timestamp) - extract(epoch from '2026-07-06 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408709 -3.493533)'), GeomFromEWKT('SRID=4674;POINT (-38.408756 -3.493636)'))) / (select extract(epoch from '2026-07-06 17:11:20'::timestamp) - extract(epoch from '2026-07-06 17:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4088 -3.493726)', '2026-07-06 17:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408756 -3.493636)'), GeomFromEWKT('SRID=4674;POINT (-38.4088 -3.493726)'))) / (select extract(epoch from '2026-07-06 17:11:25'::timestamp) - extract(epoch from '2026-07-06 17:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408756 -3.493636)'), GeomFromEWKT('SRID=4674;POINT (-38.4088 -3.493726)'))) / (select extract(epoch from '2026-07-06 17:11:25'::timestamp) - extract(epoch from '2026-07-06 17:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40885 -3.493834)', '2026-07-06 17:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4088 -3.493726)'), GeomFromEWKT('SRID=4674;POINT (-38.40885 -3.493834)'))) / (select extract(epoch from '2026-07-06 17:11:31'::timestamp) - extract(epoch from '2026-07-06 17:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4088 -3.493726)'), GeomFromEWKT('SRID=4674;POINT (-38.40885 -3.493834)'))) / (select extract(epoch from '2026-07-06 17:11:31'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.408889 -3.493941)', '2026-07-06 17:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40885 -3.493834)'), GeomFromEWKT('SRID=4674;POINT (-38.408889 -3.493941)'))) / (select extract(epoch from '2026-07-06 17:11:37'::timestamp) - extract(epoch from '2026-07-06 17:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40885 -3.493834)'), GeomFromEWKT('SRID=4674;POINT (-38.408889 -3.493941)'))) / (select extract(epoch from '2026-07-06 17:11:37'::timestamp) - extract(epoch from '2026-07-06 17:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.408927 -3.494004)', '2026-07-06 17:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408889 -3.493941)'), GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.494004)'))) / (select extract(epoch from '2026-07-06 17:11:41'::timestamp) - extract(epoch from '2026-07-06 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408889 -3.493941)'), GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.494004)'))) / (select extract(epoch from '2026-07-06 17:11:41'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.408964 -3.494084)', '2026-07-06 17:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.494004)'), GeomFromEWKT('SRID=4674;POINT (-38.408964 -3.494084)'))) / (select extract(epoch from '2026-07-06 17:11:46'::timestamp) - extract(epoch from '2026-07-06 17:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.494004)'), GeomFromEWKT('SRID=4674;POINT (-38.408964 -3.494084)'))) / (select extract(epoch from '2026-07-06 17:11:46'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.40901 -3.494176)', '2026-07-06 17:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408964 -3.494084)'), GeomFromEWKT('SRID=4674;POINT (-38.40901 -3.494176)'))) / (select extract(epoch from '2026-07-06 17:11:51'::timestamp) - extract(epoch from '2026-07-06 17:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408964 -3.494084)'), GeomFromEWKT('SRID=4674;POINT (-38.40901 -3.494176)'))) / (select extract(epoch from '2026-07-06 17:11:51'::timestamp) - extract(epoch from '2026-07-06 17:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409056 -3.494286)', '2026-07-06 17:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40901 -3.494176)'), GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.494286)'))) / (select extract(epoch from '2026-07-06 17:11:57'::timestamp) - extract(epoch from '2026-07-06 17:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40901 -3.494176)'), GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.494286)'))) / (select extract(epoch from '2026-07-06 17:11:57'::timestamp) - extract(epoch from '2026-07-06 17:11: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'), 47390, 'SRID=4674;POINT (-38.409104 -3.494407)', '2026-07-06 17:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.494286)'), GeomFromEWKT('SRID=4674;POINT (-38.409104 -3.494407)'))) / (select extract(epoch from '2026-07-06 17:12:04'::timestamp) - extract(epoch from '2026-07-06 17:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409056 -3.494286)'), GeomFromEWKT('SRID=4674;POINT (-38.409104 -3.494407)'))) / (select extract(epoch from '2026-07-06 17:12:04'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.409137 -3.494494)', '2026-07-06 17:12:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409104 -3.494407)'), GeomFromEWKT('SRID=4674;POINT (-38.409137 -3.494494)'))) / (select extract(epoch from '2026-07-06 17:12:09'::timestamp) - extract(epoch from '2026-07-06 17:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409104 -3.494407)'), GeomFromEWKT('SRID=4674;POINT (-38.409137 -3.494494)'))) / (select extract(epoch from '2026-07-06 17:12:09'::timestamp) - extract(epoch from '2026-07-06 17:12: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'), 47390, 'SRID=4674;POINT (-38.409194 -3.494616)', '2026-07-06 17:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409137 -3.494494)'), GeomFromEWKT('SRID=4674;POINT (-38.409194 -3.494616)'))) / (select extract(epoch from '2026-07-06 17:12:16'::timestamp) - extract(epoch from '2026-07-06 17:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409137 -3.494494)'), GeomFromEWKT('SRID=4674;POINT (-38.409194 -3.494616)'))) / (select extract(epoch from '2026-07-06 17:12:16'::timestamp) - extract(epoch from '2026-07-06 17:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409245 -3.49474)', '2026-07-06 17:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409194 -3.494616)'), GeomFromEWKT('SRID=4674;POINT (-38.409245 -3.49474)'))) / (select extract(epoch from '2026-07-06 17:12:23'::timestamp) - extract(epoch from '2026-07-06 17:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409194 -3.494616)'), GeomFromEWKT('SRID=4674;POINT (-38.409245 -3.49474)'))) / (select extract(epoch from '2026-07-06 17:12:23'::timestamp) - extract(epoch from '2026-07-06 17:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409314 -3.494889)', '2026-07-06 17:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409245 -3.49474)'), GeomFromEWKT('SRID=4674;POINT (-38.409314 -3.494889)'))) / (select extract(epoch from '2026-07-06 17:12:31'::timestamp) - extract(epoch from '2026-07-06 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409245 -3.49474)'), GeomFromEWKT('SRID=4674;POINT (-38.409314 -3.494889)'))) / (select extract(epoch from '2026-07-06 17:12:31'::timestamp) - extract(epoch from '2026-07-06 17:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409359 -3.494997)', '2026-07-06 17:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409314 -3.494889)'), GeomFromEWKT('SRID=4674;POINT (-38.409359 -3.494997)'))) / (select extract(epoch from '2026-07-06 17:12:37'::timestamp) - extract(epoch from '2026-07-06 17:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409314 -3.494889)'), GeomFromEWKT('SRID=4674;POINT (-38.409359 -3.494997)'))) / (select extract(epoch from '2026-07-06 17:12:37'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.409397 -3.495103)', '2026-07-06 17:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409359 -3.494997)'), GeomFromEWKT('SRID=4674;POINT (-38.409397 -3.495103)'))) / (select extract(epoch from '2026-07-06 17:12:43'::timestamp) - extract(epoch from '2026-07-06 17:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409359 -3.494997)'), GeomFromEWKT('SRID=4674;POINT (-38.409397 -3.495103)'))) / (select extract(epoch from '2026-07-06 17:12:43'::timestamp) - extract(epoch from '2026-07-06 17:12: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'), 47390, 'SRID=4674;POINT (-38.409439 -3.495203)', '2026-07-06 17:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409397 -3.495103)'), GeomFromEWKT('SRID=4674;POINT (-38.409439 -3.495203)'))) / (select extract(epoch from '2026-07-06 17:12:49'::timestamp) - extract(epoch from '2026-07-06 17:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409397 -3.495103)'), GeomFromEWKT('SRID=4674;POINT (-38.409439 -3.495203)'))) / (select extract(epoch from '2026-07-06 17:12:49'::timestamp) - extract(epoch from '2026-07-06 17:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409502 -3.495316)', '2026-07-06 17:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409439 -3.495203)'), GeomFromEWKT('SRID=4674;POINT (-38.409502 -3.495316)'))) / (select extract(epoch from '2026-07-06 17:12:56'::timestamp) - extract(epoch from '2026-07-06 17:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409439 -3.495203)'), GeomFromEWKT('SRID=4674;POINT (-38.409502 -3.495316)'))) / (select extract(epoch from '2026-07-06 17:12:56'::timestamp) - extract(epoch from '2026-07-06 17:12: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'), 47390, 'SRID=4674;POINT (-38.409565 -3.495413)', '2026-07-06 17:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409502 -3.495316)'), GeomFromEWKT('SRID=4674;POINT (-38.409565 -3.495413)'))) / (select extract(epoch from '2026-07-06 17:13:03'::timestamp) - extract(epoch from '2026-07-06 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409502 -3.495316)'), GeomFromEWKT('SRID=4674;POINT (-38.409565 -3.495413)'))) / (select extract(epoch from '2026-07-06 17:13:03'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.409614 -3.49555)', '2026-07-06 17:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409565 -3.495413)'), GeomFromEWKT('SRID=4674;POINT (-38.409614 -3.49555)'))) / (select extract(epoch from '2026-07-06 17:13:12'::timestamp) - extract(epoch from '2026-07-06 17:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409565 -3.495413)'), GeomFromEWKT('SRID=4674;POINT (-38.409614 -3.49555)'))) / (select extract(epoch from '2026-07-06 17:13:12'::timestamp) - extract(epoch from '2026-07-06 17:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409659 -3.495686)', '2026-07-06 17:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409614 -3.49555)'), GeomFromEWKT('SRID=4674;POINT (-38.409659 -3.495686)'))) / (select extract(epoch from '2026-07-06 17:13:20'::timestamp) - extract(epoch from '2026-07-06 17:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409614 -3.49555)'), GeomFromEWKT('SRID=4674;POINT (-38.409659 -3.495686)'))) / (select extract(epoch from '2026-07-06 17:13:20'::timestamp) - extract(epoch from '2026-07-06 17:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.409713 -3.495773)', '2026-07-06 17:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409659 -3.495686)'), GeomFromEWKT('SRID=4674;POINT (-38.409713 -3.495773)'))) / (select extract(epoch from '2026-07-06 17:13:25'::timestamp) - extract(epoch from '2026-07-06 17:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409659 -3.495686)'), GeomFromEWKT('SRID=4674;POINT (-38.409713 -3.495773)'))) / (select extract(epoch from '2026-07-06 17:13:25'::timestamp) - extract(epoch from '2026-07-06 17:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.40978 -3.49587)', '2026-07-06 17:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409713 -3.495773)'), GeomFromEWKT('SRID=4674;POINT (-38.40978 -3.49587)'))) / (select extract(epoch from '2026-07-06 17:13:31'::timestamp) - extract(epoch from '2026-07-06 17:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409713 -3.495773)'), GeomFromEWKT('SRID=4674;POINT (-38.40978 -3.49587)'))) / (select extract(epoch from '2026-07-06 17:13:31'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.409842 -3.495977)', '2026-07-06 17:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40978 -3.49587)'), GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.495977)'))) / (select extract(epoch from '2026-07-06 17:13:38'::timestamp) - extract(epoch from '2026-07-06 17:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40978 -3.49587)'), GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.495977)'))) / (select extract(epoch from '2026-07-06 17:13:38'::timestamp) - extract(epoch from '2026-07-06 17:13: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'), 47390, 'SRID=4674;POINT (-38.409898 -3.496105)', '2026-07-06 17:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.495977)'), GeomFromEWKT('SRID=4674;POINT (-38.409898 -3.496105)'))) / (select extract(epoch from '2026-07-06 17:13:46'::timestamp) - extract(epoch from '2026-07-06 17:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.495977)'), GeomFromEWKT('SRID=4674;POINT (-38.409898 -3.496105)'))) / (select extract(epoch from '2026-07-06 17:13:46'::timestamp) - extract(epoch from '2026-07-06 17:13: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'), 47390, 'SRID=4674;POINT (-38.409943 -3.496202)', '2026-07-06 17:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409898 -3.496105)'), GeomFromEWKT('SRID=4674;POINT (-38.409943 -3.496202)'))) / (select extract(epoch from '2026-07-06 17:13:52'::timestamp) - extract(epoch from '2026-07-06 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409898 -3.496105)'), GeomFromEWKT('SRID=4674;POINT (-38.409943 -3.496202)'))) / (select extract(epoch from '2026-07-06 17:13:52'::timestamp) - extract(epoch from '2026-07-06 17:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410007 -3.496338)', '2026-07-06 17:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409943 -3.496202)'), GeomFromEWKT('SRID=4674;POINT (-38.410007 -3.496338)'))) / (select extract(epoch from '2026-07-06 17:13:59'::timestamp) - extract(epoch from '2026-07-06 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409943 -3.496202)'), GeomFromEWKT('SRID=4674;POINT (-38.410007 -3.496338)'))) / (select extract(epoch from '2026-07-06 17:13:59'::timestamp) - extract(epoch from '2026-07-06 17:13: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'), 47390, 'SRID=4674;POINT (-38.410041 -3.496442)', '2026-07-06 17:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410007 -3.496338)'), GeomFromEWKT('SRID=4674;POINT (-38.410041 -3.496442)'))) / (select extract(epoch from '2026-07-06 17:14:05'::timestamp) - extract(epoch from '2026-07-06 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410007 -3.496338)'), GeomFromEWKT('SRID=4674;POINT (-38.410041 -3.496442)'))) / (select extract(epoch from '2026-07-06 17:14:05'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.4101 -3.496576)', '2026-07-06 17:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410041 -3.496442)'), GeomFromEWKT('SRID=4674;POINT (-38.4101 -3.496576)'))) / (select extract(epoch from '2026-07-06 17:14:13'::timestamp) - extract(epoch from '2026-07-06 17:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410041 -3.496442)'), GeomFromEWKT('SRID=4674;POINT (-38.4101 -3.496576)'))) / (select extract(epoch from '2026-07-06 17:14:13'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.410147 -3.496671)', '2026-07-06 17:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4101 -3.496576)'), GeomFromEWKT('SRID=4674;POINT (-38.410147 -3.496671)'))) / (select extract(epoch from '2026-07-06 17:14:19'::timestamp) - extract(epoch from '2026-07-06 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4101 -3.496576)'), GeomFromEWKT('SRID=4674;POINT (-38.410147 -3.496671)'))) / (select extract(epoch from '2026-07-06 17:14:19'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.410193 -3.496784)', '2026-07-06 17:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410147 -3.496671)'), GeomFromEWKT('SRID=4674;POINT (-38.410193 -3.496784)'))) / (select extract(epoch from '2026-07-06 17:14:26'::timestamp) - extract(epoch from '2026-07-06 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410147 -3.496671)'), GeomFromEWKT('SRID=4674;POINT (-38.410193 -3.496784)'))) / (select extract(epoch from '2026-07-06 17:14:26'::timestamp) - extract(epoch from '2026-07-06 17:14: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'), 47390, 'SRID=4674;POINT (-38.410245 -3.496906)', '2026-07-06 17:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410193 -3.496784)'), GeomFromEWKT('SRID=4674;POINT (-38.410245 -3.496906)'))) / (select extract(epoch from '2026-07-06 17:14:33'::timestamp) - extract(epoch from '2026-07-06 17:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410193 -3.496784)'), GeomFromEWKT('SRID=4674;POINT (-38.410245 -3.496906)'))) / (select extract(epoch from '2026-07-06 17:14:33'::timestamp) - extract(epoch from '2026-07-06 17:14: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'), 47390, 'SRID=4674;POINT (-38.410297 -3.497018)', '2026-07-06 17:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410245 -3.496906)'), GeomFromEWKT('SRID=4674;POINT (-38.410297 -3.497018)'))) / (select extract(epoch from '2026-07-06 17:14:40'::timestamp) - extract(epoch from '2026-07-06 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410245 -3.496906)'), GeomFromEWKT('SRID=4674;POINT (-38.410297 -3.497018)'))) / (select extract(epoch from '2026-07-06 17:14:40'::timestamp) - extract(epoch from '2026-07-06 17:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410346 -3.497123)', '2026-07-06 17:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410297 -3.497018)'), GeomFromEWKT('SRID=4674;POINT (-38.410346 -3.497123)'))) / (select extract(epoch from '2026-07-06 17:14:46'::timestamp) - extract(epoch from '2026-07-06 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410297 -3.497018)'), GeomFromEWKT('SRID=4674;POINT (-38.410346 -3.497123)'))) / (select extract(epoch from '2026-07-06 17:14:46'::timestamp) - extract(epoch from '2026-07-06 17:14: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'), 47390, 'SRID=4674;POINT (-38.410417 -3.497251)', '2026-07-06 17:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410346 -3.497123)'), GeomFromEWKT('SRID=4674;POINT (-38.410417 -3.497251)'))) / (select extract(epoch from '2026-07-06 17:14:54'::timestamp) - extract(epoch from '2026-07-06 17:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410346 -3.497123)'), GeomFromEWKT('SRID=4674;POINT (-38.410417 -3.497251)'))) / (select extract(epoch from '2026-07-06 17:14:54'::timestamp) - extract(epoch from '2026-07-06 17:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410461 -3.497346)', '2026-07-06 17:15:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410417 -3.497251)'), GeomFromEWKT('SRID=4674;POINT (-38.410461 -3.497346)'))) / (select extract(epoch from '2026-07-06 17:15:00'::timestamp) - extract(epoch from '2026-07-06 17:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410417 -3.497251)'), GeomFromEWKT('SRID=4674;POINT (-38.410461 -3.497346)'))) / (select extract(epoch from '2026-07-06 17:15:00'::timestamp) - extract(epoch from '2026-07-06 17:14: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'), 47390, 'SRID=4674;POINT (-38.410498 -3.49745)', '2026-07-06 17:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410461 -3.497346)'), GeomFromEWKT('SRID=4674;POINT (-38.410498 -3.49745)'))) / (select extract(epoch from '2026-07-06 17:15:06'::timestamp) - extract(epoch from '2026-07-06 17:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410461 -3.497346)'), GeomFromEWKT('SRID=4674;POINT (-38.410498 -3.49745)'))) / (select extract(epoch from '2026-07-06 17:15:06'::timestamp) - extract(epoch from '2026-07-06 17:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410554 -3.497559)', '2026-07-06 17:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410498 -3.49745)'), GeomFromEWKT('SRID=4674;POINT (-38.410554 -3.497559)'))) / (select extract(epoch from '2026-07-06 17:15:13'::timestamp) - extract(epoch from '2026-07-06 17:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410498 -3.49745)'), GeomFromEWKT('SRID=4674;POINT (-38.410554 -3.497559)'))) / (select extract(epoch from '2026-07-06 17:15:13'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.410574 -3.497591)', '2026-07-06 17:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410554 -3.497559)'), GeomFromEWKT('SRID=4674;POINT (-38.410574 -3.497591)'))) / (select extract(epoch from '2026-07-06 17:15:15'::timestamp) - extract(epoch from '2026-07-06 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410554 -3.497559)'), GeomFromEWKT('SRID=4674;POINT (-38.410574 -3.497591)'))) / (select extract(epoch from '2026-07-06 17:15:15'::timestamp) - extract(epoch from '2026-07-06 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410604 -3.497652)', '2026-07-06 17:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410574 -3.497591)'), GeomFromEWKT('SRID=4674;POINT (-38.410604 -3.497652)'))) / (select extract(epoch from '2026-07-06 17:15:19'::timestamp) - extract(epoch from '2026-07-06 17:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410574 -3.497591)'), GeomFromEWKT('SRID=4674;POINT (-38.410604 -3.497652)'))) / (select extract(epoch from '2026-07-06 17:15:19'::timestamp) - extract(epoch from '2026-07-06 17:15: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'), 47390, 'SRID=4674;POINT (-38.41065 -3.497742)', '2026-07-06 17:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410604 -3.497652)'), GeomFromEWKT('SRID=4674;POINT (-38.41065 -3.497742)'))) / (select extract(epoch from '2026-07-06 17:15:25'::timestamp) - extract(epoch from '2026-07-06 17:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410604 -3.497652)'), GeomFromEWKT('SRID=4674;POINT (-38.41065 -3.497742)'))) / (select extract(epoch from '2026-07-06 17:15:25'::timestamp) - extract(epoch from '2026-07-06 17:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410702 -3.497834)', '2026-07-06 17:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41065 -3.497742)'), GeomFromEWKT('SRID=4674;POINT (-38.410702 -3.497834)'))) / (select extract(epoch from '2026-07-06 17:15:31'::timestamp) - extract(epoch from '2026-07-06 17:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41065 -3.497742)'), GeomFromEWKT('SRID=4674;POINT (-38.410702 -3.497834)'))) / (select extract(epoch from '2026-07-06 17:15:31'::timestamp) - extract(epoch from '2026-07-06 17:15: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'), 47390, 'SRID=4674;POINT (-38.410734 -3.497905)', '2026-07-06 17:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410702 -3.497834)'), GeomFromEWKT('SRID=4674;POINT (-38.410734 -3.497905)'))) / (select extract(epoch from '2026-07-06 17:15:36'::timestamp) - extract(epoch from '2026-07-06 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410702 -3.497834)'), GeomFromEWKT('SRID=4674;POINT (-38.410734 -3.497905)'))) / (select extract(epoch from '2026-07-06 17:15:36'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.410797 -3.498034)', '2026-07-06 17:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410734 -3.497905)'), GeomFromEWKT('SRID=4674;POINT (-38.410797 -3.498034)'))) / (select extract(epoch from '2026-07-06 17:15:45'::timestamp) - extract(epoch from '2026-07-06 17:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410734 -3.497905)'), GeomFromEWKT('SRID=4674;POINT (-38.410797 -3.498034)'))) / (select extract(epoch from '2026-07-06 17:15:45'::timestamp) - extract(epoch from '2026-07-06 17:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410802 -3.498049)', '2026-07-06 17:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410797 -3.498034)'), GeomFromEWKT('SRID=4674;POINT (-38.410802 -3.498049)'))) / (select extract(epoch from '2026-07-06 17:15:46'::timestamp) - extract(epoch from '2026-07-06 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410797 -3.498034)'), GeomFromEWKT('SRID=4674;POINT (-38.410802 -3.498049)'))) / (select extract(epoch from '2026-07-06 17:15:46'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.410844 -3.498141)', '2026-07-06 17:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410802 -3.498049)'), GeomFromEWKT('SRID=4674;POINT (-38.410844 -3.498141)'))) / (select extract(epoch from '2026-07-06 17:15:52'::timestamp) - extract(epoch from '2026-07-06 17:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410802 -3.498049)'), GeomFromEWKT('SRID=4674;POINT (-38.410844 -3.498141)'))) / (select extract(epoch from '2026-07-06 17:15:52'::timestamp) - extract(epoch from '2026-07-06 17:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410882 -3.49824)', '2026-07-06 17:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410844 -3.498141)'), GeomFromEWKT('SRID=4674;POINT (-38.410882 -3.49824)'))) / (select extract(epoch from '2026-07-06 17:15:58'::timestamp) - extract(epoch from '2026-07-06 17:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410844 -3.498141)'), GeomFromEWKT('SRID=4674;POINT (-38.410882 -3.49824)'))) / (select extract(epoch from '2026-07-06 17:15:58'::timestamp) - extract(epoch from '2026-07-06 17:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.410912 -3.498338)', '2026-07-06 17:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410882 -3.49824)'), GeomFromEWKT('SRID=4674;POINT (-38.410912 -3.498338)'))) / (select extract(epoch from '2026-07-06 17:16:04'::timestamp) - extract(epoch from '2026-07-06 17:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410882 -3.49824)'), GeomFromEWKT('SRID=4674;POINT (-38.410912 -3.498338)'))) / (select extract(epoch from '2026-07-06 17:16:04'::timestamp) - extract(epoch from '2026-07-06 17:15: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'), 47390, 'SRID=4674;POINT (-38.410946 -3.498435)', '2026-07-06 17:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410912 -3.498338)'), GeomFromEWKT('SRID=4674;POINT (-38.410946 -3.498435)'))) / (select extract(epoch from '2026-07-06 17:16:10'::timestamp) - extract(epoch from '2026-07-06 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410912 -3.498338)'), GeomFromEWKT('SRID=4674;POINT (-38.410946 -3.498435)'))) / (select extract(epoch from '2026-07-06 17:16:10'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.410988 -3.498524)', '2026-07-06 17:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410946 -3.498435)'), GeomFromEWKT('SRID=4674;POINT (-38.410988 -3.498524)'))) / (select extract(epoch from '2026-07-06 17:16:16'::timestamp) - extract(epoch from '2026-07-06 17:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410946 -3.498435)'), GeomFromEWKT('SRID=4674;POINT (-38.410988 -3.498524)'))) / (select extract(epoch from '2026-07-06 17:16:16'::timestamp) - extract(epoch from '2026-07-06 17:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.411043 -3.498634)', '2026-07-06 17:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410988 -3.498524)'), GeomFromEWKT('SRID=4674;POINT (-38.411043 -3.498634)'))) / (select extract(epoch from '2026-07-06 17:16:23'::timestamp) - extract(epoch from '2026-07-06 17:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410988 -3.498524)'), GeomFromEWKT('SRID=4674;POINT (-38.411043 -3.498634)'))) / (select extract(epoch from '2026-07-06 17:16:23'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.411095 -3.498751)', '2026-07-06 17:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411043 -3.498634)'), GeomFromEWKT('SRID=4674;POINT (-38.411095 -3.498751)'))) / (select extract(epoch from '2026-07-06 17:16:30'::timestamp) - extract(epoch from '2026-07-06 17:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411043 -3.498634)'), GeomFromEWKT('SRID=4674;POINT (-38.411095 -3.498751)'))) / (select extract(epoch from '2026-07-06 17:16:30'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.411127 -3.498836)', '2026-07-06 17:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411095 -3.498751)'), GeomFromEWKT('SRID=4674;POINT (-38.411127 -3.498836)'))) / (select extract(epoch from '2026-07-06 17:16:35'::timestamp) - extract(epoch from '2026-07-06 17:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411095 -3.498751)'), GeomFromEWKT('SRID=4674;POINT (-38.411127 -3.498836)'))) / (select extract(epoch from '2026-07-06 17:16:35'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.41117 -3.498926)', '2026-07-06 17:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411127 -3.498836)'), GeomFromEWKT('SRID=4674;POINT (-38.41117 -3.498926)'))) / (select extract(epoch from '2026-07-06 17:16:40'::timestamp) - extract(epoch from '2026-07-06 17:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411127 -3.498836)'), GeomFromEWKT('SRID=4674;POINT (-38.41117 -3.498926)'))) / (select extract(epoch from '2026-07-06 17:16:40'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.411209 -3.499021)', '2026-07-06 17:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41117 -3.498926)'), GeomFromEWKT('SRID=4674;POINT (-38.411209 -3.499021)'))) / (select extract(epoch from '2026-07-06 17:16:46'::timestamp) - extract(epoch from '2026-07-06 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41117 -3.498926)'), GeomFromEWKT('SRID=4674;POINT (-38.411209 -3.499021)'))) / (select extract(epoch from '2026-07-06 17:16:46'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.411243 -3.499148)', '2026-07-06 17:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411209 -3.499021)'), GeomFromEWKT('SRID=4674;POINT (-38.411243 -3.499148)'))) / (select extract(epoch from '2026-07-06 17:16:53'::timestamp) - extract(epoch from '2026-07-06 17:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411209 -3.499021)'), GeomFromEWKT('SRID=4674;POINT (-38.411243 -3.499148)'))) / (select extract(epoch from '2026-07-06 17:16:53'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.411283 -3.499231)', '2026-07-06 17:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411243 -3.499148)'), GeomFromEWKT('SRID=4674;POINT (-38.411283 -3.499231)'))) / (select extract(epoch from '2026-07-06 17:16:58'::timestamp) - extract(epoch from '2026-07-06 17:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411243 -3.499148)'), GeomFromEWKT('SRID=4674;POINT (-38.411283 -3.499231)'))) / (select extract(epoch from '2026-07-06 17:16:58'::timestamp) - extract(epoch from '2026-07-06 17:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.411344 -3.499331)', '2026-07-06 17:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411283 -3.499231)'), GeomFromEWKT('SRID=4674;POINT (-38.411344 -3.499331)'))) / (select extract(epoch from '2026-07-06 17:17:04'::timestamp) - extract(epoch from '2026-07-06 17:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411283 -3.499231)'), GeomFromEWKT('SRID=4674;POINT (-38.411344 -3.499331)'))) / (select extract(epoch from '2026-07-06 17:17:04'::timestamp) - extract(epoch from '2026-07-06 17:16: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'), 47390, 'SRID=4674;POINT (-38.411385 -3.499458)', '2026-07-06 17:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411344 -3.499331)'), GeomFromEWKT('SRID=4674;POINT (-38.411385 -3.499458)'))) / (select extract(epoch from '2026-07-06 17:17:11'::timestamp) - extract(epoch from '2026-07-06 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411344 -3.499331)'), GeomFromEWKT('SRID=4674;POINT (-38.411385 -3.499458)'))) / (select extract(epoch from '2026-07-06 17:17:11'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411428 -3.499574)', '2026-07-06 17:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411385 -3.499458)'), GeomFromEWKT('SRID=4674;POINT (-38.411428 -3.499574)'))) / (select extract(epoch from '2026-07-06 17:17:18'::timestamp) - extract(epoch from '2026-07-06 17:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411385 -3.499458)'), GeomFromEWKT('SRID=4674;POINT (-38.411428 -3.499574)'))) / (select extract(epoch from '2026-07-06 17:17:18'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411482 -3.49968)', '2026-07-06 17:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411428 -3.499574)'), GeomFromEWKT('SRID=4674;POINT (-38.411482 -3.49968)'))) / (select extract(epoch from '2026-07-06 17:17:24'::timestamp) - extract(epoch from '2026-07-06 17:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411428 -3.499574)'), GeomFromEWKT('SRID=4674;POINT (-38.411482 -3.49968)'))) / (select extract(epoch from '2026-07-06 17:17:24'::timestamp) - extract(epoch from '2026-07-06 17: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'), 47390, 'SRID=4674;POINT (-38.41155 -3.499795)', '2026-07-06 17:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411482 -3.49968)'), GeomFromEWKT('SRID=4674;POINT (-38.41155 -3.499795)'))) / (select extract(epoch from '2026-07-06 17:17:31'::timestamp) - extract(epoch from '2026-07-06 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411482 -3.49968)'), GeomFromEWKT('SRID=4674;POINT (-38.41155 -3.499795)'))) / (select extract(epoch from '2026-07-06 17:17:31'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411602 -3.499913)', '2026-07-06 17:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41155 -3.499795)'), GeomFromEWKT('SRID=4674;POINT (-38.411602 -3.499913)'))) / (select extract(epoch from '2026-07-06 17:17:38'::timestamp) - extract(epoch from '2026-07-06 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41155 -3.499795)'), GeomFromEWKT('SRID=4674;POINT (-38.411602 -3.499913)'))) / (select extract(epoch from '2026-07-06 17:17:38'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411632 -3.500017)', '2026-07-06 17:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411602 -3.499913)'), GeomFromEWKT('SRID=4674;POINT (-38.411632 -3.500017)'))) / (select extract(epoch from '2026-07-06 17:17:44'::timestamp) - extract(epoch from '2026-07-06 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411602 -3.499913)'), GeomFromEWKT('SRID=4674;POINT (-38.411632 -3.500017)'))) / (select extract(epoch from '2026-07-06 17:17:44'::timestamp) - extract(epoch from '2026-07-06 17:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.411673 -3.500133)', '2026-07-06 17:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411632 -3.500017)'), GeomFromEWKT('SRID=4674;POINT (-38.411673 -3.500133)'))) / (select extract(epoch from '2026-07-06 17:17:51'::timestamp) - extract(epoch from '2026-07-06 17:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411632 -3.500017)'), GeomFromEWKT('SRID=4674;POINT (-38.411673 -3.500133)'))) / (select extract(epoch from '2026-07-06 17:17:51'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411714 -3.500212)', '2026-07-06 17:17:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411673 -3.500133)'), GeomFromEWKT('SRID=4674;POINT (-38.411714 -3.500212)'))) / (select extract(epoch from '2026-07-06 17:17:56'::timestamp) - extract(epoch from '2026-07-06 17:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411673 -3.500133)'), GeomFromEWKT('SRID=4674;POINT (-38.411714 -3.500212)'))) / (select extract(epoch from '2026-07-06 17:17:56'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411762 -3.500284)', '2026-07-06 17:18:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411714 -3.500212)'), GeomFromEWKT('SRID=4674;POINT (-38.411762 -3.500284)'))) / (select extract(epoch from '2026-07-06 17:18:01'::timestamp) - extract(epoch from '2026-07-06 17:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411714 -3.500212)'), GeomFromEWKT('SRID=4674;POINT (-38.411762 -3.500284)'))) / (select extract(epoch from '2026-07-06 17:18:01'::timestamp) - extract(epoch from '2026-07-06 17:17: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'), 47390, 'SRID=4674;POINT (-38.411815 -3.500371)', '2026-07-06 17:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411762 -3.500284)'), GeomFromEWKT('SRID=4674;POINT (-38.411815 -3.500371)'))) / (select extract(epoch from '2026-07-06 17:18:07'::timestamp) - extract(epoch from '2026-07-06 17:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411762 -3.500284)'), GeomFromEWKT('SRID=4674;POINT (-38.411815 -3.500371)'))) / (select extract(epoch from '2026-07-06 17:18:07'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.411867 -3.500473)', '2026-07-06 17:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411815 -3.500371)'), GeomFromEWKT('SRID=4674;POINT (-38.411867 -3.500473)'))) / (select extract(epoch from '2026-07-06 17:18:13'::timestamp) - extract(epoch from '2026-07-06 17:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411815 -3.500371)'), GeomFromEWKT('SRID=4674;POINT (-38.411867 -3.500473)'))) / (select extract(epoch from '2026-07-06 17:18:13'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.411876 -3.500504)', '2026-07-06 17:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411867 -3.500473)'), GeomFromEWKT('SRID=4674;POINT (-38.411876 -3.500504)'))) / (select extract(epoch from '2026-07-06 17:18:15'::timestamp) - extract(epoch from '2026-07-06 17:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411867 -3.500473)'), GeomFromEWKT('SRID=4674;POINT (-38.411876 -3.500504)'))) / (select extract(epoch from '2026-07-06 17:18:15'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.411895 -3.500548)', '2026-07-06 17:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411876 -3.500504)'), GeomFromEWKT('SRID=4674;POINT (-38.411895 -3.500548)'))) / (select extract(epoch from '2026-07-06 17:18:18'::timestamp) - extract(epoch from '2026-07-06 17:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411876 -3.500504)'), GeomFromEWKT('SRID=4674;POINT (-38.411895 -3.500548)'))) / (select extract(epoch from '2026-07-06 17:18:18'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.411927 -3.500639)', '2026-07-06 17:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411895 -3.500548)'), GeomFromEWKT('SRID=4674;POINT (-38.411927 -3.500639)'))) / (select extract(epoch from '2026-07-06 17:18:23'::timestamp) - extract(epoch from '2026-07-06 17:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411895 -3.500548)'), GeomFromEWKT('SRID=4674;POINT (-38.411927 -3.500639)'))) / (select extract(epoch from '2026-07-06 17:18:23'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.411983 -3.500764)', '2026-07-06 17:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411927 -3.500639)'), GeomFromEWKT('SRID=4674;POINT (-38.411983 -3.500764)'))) / (select extract(epoch from '2026-07-06 17:18:31'::timestamp) - extract(epoch from '2026-07-06 17:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411927 -3.500639)'), GeomFromEWKT('SRID=4674;POINT (-38.411983 -3.500764)'))) / (select extract(epoch from '2026-07-06 17:18:31'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.412042 -3.500865)', '2026-07-06 17:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411983 -3.500764)'), GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.500865)'))) / (select extract(epoch from '2026-07-06 17:18:38'::timestamp) - extract(epoch from '2026-07-06 17:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411983 -3.500764)'), GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.500865)'))) / (select extract(epoch from '2026-07-06 17:18:38'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.412129 -3.50099)', '2026-07-06 17:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.500865)'), GeomFromEWKT('SRID=4674;POINT (-38.412129 -3.50099)'))) / (select extract(epoch from '2026-07-06 17:18:46'::timestamp) - extract(epoch from '2026-07-06 17:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.500865)'), GeomFromEWKT('SRID=4674;POINT (-38.412129 -3.50099)'))) / (select extract(epoch from '2026-07-06 17:18:46'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.412177 -3.501103)', '2026-07-06 17:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412129 -3.50099)'), GeomFromEWKT('SRID=4674;POINT (-38.412177 -3.501103)'))) / (select extract(epoch from '2026-07-06 17:18:53'::timestamp) - extract(epoch from '2026-07-06 17:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412129 -3.50099)'), GeomFromEWKT('SRID=4674;POINT (-38.412177 -3.501103)'))) / (select extract(epoch from '2026-07-06 17:18:53'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.412236 -3.501242)', '2026-07-06 17:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412177 -3.501103)'), GeomFromEWKT('SRID=4674;POINT (-38.412236 -3.501242)'))) / (select extract(epoch from '2026-07-06 17:19:01'::timestamp) - extract(epoch from '2026-07-06 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412177 -3.501103)'), GeomFromEWKT('SRID=4674;POINT (-38.412236 -3.501242)'))) / (select extract(epoch from '2026-07-06 17:19:01'::timestamp) - extract(epoch from '2026-07-06 17:18: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'), 47390, 'SRID=4674;POINT (-38.412295 -3.501356)', '2026-07-06 17:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412236 -3.501242)'), GeomFromEWKT('SRID=4674;POINT (-38.412295 -3.501356)'))) / (select extract(epoch from '2026-07-06 17:19:08'::timestamp) - extract(epoch from '2026-07-06 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412236 -3.501242)'), GeomFromEWKT('SRID=4674;POINT (-38.412295 -3.501356)'))) / (select extract(epoch from '2026-07-06 17:19:08'::timestamp) - extract(epoch from '2026-07-06 17:19: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'), 47390, 'SRID=4674;POINT (-38.412367 -3.501485)', '2026-07-06 17:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412295 -3.501356)'), GeomFromEWKT('SRID=4674;POINT (-38.412367 -3.501485)'))) / (select extract(epoch from '2026-07-06 17:19:16'::timestamp) - extract(epoch from '2026-07-06 17:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412295 -3.501356)'), GeomFromEWKT('SRID=4674;POINT (-38.412367 -3.501485)'))) / (select extract(epoch from '2026-07-06 17:19:16'::timestamp) - extract(epoch from '2026-07-06 17:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.412415 -3.501578)', '2026-07-06 17:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412367 -3.501485)'), GeomFromEWKT('SRID=4674;POINT (-38.412415 -3.501578)'))) / (select extract(epoch from '2026-07-06 17:19:22'::timestamp) - extract(epoch from '2026-07-06 17:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412367 -3.501485)'), GeomFromEWKT('SRID=4674;POINT (-38.412415 -3.501578)'))) / (select extract(epoch from '2026-07-06 17:19:22'::timestamp) - extract(epoch from '2026-07-06 17:19: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'), 47390, 'SRID=4674;POINT (-38.412491 -3.501692)', '2026-07-06 17:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412415 -3.501578)'), GeomFromEWKT('SRID=4674;POINT (-38.412491 -3.501692)'))) / (select extract(epoch from '2026-07-06 17:19:30'::timestamp) - extract(epoch from '2026-07-06 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412415 -3.501578)'), GeomFromEWKT('SRID=4674;POINT (-38.412491 -3.501692)'))) / (select extract(epoch from '2026-07-06 17:19:30'::timestamp) - extract(epoch from '2026-07-06 17:19: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'), 47390, 'SRID=4674;POINT (-38.41255 -3.5018)', '2026-07-06 17:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412491 -3.501692)'), GeomFromEWKT('SRID=4674;POINT (-38.41255 -3.5018)'))) / (select extract(epoch from '2026-07-06 17:19:37'::timestamp) - extract(epoch from '2026-07-06 17:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412491 -3.501692)'), GeomFromEWKT('SRID=4674;POINT (-38.41255 -3.5018)'))) / (select extract(epoch from '2026-07-06 17:19:37'::timestamp) - extract(epoch from '2026-07-06 17:19: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'), 47390, 'SRID=4674;POINT (-38.41261 -3.50193)', '2026-07-06 17:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41255 -3.5018)'), GeomFromEWKT('SRID=4674;POINT (-38.41261 -3.50193)'))) / (select extract(epoch from '2026-07-06 17:19:45'::timestamp) - extract(epoch from '2026-07-06 17:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41255 -3.5018)'), GeomFromEWKT('SRID=4674;POINT (-38.41261 -3.50193)'))) / (select extract(epoch from '2026-07-06 17:19:45'::timestamp) - extract(epoch from '2026-07-06 17:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.412658 -3.502051)', '2026-07-06 17:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41261 -3.50193)'), GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.502051)'))) / (select extract(epoch from '2026-07-06 17:19:52'::timestamp) - extract(epoch from '2026-07-06 17:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41261 -3.50193)'), GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.502051)'))) / (select extract(epoch from '2026-07-06 17:19:52'::timestamp) - extract(epoch from '2026-07-06 17:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.412736 -3.502187)', '2026-07-06 17:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.502051)'), GeomFromEWKT('SRID=4674;POINT (-38.412736 -3.502187)'))) / (select extract(epoch from '2026-07-06 17:20:00'::timestamp) - extract(epoch from '2026-07-06 17:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.502051)'), GeomFromEWKT('SRID=4674;POINT (-38.412736 -3.502187)'))) / (select extract(epoch from '2026-07-06 17:20:00'::timestamp) - extract(epoch from '2026-07-06 17:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.412803 -3.502305)', '2026-07-06 17:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412736 -3.502187)'), GeomFromEWKT('SRID=4674;POINT (-38.412803 -3.502305)'))) / (select extract(epoch from '2026-07-06 17:20:07'::timestamp) - extract(epoch from '2026-07-06 17:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412736 -3.502187)'), GeomFromEWKT('SRID=4674;POINT (-38.412803 -3.502305)'))) / (select extract(epoch from '2026-07-06 17:20:07'::timestamp) - extract(epoch from '2026-07-06 17:20: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'), 47390, 'SRID=4674;POINT (-38.412856 -3.502398)', '2026-07-06 17:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412803 -3.502305)'), GeomFromEWKT('SRID=4674;POINT (-38.412856 -3.502398)'))) / (select extract(epoch from '2026-07-06 17:20:13'::timestamp) - extract(epoch from '2026-07-06 17:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412803 -3.502305)'), GeomFromEWKT('SRID=4674;POINT (-38.412856 -3.502398)'))) / (select extract(epoch from '2026-07-06 17:20:13'::timestamp) - extract(epoch from '2026-07-06 17:20: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'), 47390, 'SRID=4674;POINT (-38.412913 -3.502534)', '2026-07-06 17:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412856 -3.502398)'), GeomFromEWKT('SRID=4674;POINT (-38.412913 -3.502534)'))) / (select extract(epoch from '2026-07-06 17:20:21'::timestamp) - extract(epoch from '2026-07-06 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412856 -3.502398)'), GeomFromEWKT('SRID=4674;POINT (-38.412913 -3.502534)'))) / (select extract(epoch from '2026-07-06 17:20:21'::timestamp) - extract(epoch from '2026-07-06 17:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.412975 -3.502637)', '2026-07-06 17:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412913 -3.502534)'), GeomFromEWKT('SRID=4674;POINT (-38.412975 -3.502637)'))) / (select extract(epoch from '2026-07-06 17:20:27'::timestamp) - extract(epoch from '2026-07-06 17:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412913 -3.502534)'), GeomFromEWKT('SRID=4674;POINT (-38.412975 -3.502637)'))) / (select extract(epoch from '2026-07-06 17:20:27'::timestamp) - extract(epoch from '2026-07-06 17:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413019 -3.502726)', '2026-07-06 17:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412975 -3.502637)'), GeomFromEWKT('SRID=4674;POINT (-38.413019 -3.502726)'))) / (select extract(epoch from '2026-07-06 17:20:32'::timestamp) - extract(epoch from '2026-07-06 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412975 -3.502637)'), GeomFromEWKT('SRID=4674;POINT (-38.413019 -3.502726)'))) / (select extract(epoch from '2026-07-06 17:20:32'::timestamp) - extract(epoch from '2026-07-06 17:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413049 -3.502836)', '2026-07-06 17:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413019 -3.502726)'), GeomFromEWKT('SRID=4674;POINT (-38.413049 -3.502836)'))) / (select extract(epoch from '2026-07-06 17:20:38'::timestamp) - extract(epoch from '2026-07-06 17:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413019 -3.502726)'), GeomFromEWKT('SRID=4674;POINT (-38.413049 -3.502836)'))) / (select extract(epoch from '2026-07-06 17:20:38'::timestamp) - extract(epoch from '2026-07-06 17:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413059 -3.502854)', '2026-07-06 17:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413049 -3.502836)'), GeomFromEWKT('SRID=4674;POINT (-38.413059 -3.502854)'))) / (select extract(epoch from '2026-07-06 17:20:39'::timestamp) - extract(epoch from '2026-07-06 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413049 -3.502836)'), GeomFromEWKT('SRID=4674;POINT (-38.413059 -3.502854)'))) / (select extract(epoch from '2026-07-06 17:20:39'::timestamp) - extract(epoch from '2026-07-06 17:20: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'), 47390, 'SRID=4674;POINT (-38.413107 -3.502962)', '2026-07-06 17:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413059 -3.502854)'), GeomFromEWKT('SRID=4674;POINT (-38.413107 -3.502962)'))) / (select extract(epoch from '2026-07-06 17:20:45'::timestamp) - extract(epoch from '2026-07-06 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413059 -3.502854)'), GeomFromEWKT('SRID=4674;POINT (-38.413107 -3.502962)'))) / (select extract(epoch from '2026-07-06 17:20:45'::timestamp) - extract(epoch from '2026-07-06 17:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.41315 -3.503052)', '2026-07-06 17:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413107 -3.502962)'), GeomFromEWKT('SRID=4674;POINT (-38.41315 -3.503052)'))) / (select extract(epoch from '2026-07-06 17:20:50'::timestamp) - extract(epoch from '2026-07-06 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413107 -3.502962)'), GeomFromEWKT('SRID=4674;POINT (-38.41315 -3.503052)'))) / (select extract(epoch from '2026-07-06 17:20:50'::timestamp) - extract(epoch from '2026-07-06 17:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413207 -3.503165)', '2026-07-06 17:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41315 -3.503052)'), GeomFromEWKT('SRID=4674;POINT (-38.413207 -3.503165)'))) / (select extract(epoch from '2026-07-06 17:20:56'::timestamp) - extract(epoch from '2026-07-06 17:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41315 -3.503052)'), GeomFromEWKT('SRID=4674;POINT (-38.413207 -3.503165)'))) / (select extract(epoch from '2026-07-06 17:20:56'::timestamp) - extract(epoch from '2026-07-06 17:20: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'), 47390, 'SRID=4674;POINT (-38.413275 -3.503292)', '2026-07-06 17:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413207 -3.503165)'), GeomFromEWKT('SRID=4674;POINT (-38.413275 -3.503292)'))) / (select extract(epoch from '2026-07-06 17:21:03'::timestamp) - extract(epoch from '2026-07-06 17:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413207 -3.503165)'), GeomFromEWKT('SRID=4674;POINT (-38.413275 -3.503292)'))) / (select extract(epoch from '2026-07-06 17:21:03'::timestamp) - extract(epoch from '2026-07-06 17:20: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'), 47390, 'SRID=4674;POINT (-38.413351 -3.503408)', '2026-07-06 17:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413275 -3.503292)'), GeomFromEWKT('SRID=4674;POINT (-38.413351 -3.503408)'))) / (select extract(epoch from '2026-07-06 17:21:10'::timestamp) - extract(epoch from '2026-07-06 17:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413275 -3.503292)'), GeomFromEWKT('SRID=4674;POINT (-38.413351 -3.503408)'))) / (select extract(epoch from '2026-07-06 17:21:10'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413396 -3.503529)', '2026-07-06 17:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413351 -3.503408)'), GeomFromEWKT('SRID=4674;POINT (-38.413396 -3.503529)'))) / (select extract(epoch from '2026-07-06 17:21:17'::timestamp) - extract(epoch from '2026-07-06 17:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413351 -3.503408)'), GeomFromEWKT('SRID=4674;POINT (-38.413396 -3.503529)'))) / (select extract(epoch from '2026-07-06 17:21:17'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413433 -3.503635)', '2026-07-06 17:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413396 -3.503529)'), GeomFromEWKT('SRID=4674;POINT (-38.413433 -3.503635)'))) / (select extract(epoch from '2026-07-06 17:21:23'::timestamp) - extract(epoch from '2026-07-06 17:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413396 -3.503529)'), GeomFromEWKT('SRID=4674;POINT (-38.413433 -3.503635)'))) / (select extract(epoch from '2026-07-06 17:21:23'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413479 -3.503745)', '2026-07-06 17:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413433 -3.503635)'), GeomFromEWKT('SRID=4674;POINT (-38.413479 -3.503745)'))) / (select extract(epoch from '2026-07-06 17:21:30'::timestamp) - extract(epoch from '2026-07-06 17:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413433 -3.503635)'), GeomFromEWKT('SRID=4674;POINT (-38.413479 -3.503745)'))) / (select extract(epoch from '2026-07-06 17:21:30'::timestamp) - extract(epoch from '2026-07-06 17:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413521 -3.50384)', '2026-07-06 17:21:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413479 -3.503745)'), GeomFromEWKT('SRID=4674;POINT (-38.413521 -3.50384)'))) / (select extract(epoch from '2026-07-06 17:21:36'::timestamp) - extract(epoch from '2026-07-06 17:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413479 -3.503745)'), GeomFromEWKT('SRID=4674;POINT (-38.413521 -3.50384)'))) / (select extract(epoch from '2026-07-06 17:21:36'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413562 -3.503917)', '2026-07-06 17:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413521 -3.50384)'), GeomFromEWKT('SRID=4674;POINT (-38.413562 -3.503917)'))) / (select extract(epoch from '2026-07-06 17:21:41'::timestamp) - extract(epoch from '2026-07-06 17:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413521 -3.50384)'), GeomFromEWKT('SRID=4674;POINT (-38.413562 -3.503917)'))) / (select extract(epoch from '2026-07-06 17:21:41'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413601 -3.504027)', '2026-07-06 17:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413562 -3.503917)'), GeomFromEWKT('SRID=4674;POINT (-38.413601 -3.504027)'))) / (select extract(epoch from '2026-07-06 17:21:48'::timestamp) - extract(epoch from '2026-07-06 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413562 -3.503917)'), GeomFromEWKT('SRID=4674;POINT (-38.413601 -3.504027)'))) / (select extract(epoch from '2026-07-06 17:21:48'::timestamp) - extract(epoch from '2026-07-06 17:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413633 -3.504125)', '2026-07-06 17:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413601 -3.504027)'), GeomFromEWKT('SRID=4674;POINT (-38.413633 -3.504125)'))) / (select extract(epoch from '2026-07-06 17:21:54'::timestamp) - extract(epoch from '2026-07-06 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413601 -3.504027)'), GeomFromEWKT('SRID=4674;POINT (-38.413633 -3.504125)'))) / (select extract(epoch from '2026-07-06 17:21:54'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413681 -3.504249)', '2026-07-06 17:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413633 -3.504125)'), GeomFromEWKT('SRID=4674;POINT (-38.413681 -3.504249)'))) / (select extract(epoch from '2026-07-06 17:22:01'::timestamp) - extract(epoch from '2026-07-06 17:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413633 -3.504125)'), GeomFromEWKT('SRID=4674;POINT (-38.413681 -3.504249)'))) / (select extract(epoch from '2026-07-06 17:22:01'::timestamp) - extract(epoch from '2026-07-06 17:21: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'), 47390, 'SRID=4674;POINT (-38.413722 -3.504354)', '2026-07-06 17:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413681 -3.504249)'), GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.504354)'))) / (select extract(epoch from '2026-07-06 17:22:07'::timestamp) - extract(epoch from '2026-07-06 17:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413681 -3.504249)'), GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.504354)'))) / (select extract(epoch from '2026-07-06 17:22:07'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.413772 -3.504457)', '2026-07-06 17:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.504354)'), GeomFromEWKT('SRID=4674;POINT (-38.413772 -3.504457)'))) / (select extract(epoch from '2026-07-06 17:22:13'::timestamp) - extract(epoch from '2026-07-06 17:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.504354)'), GeomFromEWKT('SRID=4674;POINT (-38.413772 -3.504457)'))) / (select extract(epoch from '2026-07-06 17:22:13'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.413824 -3.504564)', '2026-07-06 17:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413772 -3.504457)'), GeomFromEWKT('SRID=4674;POINT (-38.413824 -3.504564)'))) / (select extract(epoch from '2026-07-06 17:22:19'::timestamp) - extract(epoch from '2026-07-06 17:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413772 -3.504457)'), GeomFromEWKT('SRID=4674;POINT (-38.413824 -3.504564)'))) / (select extract(epoch from '2026-07-06 17:22:19'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.41385 -3.50465)', '2026-07-06 17:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413824 -3.504564)'), GeomFromEWKT('SRID=4674;POINT (-38.41385 -3.50465)'))) / (select extract(epoch from '2026-07-06 17:22:24'::timestamp) - extract(epoch from '2026-07-06 17:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413824 -3.504564)'), GeomFromEWKT('SRID=4674;POINT (-38.41385 -3.50465)'))) / (select extract(epoch from '2026-07-06 17:22:24'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.413884 -3.504777)', '2026-07-06 17:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41385 -3.50465)'), GeomFromEWKT('SRID=4674;POINT (-38.413884 -3.504777)'))) / (select extract(epoch from '2026-07-06 17:22:31'::timestamp) - extract(epoch from '2026-07-06 17:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41385 -3.50465)'), GeomFromEWKT('SRID=4674;POINT (-38.413884 -3.504777)'))) / (select extract(epoch from '2026-07-06 17:22:31'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.413914 -3.504876)', '2026-07-06 17:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413884 -3.504777)'), GeomFromEWKT('SRID=4674;POINT (-38.413914 -3.504876)'))) / (select extract(epoch from '2026-07-06 17:22:37'::timestamp) - extract(epoch from '2026-07-06 17:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413884 -3.504777)'), GeomFromEWKT('SRID=4674;POINT (-38.413914 -3.504876)'))) / (select extract(epoch from '2026-07-06 17:22:37'::timestamp) - extract(epoch from '2026-07-06 17:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413931 -3.504923)', '2026-07-06 17:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413914 -3.504876)'), GeomFromEWKT('SRID=4674;POINT (-38.413931 -3.504923)'))) / (select extract(epoch from '2026-07-06 17:22:40'::timestamp) - extract(epoch from '2026-07-06 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413914 -3.504876)'), GeomFromEWKT('SRID=4674;POINT (-38.413931 -3.504923)'))) / (select extract(epoch from '2026-07-06 17:22:40'::timestamp) - extract(epoch from '2026-07-06 17:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.413958 -3.504951)', '2026-07-06 17:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413931 -3.504923)'), GeomFromEWKT('SRID=4674;POINT (-38.413958 -3.504951)'))) / (select extract(epoch from '2026-07-06 17:22:42'::timestamp) - extract(epoch from '2026-07-06 17:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413931 -3.504923)'), GeomFromEWKT('SRID=4674;POINT (-38.413958 -3.504951)'))) / (select extract(epoch from '2026-07-06 17:22:42'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.414015 -3.505074)', '2026-07-06 17:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413958 -3.504951)'), GeomFromEWKT('SRID=4674;POINT (-38.414015 -3.505074)'))) / (select extract(epoch from '2026-07-06 17:22:49'::timestamp) - extract(epoch from '2026-07-06 17:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413958 -3.504951)'), GeomFromEWKT('SRID=4674;POINT (-38.414015 -3.505074)'))) / (select extract(epoch from '2026-07-06 17:22:49'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.414048 -3.505173)', '2026-07-06 17:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414015 -3.505074)'), GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.505173)'))) / (select extract(epoch from '2026-07-06 17:22:55'::timestamp) - extract(epoch from '2026-07-06 17:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414015 -3.505074)'), GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.505173)'))) / (select extract(epoch from '2026-07-06 17:22:55'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.414061 -3.50528)', '2026-07-06 17:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.505173)'), GeomFromEWKT('SRID=4674;POINT (-38.414061 -3.50528)'))) / (select extract(epoch from '2026-07-06 17:23:01'::timestamp) - extract(epoch from '2026-07-06 17:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414048 -3.505173)'), GeomFromEWKT('SRID=4674;POINT (-38.414061 -3.50528)'))) / (select extract(epoch from '2026-07-06 17:23:01'::timestamp) - extract(epoch from '2026-07-06 17:22: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'), 47390, 'SRID=4674;POINT (-38.414085 -3.505386)', '2026-07-06 17:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414061 -3.50528)'), GeomFromEWKT('SRID=4674;POINT (-38.414085 -3.505386)'))) / (select extract(epoch from '2026-07-06 17:23:07'::timestamp) - extract(epoch from '2026-07-06 17:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414061 -3.50528)'), GeomFromEWKT('SRID=4674;POINT (-38.414085 -3.505386)'))) / (select extract(epoch from '2026-07-06 17:23:07'::timestamp) - extract(epoch from '2026-07-06 17:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414139 -3.505478)', '2026-07-06 17:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414085 -3.505386)'), GeomFromEWKT('SRID=4674;POINT (-38.414139 -3.505478)'))) / (select extract(epoch from '2026-07-06 17:23:12'::timestamp) - extract(epoch from '2026-07-06 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414085 -3.505386)'), GeomFromEWKT('SRID=4674;POINT (-38.414139 -3.505478)'))) / (select extract(epoch from '2026-07-06 17:23:12'::timestamp) - extract(epoch from '2026-07-06 17:23: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'), 47390, 'SRID=4674;POINT (-38.414195 -3.505617)', '2026-07-06 17:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414139 -3.505478)'), GeomFromEWKT('SRID=4674;POINT (-38.414195 -3.505617)'))) / (select extract(epoch from '2026-07-06 17:23:20'::timestamp) - extract(epoch from '2026-07-06 17:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414139 -3.505478)'), GeomFromEWKT('SRID=4674;POINT (-38.414195 -3.505617)'))) / (select extract(epoch from '2026-07-06 17:23:20'::timestamp) - extract(epoch from '2026-07-06 17:23: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'), 47390, 'SRID=4674;POINT (-38.414225 -3.505738)', '2026-07-06 17:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414195 -3.505617)'), GeomFromEWKT('SRID=4674;POINT (-38.414225 -3.505738)'))) / (select extract(epoch from '2026-07-06 17:23:27'::timestamp) - extract(epoch from '2026-07-06 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414195 -3.505617)'), GeomFromEWKT('SRID=4674;POINT (-38.414225 -3.505738)'))) / (select extract(epoch from '2026-07-06 17:23:27'::timestamp) - extract(epoch from '2026-07-06 17:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414256 -3.505896)', '2026-07-06 17:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414225 -3.505738)'), GeomFromEWKT('SRID=4674;POINT (-38.414256 -3.505896)'))) / (select extract(epoch from '2026-07-06 17:23:35'::timestamp) - extract(epoch from '2026-07-06 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414225 -3.505738)'), GeomFromEWKT('SRID=4674;POINT (-38.414256 -3.505896)'))) / (select extract(epoch from '2026-07-06 17:23:35'::timestamp) - extract(epoch from '2026-07-06 17:23: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'), 47390, 'SRID=4674;POINT (-38.414316 -3.506029)', '2026-07-06 17:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414256 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.414316 -3.506029)'))) / (select extract(epoch from '2026-07-06 17:23:42'::timestamp) - extract(epoch from '2026-07-06 17:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414256 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.414316 -3.506029)'))) / (select extract(epoch from '2026-07-06 17:23:42'::timestamp) - extract(epoch from '2026-07-06 17:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414382 -3.506173)', '2026-07-06 17:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414316 -3.506029)'), GeomFromEWKT('SRID=4674;POINT (-38.414382 -3.506173)'))) / (select extract(epoch from '2026-07-06 17:23:50'::timestamp) - extract(epoch from '2026-07-06 17:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414316 -3.506029)'), GeomFromEWKT('SRID=4674;POINT (-38.414382 -3.506173)'))) / (select extract(epoch from '2026-07-06 17:23:50'::timestamp) - extract(epoch from '2026-07-06 17:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4144 -3.506283)', '2026-07-06 17:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414382 -3.506173)'), GeomFromEWKT('SRID=4674;POINT (-38.4144 -3.506283)'))) / (select extract(epoch from '2026-07-06 17:23:56'::timestamp) - extract(epoch from '2026-07-06 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414382 -3.506173)'), GeomFromEWKT('SRID=4674;POINT (-38.4144 -3.506283)'))) / (select extract(epoch from '2026-07-06 17:23:56'::timestamp) - extract(epoch from '2026-07-06 17:23: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'), 47390, 'SRID=4674;POINT (-38.414431 -3.506404)', '2026-07-06 17:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4144 -3.506283)'), GeomFromEWKT('SRID=4674;POINT (-38.414431 -3.506404)'))) / (select extract(epoch from '2026-07-06 17:24:02'::timestamp) - extract(epoch from '2026-07-06 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4144 -3.506283)'), GeomFromEWKT('SRID=4674;POINT (-38.414431 -3.506404)'))) / (select extract(epoch from '2026-07-06 17:24:02'::timestamp) - extract(epoch from '2026-07-06 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414486 -3.506556)', '2026-07-06 17:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414431 -3.506404)'), GeomFromEWKT('SRID=4674;POINT (-38.414486 -3.506556)'))) / (select extract(epoch from '2026-07-06 17:24:10'::timestamp) - extract(epoch from '2026-07-06 17:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414431 -3.506404)'), GeomFromEWKT('SRID=4674;POINT (-38.414486 -3.506556)'))) / (select extract(epoch from '2026-07-06 17:24:10'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414531 -3.506667)', '2026-07-06 17:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414486 -3.506556)'), GeomFromEWKT('SRID=4674;POINT (-38.414531 -3.506667)'))) / (select extract(epoch from '2026-07-06 17:24:16'::timestamp) - extract(epoch from '2026-07-06 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414486 -3.506556)'), GeomFromEWKT('SRID=4674;POINT (-38.414531 -3.506667)'))) / (select extract(epoch from '2026-07-06 17:24:16'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414538 -3.506686)', '2026-07-06 17:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414531 -3.506667)'), GeomFromEWKT('SRID=4674;POINT (-38.414538 -3.506686)'))) / (select extract(epoch from '2026-07-06 17:24:17'::timestamp) - extract(epoch from '2026-07-06 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414531 -3.506667)'), GeomFromEWKT('SRID=4674;POINT (-38.414538 -3.506686)'))) / (select extract(epoch from '2026-07-06 17:24:17'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414549 -3.50676)', '2026-07-06 17:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414538 -3.506686)'), GeomFromEWKT('SRID=4674;POINT (-38.414549 -3.50676)'))) / (select extract(epoch from '2026-07-06 17:24:21'::timestamp) - extract(epoch from '2026-07-06 17:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414538 -3.506686)'), GeomFromEWKT('SRID=4674;POINT (-38.414549 -3.50676)'))) / (select extract(epoch from '2026-07-06 17:24:21'::timestamp) - extract(epoch from '2026-07-06 17:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414579 -3.506881)', '2026-07-06 17:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414549 -3.50676)'), GeomFromEWKT('SRID=4674;POINT (-38.414579 -3.506881)'))) / (select extract(epoch from '2026-07-06 17:24:28'::timestamp) - extract(epoch from '2026-07-06 17:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414549 -3.50676)'), GeomFromEWKT('SRID=4674;POINT (-38.414579 -3.506881)'))) / (select extract(epoch from '2026-07-06 17:24:28'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414633 -3.50701)', '2026-07-06 17:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414579 -3.506881)'), GeomFromEWKT('SRID=4674;POINT (-38.414633 -3.50701)'))) / (select extract(epoch from '2026-07-06 17:24:35'::timestamp) - extract(epoch from '2026-07-06 17:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414579 -3.506881)'), GeomFromEWKT('SRID=4674;POINT (-38.414633 -3.50701)'))) / (select extract(epoch from '2026-07-06 17:24:35'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414674 -3.507095)', '2026-07-06 17:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414633 -3.50701)'), GeomFromEWKT('SRID=4674;POINT (-38.414674 -3.507095)'))) / (select extract(epoch from '2026-07-06 17:24:40'::timestamp) - extract(epoch from '2026-07-06 17:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414633 -3.50701)'), GeomFromEWKT('SRID=4674;POINT (-38.414674 -3.507095)'))) / (select extract(epoch from '2026-07-06 17:24:40'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414709 -3.507226)', '2026-07-06 17:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414674 -3.507095)'), GeomFromEWKT('SRID=4674;POINT (-38.414709 -3.507226)'))) / (select extract(epoch from '2026-07-06 17:24:47'::timestamp) - extract(epoch from '2026-07-06 17:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414674 -3.507095)'), GeomFromEWKT('SRID=4674;POINT (-38.414709 -3.507226)'))) / (select extract(epoch from '2026-07-06 17:24:47'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414725 -3.507384)', '2026-07-06 17:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414709 -3.507226)'), GeomFromEWKT('SRID=4674;POINT (-38.414725 -3.507384)'))) / (select extract(epoch from '2026-07-06 17:24:55'::timestamp) - extract(epoch from '2026-07-06 17:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414709 -3.507226)'), GeomFromEWKT('SRID=4674;POINT (-38.414725 -3.507384)'))) / (select extract(epoch from '2026-07-06 17:24:55'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414791 -3.507502)', '2026-07-06 17:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414725 -3.507384)'), GeomFromEWKT('SRID=4674;POINT (-38.414791 -3.507502)'))) / (select extract(epoch from '2026-07-06 17:25:01'::timestamp) - extract(epoch from '2026-07-06 17:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414725 -3.507384)'), GeomFromEWKT('SRID=4674;POINT (-38.414791 -3.507502)'))) / (select extract(epoch from '2026-07-06 17:25:01'::timestamp) - extract(epoch from '2026-07-06 17:24: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'), 47390, 'SRID=4674;POINT (-38.414848 -3.507636)', '2026-07-06 17:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414791 -3.507502)'), GeomFromEWKT('SRID=4674;POINT (-38.414848 -3.507636)'))) / (select extract(epoch from '2026-07-06 17:25:08'::timestamp) - extract(epoch from '2026-07-06 17:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414791 -3.507502)'), GeomFromEWKT('SRID=4674;POINT (-38.414848 -3.507636)'))) / (select extract(epoch from '2026-07-06 17:25:08'::timestamp) - extract(epoch from '2026-07-06 17:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.414878 -3.507745)', '2026-07-06 17:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414848 -3.507636)'), GeomFromEWKT('SRID=4674;POINT (-38.414878 -3.507745)'))) / (select extract(epoch from '2026-07-06 17:25:14'::timestamp) - extract(epoch from '2026-07-06 17:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414848 -3.507636)'), GeomFromEWKT('SRID=4674;POINT (-38.414878 -3.507745)'))) / (select extract(epoch from '2026-07-06 17:25:14'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.414936 -3.507859)', '2026-07-06 17:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414878 -3.507745)'), GeomFromEWKT('SRID=4674;POINT (-38.414936 -3.507859)'))) / (select extract(epoch from '2026-07-06 17:25:20'::timestamp) - extract(epoch from '2026-07-06 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414878 -3.507745)'), GeomFromEWKT('SRID=4674;POINT (-38.414936 -3.507859)'))) / (select extract(epoch from '2026-07-06 17:25:20'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.414955 -3.50789)', '2026-07-06 17:25:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414936 -3.507859)'), GeomFromEWKT('SRID=4674;POINT (-38.414955 -3.50789)'))) / (select extract(epoch from '2026-07-06 17:25:22'::timestamp) - extract(epoch from '2026-07-06 17:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414936 -3.507859)'), GeomFromEWKT('SRID=4674;POINT (-38.414955 -3.50789)'))) / (select extract(epoch from '2026-07-06 17:25:22'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.414973 -3.50794)', '2026-07-06 17:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414955 -3.50789)'), GeomFromEWKT('SRID=4674;POINT (-38.414973 -3.50794)'))) / (select extract(epoch from '2026-07-06 17:25:25'::timestamp) - extract(epoch from '2026-07-06 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414955 -3.50789)'), GeomFromEWKT('SRID=4674;POINT (-38.414973 -3.50794)'))) / (select extract(epoch from '2026-07-06 17:25:25'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415027 -3.508047)', '2026-07-06 17:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414973 -3.50794)'), GeomFromEWKT('SRID=4674;POINT (-38.415027 -3.508047)'))) / (select extract(epoch from '2026-07-06 17:25:31'::timestamp) - extract(epoch from '2026-07-06 17:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414973 -3.50794)'), GeomFromEWKT('SRID=4674;POINT (-38.415027 -3.508047)'))) / (select extract(epoch from '2026-07-06 17:25:31'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415065 -3.508146)', '2026-07-06 17:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415027 -3.508047)'), GeomFromEWKT('SRID=4674;POINT (-38.415065 -3.508146)'))) / (select extract(epoch from '2026-07-06 17:25:37'::timestamp) - extract(epoch from '2026-07-06 17:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415027 -3.508047)'), GeomFromEWKT('SRID=4674;POINT (-38.415065 -3.508146)'))) / (select extract(epoch from '2026-07-06 17:25:37'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415109 -3.508271)', '2026-07-06 17:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415065 -3.508146)'), GeomFromEWKT('SRID=4674;POINT (-38.415109 -3.508271)'))) / (select extract(epoch from '2026-07-06 17:25:44'::timestamp) - extract(epoch from '2026-07-06 17:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415065 -3.508146)'), GeomFromEWKT('SRID=4674;POINT (-38.415109 -3.508271)'))) / (select extract(epoch from '2026-07-06 17:25:44'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415164 -3.508376)', '2026-07-06 17:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415109 -3.508271)'), GeomFromEWKT('SRID=4674;POINT (-38.415164 -3.508376)'))) / (select extract(epoch from '2026-07-06 17:25:50'::timestamp) - extract(epoch from '2026-07-06 17:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415109 -3.508271)'), GeomFromEWKT('SRID=4674;POINT (-38.415164 -3.508376)'))) / (select extract(epoch from '2026-07-06 17:25:50'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415214 -3.508494)', '2026-07-06 17:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415164 -3.508376)'), GeomFromEWKT('SRID=4674;POINT (-38.415214 -3.508494)'))) / (select extract(epoch from '2026-07-06 17:25:57'::timestamp) - extract(epoch from '2026-07-06 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415164 -3.508376)'), GeomFromEWKT('SRID=4674;POINT (-38.415214 -3.508494)'))) / (select extract(epoch from '2026-07-06 17:25:57'::timestamp) - extract(epoch from '2026-07-06 17:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415228 -3.50853)', '2026-07-06 17:25:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415214 -3.508494)'), GeomFromEWKT('SRID=4674;POINT (-38.415228 -3.50853)'))) / (select extract(epoch from '2026-07-06 17:25:59'::timestamp) - extract(epoch from '2026-07-06 17:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415214 -3.508494)'), GeomFromEWKT('SRID=4674;POINT (-38.415228 -3.50853)'))) / (select extract(epoch from '2026-07-06 17:25:59'::timestamp) - extract(epoch from '2026-07-06 17:25: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'), 47390, 'SRID=4674;POINT (-38.415239 -3.50856)', '2026-07-06 17:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415228 -3.50853)'), GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.50856)'))) / (select extract(epoch from '2026-07-06 17:26:01'::timestamp) - extract(epoch from '2026-07-06 17:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415228 -3.50853)'), GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.50856)'))) / (select extract(epoch from '2026-07-06 17:26:01'::timestamp) - extract(epoch from '2026-07-06 17:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415274 -3.50864)', '2026-07-06 17:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.50856)'), GeomFromEWKT('SRID=4674;POINT (-38.415274 -3.50864)'))) / (select extract(epoch from '2026-07-06 17:26:06'::timestamp) - extract(epoch from '2026-07-06 17:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415239 -3.50856)'), GeomFromEWKT('SRID=4674;POINT (-38.415274 -3.50864)'))) / (select extract(epoch from '2026-07-06 17:26:06'::timestamp) - extract(epoch from '2026-07-06 17:26: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'), 47390, 'SRID=4674;POINT (-38.415329 -3.508733)', '2026-07-06 17:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415274 -3.50864)'), GeomFromEWKT('SRID=4674;POINT (-38.415329 -3.508733)'))) / (select extract(epoch from '2026-07-06 17:26:12'::timestamp) - extract(epoch from '2026-07-06 17:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415274 -3.50864)'), GeomFromEWKT('SRID=4674;POINT (-38.415329 -3.508733)'))) / (select extract(epoch from '2026-07-06 17:26:12'::timestamp) - extract(epoch from '2026-07-06 17:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415394 -3.508842)', '2026-07-06 17:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415329 -3.508733)'), GeomFromEWKT('SRID=4674;POINT (-38.415394 -3.508842)'))) / (select extract(epoch from '2026-07-06 17:26:19'::timestamp) - extract(epoch from '2026-07-06 17:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415329 -3.508733)'), GeomFromEWKT('SRID=4674;POINT (-38.415394 -3.508842)'))) / (select extract(epoch from '2026-07-06 17:26:19'::timestamp) - extract(epoch from '2026-07-06 17:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415441 -3.508995)', '2026-07-06 17:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415394 -3.508842)'), GeomFromEWKT('SRID=4674;POINT (-38.415441 -3.508995)'))) / (select extract(epoch from '2026-07-06 17:26:28'::timestamp) - extract(epoch from '2026-07-06 17:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415394 -3.508842)'), GeomFromEWKT('SRID=4674;POINT (-38.415441 -3.508995)'))) / (select extract(epoch from '2026-07-06 17:26:28'::timestamp) - extract(epoch from '2026-07-06 17:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415487 -3.509132)', '2026-07-06 17:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415441 -3.508995)'), GeomFromEWKT('SRID=4674;POINT (-38.415487 -3.509132)'))) / (select extract(epoch from '2026-07-06 17:26:36'::timestamp) - extract(epoch from '2026-07-06 17:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415441 -3.508995)'), GeomFromEWKT('SRID=4674;POINT (-38.415487 -3.509132)'))) / (select extract(epoch from '2026-07-06 17:26:36'::timestamp) - extract(epoch from '2026-07-06 17:26: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'), 47390, 'SRID=4674;POINT (-38.415544 -3.509253)', '2026-07-06 17:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415487 -3.509132)'), GeomFromEWKT('SRID=4674;POINT (-38.415544 -3.509253)'))) / (select extract(epoch from '2026-07-06 17:26:43'::timestamp) - extract(epoch from '2026-07-06 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415487 -3.509132)'), GeomFromEWKT('SRID=4674;POINT (-38.415544 -3.509253)'))) / (select extract(epoch from '2026-07-06 17:26:43'::timestamp) - extract(epoch from '2026-07-06 17:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415593 -3.509376)', '2026-07-06 17:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415544 -3.509253)'), GeomFromEWKT('SRID=4674;POINT (-38.415593 -3.509376)'))) / (select extract(epoch from '2026-07-06 17:26:50'::timestamp) - extract(epoch from '2026-07-06 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415544 -3.509253)'), GeomFromEWKT('SRID=4674;POINT (-38.415593 -3.509376)'))) / (select extract(epoch from '2026-07-06 17:26:50'::timestamp) - extract(epoch from '2026-07-06 17:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415625 -3.50946)', '2026-07-06 17:26:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415593 -3.509376)'), GeomFromEWKT('SRID=4674;POINT (-38.415625 -3.50946)'))) / (select extract(epoch from '2026-07-06 17:26:55'::timestamp) - extract(epoch from '2026-07-06 17:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415593 -3.509376)'), GeomFromEWKT('SRID=4674;POINT (-38.415625 -3.50946)'))) / (select extract(epoch from '2026-07-06 17:26:55'::timestamp) - extract(epoch from '2026-07-06 17:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415674 -3.50955)', '2026-07-06 17:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415625 -3.50946)'), GeomFromEWKT('SRID=4674;POINT (-38.415674 -3.50955)'))) / (select extract(epoch from '2026-07-06 17:27:00'::timestamp) - extract(epoch from '2026-07-06 17:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415625 -3.50946)'), GeomFromEWKT('SRID=4674;POINT (-38.415674 -3.50955)'))) / (select extract(epoch from '2026-07-06 17:27:00'::timestamp) - extract(epoch from '2026-07-06 17:26: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'), 47390, 'SRID=4674;POINT (-38.415746 -3.509623)', '2026-07-06 17:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415674 -3.50955)'), GeomFromEWKT('SRID=4674;POINT (-38.415746 -3.509623)'))) / (select extract(epoch from '2026-07-06 17:27:05'::timestamp) - extract(epoch from '2026-07-06 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415674 -3.50955)'), GeomFromEWKT('SRID=4674;POINT (-38.415746 -3.509623)'))) / (select extract(epoch from '2026-07-06 17:27:05'::timestamp) - extract(epoch from '2026-07-06 17:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415806 -3.509728)', '2026-07-06 17:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415746 -3.509623)'), GeomFromEWKT('SRID=4674;POINT (-38.415806 -3.509728)'))) / (select extract(epoch from '2026-07-06 17:27:11'::timestamp) - extract(epoch from '2026-07-06 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415746 -3.509623)'), GeomFromEWKT('SRID=4674;POINT (-38.415806 -3.509728)'))) / (select extract(epoch from '2026-07-06 17:27:11'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.415841 -3.509836)', '2026-07-06 17:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415806 -3.509728)'), GeomFromEWKT('SRID=4674;POINT (-38.415841 -3.509836)'))) / (select extract(epoch from '2026-07-06 17:27:17'::timestamp) - extract(epoch from '2026-07-06 17:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415806 -3.509728)'), GeomFromEWKT('SRID=4674;POINT (-38.415841 -3.509836)'))) / (select extract(epoch from '2026-07-06 17:27:17'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.415878 -3.509969)', '2026-07-06 17:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415841 -3.509836)'), GeomFromEWKT('SRID=4674;POINT (-38.415878 -3.509969)'))) / (select extract(epoch from '2026-07-06 17:27:24'::timestamp) - extract(epoch from '2026-07-06 17:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415841 -3.509836)'), GeomFromEWKT('SRID=4674;POINT (-38.415878 -3.509969)'))) / (select extract(epoch from '2026-07-06 17:27:24'::timestamp) - extract(epoch from '2026-07-06 17:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.415932 -3.51013)', '2026-07-06 17:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415878 -3.509969)'), GeomFromEWKT('SRID=4674;POINT (-38.415932 -3.51013)'))) / (select extract(epoch from '2026-07-06 17:27:32'::timestamp) - extract(epoch from '2026-07-06 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415878 -3.509969)'), GeomFromEWKT('SRID=4674;POINT (-38.415932 -3.51013)'))) / (select extract(epoch from '2026-07-06 17:27:32'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.415995 -3.510245)', '2026-07-06 17:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415932 -3.51013)'), GeomFromEWKT('SRID=4674;POINT (-38.415995 -3.510245)'))) / (select extract(epoch from '2026-07-06 17:27:38'::timestamp) - extract(epoch from '2026-07-06 17:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415932 -3.51013)'), GeomFromEWKT('SRID=4674;POINT (-38.415995 -3.510245)'))) / (select extract(epoch from '2026-07-06 17:27:38'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.416044 -3.510361)', '2026-07-06 17:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415995 -3.510245)'), GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.510361)'))) / (select extract(epoch from '2026-07-06 17:27:44'::timestamp) - extract(epoch from '2026-07-06 17:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415995 -3.510245)'), GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.510361)'))) / (select extract(epoch from '2026-07-06 17:27:44'::timestamp) - extract(epoch from '2026-07-06 17:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416081 -3.51052)', '2026-07-06 17:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.510361)'), GeomFromEWKT('SRID=4674;POINT (-38.416081 -3.51052)'))) / (select extract(epoch from '2026-07-06 17:27:52'::timestamp) - extract(epoch from '2026-07-06 17:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.510361)'), GeomFromEWKT('SRID=4674;POINT (-38.416081 -3.51052)'))) / (select extract(epoch from '2026-07-06 17:27:52'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.416128 -3.510649)', '2026-07-06 17:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416081 -3.51052)'), GeomFromEWKT('SRID=4674;POINT (-38.416128 -3.510649)'))) / (select extract(epoch from '2026-07-06 17:27:59'::timestamp) - extract(epoch from '2026-07-06 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416081 -3.51052)'), GeomFromEWKT('SRID=4674;POINT (-38.416128 -3.510649)'))) / (select extract(epoch from '2026-07-06 17:27:59'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.416186 -3.510814)', '2026-07-06 17:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416128 -3.510649)'), GeomFromEWKT('SRID=4674;POINT (-38.416186 -3.510814)'))) / (select extract(epoch from '2026-07-06 17:28:08'::timestamp) - extract(epoch from '2026-07-06 17:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416128 -3.510649)'), GeomFromEWKT('SRID=4674;POINT (-38.416186 -3.510814)'))) / (select extract(epoch from '2026-07-06 17:28:08'::timestamp) - extract(epoch from '2026-07-06 17:27: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'), 47390, 'SRID=4674;POINT (-38.416217 -3.510939)', '2026-07-06 17:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416186 -3.510814)'), GeomFromEWKT('SRID=4674;POINT (-38.416217 -3.510939)'))) / (select extract(epoch from '2026-07-06 17:28:14'::timestamp) - extract(epoch from '2026-07-06 17:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416186 -3.510814)'), GeomFromEWKT('SRID=4674;POINT (-38.416217 -3.510939)'))) / (select extract(epoch from '2026-07-06 17:28:14'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416267 -3.511025)', '2026-07-06 17:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416217 -3.510939)'), GeomFromEWKT('SRID=4674;POINT (-38.416267 -3.511025)'))) / (select extract(epoch from '2026-07-06 17:28:19'::timestamp) - extract(epoch from '2026-07-06 17:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416217 -3.510939)'), GeomFromEWKT('SRID=4674;POINT (-38.416267 -3.511025)'))) / (select extract(epoch from '2026-07-06 17:28:19'::timestamp) - extract(epoch from '2026-07-06 17:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416301 -3.511133)', '2026-07-06 17:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416267 -3.511025)'), GeomFromEWKT('SRID=4674;POINT (-38.416301 -3.511133)'))) / (select extract(epoch from '2026-07-06 17:28:25'::timestamp) - extract(epoch from '2026-07-06 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416267 -3.511025)'), GeomFromEWKT('SRID=4674;POINT (-38.416301 -3.511133)'))) / (select extract(epoch from '2026-07-06 17:28:25'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416303 -3.511182)', '2026-07-06 17:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416301 -3.511133)'), GeomFromEWKT('SRID=4674;POINT (-38.416303 -3.511182)'))) / (select extract(epoch from '2026-07-06 17:28:28'::timestamp) - extract(epoch from '2026-07-06 17:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416301 -3.511133)'), GeomFromEWKT('SRID=4674;POINT (-38.416303 -3.511182)'))) / (select extract(epoch from '2026-07-06 17:28:28'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416306 -3.511216)', '2026-07-06 17:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416303 -3.511182)'), GeomFromEWKT('SRID=4674;POINT (-38.416306 -3.511216)'))) / (select extract(epoch from '2026-07-06 17:28:30'::timestamp) - extract(epoch from '2026-07-06 17:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416303 -3.511182)'), GeomFromEWKT('SRID=4674;POINT (-38.416306 -3.511216)'))) / (select extract(epoch from '2026-07-06 17:28:30'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416312 -3.511313)', '2026-07-06 17:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416306 -3.511216)'), GeomFromEWKT('SRID=4674;POINT (-38.416312 -3.511313)'))) / (select extract(epoch from '2026-07-06 17:28:35'::timestamp) - extract(epoch from '2026-07-06 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416306 -3.511216)'), GeomFromEWKT('SRID=4674;POINT (-38.416312 -3.511313)'))) / (select extract(epoch from '2026-07-06 17:28:35'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416346 -3.51143)', '2026-07-06 17:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416312 -3.511313)'), GeomFromEWKT('SRID=4674;POINT (-38.416346 -3.51143)'))) / (select extract(epoch from '2026-07-06 17:28:41'::timestamp) - extract(epoch from '2026-07-06 17:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416312 -3.511313)'), GeomFromEWKT('SRID=4674;POINT (-38.416346 -3.51143)'))) / (select extract(epoch from '2026-07-06 17:28:41'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416373 -3.511548)', '2026-07-06 17:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416346 -3.51143)'), GeomFromEWKT('SRID=4674;POINT (-38.416373 -3.511548)'))) / (select extract(epoch from '2026-07-06 17:28:47'::timestamp) - extract(epoch from '2026-07-06 17:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416346 -3.51143)'), GeomFromEWKT('SRID=4674;POINT (-38.416373 -3.511548)'))) / (select extract(epoch from '2026-07-06 17:28:47'::timestamp) - extract(epoch from '2026-07-06 17:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416397 -3.511662)', '2026-07-06 17:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416373 -3.511548)'), GeomFromEWKT('SRID=4674;POINT (-38.416397 -3.511662)'))) / (select extract(epoch from '2026-07-06 17:28:53'::timestamp) - extract(epoch from '2026-07-06 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416373 -3.511548)'), GeomFromEWKT('SRID=4674;POINT (-38.416397 -3.511662)'))) / (select extract(epoch from '2026-07-06 17:28:53'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416449 -3.511775)', '2026-07-06 17:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416397 -3.511662)'), GeomFromEWKT('SRID=4674;POINT (-38.416449 -3.511775)'))) / (select extract(epoch from '2026-07-06 17:28:59'::timestamp) - extract(epoch from '2026-07-06 17:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416397 -3.511662)'), GeomFromEWKT('SRID=4674;POINT (-38.416449 -3.511775)'))) / (select extract(epoch from '2026-07-06 17:28:59'::timestamp) - extract(epoch from '2026-07-06 17:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416512 -3.511937)', '2026-07-06 17:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416449 -3.511775)'), GeomFromEWKT('SRID=4674;POINT (-38.416512 -3.511937)'))) / (select extract(epoch from '2026-07-06 17:29:08'::timestamp) - extract(epoch from '2026-07-06 17:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416449 -3.511775)'), GeomFromEWKT('SRID=4674;POINT (-38.416512 -3.511937)'))) / (select extract(epoch from '2026-07-06 17:29:08'::timestamp) - extract(epoch from '2026-07-06 17:28: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'), 47390, 'SRID=4674;POINT (-38.416554 -3.512041)', '2026-07-06 17:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416512 -3.511937)'), GeomFromEWKT('SRID=4674;POINT (-38.416554 -3.512041)'))) / (select extract(epoch from '2026-07-06 17:29:14'::timestamp) - extract(epoch from '2026-07-06 17:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416512 -3.511937)'), GeomFromEWKT('SRID=4674;POINT (-38.416554 -3.512041)'))) / (select extract(epoch from '2026-07-06 17:29:14'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416595 -3.512134)', '2026-07-06 17:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416554 -3.512041)'), GeomFromEWKT('SRID=4674;POINT (-38.416595 -3.512134)'))) / (select extract(epoch from '2026-07-06 17:29:19'::timestamp) - extract(epoch from '2026-07-06 17:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416554 -3.512041)'), GeomFromEWKT('SRID=4674;POINT (-38.416595 -3.512134)'))) / (select extract(epoch from '2026-07-06 17:29:19'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416637 -3.512222)', '2026-07-06 17:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416595 -3.512134)'), GeomFromEWKT('SRID=4674;POINT (-38.416637 -3.512222)'))) / (select extract(epoch from '2026-07-06 17:29:24'::timestamp) - extract(epoch from '2026-07-06 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416595 -3.512134)'), GeomFromEWKT('SRID=4674;POINT (-38.416637 -3.512222)'))) / (select extract(epoch from '2026-07-06 17:29:24'::timestamp) - extract(epoch from '2026-07-06 17:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416706 -3.512348)', '2026-07-06 17:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416637 -3.512222)'), GeomFromEWKT('SRID=4674;POINT (-38.416706 -3.512348)'))) / (select extract(epoch from '2026-07-06 17:29:31'::timestamp) - extract(epoch from '2026-07-06 17:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416637 -3.512222)'), GeomFromEWKT('SRID=4674;POINT (-38.416706 -3.512348)'))) / (select extract(epoch from '2026-07-06 17:29:31'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416757 -3.512438)', '2026-07-06 17:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416706 -3.512348)'), GeomFromEWKT('SRID=4674;POINT (-38.416757 -3.512438)'))) / (select extract(epoch from '2026-07-06 17:29:36'::timestamp) - extract(epoch from '2026-07-06 17:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416706 -3.512348)'), GeomFromEWKT('SRID=4674;POINT (-38.416757 -3.512438)'))) / (select extract(epoch from '2026-07-06 17:29:36'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416806 -3.512528)', '2026-07-06 17:29:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416757 -3.512438)'), GeomFromEWKT('SRID=4674;POINT (-38.416806 -3.512528)'))) / (select extract(epoch from '2026-07-06 17:29:41'::timestamp) - extract(epoch from '2026-07-06 17:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416757 -3.512438)'), GeomFromEWKT('SRID=4674;POINT (-38.416806 -3.512528)'))) / (select extract(epoch from '2026-07-06 17:29:41'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416864 -3.512665)', '2026-07-06 17:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416806 -3.512528)'), GeomFromEWKT('SRID=4674;POINT (-38.416864 -3.512665)'))) / (select extract(epoch from '2026-07-06 17:29:48'::timestamp) - extract(epoch from '2026-07-06 17:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416806 -3.512528)'), GeomFromEWKT('SRID=4674;POINT (-38.416864 -3.512665)'))) / (select extract(epoch from '2026-07-06 17:29:48'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.4169 -3.512779)', '2026-07-06 17:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416864 -3.512665)'), GeomFromEWKT('SRID=4674;POINT (-38.4169 -3.512779)'))) / (select extract(epoch from '2026-07-06 17:29:54'::timestamp) - extract(epoch from '2026-07-06 17:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416864 -3.512665)'), GeomFromEWKT('SRID=4674;POINT (-38.4169 -3.512779)'))) / (select extract(epoch from '2026-07-06 17:29:54'::timestamp) - extract(epoch from '2026-07-06 17:29: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'), 47390, 'SRID=4674;POINT (-38.416941 -3.512921)', '2026-07-06 17:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4169 -3.512779)'), GeomFromEWKT('SRID=4674;POINT (-38.416941 -3.512921)'))) / (select extract(epoch from '2026-07-06 17:30:01'::timestamp) - extract(epoch from '2026-07-06 17:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4169 -3.512779)'), GeomFromEWKT('SRID=4674;POINT (-38.416941 -3.512921)'))) / (select extract(epoch from '2026-07-06 17:30:01'::timestamp) - extract(epoch from '2026-07-06 17:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.416997 -3.513031)', '2026-07-06 17:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416941 -3.512921)'), GeomFromEWKT('SRID=4674;POINT (-38.416997 -3.513031)'))) / (select extract(epoch from '2026-07-06 17:30:07'::timestamp) - extract(epoch from '2026-07-06 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416941 -3.512921)'), GeomFromEWKT('SRID=4674;POINT (-38.416997 -3.513031)'))) / (select extract(epoch from '2026-07-06 17:30:07'::timestamp) - extract(epoch from '2026-07-06 17:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417062 -3.513144)', '2026-07-06 17:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416997 -3.513031)'), GeomFromEWKT('SRID=4674;POINT (-38.417062 -3.513144)'))) / (select extract(epoch from '2026-07-06 17:30:13'::timestamp) - extract(epoch from '2026-07-06 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416997 -3.513031)'), GeomFromEWKT('SRID=4674;POINT (-38.417062 -3.513144)'))) / (select extract(epoch from '2026-07-06 17:30:13'::timestamp) - extract(epoch from '2026-07-06 17:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.4171 -3.513289)', '2026-07-06 17:30:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417062 -3.513144)'), GeomFromEWKT('SRID=4674;POINT (-38.4171 -3.513289)'))) / (select extract(epoch from '2026-07-06 17:30:20'::timestamp) - extract(epoch from '2026-07-06 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417062 -3.513144)'), GeomFromEWKT('SRID=4674;POINT (-38.4171 -3.513289)'))) / (select extract(epoch from '2026-07-06 17:30:20'::timestamp) - extract(epoch from '2026-07-06 17:30: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'), 47390, 'SRID=4674;POINT (-38.417139 -3.51341)', '2026-07-06 17:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4171 -3.513289)'), GeomFromEWKT('SRID=4674;POINT (-38.417139 -3.51341)'))) / (select extract(epoch from '2026-07-06 17:30:26'::timestamp) - extract(epoch from '2026-07-06 17:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4171 -3.513289)'), GeomFromEWKT('SRID=4674;POINT (-38.417139 -3.51341)'))) / (select extract(epoch from '2026-07-06 17:30:26'::timestamp) - extract(epoch from '2026-07-06 17:30: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'), 47390, 'SRID=4674;POINT (-38.41719 -3.513525)', '2026-07-06 17:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417139 -3.51341)'), GeomFromEWKT('SRID=4674;POINT (-38.41719 -3.513525)'))) / (select extract(epoch from '2026-07-06 17:30:32'::timestamp) - extract(epoch from '2026-07-06 17:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417139 -3.51341)'), GeomFromEWKT('SRID=4674;POINT (-38.41719 -3.513525)'))) / (select extract(epoch from '2026-07-06 17:30:32'::timestamp) - extract(epoch from '2026-07-06 17:30: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'), 47390, 'SRID=4674;POINT (-38.417236 -3.513616)', '2026-07-06 17:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41719 -3.513525)'), GeomFromEWKT('SRID=4674;POINT (-38.417236 -3.513616)'))) / (select extract(epoch from '2026-07-06 17:30:37'::timestamp) - extract(epoch from '2026-07-06 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41719 -3.513525)'), GeomFromEWKT('SRID=4674;POINT (-38.417236 -3.513616)'))) / (select extract(epoch from '2026-07-06 17:30:37'::timestamp) - extract(epoch from '2026-07-06 17:30: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'), 47390, 'SRID=4674;POINT (-38.417278 -3.513707)', '2026-07-06 17:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417236 -3.513616)'), GeomFromEWKT('SRID=4674;POINT (-38.417278 -3.513707)'))) / (select extract(epoch from '2026-07-06 17:30:42'::timestamp) - extract(epoch from '2026-07-06 17:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417236 -3.513616)'), GeomFromEWKT('SRID=4674;POINT (-38.417278 -3.513707)'))) / (select extract(epoch from '2026-07-06 17:30:42'::timestamp) - extract(epoch from '2026-07-06 17:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417307 -3.51382)', '2026-07-06 17:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417278 -3.513707)'), GeomFromEWKT('SRID=4674;POINT (-38.417307 -3.51382)'))) / (select extract(epoch from '2026-07-06 17:30:48'::timestamp) - extract(epoch from '2026-07-06 17:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417278 -3.513707)'), GeomFromEWKT('SRID=4674;POINT (-38.417307 -3.51382)'))) / (select extract(epoch from '2026-07-06 17:30:48'::timestamp) - extract(epoch from '2026-07-06 17:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417337 -3.513942)', '2026-07-06 17:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417307 -3.51382)'), GeomFromEWKT('SRID=4674;POINT (-38.417337 -3.513942)'))) / (select extract(epoch from '2026-07-06 17:30:55'::timestamp) - extract(epoch from '2026-07-06 17:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417307 -3.51382)'), GeomFromEWKT('SRID=4674;POINT (-38.417337 -3.513942)'))) / (select extract(epoch from '2026-07-06 17:30:55'::timestamp) - extract(epoch from '2026-07-06 17:30: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'), 47390, 'SRID=4674;POINT (-38.417374 -3.514056)', '2026-07-06 17:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417337 -3.513942)'), GeomFromEWKT('SRID=4674;POINT (-38.417374 -3.514056)'))) / (select extract(epoch from '2026-07-06 17:31:01'::timestamp) - extract(epoch from '2026-07-06 17:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417337 -3.513942)'), GeomFromEWKT('SRID=4674;POINT (-38.417374 -3.514056)'))) / (select extract(epoch from '2026-07-06 17:31:01'::timestamp) - extract(epoch from '2026-07-06 17:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.417412 -3.514148)', '2026-07-06 17:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417374 -3.514056)'), GeomFromEWKT('SRID=4674;POINT (-38.417412 -3.514148)'))) / (select extract(epoch from '2026-07-06 17:31:06'::timestamp) - extract(epoch from '2026-07-06 17:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417374 -3.514056)'), GeomFromEWKT('SRID=4674;POINT (-38.417412 -3.514148)'))) / (select extract(epoch from '2026-07-06 17:31:06'::timestamp) - extract(epoch from '2026-07-06 17:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
