 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.291154 -3.475105)', '2026-06-04 13:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291177 -3.475142)'), GeomFromEWKT('SRID=4674;POINT (-38.291154 -3.475105)'))) / (select extract(epoch from '2026-06-04 13:04:52'::timestamp) - extract(epoch from '2026-06-04 13:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291177 -3.475142)'), GeomFromEWKT('SRID=4674;POINT (-38.291154 -3.475105)'))) / (select extract(epoch from '2026-06-04 13:04:52'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.291141 -3.475079)', '2026-06-04 13:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291154 -3.475105)'), GeomFromEWKT('SRID=4674;POINT (-38.291141 -3.475079)'))) / (select extract(epoch from '2026-06-04 13:04:54'::timestamp) - extract(epoch from '2026-06-04 13:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291154 -3.475105)'), GeomFromEWKT('SRID=4674;POINT (-38.291141 -3.475079)'))) / (select extract(epoch from '2026-06-04 13:04:54'::timestamp) - extract(epoch from '2026-06-04 13:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.291092 -3.47502)', '2026-06-04 13:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291141 -3.475079)'), GeomFromEWKT('SRID=4674;POINT (-38.291092 -3.47502)'))) / (select extract(epoch from '2026-06-04 13:04:59'::timestamp) - extract(epoch from '2026-06-04 13:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291141 -3.475079)'), GeomFromEWKT('SRID=4674;POINT (-38.291092 -3.47502)'))) / (select extract(epoch from '2026-06-04 13:04:59'::timestamp) - extract(epoch from '2026-06-04 13:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.291041 -3.474951)', '2026-06-04 13:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291092 -3.47502)'), GeomFromEWKT('SRID=4674;POINT (-38.291041 -3.474951)'))) / (select extract(epoch from '2026-06-04 13:05:04'::timestamp) - extract(epoch from '2026-06-04 13:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291092 -3.47502)'), GeomFromEWKT('SRID=4674;POINT (-38.291041 -3.474951)'))) / (select extract(epoch from '2026-06-04 13:05:04'::timestamp) - extract(epoch from '2026-06-04 13:04: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'), 46534, 'SRID=4674;POINT (-38.291027 -3.47494)', '2026-06-04 13:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291041 -3.474951)'), GeomFromEWKT('SRID=4674;POINT (-38.291027 -3.47494)'))) / (select extract(epoch from '2026-06-04 13:05:05'::timestamp) - extract(epoch from '2026-06-04 13:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291041 -3.474951)'), GeomFromEWKT('SRID=4674;POINT (-38.291027 -3.47494)'))) / (select extract(epoch from '2026-06-04 13:05:05'::timestamp) - extract(epoch from '2026-06-04 13:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.29098 -3.474897)', '2026-06-04 13:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291027 -3.47494)'), GeomFromEWKT('SRID=4674;POINT (-38.29098 -3.474897)'))) / (select extract(epoch from '2026-06-04 13:05:09'::timestamp) - extract(epoch from '2026-06-04 13:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.291027 -3.47494)'), GeomFromEWKT('SRID=4674;POINT (-38.29098 -3.474897)'))) / (select extract(epoch from '2026-06-04 13:05:09'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.290912 -3.474825)', '2026-06-04 13:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29098 -3.474897)'), GeomFromEWKT('SRID=4674;POINT (-38.290912 -3.474825)'))) / (select extract(epoch from '2026-06-04 13:05:15'::timestamp) - extract(epoch from '2026-06-04 13:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29098 -3.474897)'), GeomFromEWKT('SRID=4674;POINT (-38.290912 -3.474825)'))) / (select extract(epoch from '2026-06-04 13:05:15'::timestamp) - extract(epoch from '2026-06-04 13:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290846 -3.474754)', '2026-06-04 13:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290912 -3.474825)'), GeomFromEWKT('SRID=4674;POINT (-38.290846 -3.474754)'))) / (select extract(epoch from '2026-06-04 13:05:20'::timestamp) - extract(epoch from '2026-06-04 13:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290912 -3.474825)'), GeomFromEWKT('SRID=4674;POINT (-38.290846 -3.474754)'))) / (select extract(epoch from '2026-06-04 13:05:20'::timestamp) - extract(epoch from '2026-06-04 13:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290765 -3.474674)', '2026-06-04 13:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290846 -3.474754)'), GeomFromEWKT('SRID=4674;POINT (-38.290765 -3.474674)'))) / (select extract(epoch from '2026-06-04 13:05:26'::timestamp) - extract(epoch from '2026-06-04 13:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290846 -3.474754)'), GeomFromEWKT('SRID=4674;POINT (-38.290765 -3.474674)'))) / (select extract(epoch from '2026-06-04 13:05:26'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.29068 -3.474598)', '2026-06-04 13:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290765 -3.474674)'), GeomFromEWKT('SRID=4674;POINT (-38.29068 -3.474598)'))) / (select extract(epoch from '2026-06-04 13:05:33'::timestamp) - extract(epoch from '2026-06-04 13:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290765 -3.474674)'), GeomFromEWKT('SRID=4674;POINT (-38.29068 -3.474598)'))) / (select extract(epoch from '2026-06-04 13:05:33'::timestamp) - extract(epoch from '2026-06-04 13:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290635 -3.474543)', '2026-06-04 13:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29068 -3.474598)'), GeomFromEWKT('SRID=4674;POINT (-38.290635 -3.474543)'))) / (select extract(epoch from '2026-06-04 13:05:38'::timestamp) - extract(epoch from '2026-06-04 13:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29068 -3.474598)'), GeomFromEWKT('SRID=4674;POINT (-38.290635 -3.474543)'))) / (select extract(epoch from '2026-06-04 13:05:38'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.290563 -3.474468)', '2026-06-04 13:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290635 -3.474543)'), GeomFromEWKT('SRID=4674;POINT (-38.290563 -3.474468)'))) / (select extract(epoch from '2026-06-04 13:05:44'::timestamp) - extract(epoch from '2026-06-04 13:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290635 -3.474543)'), GeomFromEWKT('SRID=4674;POINT (-38.290563 -3.474468)'))) / (select extract(epoch from '2026-06-04 13:05:44'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.290499 -3.474383)', '2026-06-04 13:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290563 -3.474468)'), GeomFromEWKT('SRID=4674;POINT (-38.290499 -3.474383)'))) / (select extract(epoch from '2026-06-04 13:05:50'::timestamp) - extract(epoch from '2026-06-04 13:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290563 -3.474468)'), GeomFromEWKT('SRID=4674;POINT (-38.290499 -3.474383)'))) / (select extract(epoch from '2026-06-04 13:05:50'::timestamp) - extract(epoch from '2026-06-04 13:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290482 -3.474369)', '2026-06-04 13:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290499 -3.474383)'), GeomFromEWKT('SRID=4674;POINT (-38.290482 -3.474369)'))) / (select extract(epoch from '2026-06-04 13:05:51'::timestamp) - extract(epoch from '2026-06-04 13:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290499 -3.474383)'), GeomFromEWKT('SRID=4674;POINT (-38.290482 -3.474369)'))) / (select extract(epoch from '2026-06-04 13:05:51'::timestamp) - extract(epoch from '2026-06-04 13:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290411 -3.474287)', '2026-06-04 13:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290482 -3.474369)'), GeomFromEWKT('SRID=4674;POINT (-38.290411 -3.474287)'))) / (select extract(epoch from '2026-06-04 13:05:57'::timestamp) - extract(epoch from '2026-06-04 13:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290482 -3.474369)'), GeomFromEWKT('SRID=4674;POINT (-38.290411 -3.474287)'))) / (select extract(epoch from '2026-06-04 13:05:57'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.290326 -3.474207)', '2026-06-04 13:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290411 -3.474287)'), GeomFromEWKT('SRID=4674;POINT (-38.290326 -3.474207)'))) / (select extract(epoch from '2026-06-04 13:06:03'::timestamp) - extract(epoch from '2026-06-04 13:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290411 -3.474287)'), GeomFromEWKT('SRID=4674;POINT (-38.290326 -3.474207)'))) / (select extract(epoch from '2026-06-04 13:06:03'::timestamp) - extract(epoch from '2026-06-04 13:05: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'), 46534, 'SRID=4674;POINT (-38.290229 -3.474119)', '2026-06-04 13:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290326 -3.474207)'), GeomFromEWKT('SRID=4674;POINT (-38.290229 -3.474119)'))) / (select extract(epoch from '2026-06-04 13:06:10'::timestamp) - extract(epoch from '2026-06-04 13:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290326 -3.474207)'), GeomFromEWKT('SRID=4674;POINT (-38.290229 -3.474119)'))) / (select extract(epoch from '2026-06-04 13:06:10'::timestamp) - extract(epoch from '2026-06-04 13:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290108 -3.474011)', '2026-06-04 13:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290229 -3.474119)'), GeomFromEWKT('SRID=4674;POINT (-38.290108 -3.474011)'))) / (select extract(epoch from '2026-06-04 13:06:18'::timestamp) - extract(epoch from '2026-06-04 13:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290229 -3.474119)'), GeomFromEWKT('SRID=4674;POINT (-38.290108 -3.474011)'))) / (select extract(epoch from '2026-06-04 13:06:18'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.29002 -3.473955)', '2026-06-04 13:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290108 -3.474011)'), GeomFromEWKT('SRID=4674;POINT (-38.29002 -3.473955)'))) / (select extract(epoch from '2026-06-04 13:06:24'::timestamp) - extract(epoch from '2026-06-04 13:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290108 -3.474011)'), GeomFromEWKT('SRID=4674;POINT (-38.29002 -3.473955)'))) / (select extract(epoch from '2026-06-04 13:06:24'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.290012 -3.473945)', '2026-06-04 13:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29002 -3.473955)'), GeomFromEWKT('SRID=4674;POINT (-38.290012 -3.473945)'))) / (select extract(epoch from '2026-06-04 13:06:25'::timestamp) - extract(epoch from '2026-06-04 13:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.29002 -3.473955)'), GeomFromEWKT('SRID=4674;POINT (-38.290012 -3.473945)'))) / (select extract(epoch from '2026-06-04 13:06:25'::timestamp) - extract(epoch from '2026-06-04 13:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.290001 -3.473927)', '2026-06-04 13:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290012 -3.473945)'), GeomFromEWKT('SRID=4674;POINT (-38.290001 -3.473927)'))) / (select extract(epoch from '2026-06-04 13:06:27'::timestamp) - extract(epoch from '2026-06-04 13:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290012 -3.473945)'), GeomFromEWKT('SRID=4674;POINT (-38.290001 -3.473927)'))) / (select extract(epoch from '2026-06-04 13:06:27'::timestamp) - extract(epoch from '2026-06-04 13:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.289977 -3.473908)', '2026-06-04 13:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290001 -3.473927)'), GeomFromEWKT('SRID=4674;POINT (-38.289977 -3.473908)'))) / (select extract(epoch from '2026-06-04 13:06:29'::timestamp) - extract(epoch from '2026-06-04 13:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.290001 -3.473927)'), GeomFromEWKT('SRID=4674;POINT (-38.289977 -3.473908)'))) / (select extract(epoch from '2026-06-04 13:06:29'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.28993 -3.473871)', '2026-06-04 13:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289977 -3.473908)'), GeomFromEWKT('SRID=4674;POINT (-38.28993 -3.473871)'))) / (select extract(epoch from '2026-06-04 13:06:33'::timestamp) - extract(epoch from '2026-06-04 13:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289977 -3.473908)'), GeomFromEWKT('SRID=4674;POINT (-38.28993 -3.473871)'))) / (select extract(epoch from '2026-06-04 13:06:33'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.289918 -3.473851)', '2026-06-04 13:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28993 -3.473871)'), GeomFromEWKT('SRID=4674;POINT (-38.289918 -3.473851)'))) / (select extract(epoch from '2026-06-04 13:06:35'::timestamp) - extract(epoch from '2026-06-04 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28993 -3.473871)'), GeomFromEWKT('SRID=4674;POINT (-38.289918 -3.473851)'))) / (select extract(epoch from '2026-06-04 13:06:35'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.289849 -3.473769)', '2026-06-04 13:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289918 -3.473851)'), GeomFromEWKT('SRID=4674;POINT (-38.289849 -3.473769)'))) / (select extract(epoch from '2026-06-04 13:06:42'::timestamp) - extract(epoch from '2026-06-04 13:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289918 -3.473851)'), GeomFromEWKT('SRID=4674;POINT (-38.289849 -3.473769)'))) / (select extract(epoch from '2026-06-04 13:06:42'::timestamp) - extract(epoch from '2026-06-04 13:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.289763 -3.473684)', '2026-06-04 13:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289849 -3.473769)'), GeomFromEWKT('SRID=4674;POINT (-38.289763 -3.473684)'))) / (select extract(epoch from '2026-06-04 13:06:49'::timestamp) - extract(epoch from '2026-06-04 13:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289849 -3.473769)'), GeomFromEWKT('SRID=4674;POINT (-38.289763 -3.473684)'))) / (select extract(epoch from '2026-06-04 13:06:49'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.289677 -3.473594)', '2026-06-04 13:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289763 -3.473684)'), GeomFromEWKT('SRID=4674;POINT (-38.289677 -3.473594)'))) / (select extract(epoch from '2026-06-04 13:06:55'::timestamp) - extract(epoch from '2026-06-04 13:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289763 -3.473684)'), GeomFromEWKT('SRID=4674;POINT (-38.289677 -3.473594)'))) / (select extract(epoch from '2026-06-04 13:06:55'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.2896 -3.47352)', '2026-06-04 13:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289677 -3.473594)'), GeomFromEWKT('SRID=4674;POINT (-38.2896 -3.47352)'))) / (select extract(epoch from '2026-06-04 13:07:01'::timestamp) - extract(epoch from '2026-06-04 13:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289677 -3.473594)'), GeomFromEWKT('SRID=4674;POINT (-38.2896 -3.47352)'))) / (select extract(epoch from '2026-06-04 13:07:01'::timestamp) - extract(epoch from '2026-06-04 13:06: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'), 46534, 'SRID=4674;POINT (-38.289494 -3.473416)', '2026-06-04 13:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2896 -3.47352)'), GeomFromEWKT('SRID=4674;POINT (-38.289494 -3.473416)'))) / (select extract(epoch from '2026-06-04 13:07:09'::timestamp) - extract(epoch from '2026-06-04 13:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2896 -3.47352)'), GeomFromEWKT('SRID=4674;POINT (-38.289494 -3.473416)'))) / (select extract(epoch from '2026-06-04 13:07:09'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.28944 -3.47336)', '2026-06-04 13:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289494 -3.473416)'), GeomFromEWKT('SRID=4674;POINT (-38.28944 -3.47336)'))) / (select extract(epoch from '2026-06-04 13:07:14'::timestamp) - extract(epoch from '2026-06-04 13:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289494 -3.473416)'), GeomFromEWKT('SRID=4674;POINT (-38.28944 -3.47336)'))) / (select extract(epoch from '2026-06-04 13:07:14'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289364 -3.473274)', '2026-06-04 13:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28944 -3.47336)'), GeomFromEWKT('SRID=4674;POINT (-38.289364 -3.473274)'))) / (select extract(epoch from '2026-06-04 13:07:21'::timestamp) - extract(epoch from '2026-06-04 13:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28944 -3.47336)'), GeomFromEWKT('SRID=4674;POINT (-38.289364 -3.473274)'))) / (select extract(epoch from '2026-06-04 13:07:21'::timestamp) - extract(epoch from '2026-06-04 13:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.2893 -3.473206)', '2026-06-04 13:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289364 -3.473274)'), GeomFromEWKT('SRID=4674;POINT (-38.2893 -3.473206)'))) / (select extract(epoch from '2026-06-04 13:07:26'::timestamp) - extract(epoch from '2026-06-04 13:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289364 -3.473274)'), GeomFromEWKT('SRID=4674;POINT (-38.2893 -3.473206)'))) / (select extract(epoch from '2026-06-04 13:07:26'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289287 -3.473191)', '2026-06-04 13:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2893 -3.473206)'), GeomFromEWKT('SRID=4674;POINT (-38.289287 -3.473191)'))) / (select extract(epoch from '2026-06-04 13:07:28'::timestamp) - extract(epoch from '2026-06-04 13:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2893 -3.473206)'), GeomFromEWKT('SRID=4674;POINT (-38.289287 -3.473191)'))) / (select extract(epoch from '2026-06-04 13:07:28'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289257 -3.473158)', '2026-06-04 13:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289287 -3.473191)'), GeomFromEWKT('SRID=4674;POINT (-38.289257 -3.473158)'))) / (select extract(epoch from '2026-06-04 13:07:30'::timestamp) - extract(epoch from '2026-06-04 13:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289287 -3.473191)'), GeomFromEWKT('SRID=4674;POINT (-38.289257 -3.473158)'))) / (select extract(epoch from '2026-06-04 13:07:30'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289197 -3.473095)', '2026-06-04 13:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289257 -3.473158)'), GeomFromEWKT('SRID=4674;POINT (-38.289197 -3.473095)'))) / (select extract(epoch from '2026-06-04 13:07:34'::timestamp) - extract(epoch from '2026-06-04 13:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289257 -3.473158)'), GeomFromEWKT('SRID=4674;POINT (-38.289197 -3.473095)'))) / (select extract(epoch from '2026-06-04 13:07:34'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289132 -3.473023)', '2026-06-04 13:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289197 -3.473095)'), GeomFromEWKT('SRID=4674;POINT (-38.289132 -3.473023)'))) / (select extract(epoch from '2026-06-04 13:07:40'::timestamp) - extract(epoch from '2026-06-04 13:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289197 -3.473095)'), GeomFromEWKT('SRID=4674;POINT (-38.289132 -3.473023)'))) / (select extract(epoch from '2026-06-04 13:07:40'::timestamp) - extract(epoch from '2026-06-04 13:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.289079 -3.472951)', '2026-06-04 13:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289132 -3.473023)'), GeomFromEWKT('SRID=4674;POINT (-38.289079 -3.472951)'))) / (select extract(epoch from '2026-06-04 13:07:45'::timestamp) - extract(epoch from '2026-06-04 13:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289132 -3.473023)'), GeomFromEWKT('SRID=4674;POINT (-38.289079 -3.472951)'))) / (select extract(epoch from '2026-06-04 13:07:45'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.289021 -3.47289)', '2026-06-04 13:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289079 -3.472951)'), GeomFromEWKT('SRID=4674;POINT (-38.289021 -3.47289)'))) / (select extract(epoch from '2026-06-04 13:07:50'::timestamp) - extract(epoch from '2026-06-04 13:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289079 -3.472951)'), GeomFromEWKT('SRID=4674;POINT (-38.289021 -3.47289)'))) / (select extract(epoch from '2026-06-04 13:07:50'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.288954 -3.472809)', '2026-06-04 13:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289021 -3.47289)'), GeomFromEWKT('SRID=4674;POINT (-38.288954 -3.472809)'))) / (select extract(epoch from '2026-06-04 13:07:56'::timestamp) - extract(epoch from '2026-06-04 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.289021 -3.47289)'), GeomFromEWKT('SRID=4674;POINT (-38.288954 -3.472809)'))) / (select extract(epoch from '2026-06-04 13:07:56'::timestamp) - extract(epoch from '2026-06-04 13:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.288885 -3.472728)', '2026-06-04 13:08:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288954 -3.472809)'), GeomFromEWKT('SRID=4674;POINT (-38.288885 -3.472728)'))) / (select extract(epoch from '2026-06-04 13:08:02'::timestamp) - extract(epoch from '2026-06-04 13:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288954 -3.472809)'), GeomFromEWKT('SRID=4674;POINT (-38.288885 -3.472728)'))) / (select extract(epoch from '2026-06-04 13:08:02'::timestamp) - extract(epoch from '2026-06-04 13:07: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'), 46534, 'SRID=4674;POINT (-38.288794 -3.472639)', '2026-06-04 13:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288885 -3.472728)'), GeomFromEWKT('SRID=4674;POINT (-38.288794 -3.472639)'))) / (select extract(epoch from '2026-06-04 13:08:09'::timestamp) - extract(epoch from '2026-06-04 13:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288885 -3.472728)'), GeomFromEWKT('SRID=4674;POINT (-38.288794 -3.472639)'))) / (select extract(epoch from '2026-06-04 13:08:09'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288711 -3.472563)', '2026-06-04 13:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288794 -3.472639)'), GeomFromEWKT('SRID=4674;POINT (-38.288711 -3.472563)'))) / (select extract(epoch from '2026-06-04 13:08:15'::timestamp) - extract(epoch from '2026-06-04 13:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288794 -3.472639)'), GeomFromEWKT('SRID=4674;POINT (-38.288711 -3.472563)'))) / (select extract(epoch from '2026-06-04 13:08:15'::timestamp) - extract(epoch from '2026-06-04 13:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.288649 -3.472488)', '2026-06-04 13:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288711 -3.472563)'), GeomFromEWKT('SRID=4674;POINT (-38.288649 -3.472488)'))) / (select extract(epoch from '2026-06-04 13:08:20'::timestamp) - extract(epoch from '2026-06-04 13:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288711 -3.472563)'), GeomFromEWKT('SRID=4674;POINT (-38.288649 -3.472488)'))) / (select extract(epoch from '2026-06-04 13:08:20'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.288568 -3.472382)', '2026-06-04 13:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288649 -3.472488)'), GeomFromEWKT('SRID=4674;POINT (-38.288568 -3.472382)'))) / (select extract(epoch from '2026-06-04 13:08:27'::timestamp) - extract(epoch from '2026-06-04 13:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288649 -3.472488)'), GeomFromEWKT('SRID=4674;POINT (-38.288568 -3.472382)'))) / (select extract(epoch from '2026-06-04 13:08:27'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288494 -3.472309)', '2026-06-04 13:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288568 -3.472382)'), GeomFromEWKT('SRID=4674;POINT (-38.288494 -3.472309)'))) / (select extract(epoch from '2026-06-04 13:08:33'::timestamp) - extract(epoch from '2026-06-04 13:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288568 -3.472382)'), GeomFromEWKT('SRID=4674;POINT (-38.288494 -3.472309)'))) / (select extract(epoch from '2026-06-04 13:08:33'::timestamp) - extract(epoch from '2026-06-04 13:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.288437 -3.472246)', '2026-06-04 13:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288494 -3.472309)'), GeomFromEWKT('SRID=4674;POINT (-38.288437 -3.472246)'))) / (select extract(epoch from '2026-06-04 13:08:38'::timestamp) - extract(epoch from '2026-06-04 13:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288494 -3.472309)'), GeomFromEWKT('SRID=4674;POINT (-38.288437 -3.472246)'))) / (select extract(epoch from '2026-06-04 13:08:38'::timestamp) - extract(epoch from '2026-06-04 13:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.288377 -3.472181)', '2026-06-04 13:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288437 -3.472246)'), GeomFromEWKT('SRID=4674;POINT (-38.288377 -3.472181)'))) / (select extract(epoch from '2026-06-04 13:08:44'::timestamp) - extract(epoch from '2026-06-04 13:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288437 -3.472246)'), GeomFromEWKT('SRID=4674;POINT (-38.288377 -3.472181)'))) / (select extract(epoch from '2026-06-04 13:08:44'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288303 -3.472085)', '2026-06-04 13:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288377 -3.472181)'), GeomFromEWKT('SRID=4674;POINT (-38.288303 -3.472085)'))) / (select extract(epoch from '2026-06-04 13:08:51'::timestamp) - extract(epoch from '2026-06-04 13:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288377 -3.472181)'), GeomFromEWKT('SRID=4674;POINT (-38.288303 -3.472085)'))) / (select extract(epoch from '2026-06-04 13:08:51'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288225 -3.471998)', '2026-06-04 13:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288303 -3.472085)'), GeomFromEWKT('SRID=4674;POINT (-38.288225 -3.471998)'))) / (select extract(epoch from '2026-06-04 13:08:57'::timestamp) - extract(epoch from '2026-06-04 13:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288303 -3.472085)'), GeomFromEWKT('SRID=4674;POINT (-38.288225 -3.471998)'))) / (select extract(epoch from '2026-06-04 13:08:57'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288148 -3.471912)', '2026-06-04 13:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288225 -3.471998)'), GeomFromEWKT('SRID=4674;POINT (-38.288148 -3.471912)'))) / (select extract(epoch from '2026-06-04 13:09:03'::timestamp) - extract(epoch from '2026-06-04 13:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288225 -3.471998)'), GeomFromEWKT('SRID=4674;POINT (-38.288148 -3.471912)'))) / (select extract(epoch from '2026-06-04 13:09:03'::timestamp) - extract(epoch from '2026-06-04 13:08: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'), 46534, 'SRID=4674;POINT (-38.288054 -3.471808)', '2026-06-04 13:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288148 -3.471912)'), GeomFromEWKT('SRID=4674;POINT (-38.288054 -3.471808)'))) / (select extract(epoch from '2026-06-04 13:09:10'::timestamp) - extract(epoch from '2026-06-04 13:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288148 -3.471912)'), GeomFromEWKT('SRID=4674;POINT (-38.288054 -3.471808)'))) / (select extract(epoch from '2026-06-04 13:09:10'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.288004 -3.471731)', '2026-06-04 13:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288054 -3.471808)'), GeomFromEWKT('SRID=4674;POINT (-38.288004 -3.471731)'))) / (select extract(epoch from '2026-06-04 13:09:15'::timestamp) - extract(epoch from '2026-06-04 13:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288054 -3.471808)'), GeomFromEWKT('SRID=4674;POINT (-38.288004 -3.471731)'))) / (select extract(epoch from '2026-06-04 13:09:15'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.287937 -3.471643)', '2026-06-04 13:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288004 -3.471731)'), GeomFromEWKT('SRID=4674;POINT (-38.287937 -3.471643)'))) / (select extract(epoch from '2026-06-04 13:09:21'::timestamp) - extract(epoch from '2026-06-04 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.288004 -3.471731)'), GeomFromEWKT('SRID=4674;POINT (-38.287937 -3.471643)'))) / (select extract(epoch from '2026-06-04 13:09:21'::timestamp) - extract(epoch from '2026-06-04 13:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287874 -3.47155)', '2026-06-04 13:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287937 -3.471643)'), GeomFromEWKT('SRID=4674;POINT (-38.287874 -3.47155)'))) / (select extract(epoch from '2026-06-04 13:09:27'::timestamp) - extract(epoch from '2026-06-04 13:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287937 -3.471643)'), GeomFromEWKT('SRID=4674;POINT (-38.287874 -3.47155)'))) / (select extract(epoch from '2026-06-04 13:09:27'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.287806 -3.471453)', '2026-06-04 13:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287874 -3.47155)'), GeomFromEWKT('SRID=4674;POINT (-38.287806 -3.471453)'))) / (select extract(epoch from '2026-06-04 13:09:33'::timestamp) - extract(epoch from '2026-06-04 13:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287874 -3.47155)'), GeomFromEWKT('SRID=4674;POINT (-38.287806 -3.471453)'))) / (select extract(epoch from '2026-06-04 13:09:33'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.287731 -3.471365)', '2026-06-04 13:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287806 -3.471453)'), GeomFromEWKT('SRID=4674;POINT (-38.287731 -3.471365)'))) / (select extract(epoch from '2026-06-04 13:09:39'::timestamp) - extract(epoch from '2026-06-04 13:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287806 -3.471453)'), GeomFromEWKT('SRID=4674;POINT (-38.287731 -3.471365)'))) / (select extract(epoch from '2026-06-04 13:09:39'::timestamp) - extract(epoch from '2026-06-04 13:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287642 -3.471274)', '2026-06-04 13:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287731 -3.471365)'), GeomFromEWKT('SRID=4674;POINT (-38.287642 -3.471274)'))) / (select extract(epoch from '2026-06-04 13:09:46'::timestamp) - extract(epoch from '2026-06-04 13:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287731 -3.471365)'), GeomFromEWKT('SRID=4674;POINT (-38.287642 -3.471274)'))) / (select extract(epoch from '2026-06-04 13:09:46'::timestamp) - extract(epoch from '2026-06-04 13:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287591 -3.471216)', '2026-06-04 13:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287642 -3.471274)'), GeomFromEWKT('SRID=4674;POINT (-38.287591 -3.471216)'))) / (select extract(epoch from '2026-06-04 13:09:51'::timestamp) - extract(epoch from '2026-06-04 13:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287642 -3.471274)'), GeomFromEWKT('SRID=4674;POINT (-38.287591 -3.471216)'))) / (select extract(epoch from '2026-06-04 13:09:51'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.287578 -3.471201)', '2026-06-04 13:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287591 -3.471216)'), GeomFromEWKT('SRID=4674;POINT (-38.287578 -3.471201)'))) / (select extract(epoch from '2026-06-04 13:09:52'::timestamp) - extract(epoch from '2026-06-04 13:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287591 -3.471216)'), GeomFromEWKT('SRID=4674;POINT (-38.287578 -3.471201)'))) / (select extract(epoch from '2026-06-04 13:09:52'::timestamp) - extract(epoch from '2026-06-04 13:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287517 -3.471137)', '2026-06-04 13:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287578 -3.471201)'), GeomFromEWKT('SRID=4674;POINT (-38.287517 -3.471137)'))) / (select extract(epoch from '2026-06-04 13:09:57'::timestamp) - extract(epoch from '2026-06-04 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287578 -3.471201)'), GeomFromEWKT('SRID=4674;POINT (-38.287517 -3.471137)'))) / (select extract(epoch from '2026-06-04 13:09:57'::timestamp) - extract(epoch from '2026-06-04 13:09: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'), 46534, 'SRID=4674;POINT (-38.287437 -3.471059)', '2026-06-04 13:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287517 -3.471137)'), GeomFromEWKT('SRID=4674;POINT (-38.287437 -3.471059)'))) / (select extract(epoch from '2026-06-04 13:10:03'::timestamp) - extract(epoch from '2026-06-04 13:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287517 -3.471137)'), GeomFromEWKT('SRID=4674;POINT (-38.287437 -3.471059)'))) / (select extract(epoch from '2026-06-04 13:10:03'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.287355 -3.470972)', '2026-06-04 13:10:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287437 -3.471059)'), GeomFromEWKT('SRID=4674;POINT (-38.287355 -3.470972)'))) / (select extract(epoch from '2026-06-04 13:10:09'::timestamp) - extract(epoch from '2026-06-04 13:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287437 -3.471059)'), GeomFromEWKT('SRID=4674;POINT (-38.287355 -3.470972)'))) / (select extract(epoch from '2026-06-04 13:10:09'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.28726 -3.470897)', '2026-06-04 13:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287355 -3.470972)'), GeomFromEWKT('SRID=4674;POINT (-38.28726 -3.470897)'))) / (select extract(epoch from '2026-06-04 13:10:15'::timestamp) - extract(epoch from '2026-06-04 13:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287355 -3.470972)'), GeomFromEWKT('SRID=4674;POINT (-38.28726 -3.470897)'))) / (select extract(epoch from '2026-06-04 13:10:15'::timestamp) - extract(epoch from '2026-06-04 13:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287172 -3.470839)', '2026-06-04 13:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28726 -3.470897)'), GeomFromEWKT('SRID=4674;POINT (-38.287172 -3.470839)'))) / (select extract(epoch from '2026-06-04 13:10:21'::timestamp) - extract(epoch from '2026-06-04 13:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28726 -3.470897)'), GeomFromEWKT('SRID=4674;POINT (-38.287172 -3.470839)'))) / (select extract(epoch from '2026-06-04 13:10:21'::timestamp) - extract(epoch from '2026-06-04 13:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.287116 -3.470799)', '2026-06-04 13:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287172 -3.470839)'), GeomFromEWKT('SRID=4674;POINT (-38.287116 -3.470799)'))) / (select extract(epoch from '2026-06-04 13:10:26'::timestamp) - extract(epoch from '2026-06-04 13:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287172 -3.470839)'), GeomFromEWKT('SRID=4674;POINT (-38.287116 -3.470799)'))) / (select extract(epoch from '2026-06-04 13:10:26'::timestamp) - extract(epoch from '2026-06-04 13:10: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'), 46534, 'SRID=4674;POINT (-38.287102 -3.470789)', '2026-06-04 13:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287116 -3.470799)'), GeomFromEWKT('SRID=4674;POINT (-38.287102 -3.470789)'))) / (select extract(epoch from '2026-06-04 13:10:27'::timestamp) - extract(epoch from '2026-06-04 13:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287116 -3.470799)'), GeomFromEWKT('SRID=4674;POINT (-38.287102 -3.470789)'))) / (select extract(epoch from '2026-06-04 13:10:27'::timestamp) - extract(epoch from '2026-06-04 13:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28705 -3.470739)', '2026-06-04 13:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287102 -3.470789)'), GeomFromEWKT('SRID=4674;POINT (-38.28705 -3.470739)'))) / (select extract(epoch from '2026-06-04 13:10:33'::timestamp) - extract(epoch from '2026-06-04 13:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287102 -3.470789)'), GeomFromEWKT('SRID=4674;POINT (-38.28705 -3.470739)'))) / (select extract(epoch from '2026-06-04 13:10:33'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.287009 -3.470681)', '2026-06-04 13:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28705 -3.470739)'), GeomFromEWKT('SRID=4674;POINT (-38.287009 -3.470681)'))) / (select extract(epoch from '2026-06-04 13:10:38'::timestamp) - extract(epoch from '2026-06-04 13:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28705 -3.470739)'), GeomFromEWKT('SRID=4674;POINT (-38.287009 -3.470681)'))) / (select extract(epoch from '2026-06-04 13:10:38'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.286953 -3.470607)', '2026-06-04 13:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287009 -3.470681)'), GeomFromEWKT('SRID=4674;POINT (-38.286953 -3.470607)'))) / (select extract(epoch from '2026-06-04 13:10:44'::timestamp) - extract(epoch from '2026-06-04 13:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.287009 -3.470681)'), GeomFromEWKT('SRID=4674;POINT (-38.286953 -3.470607)'))) / (select extract(epoch from '2026-06-04 13:10:44'::timestamp) - extract(epoch from '2026-06-04 13:10: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'), 46534, 'SRID=4674;POINT (-38.286913 -3.470557)', '2026-06-04 13:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286953 -3.470607)'), GeomFromEWKT('SRID=4674;POINT (-38.286913 -3.470557)'))) / (select extract(epoch from '2026-06-04 13:10:48'::timestamp) - extract(epoch from '2026-06-04 13:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286953 -3.470607)'), GeomFromEWKT('SRID=4674;POINT (-38.286913 -3.470557)'))) / (select extract(epoch from '2026-06-04 13:10:48'::timestamp) - extract(epoch from '2026-06-04 13:10: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'), 46534, 'SRID=4674;POINT (-38.286905 -3.470543)', '2026-06-04 13:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286913 -3.470557)'), GeomFromEWKT('SRID=4674;POINT (-38.286905 -3.470543)'))) / (select extract(epoch from '2026-06-04 13:10:49'::timestamp) - extract(epoch from '2026-06-04 13:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286913 -3.470557)'), GeomFromEWKT('SRID=4674;POINT (-38.286905 -3.470543)'))) / (select extract(epoch from '2026-06-04 13:10:49'::timestamp) - extract(epoch from '2026-06-04 13:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286842 -3.470483)', '2026-06-04 13:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286905 -3.470543)'), GeomFromEWKT('SRID=4674;POINT (-38.286842 -3.470483)'))) / (select extract(epoch from '2026-06-04 13:10:54'::timestamp) - extract(epoch from '2026-06-04 13:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286905 -3.470543)'), GeomFromEWKT('SRID=4674;POINT (-38.286842 -3.470483)'))) / (select extract(epoch from '2026-06-04 13:10:54'::timestamp) - extract(epoch from '2026-06-04 13:10: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'), 46534, 'SRID=4674;POINT (-38.286764 -3.470392)', '2026-06-04 13:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286842 -3.470483)'), GeomFromEWKT('SRID=4674;POINT (-38.286764 -3.470392)'))) / (select extract(epoch from '2026-06-04 13:11:01'::timestamp) - extract(epoch from '2026-06-04 13:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286842 -3.470483)'), GeomFromEWKT('SRID=4674;POINT (-38.286764 -3.470392)'))) / (select extract(epoch from '2026-06-04 13:11:01'::timestamp) - extract(epoch from '2026-06-04 13:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286712 -3.470323)', '2026-06-04 13:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286764 -3.470392)'), GeomFromEWKT('SRID=4674;POINT (-38.286712 -3.470323)'))) / (select extract(epoch from '2026-06-04 13:11:06'::timestamp) - extract(epoch from '2026-06-04 13:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286764 -3.470392)'), GeomFromEWKT('SRID=4674;POINT (-38.286712 -3.470323)'))) / (select extract(epoch from '2026-06-04 13:11:06'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.286635 -3.470225)', '2026-06-04 13:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286712 -3.470323)'), GeomFromEWKT('SRID=4674;POINT (-38.286635 -3.470225)'))) / (select extract(epoch from '2026-06-04 13:11:13'::timestamp) - extract(epoch from '2026-06-04 13:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286712 -3.470323)'), GeomFromEWKT('SRID=4674;POINT (-38.286635 -3.470225)'))) / (select extract(epoch from '2026-06-04 13:11:13'::timestamp) - extract(epoch from '2026-06-04 13:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286552 -3.470135)', '2026-06-04 13:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286635 -3.470225)'), GeomFromEWKT('SRID=4674;POINT (-38.286552 -3.470135)'))) / (select extract(epoch from '2026-06-04 13:11:20'::timestamp) - extract(epoch from '2026-06-04 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286635 -3.470225)'), GeomFromEWKT('SRID=4674;POINT (-38.286552 -3.470135)'))) / (select extract(epoch from '2026-06-04 13:11:20'::timestamp) - extract(epoch from '2026-06-04 13:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286499 -3.470085)', '2026-06-04 13:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286552 -3.470135)'), GeomFromEWKT('SRID=4674;POINT (-38.286499 -3.470085)'))) / (select extract(epoch from '2026-06-04 13:11:25'::timestamp) - extract(epoch from '2026-06-04 13:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286552 -3.470135)'), GeomFromEWKT('SRID=4674;POINT (-38.286499 -3.470085)'))) / (select extract(epoch from '2026-06-04 13:11:25'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.286438 -3.47)', '2026-06-04 13:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286499 -3.470085)'), GeomFromEWKT('SRID=4674;POINT (-38.286438 -3.47)'))) / (select extract(epoch from '2026-06-04 13:11:31'::timestamp) - extract(epoch from '2026-06-04 13:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286499 -3.470085)'), GeomFromEWKT('SRID=4674;POINT (-38.286438 -3.47)'))) / (select extract(epoch from '2026-06-04 13:11:31'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.286396 -3.469949)', '2026-06-04 13:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286438 -3.47)'), GeomFromEWKT('SRID=4674;POINT (-38.286396 -3.469949)'))) / (select extract(epoch from '2026-06-04 13:11:35'::timestamp) - extract(epoch from '2026-06-04 13:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286438 -3.47)'), GeomFromEWKT('SRID=4674;POINT (-38.286396 -3.469949)'))) / (select extract(epoch from '2026-06-04 13:11:35'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.286365 -3.469907)', '2026-06-04 13:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286396 -3.469949)'), GeomFromEWKT('SRID=4674;POINT (-38.286365 -3.469907)'))) / (select extract(epoch from '2026-06-04 13:11:38'::timestamp) - extract(epoch from '2026-06-04 13:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286396 -3.469949)'), GeomFromEWKT('SRID=4674;POINT (-38.286365 -3.469907)'))) / (select extract(epoch from '2026-06-04 13:11:38'::timestamp) - extract(epoch from '2026-06-04 13:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286313 -3.469827)', '2026-06-04 13:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286365 -3.469907)'), GeomFromEWKT('SRID=4674;POINT (-38.286313 -3.469827)'))) / (select extract(epoch from '2026-06-04 13:11:44'::timestamp) - extract(epoch from '2026-06-04 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286365 -3.469907)'), GeomFromEWKT('SRID=4674;POINT (-38.286313 -3.469827)'))) / (select extract(epoch from '2026-06-04 13:11:44'::timestamp) - extract(epoch from '2026-06-04 13:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286255 -3.469742)', '2026-06-04 13:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286313 -3.469827)'), GeomFromEWKT('SRID=4674;POINT (-38.286255 -3.469742)'))) / (select extract(epoch from '2026-06-04 13:11:50'::timestamp) - extract(epoch from '2026-06-04 13:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286313 -3.469827)'), GeomFromEWKT('SRID=4674;POINT (-38.286255 -3.469742)'))) / (select extract(epoch from '2026-06-04 13:11:50'::timestamp) - extract(epoch from '2026-06-04 13:11: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'), 46534, 'SRID=4674;POINT (-38.286193 -3.46968)', '2026-06-04 13:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286255 -3.469742)'), GeomFromEWKT('SRID=4674;POINT (-38.286193 -3.46968)'))) / (select extract(epoch from '2026-06-04 13:11:55'::timestamp) - extract(epoch from '2026-06-04 13:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286255 -3.469742)'), GeomFromEWKT('SRID=4674;POINT (-38.286193 -3.46968)'))) / (select extract(epoch from '2026-06-04 13:11:55'::timestamp) - extract(epoch from '2026-06-04 13:11: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'), 46534, 'SRID=4674;POINT (-38.28611 -3.469593)', '2026-06-04 13:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286193 -3.46968)'), GeomFromEWKT('SRID=4674;POINT (-38.28611 -3.469593)'))) / (select extract(epoch from '2026-06-04 13:12:02'::timestamp) - extract(epoch from '2026-06-04 13:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286193 -3.46968)'), GeomFromEWKT('SRID=4674;POINT (-38.28611 -3.469593)'))) / (select extract(epoch from '2026-06-04 13:12:02'::timestamp) - extract(epoch from '2026-06-04 13:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.286048 -3.46952)', '2026-06-04 13:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28611 -3.469593)'), GeomFromEWKT('SRID=4674;POINT (-38.286048 -3.46952)'))) / (select extract(epoch from '2026-06-04 13:12:07'::timestamp) - extract(epoch from '2026-06-04 13:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28611 -3.469593)'), GeomFromEWKT('SRID=4674;POINT (-38.286048 -3.46952)'))) / (select extract(epoch from '2026-06-04 13:12:07'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.285974 -3.469442)', '2026-06-04 13:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286048 -3.46952)'), GeomFromEWKT('SRID=4674;POINT (-38.285974 -3.469442)'))) / (select extract(epoch from '2026-06-04 13:12:13'::timestamp) - extract(epoch from '2026-06-04 13:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.286048 -3.46952)'), GeomFromEWKT('SRID=4674;POINT (-38.285974 -3.469442)'))) / (select extract(epoch from '2026-06-04 13:12:13'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.285906 -3.469373)', '2026-06-04 13:12:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285974 -3.469442)'), GeomFromEWKT('SRID=4674;POINT (-38.285906 -3.469373)'))) / (select extract(epoch from '2026-06-04 13:12:19'::timestamp) - extract(epoch from '2026-06-04 13:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285974 -3.469442)'), GeomFromEWKT('SRID=4674;POINT (-38.285906 -3.469373)'))) / (select extract(epoch from '2026-06-04 13:12:19'::timestamp) - extract(epoch from '2026-06-04 13:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285857 -3.469328)', '2026-06-04 13:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285906 -3.469373)'), GeomFromEWKT('SRID=4674;POINT (-38.285857 -3.469328)'))) / (select extract(epoch from '2026-06-04 13:12:23'::timestamp) - extract(epoch from '2026-06-04 13:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285906 -3.469373)'), GeomFromEWKT('SRID=4674;POINT (-38.285857 -3.469328)'))) / (select extract(epoch from '2026-06-04 13:12:23'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.285838 -3.469303)', '2026-06-04 13:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285857 -3.469328)'), GeomFromEWKT('SRID=4674;POINT (-38.285838 -3.469303)'))) / (select extract(epoch from '2026-06-04 13:12:25'::timestamp) - extract(epoch from '2026-06-04 13:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285857 -3.469328)'), GeomFromEWKT('SRID=4674;POINT (-38.285838 -3.469303)'))) / (select extract(epoch from '2026-06-04 13:12:25'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.285813 -3.469284)', '2026-06-04 13:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285838 -3.469303)'), GeomFromEWKT('SRID=4674;POINT (-38.285813 -3.469284)'))) / (select extract(epoch from '2026-06-04 13:12:27'::timestamp) - extract(epoch from '2026-06-04 13:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285838 -3.469303)'), GeomFromEWKT('SRID=4674;POINT (-38.285813 -3.469284)'))) / (select extract(epoch from '2026-06-04 13:12:27'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.28578 -3.469251)', '2026-06-04 13:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285813 -3.469284)'), GeomFromEWKT('SRID=4674;POINT (-38.28578 -3.469251)'))) / (select extract(epoch from '2026-06-04 13:12:30'::timestamp) - extract(epoch from '2026-06-04 13:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285813 -3.469284)'), GeomFromEWKT('SRID=4674;POINT (-38.28578 -3.469251)'))) / (select extract(epoch from '2026-06-04 13:12:30'::timestamp) - extract(epoch from '2026-06-04 13:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285716 -3.469193)', '2026-06-04 13:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28578 -3.469251)'), GeomFromEWKT('SRID=4674;POINT (-38.285716 -3.469193)'))) / (select extract(epoch from '2026-06-04 13:12:36'::timestamp) - extract(epoch from '2026-06-04 13:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28578 -3.469251)'), GeomFromEWKT('SRID=4674;POINT (-38.285716 -3.469193)'))) / (select extract(epoch from '2026-06-04 13:12:36'::timestamp) - extract(epoch from '2026-06-04 13:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285627 -3.469098)', '2026-06-04 13:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285716 -3.469193)'), GeomFromEWKT('SRID=4674;POINT (-38.285627 -3.469098)'))) / (select extract(epoch from '2026-06-04 13:12:44'::timestamp) - extract(epoch from '2026-06-04 13:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285716 -3.469193)'), GeomFromEWKT('SRID=4674;POINT (-38.285627 -3.469098)'))) / (select extract(epoch from '2026-06-04 13:12:44'::timestamp) - extract(epoch from '2026-06-04 13:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285559 -3.469035)', '2026-06-04 13:12:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285627 -3.469098)'), GeomFromEWKT('SRID=4674;POINT (-38.285559 -3.469035)'))) / (select extract(epoch from '2026-06-04 13:12:50'::timestamp) - extract(epoch from '2026-06-04 13:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285627 -3.469098)'), GeomFromEWKT('SRID=4674;POINT (-38.285559 -3.469035)'))) / (select extract(epoch from '2026-06-04 13:12:50'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.285486 -3.468964)', '2026-06-04 13:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285559 -3.469035)'), GeomFromEWKT('SRID=4674;POINT (-38.285486 -3.468964)'))) / (select extract(epoch from '2026-06-04 13:12:56'::timestamp) - extract(epoch from '2026-06-04 13:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285559 -3.469035)'), GeomFromEWKT('SRID=4674;POINT (-38.285486 -3.468964)'))) / (select extract(epoch from '2026-06-04 13:12:56'::timestamp) - extract(epoch from '2026-06-04 13:12: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'), 46534, 'SRID=4674;POINT (-38.285405 -3.468889)', '2026-06-04 13:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285486 -3.468964)'), GeomFromEWKT('SRID=4674;POINT (-38.285405 -3.468889)'))) / (select extract(epoch from '2026-06-04 13:13:03'::timestamp) - extract(epoch from '2026-06-04 13:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285486 -3.468964)'), GeomFromEWKT('SRID=4674;POINT (-38.285405 -3.468889)'))) / (select extract(epoch from '2026-06-04 13:13:03'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.285326 -3.468831)', '2026-06-04 13:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285405 -3.468889)'), GeomFromEWKT('SRID=4674;POINT (-38.285326 -3.468831)'))) / (select extract(epoch from '2026-06-04 13:13:09'::timestamp) - extract(epoch from '2026-06-04 13:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285405 -3.468889)'), GeomFromEWKT('SRID=4674;POINT (-38.285326 -3.468831)'))) / (select extract(epoch from '2026-06-04 13:13:09'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.285255 -3.468771)', '2026-06-04 13:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285326 -3.468831)'), GeomFromEWKT('SRID=4674;POINT (-38.285255 -3.468771)'))) / (select extract(epoch from '2026-06-04 13:13:15'::timestamp) - extract(epoch from '2026-06-04 13:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285326 -3.468831)'), GeomFromEWKT('SRID=4674;POINT (-38.285255 -3.468771)'))) / (select extract(epoch from '2026-06-04 13:13:15'::timestamp) - extract(epoch from '2026-06-04 13:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285181 -3.468719)', '2026-06-04 13:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285255 -3.468771)'), GeomFromEWKT('SRID=4674;POINT (-38.285181 -3.468719)'))) / (select extract(epoch from '2026-06-04 13:13:21'::timestamp) - extract(epoch from '2026-06-04 13:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285255 -3.468771)'), GeomFromEWKT('SRID=4674;POINT (-38.285181 -3.468719)'))) / (select extract(epoch from '2026-06-04 13:13:21'::timestamp) - extract(epoch from '2026-06-04 13:13: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'), 46534, 'SRID=4674;POINT (-38.285137 -3.468689)', '2026-06-04 13:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285181 -3.468719)'), GeomFromEWKT('SRID=4674;POINT (-38.285137 -3.468689)'))) / (select extract(epoch from '2026-06-04 13:13:25'::timestamp) - extract(epoch from '2026-06-04 13:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285181 -3.468719)'), GeomFromEWKT('SRID=4674;POINT (-38.285137 -3.468689)'))) / (select extract(epoch from '2026-06-04 13:13:25'::timestamp) - extract(epoch from '2026-06-04 13:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285119 -3.468673)', '2026-06-04 13:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285137 -3.468689)'), GeomFromEWKT('SRID=4674;POINT (-38.285119 -3.468673)'))) / (select extract(epoch from '2026-06-04 13:13:27'::timestamp) - extract(epoch from '2026-06-04 13:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285137 -3.468689)'), GeomFromEWKT('SRID=4674;POINT (-38.285119 -3.468673)'))) / (select extract(epoch from '2026-06-04 13:13:27'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.285081 -3.468648)', '2026-06-04 13:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285119 -3.468673)'), GeomFromEWKT('SRID=4674;POINT (-38.285081 -3.468648)'))) / (select extract(epoch from '2026-06-04 13:13:30'::timestamp) - extract(epoch from '2026-06-04 13:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285119 -3.468673)'), GeomFromEWKT('SRID=4674;POINT (-38.285081 -3.468648)'))) / (select extract(epoch from '2026-06-04 13:13:30'::timestamp) - extract(epoch from '2026-06-04 13:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.285059 -3.46863)', '2026-06-04 13:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285081 -3.468648)'), GeomFromEWKT('SRID=4674;POINT (-38.285059 -3.46863)'))) / (select extract(epoch from '2026-06-04 13:13:32'::timestamp) - extract(epoch from '2026-06-04 13:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285081 -3.468648)'), GeomFromEWKT('SRID=4674;POINT (-38.285059 -3.46863)'))) / (select extract(epoch from '2026-06-04 13:13:32'::timestamp) - extract(epoch from '2026-06-04 13:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284984 -3.468553)', '2026-06-04 13:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285059 -3.46863)'), GeomFromEWKT('SRID=4674;POINT (-38.284984 -3.468553)'))) / (select extract(epoch from '2026-06-04 13:13:40'::timestamp) - extract(epoch from '2026-06-04 13:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.285059 -3.46863)'), GeomFromEWKT('SRID=4674;POINT (-38.284984 -3.468553)'))) / (select extract(epoch from '2026-06-04 13:13:40'::timestamp) - extract(epoch from '2026-06-04 13:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28493 -3.468489)', '2026-06-04 13:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284984 -3.468553)'), GeomFromEWKT('SRID=4674;POINT (-38.28493 -3.468489)'))) / (select extract(epoch from '2026-06-04 13:13:46'::timestamp) - extract(epoch from '2026-06-04 13:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284984 -3.468553)'), GeomFromEWKT('SRID=4674;POINT (-38.28493 -3.468489)'))) / (select extract(epoch from '2026-06-04 13:13:46'::timestamp) - extract(epoch from '2026-06-04 13:13: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'), 46534, 'SRID=4674;POINT (-38.284865 -3.468432)', '2026-06-04 13:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28493 -3.468489)'), GeomFromEWKT('SRID=4674;POINT (-38.284865 -3.468432)'))) / (select extract(epoch from '2026-06-04 13:13:52'::timestamp) - extract(epoch from '2026-06-04 13:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28493 -3.468489)'), GeomFromEWKT('SRID=4674;POINT (-38.284865 -3.468432)'))) / (select extract(epoch from '2026-06-04 13:13:52'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.284776 -3.468369)', '2026-06-04 13:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284865 -3.468432)'), GeomFromEWKT('SRID=4674;POINT (-38.284776 -3.468369)'))) / (select extract(epoch from '2026-06-04 13:13:59'::timestamp) - extract(epoch from '2026-06-04 13:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284865 -3.468432)'), GeomFromEWKT('SRID=4674;POINT (-38.284776 -3.468369)'))) / (select extract(epoch from '2026-06-04 13:13:59'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.284699 -3.468307)', '2026-06-04 13:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284776 -3.468369)'), GeomFromEWKT('SRID=4674;POINT (-38.284699 -3.468307)'))) / (select extract(epoch from '2026-06-04 13:14:05'::timestamp) - extract(epoch from '2026-06-04 13:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284776 -3.468369)'), GeomFromEWKT('SRID=4674;POINT (-38.284699 -3.468307)'))) / (select extract(epoch from '2026-06-04 13:14:05'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.284624 -3.468252)', '2026-06-04 13:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284699 -3.468307)'), GeomFromEWKT('SRID=4674;POINT (-38.284624 -3.468252)'))) / (select extract(epoch from '2026-06-04 13:14:11'::timestamp) - extract(epoch from '2026-06-04 13:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284699 -3.468307)'), GeomFromEWKT('SRID=4674;POINT (-38.284624 -3.468252)'))) / (select extract(epoch from '2026-06-04 13:14:11'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.284548 -3.468194)', '2026-06-04 13:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284624 -3.468252)'), GeomFromEWKT('SRID=4674;POINT (-38.284548 -3.468194)'))) / (select extract(epoch from '2026-06-04 13:14:17'::timestamp) - extract(epoch from '2026-06-04 13:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284624 -3.468252)'), GeomFromEWKT('SRID=4674;POINT (-38.284548 -3.468194)'))) / (select extract(epoch from '2026-06-04 13:14:17'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284495 -3.468154)', '2026-06-04 13:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284548 -3.468194)'), GeomFromEWKT('SRID=4674;POINT (-38.284495 -3.468154)'))) / (select extract(epoch from '2026-06-04 13:14:21'::timestamp) - extract(epoch from '2026-06-04 13:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284548 -3.468194)'), GeomFromEWKT('SRID=4674;POINT (-38.284495 -3.468154)'))) / (select extract(epoch from '2026-06-04 13:14:21'::timestamp) - extract(epoch from '2026-06-04 13:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284487 -3.468144)', '2026-06-04 13:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284495 -3.468154)'), GeomFromEWKT('SRID=4674;POINT (-38.284487 -3.468144)'))) / (select extract(epoch from '2026-06-04 13:14:22'::timestamp) - extract(epoch from '2026-06-04 13:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284495 -3.468154)'), GeomFromEWKT('SRID=4674;POINT (-38.284487 -3.468144)'))) / (select extract(epoch from '2026-06-04 13:14:22'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284418 -3.468095)', '2026-06-04 13:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284487 -3.468144)'), GeomFromEWKT('SRID=4674;POINT (-38.284418 -3.468095)'))) / (select extract(epoch from '2026-06-04 13:14:28'::timestamp) - extract(epoch from '2026-06-04 13:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284487 -3.468144)'), GeomFromEWKT('SRID=4674;POINT (-38.284418 -3.468095)'))) / (select extract(epoch from '2026-06-04 13:14:28'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284344 -3.468038)', '2026-06-04 13:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284418 -3.468095)'), GeomFromEWKT('SRID=4674;POINT (-38.284344 -3.468038)'))) / (select extract(epoch from '2026-06-04 13:14:34'::timestamp) - extract(epoch from '2026-06-04 13:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284418 -3.468095)'), GeomFromEWKT('SRID=4674;POINT (-38.284344 -3.468038)'))) / (select extract(epoch from '2026-06-04 13:14:34'::timestamp) - extract(epoch from '2026-06-04 13:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284285 -3.467997)', '2026-06-04 13:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284344 -3.468038)'), GeomFromEWKT('SRID=4674;POINT (-38.284285 -3.467997)'))) / (select extract(epoch from '2026-06-04 13:14:39'::timestamp) - extract(epoch from '2026-06-04 13:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284344 -3.468038)'), GeomFromEWKT('SRID=4674;POINT (-38.284285 -3.467997)'))) / (select extract(epoch from '2026-06-04 13:14:39'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284247 -3.467957)', '2026-06-04 13:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284285 -3.467997)'), GeomFromEWKT('SRID=4674;POINT (-38.284247 -3.467957)'))) / (select extract(epoch from '2026-06-04 13:14:43'::timestamp) - extract(epoch from '2026-06-04 13:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284285 -3.467997)'), GeomFromEWKT('SRID=4674;POINT (-38.284247 -3.467957)'))) / (select extract(epoch from '2026-06-04 13:14:43'::timestamp) - extract(epoch from '2026-06-04 13:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284233 -3.467937)', '2026-06-04 13:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284247 -3.467957)'), GeomFromEWKT('SRID=4674;POINT (-38.284233 -3.467937)'))) / (select extract(epoch from '2026-06-04 13:14:45'::timestamp) - extract(epoch from '2026-06-04 13:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284247 -3.467957)'), GeomFromEWKT('SRID=4674;POINT (-38.284233 -3.467937)'))) / (select extract(epoch from '2026-06-04 13:14:45'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284214 -3.467918)', '2026-06-04 13:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284233 -3.467937)'), GeomFromEWKT('SRID=4674;POINT (-38.284214 -3.467918)'))) / (select extract(epoch from '2026-06-04 13:14:47'::timestamp) - extract(epoch from '2026-06-04 13:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284233 -3.467937)'), GeomFromEWKT('SRID=4674;POINT (-38.284214 -3.467918)'))) / (select extract(epoch from '2026-06-04 13:14:47'::timestamp) - extract(epoch from '2026-06-04 13:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284206 -3.467905)', '2026-06-04 13:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284214 -3.467918)'), GeomFromEWKT('SRID=4674;POINT (-38.284206 -3.467905)'))) / (select extract(epoch from '2026-06-04 13:14:48'::timestamp) - extract(epoch from '2026-06-04 13:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284214 -3.467918)'), GeomFromEWKT('SRID=4674;POINT (-38.284206 -3.467905)'))) / (select extract(epoch from '2026-06-04 13:14:48'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284171 -3.46786)', '2026-06-04 13:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284206 -3.467905)'), GeomFromEWKT('SRID=4674;POINT (-38.284171 -3.46786)'))) / (select extract(epoch from '2026-06-04 13:14:52'::timestamp) - extract(epoch from '2026-06-04 13:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284206 -3.467905)'), GeomFromEWKT('SRID=4674;POINT (-38.284171 -3.46786)'))) / (select extract(epoch from '2026-06-04 13:14:52'::timestamp) - extract(epoch from '2026-06-04 13:14: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'), 46534, 'SRID=4674;POINT (-38.284154 -3.467847)', '2026-06-04 13:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284171 -3.46786)'), GeomFromEWKT('SRID=4674;POINT (-38.284154 -3.467847)'))) / (select extract(epoch from '2026-06-04 13:14:53'::timestamp) - extract(epoch from '2026-06-04 13:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284171 -3.46786)'), GeomFromEWKT('SRID=4674;POINT (-38.284154 -3.467847)'))) / (select extract(epoch from '2026-06-04 13:14:53'::timestamp) - extract(epoch from '2026-06-04 13:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28409 -3.467781)', '2026-06-04 13:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284154 -3.467847)'), GeomFromEWKT('SRID=4674;POINT (-38.28409 -3.467781)'))) / (select extract(epoch from '2026-06-04 13:14:59'::timestamp) - extract(epoch from '2026-06-04 13:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284154 -3.467847)'), GeomFromEWKT('SRID=4674;POINT (-38.28409 -3.467781)'))) / (select extract(epoch from '2026-06-04 13:14:59'::timestamp) - extract(epoch from '2026-06-04 13:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284031 -3.467716)', '2026-06-04 13:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28409 -3.467781)'), GeomFromEWKT('SRID=4674;POINT (-38.284031 -3.467716)'))) / (select extract(epoch from '2026-06-04 13:15:04'::timestamp) - extract(epoch from '2026-06-04 13:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28409 -3.467781)'), GeomFromEWKT('SRID=4674;POINT (-38.284031 -3.467716)'))) / (select extract(epoch from '2026-06-04 13:15:04'::timestamp) - extract(epoch from '2026-06-04 13:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.284018 -3.467708)', '2026-06-04 13:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284031 -3.467716)'), GeomFromEWKT('SRID=4674;POINT (-38.284018 -3.467708)'))) / (select extract(epoch from '2026-06-04 13:15:05'::timestamp) - extract(epoch from '2026-06-04 13:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284031 -3.467716)'), GeomFromEWKT('SRID=4674;POINT (-38.284018 -3.467708)'))) / (select extract(epoch from '2026-06-04 13:15:05'::timestamp) - extract(epoch from '2026-06-04 13:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283928 -3.467626)', '2026-06-04 13:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284018 -3.467708)'), GeomFromEWKT('SRID=4674;POINT (-38.283928 -3.467626)'))) / (select extract(epoch from '2026-06-04 13:15:12'::timestamp) - extract(epoch from '2026-06-04 13:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.284018 -3.467708)'), GeomFromEWKT('SRID=4674;POINT (-38.283928 -3.467626)'))) / (select extract(epoch from '2026-06-04 13:15:12'::timestamp) - extract(epoch from '2026-06-04 13:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283873 -3.467572)', '2026-06-04 13:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283928 -3.467626)'), GeomFromEWKT('SRID=4674;POINT (-38.283873 -3.467572)'))) / (select extract(epoch from '2026-06-04 13:15:17'::timestamp) - extract(epoch from '2026-06-04 13:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283928 -3.467626)'), GeomFromEWKT('SRID=4674;POINT (-38.283873 -3.467572)'))) / (select extract(epoch from '2026-06-04 13:15:17'::timestamp) - extract(epoch from '2026-06-04 13:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283869 -3.467565)', '2026-06-04 13:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283873 -3.467572)'), GeomFromEWKT('SRID=4674;POINT (-38.283869 -3.467565)'))) / (select extract(epoch from '2026-06-04 13:15:18'::timestamp) - extract(epoch from '2026-06-04 13:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283873 -3.467572)'), GeomFromEWKT('SRID=4674;POINT (-38.283869 -3.467565)'))) / (select extract(epoch from '2026-06-04 13:15:18'::timestamp) - extract(epoch from '2026-06-04 13:15: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'), 46534, 'SRID=4674;POINT (-38.283848 -3.467543)', '2026-06-04 13:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283869 -3.467565)'), GeomFromEWKT('SRID=4674;POINT (-38.283848 -3.467543)'))) / (select extract(epoch from '2026-06-04 13:15:21'::timestamp) - extract(epoch from '2026-06-04 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283869 -3.467565)'), GeomFromEWKT('SRID=4674;POINT (-38.283848 -3.467543)'))) / (select extract(epoch from '2026-06-04 13:15:21'::timestamp) - extract(epoch from '2026-06-04 13:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28381 -3.467483)', '2026-06-04 13:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283848 -3.467543)'), GeomFromEWKT('SRID=4674;POINT (-38.28381 -3.467483)'))) / (select extract(epoch from '2026-06-04 13:15:26'::timestamp) - extract(epoch from '2026-06-04 13:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283848 -3.467543)'), GeomFromEWKT('SRID=4674;POINT (-38.28381 -3.467483)'))) / (select extract(epoch from '2026-06-04 13:15:26'::timestamp) - extract(epoch from '2026-06-04 13:15: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'), 46534, 'SRID=4674;POINT (-38.283761 -3.467413)', '2026-06-04 13:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28381 -3.467483)'), GeomFromEWKT('SRID=4674;POINT (-38.283761 -3.467413)'))) / (select extract(epoch from '2026-06-04 13:15:31'::timestamp) - extract(epoch from '2026-06-04 13:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28381 -3.467483)'), GeomFromEWKT('SRID=4674;POINT (-38.283761 -3.467413)'))) / (select extract(epoch from '2026-06-04 13:15:31'::timestamp) - extract(epoch from '2026-06-04 13:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283695 -3.467327)', '2026-06-04 13:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283761 -3.467413)'), GeomFromEWKT('SRID=4674;POINT (-38.283695 -3.467327)'))) / (select extract(epoch from '2026-06-04 13:15:37'::timestamp) - extract(epoch from '2026-06-04 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283761 -3.467413)'), GeomFromEWKT('SRID=4674;POINT (-38.283695 -3.467327)'))) / (select extract(epoch from '2026-06-04 13:15:37'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.283613 -3.467245)', '2026-06-04 13:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283695 -3.467327)'), GeomFromEWKT('SRID=4674;POINT (-38.283613 -3.467245)'))) / (select extract(epoch from '2026-06-04 13:15:43'::timestamp) - extract(epoch from '2026-06-04 13:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283695 -3.467327)'), GeomFromEWKT('SRID=4674;POINT (-38.283613 -3.467245)'))) / (select extract(epoch from '2026-06-04 13:15:43'::timestamp) - extract(epoch from '2026-06-04 13:15: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'), 46534, 'SRID=4674;POINT (-38.283551 -3.467175)', '2026-06-04 13:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283613 -3.467245)'), GeomFromEWKT('SRID=4674;POINT (-38.283551 -3.467175)'))) / (select extract(epoch from '2026-06-04 13:15:48'::timestamp) - extract(epoch from '2026-06-04 13:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283613 -3.467245)'), GeomFromEWKT('SRID=4674;POINT (-38.283551 -3.467175)'))) / (select extract(epoch from '2026-06-04 13:15:48'::timestamp) - extract(epoch from '2026-06-04 13:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283494 -3.467107)', '2026-06-04 13:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283551 -3.467175)'), GeomFromEWKT('SRID=4674;POINT (-38.283494 -3.467107)'))) / (select extract(epoch from '2026-06-04 13:15:53'::timestamp) - extract(epoch from '2026-06-04 13:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283551 -3.467175)'), GeomFromEWKT('SRID=4674;POINT (-38.283494 -3.467107)'))) / (select extract(epoch from '2026-06-04 13:15:53'::timestamp) - extract(epoch from '2026-06-04 13:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.283441 -3.467039)', '2026-06-04 13:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283494 -3.467107)'), GeomFromEWKT('SRID=4674;POINT (-38.283441 -3.467039)'))) / (select extract(epoch from '2026-06-04 13:15:58'::timestamp) - extract(epoch from '2026-06-04 13:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283494 -3.467107)'), GeomFromEWKT('SRID=4674;POINT (-38.283441 -3.467039)'))) / (select extract(epoch from '2026-06-04 13:15:58'::timestamp) - extract(epoch from '2026-06-04 13:15: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'), 46534, 'SRID=4674;POINT (-38.283383 -3.466963)', '2026-06-04 13:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283441 -3.467039)'), GeomFromEWKT('SRID=4674;POINT (-38.283383 -3.466963)'))) / (select extract(epoch from '2026-06-04 13:16:04'::timestamp) - extract(epoch from '2026-06-04 13:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283441 -3.467039)'), GeomFromEWKT('SRID=4674;POINT (-38.283383 -3.466963)'))) / (select extract(epoch from '2026-06-04 13:16:04'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.283328 -3.466882)', '2026-06-04 13:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283383 -3.466963)'), GeomFromEWKT('SRID=4674;POINT (-38.283328 -3.466882)'))) / (select extract(epoch from '2026-06-04 13:16:10'::timestamp) - extract(epoch from '2026-06-04 13:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283383 -3.466963)'), GeomFromEWKT('SRID=4674;POINT (-38.283328 -3.466882)'))) / (select extract(epoch from '2026-06-04 13:16:10'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.283273 -3.466805)', '2026-06-04 13:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283328 -3.466882)'), GeomFromEWKT('SRID=4674;POINT (-38.283273 -3.466805)'))) / (select extract(epoch from '2026-06-04 13:16:16'::timestamp) - extract(epoch from '2026-06-04 13:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283328 -3.466882)'), GeomFromEWKT('SRID=4674;POINT (-38.283273 -3.466805)'))) / (select extract(epoch from '2026-06-04 13:16:16'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.283221 -3.466744)', '2026-06-04 13:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283273 -3.466805)'), GeomFromEWKT('SRID=4674;POINT (-38.283221 -3.466744)'))) / (select extract(epoch from '2026-06-04 13:16:21'::timestamp) - extract(epoch from '2026-06-04 13:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283273 -3.466805)'), GeomFromEWKT('SRID=4674;POINT (-38.283221 -3.466744)'))) / (select extract(epoch from '2026-06-04 13:16:21'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.283171 -3.46668)', '2026-06-04 13:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283221 -3.466744)'), GeomFromEWKT('SRID=4674;POINT (-38.283171 -3.46668)'))) / (select extract(epoch from '2026-06-04 13:16:26'::timestamp) - extract(epoch from '2026-06-04 13:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283221 -3.466744)'), GeomFromEWKT('SRID=4674;POINT (-38.283171 -3.46668)'))) / (select extract(epoch from '2026-06-04 13:16:26'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.283117 -3.466614)', '2026-06-04 13:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283171 -3.46668)'), GeomFromEWKT('SRID=4674;POINT (-38.283117 -3.466614)'))) / (select extract(epoch from '2026-06-04 13:16:31'::timestamp) - extract(epoch from '2026-06-04 13:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283171 -3.46668)'), GeomFromEWKT('SRID=4674;POINT (-38.283117 -3.466614)'))) / (select extract(epoch from '2026-06-04 13:16:31'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.283062 -3.466547)', '2026-06-04 13:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283117 -3.466614)'), GeomFromEWKT('SRID=4674;POINT (-38.283062 -3.466547)'))) / (select extract(epoch from '2026-06-04 13:16:37'::timestamp) - extract(epoch from '2026-06-04 13:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283117 -3.466614)'), GeomFromEWKT('SRID=4674;POINT (-38.283062 -3.466547)'))) / (select extract(epoch from '2026-06-04 13:16:37'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.283019 -3.46651)', '2026-06-04 13:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283062 -3.466547)'), GeomFromEWKT('SRID=4674;POINT (-38.283019 -3.46651)'))) / (select extract(epoch from '2026-06-04 13:16:40'::timestamp) - extract(epoch from '2026-06-04 13:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283062 -3.466547)'), GeomFromEWKT('SRID=4674;POINT (-38.283019 -3.46651)'))) / (select extract(epoch from '2026-06-04 13:16:40'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.283006 -3.466489)', '2026-06-04 13:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283019 -3.46651)'), GeomFromEWKT('SRID=4674;POINT (-38.283006 -3.466489)'))) / (select extract(epoch from '2026-06-04 13:16:42'::timestamp) - extract(epoch from '2026-06-04 13:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283019 -3.46651)'), GeomFromEWKT('SRID=4674;POINT (-38.283006 -3.466489)'))) / (select extract(epoch from '2026-06-04 13:16:42'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.282949 -3.466424)', '2026-06-04 13:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283006 -3.466489)'), GeomFromEWKT('SRID=4674;POINT (-38.282949 -3.466424)'))) / (select extract(epoch from '2026-06-04 13:16:47'::timestamp) - extract(epoch from '2026-06-04 13:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.283006 -3.466489)'), GeomFromEWKT('SRID=4674;POINT (-38.282949 -3.466424)'))) / (select extract(epoch from '2026-06-04 13:16:47'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.282889 -3.466352)', '2026-06-04 13:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282949 -3.466424)'), GeomFromEWKT('SRID=4674;POINT (-38.282889 -3.466352)'))) / (select extract(epoch from '2026-06-04 13:16:53'::timestamp) - extract(epoch from '2026-06-04 13:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282949 -3.466424)'), GeomFromEWKT('SRID=4674;POINT (-38.282889 -3.466352)'))) / (select extract(epoch from '2026-06-04 13:16:53'::timestamp) - extract(epoch from '2026-06-04 13:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28282 -3.466288)', '2026-06-04 13:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282889 -3.466352)'), GeomFromEWKT('SRID=4674;POINT (-38.28282 -3.466288)'))) / (select extract(epoch from '2026-06-04 13:16:59'::timestamp) - extract(epoch from '2026-06-04 13:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282889 -3.466352)'), GeomFromEWKT('SRID=4674;POINT (-38.28282 -3.466288)'))) / (select extract(epoch from '2026-06-04 13:16:59'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.282751 -3.466211)', '2026-06-04 13:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28282 -3.466288)'), GeomFromEWKT('SRID=4674;POINT (-38.282751 -3.466211)'))) / (select extract(epoch from '2026-06-04 13:17:06'::timestamp) - extract(epoch from '2026-06-04 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28282 -3.466288)'), GeomFromEWKT('SRID=4674;POINT (-38.282751 -3.466211)'))) / (select extract(epoch from '2026-06-04 13:17:06'::timestamp) - extract(epoch from '2026-06-04 13:16: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'), 46534, 'SRID=4674;POINT (-38.282673 -3.466112)', '2026-06-04 13:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282751 -3.466211)'), GeomFromEWKT('SRID=4674;POINT (-38.282673 -3.466112)'))) / (select extract(epoch from '2026-06-04 13:17:14'::timestamp) - extract(epoch from '2026-06-04 13:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282751 -3.466211)'), GeomFromEWKT('SRID=4674;POINT (-38.282673 -3.466112)'))) / (select extract(epoch from '2026-06-04 13:17:14'::timestamp) - extract(epoch from '2026-06-04 13:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28263 -3.466044)', '2026-06-04 13:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282673 -3.466112)'), GeomFromEWKT('SRID=4674;POINT (-38.28263 -3.466044)'))) / (select extract(epoch from '2026-06-04 13:17:19'::timestamp) - extract(epoch from '2026-06-04 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282673 -3.466112)'), GeomFromEWKT('SRID=4674;POINT (-38.28263 -3.466044)'))) / (select extract(epoch from '2026-06-04 13:17:19'::timestamp) - extract(epoch from '2026-06-04 13:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282615 -3.466032)', '2026-06-04 13:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28263 -3.466044)'), GeomFromEWKT('SRID=4674;POINT (-38.282615 -3.466032)'))) / (select extract(epoch from '2026-06-04 13:17:20'::timestamp) - extract(epoch from '2026-06-04 13:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28263 -3.466044)'), GeomFromEWKT('SRID=4674;POINT (-38.282615 -3.466032)'))) / (select extract(epoch from '2026-06-04 13:17:20'::timestamp) - extract(epoch from '2026-06-04 13:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282551 -3.465962)', '2026-06-04 13:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282615 -3.466032)'), GeomFromEWKT('SRID=4674;POINT (-38.282551 -3.465962)'))) / (select extract(epoch from '2026-06-04 13:17:25'::timestamp) - extract(epoch from '2026-06-04 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282615 -3.466032)'), GeomFromEWKT('SRID=4674;POINT (-38.282551 -3.465962)'))) / (select extract(epoch from '2026-06-04 13:17:25'::timestamp) - extract(epoch from '2026-06-04 13:17: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'), 46534, 'SRID=4674;POINT (-38.282487 -3.465899)', '2026-06-04 13:17:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282551 -3.465962)'), GeomFromEWKT('SRID=4674;POINT (-38.282487 -3.465899)'))) / (select extract(epoch from '2026-06-04 13:17:30'::timestamp) - extract(epoch from '2026-06-04 13:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282551 -3.465962)'), GeomFromEWKT('SRID=4674;POINT (-38.282487 -3.465899)'))) / (select extract(epoch from '2026-06-04 13:17:30'::timestamp) - extract(epoch from '2026-06-04 13:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282463 -3.465875)', '2026-06-04 13:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282487 -3.465899)'), GeomFromEWKT('SRID=4674;POINT (-38.282463 -3.465875)'))) / (select extract(epoch from '2026-06-04 13:17:32'::timestamp) - extract(epoch from '2026-06-04 13:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282487 -3.465899)'), GeomFromEWKT('SRID=4674;POINT (-38.282463 -3.465875)'))) / (select extract(epoch from '2026-06-04 13:17:32'::timestamp) - extract(epoch from '2026-06-04 13:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282421 -3.465845)', '2026-06-04 13:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282463 -3.465875)'), GeomFromEWKT('SRID=4674;POINT (-38.282421 -3.465845)'))) / (select extract(epoch from '2026-06-04 13:17:35'::timestamp) - extract(epoch from '2026-06-04 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282463 -3.465875)'), GeomFromEWKT('SRID=4674;POINT (-38.282421 -3.465845)'))) / (select extract(epoch from '2026-06-04 13:17:35'::timestamp) - extract(epoch from '2026-06-04 13:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282333 -3.465778)', '2026-06-04 13:17:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282421 -3.465845)'), GeomFromEWKT('SRID=4674;POINT (-38.282333 -3.465778)'))) / (select extract(epoch from '2026-06-04 13:17:42'::timestamp) - extract(epoch from '2026-06-04 13:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282421 -3.465845)'), GeomFromEWKT('SRID=4674;POINT (-38.282333 -3.465778)'))) / (select extract(epoch from '2026-06-04 13:17:42'::timestamp) - extract(epoch from '2026-06-04 13:17: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'), 46534, 'SRID=4674;POINT (-38.28231 -3.465763)', '2026-06-04 13:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282333 -3.465778)'), GeomFromEWKT('SRID=4674;POINT (-38.28231 -3.465763)'))) / (select extract(epoch from '2026-06-04 13:17:44'::timestamp) - extract(epoch from '2026-06-04 13:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282333 -3.465778)'), GeomFromEWKT('SRID=4674;POINT (-38.28231 -3.465763)'))) / (select extract(epoch from '2026-06-04 13:17:44'::timestamp) - extract(epoch from '2026-06-04 13:17: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'), 46534, 'SRID=4674;POINT (-38.282287 -3.465749)', '2026-06-04 13:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28231 -3.465763)'), GeomFromEWKT('SRID=4674;POINT (-38.282287 -3.465749)'))) / (select extract(epoch from '2026-06-04 13:17:46'::timestamp) - extract(epoch from '2026-06-04 13:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28231 -3.465763)'), GeomFromEWKT('SRID=4674;POINT (-38.282287 -3.465749)'))) / (select extract(epoch from '2026-06-04 13:17:46'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.282257 -3.46572)', '2026-06-04 13:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282287 -3.465749)'), GeomFromEWKT('SRID=4674;POINT (-38.282257 -3.46572)'))) / (select extract(epoch from '2026-06-04 13:17:49'::timestamp) - extract(epoch from '2026-06-04 13:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282287 -3.465749)'), GeomFromEWKT('SRID=4674;POINT (-38.282257 -3.46572)'))) / (select extract(epoch from '2026-06-04 13:17:49'::timestamp) - extract(epoch from '2026-06-04 13:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282236 -3.465706)', '2026-06-04 13:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282257 -3.46572)'), GeomFromEWKT('SRID=4674;POINT (-38.282236 -3.465706)'))) / (select extract(epoch from '2026-06-04 13:17:51'::timestamp) - extract(epoch from '2026-06-04 13:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282257 -3.46572)'), GeomFromEWKT('SRID=4674;POINT (-38.282236 -3.465706)'))) / (select extract(epoch from '2026-06-04 13:17:51'::timestamp) - extract(epoch from '2026-06-04 13:17: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'), 46534, 'SRID=4674;POINT (-38.28218 -3.465642)', '2026-06-04 13:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282236 -3.465706)'), GeomFromEWKT('SRID=4674;POINT (-38.28218 -3.465642)'))) / (select extract(epoch from '2026-06-04 13:17:58'::timestamp) - extract(epoch from '2026-06-04 13:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282236 -3.465706)'), GeomFromEWKT('SRID=4674;POINT (-38.28218 -3.465642)'))) / (select extract(epoch from '2026-06-04 13:17:58'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.282154 -3.465626)', '2026-06-04 13:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28218 -3.465642)'), GeomFromEWKT('SRID=4674;POINT (-38.282154 -3.465626)'))) / (select extract(epoch from '2026-06-04 13:18:00'::timestamp) - extract(epoch from '2026-06-04 13:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28218 -3.465642)'), GeomFromEWKT('SRID=4674;POINT (-38.282154 -3.465626)'))) / (select extract(epoch from '2026-06-04 13:18:00'::timestamp) - extract(epoch from '2026-06-04 13:17: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'), 46534, 'SRID=4674;POINT (-38.282126 -3.465594)', '2026-06-04 13:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282154 -3.465626)'), GeomFromEWKT('SRID=4674;POINT (-38.282126 -3.465594)'))) / (select extract(epoch from '2026-06-04 13:18:03'::timestamp) - extract(epoch from '2026-06-04 13:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282154 -3.465626)'), GeomFromEWKT('SRID=4674;POINT (-38.282126 -3.465594)'))) / (select extract(epoch from '2026-06-04 13:18:03'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282098 -3.465567)', '2026-06-04 13:18:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282126 -3.465594)'), GeomFromEWKT('SRID=4674;POINT (-38.282098 -3.465567)'))) / (select extract(epoch from '2026-06-04 13:18:06'::timestamp) - extract(epoch from '2026-06-04 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282126 -3.465594)'), GeomFromEWKT('SRID=4674;POINT (-38.282098 -3.465567)'))) / (select extract(epoch from '2026-06-04 13:18:06'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282084 -3.465551)', '2026-06-04 13:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282098 -3.465567)'), GeomFromEWKT('SRID=4674;POINT (-38.282084 -3.465551)'))) / (select extract(epoch from '2026-06-04 13:18:08'::timestamp) - extract(epoch from '2026-06-04 13:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282098 -3.465567)'), GeomFromEWKT('SRID=4674;POINT (-38.282084 -3.465551)'))) / (select extract(epoch from '2026-06-04 13:18:08'::timestamp) - extract(epoch from '2026-06-04 13:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.282073 -3.465545)', '2026-06-04 13:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282084 -3.465551)'), GeomFromEWKT('SRID=4674;POINT (-38.282073 -3.465545)'))) / (select extract(epoch from '2026-06-04 13:18:09'::timestamp) - extract(epoch from '2026-06-04 13:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282084 -3.465551)'), GeomFromEWKT('SRID=4674;POINT (-38.282073 -3.465545)'))) / (select extract(epoch from '2026-06-04 13:18:09'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282065 -3.465535)', '2026-06-04 13:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282073 -3.465545)'), GeomFromEWKT('SRID=4674;POINT (-38.282065 -3.465535)'))) / (select extract(epoch from '2026-06-04 13:18:10'::timestamp) - extract(epoch from '2026-06-04 13:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282073 -3.465545)'), GeomFromEWKT('SRID=4674;POINT (-38.282065 -3.465535)'))) / (select extract(epoch from '2026-06-04 13:18:10'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282039 -3.465486)', '2026-06-04 13:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282065 -3.465535)'), GeomFromEWKT('SRID=4674;POINT (-38.282039 -3.465486)'))) / (select extract(epoch from '2026-06-04 13:18:15'::timestamp) - extract(epoch from '2026-06-04 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282065 -3.465535)'), GeomFromEWKT('SRID=4674;POINT (-38.282039 -3.465486)'))) / (select extract(epoch from '2026-06-04 13:18:15'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282033 -3.465475)', '2026-06-04 13:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282039 -3.465486)'), GeomFromEWKT('SRID=4674;POINT (-38.282033 -3.465475)'))) / (select extract(epoch from '2026-06-04 13:18:16'::timestamp) - extract(epoch from '2026-06-04 13:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282039 -3.465486)'), GeomFromEWKT('SRID=4674;POINT (-38.282033 -3.465475)'))) / (select extract(epoch from '2026-06-04 13:18:16'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.282018 -3.465455)', '2026-06-04 13:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282033 -3.465475)'), GeomFromEWKT('SRID=4674;POINT (-38.282018 -3.465455)'))) / (select extract(epoch from '2026-06-04 13:18:18'::timestamp) - extract(epoch from '2026-06-04 13:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282033 -3.465475)'), GeomFromEWKT('SRID=4674;POINT (-38.282018 -3.465455)'))) / (select extract(epoch from '2026-06-04 13:18:18'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.282005 -3.465431)', '2026-06-04 13:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282018 -3.465455)'), GeomFromEWKT('SRID=4674;POINT (-38.282005 -3.465431)'))) / (select extract(epoch from '2026-06-04 13:18:20'::timestamp) - extract(epoch from '2026-06-04 13:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282018 -3.465455)'), GeomFromEWKT('SRID=4674;POINT (-38.282005 -3.465431)'))) / (select extract(epoch from '2026-06-04 13:18:20'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.281969 -3.465373)', '2026-06-04 13:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282005 -3.465431)'), GeomFromEWKT('SRID=4674;POINT (-38.281969 -3.465373)'))) / (select extract(epoch from '2026-06-04 13:18:25'::timestamp) - extract(epoch from '2026-06-04 13:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.282005 -3.465431)'), GeomFromEWKT('SRID=4674;POINT (-38.281969 -3.465373)'))) / (select extract(epoch from '2026-06-04 13:18:25'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281925 -3.465305)', '2026-06-04 13:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281969 -3.465373)'), GeomFromEWKT('SRID=4674;POINT (-38.281925 -3.465305)'))) / (select extract(epoch from '2026-06-04 13:18:31'::timestamp) - extract(epoch from '2026-06-04 13:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281969 -3.465373)'), GeomFromEWKT('SRID=4674;POINT (-38.281925 -3.465305)'))) / (select extract(epoch from '2026-06-04 13:18:31'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281908 -3.46527)', '2026-06-04 13:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281925 -3.465305)'), GeomFromEWKT('SRID=4674;POINT (-38.281908 -3.46527)'))) / (select extract(epoch from '2026-06-04 13:18:34'::timestamp) - extract(epoch from '2026-06-04 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281925 -3.465305)'), GeomFromEWKT('SRID=4674;POINT (-38.281908 -3.46527)'))) / (select extract(epoch from '2026-06-04 13:18:34'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.281895 -3.465247)', '2026-06-04 13:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281908 -3.46527)'), GeomFromEWKT('SRID=4674;POINT (-38.281895 -3.465247)'))) / (select extract(epoch from '2026-06-04 13:18:36'::timestamp) - extract(epoch from '2026-06-04 13:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281908 -3.46527)'), GeomFromEWKT('SRID=4674;POINT (-38.281895 -3.465247)'))) / (select extract(epoch from '2026-06-04 13:18:36'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281847 -3.465167)', '2026-06-04 13:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281895 -3.465247)'), GeomFromEWKT('SRID=4674;POINT (-38.281847 -3.465167)'))) / (select extract(epoch from '2026-06-04 13:18:43'::timestamp) - extract(epoch from '2026-06-04 13:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281895 -3.465247)'), GeomFromEWKT('SRID=4674;POINT (-38.281847 -3.465167)'))) / (select extract(epoch from '2026-06-04 13:18:43'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281777 -3.465088)', '2026-06-04 13:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281847 -3.465167)'), GeomFromEWKT('SRID=4674;POINT (-38.281777 -3.465088)'))) / (select extract(epoch from '2026-06-04 13:18:50'::timestamp) - extract(epoch from '2026-06-04 13:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281847 -3.465167)'), GeomFromEWKT('SRID=4674;POINT (-38.281777 -3.465088)'))) / (select extract(epoch from '2026-06-04 13:18:50'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281738 -3.465017)', '2026-06-04 13:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281777 -3.465088)'), GeomFromEWKT('SRID=4674;POINT (-38.281738 -3.465017)'))) / (select extract(epoch from '2026-06-04 13:18:56'::timestamp) - extract(epoch from '2026-06-04 13:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281777 -3.465088)'), GeomFromEWKT('SRID=4674;POINT (-38.281738 -3.465017)'))) / (select extract(epoch from '2026-06-04 13:18:56'::timestamp) - extract(epoch from '2026-06-04 13:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.281721 -3.464977)', '2026-06-04 13:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281738 -3.465017)'), GeomFromEWKT('SRID=4674;POINT (-38.281721 -3.464977)'))) / (select extract(epoch from '2026-06-04 13:18:59'::timestamp) - extract(epoch from '2026-06-04 13:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281738 -3.465017)'), GeomFromEWKT('SRID=4674;POINT (-38.281721 -3.464977)'))) / (select extract(epoch from '2026-06-04 13:18:59'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281693 -3.464931)', '2026-06-04 13:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281721 -3.464977)'), GeomFromEWKT('SRID=4674;POINT (-38.281693 -3.464931)'))) / (select extract(epoch from '2026-06-04 13:19:03'::timestamp) - extract(epoch from '2026-06-04 13:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281721 -3.464977)'), GeomFromEWKT('SRID=4674;POINT (-38.281693 -3.464931)'))) / (select extract(epoch from '2026-06-04 13:19:03'::timestamp) - extract(epoch from '2026-06-04 13:18: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'), 46534, 'SRID=4674;POINT (-38.281685 -3.464919)', '2026-06-04 13:19:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281693 -3.464931)'), GeomFromEWKT('SRID=4674;POINT (-38.281685 -3.464919)'))) / (select extract(epoch from '2026-06-04 13:19:04'::timestamp) - extract(epoch from '2026-06-04 13:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281693 -3.464931)'), GeomFromEWKT('SRID=4674;POINT (-38.281685 -3.464919)'))) / (select extract(epoch from '2026-06-04 13:19:04'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281666 -3.464883)', '2026-06-04 13:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281685 -3.464919)'), GeomFromEWKT('SRID=4674;POINT (-38.281666 -3.464883)'))) / (select extract(epoch from '2026-06-04 13:19:07'::timestamp) - extract(epoch from '2026-06-04 13:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281685 -3.464919)'), GeomFromEWKT('SRID=4674;POINT (-38.281666 -3.464883)'))) / (select extract(epoch from '2026-06-04 13:19:07'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281587 -3.464805)', '2026-06-04 13:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281666 -3.464883)'), GeomFromEWKT('SRID=4674;POINT (-38.281587 -3.464805)'))) / (select extract(epoch from '2026-06-04 13:19:15'::timestamp) - extract(epoch from '2026-06-04 13:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281666 -3.464883)'), GeomFromEWKT('SRID=4674;POINT (-38.281587 -3.464805)'))) / (select extract(epoch from '2026-06-04 13:19:15'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281563 -3.464771)', '2026-06-04 13:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281587 -3.464805)'), GeomFromEWKT('SRID=4674;POINT (-38.281563 -3.464771)'))) / (select extract(epoch from '2026-06-04 13:19:18'::timestamp) - extract(epoch from '2026-06-04 13:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281587 -3.464805)'), GeomFromEWKT('SRID=4674;POINT (-38.281563 -3.464771)'))) / (select extract(epoch from '2026-06-04 13:19:18'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281539 -3.464749)', '2026-06-04 13:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281563 -3.464771)'), GeomFromEWKT('SRID=4674;POINT (-38.281539 -3.464749)'))) / (select extract(epoch from '2026-06-04 13:19:21'::timestamp) - extract(epoch from '2026-06-04 13:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281563 -3.464771)'), GeomFromEWKT('SRID=4674;POINT (-38.281539 -3.464749)'))) / (select extract(epoch from '2026-06-04 13:19:21'::timestamp) - extract(epoch from '2026-06-04 13:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.281489 -3.464686)', '2026-06-04 13:19:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281539 -3.464749)'), GeomFromEWKT('SRID=4674;POINT (-38.281489 -3.464686)'))) / (select extract(epoch from '2026-06-04 13:19:29'::timestamp) - extract(epoch from '2026-06-04 13:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281539 -3.464749)'), GeomFromEWKT('SRID=4674;POINT (-38.281489 -3.464686)'))) / (select extract(epoch from '2026-06-04 13:19:29'::timestamp) - extract(epoch from '2026-06-04 13:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28144 -3.464625)', '2026-06-04 13:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281489 -3.464686)'), GeomFromEWKT('SRID=4674;POINT (-38.28144 -3.464625)'))) / (select extract(epoch from '2026-06-04 13:19:36'::timestamp) - extract(epoch from '2026-06-04 13:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281489 -3.464686)'), GeomFromEWKT('SRID=4674;POINT (-38.28144 -3.464625)'))) / (select extract(epoch from '2026-06-04 13:19:36'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281402 -3.464577)', '2026-06-04 13:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28144 -3.464625)'), GeomFromEWKT('SRID=4674;POINT (-38.281402 -3.464577)'))) / (select extract(epoch from '2026-06-04 13:19:41'::timestamp) - extract(epoch from '2026-06-04 13:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28144 -3.464625)'), GeomFromEWKT('SRID=4674;POINT (-38.281402 -3.464577)'))) / (select extract(epoch from '2026-06-04 13:19:41'::timestamp) - extract(epoch from '2026-06-04 13:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.281346 -3.464513)', '2026-06-04 13:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281402 -3.464577)'), GeomFromEWKT('SRID=4674;POINT (-38.281346 -3.464513)'))) / (select extract(epoch from '2026-06-04 13:19:47'::timestamp) - extract(epoch from '2026-06-04 13:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281402 -3.464577)'), GeomFromEWKT('SRID=4674;POINT (-38.281346 -3.464513)'))) / (select extract(epoch from '2026-06-04 13:19:47'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281288 -3.464455)', '2026-06-04 13:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281346 -3.464513)'), GeomFromEWKT('SRID=4674;POINT (-38.281288 -3.464455)'))) / (select extract(epoch from '2026-06-04 13:19:53'::timestamp) - extract(epoch from '2026-06-04 13:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281346 -3.464513)'), GeomFromEWKT('SRID=4674;POINT (-38.281288 -3.464455)'))) / (select extract(epoch from '2026-06-04 13:19:53'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281222 -3.464374)', '2026-06-04 13:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281288 -3.464455)'), GeomFromEWKT('SRID=4674;POINT (-38.281222 -3.464374)'))) / (select extract(epoch from '2026-06-04 13:20:01'::timestamp) - extract(epoch from '2026-06-04 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281288 -3.464455)'), GeomFromEWKT('SRID=4674;POINT (-38.281222 -3.464374)'))) / (select extract(epoch from '2026-06-04 13:20:01'::timestamp) - extract(epoch from '2026-06-04 13:19: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'), 46534, 'SRID=4674;POINT (-38.281175 -3.464322)', '2026-06-04 13:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281222 -3.464374)'), GeomFromEWKT('SRID=4674;POINT (-38.281175 -3.464322)'))) / (select extract(epoch from '2026-06-04 13:20:06'::timestamp) - extract(epoch from '2026-06-04 13:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281222 -3.464374)'), GeomFromEWKT('SRID=4674;POINT (-38.281175 -3.464322)'))) / (select extract(epoch from '2026-06-04 13:20:06'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.281164 -3.464316)', '2026-06-04 13:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281175 -3.464322)'), GeomFromEWKT('SRID=4674;POINT (-38.281164 -3.464316)'))) / (select extract(epoch from '2026-06-04 13:20:07'::timestamp) - extract(epoch from '2026-06-04 13:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281175 -3.464322)'), GeomFromEWKT('SRID=4674;POINT (-38.281164 -3.464316)'))) / (select extract(epoch from '2026-06-04 13:20:07'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.281155 -3.464307)', '2026-06-04 13:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281164 -3.464316)'), GeomFromEWKT('SRID=4674;POINT (-38.281155 -3.464307)'))) / (select extract(epoch from '2026-06-04 13:20:08'::timestamp) - extract(epoch from '2026-06-04 13:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281164 -3.464316)'), GeomFromEWKT('SRID=4674;POINT (-38.281155 -3.464307)'))) / (select extract(epoch from '2026-06-04 13:20:08'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.281116 -3.464262)', '2026-06-04 13:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281155 -3.464307)'), GeomFromEWKT('SRID=4674;POINT (-38.281116 -3.464262)'))) / (select extract(epoch from '2026-06-04 13:20:13'::timestamp) - extract(epoch from '2026-06-04 13:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281155 -3.464307)'), GeomFromEWKT('SRID=4674;POINT (-38.281116 -3.464262)'))) / (select extract(epoch from '2026-06-04 13:20:13'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.281063 -3.464207)', '2026-06-04 13:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281116 -3.464262)'), GeomFromEWKT('SRID=4674;POINT (-38.281063 -3.464207)'))) / (select extract(epoch from '2026-06-04 13:20:19'::timestamp) - extract(epoch from '2026-06-04 13:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281116 -3.464262)'), GeomFromEWKT('SRID=4674;POINT (-38.281063 -3.464207)'))) / (select extract(epoch from '2026-06-04 13:20:19'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.281016 -3.464148)', '2026-06-04 13:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281063 -3.464207)'), GeomFromEWKT('SRID=4674;POINT (-38.281016 -3.464148)'))) / (select extract(epoch from '2026-06-04 13:20:25'::timestamp) - extract(epoch from '2026-06-04 13:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281063 -3.464207)'), GeomFromEWKT('SRID=4674;POINT (-38.281016 -3.464148)'))) / (select extract(epoch from '2026-06-04 13:20:25'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.280964 -3.464079)', '2026-06-04 13:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281016 -3.464148)'), GeomFromEWKT('SRID=4674;POINT (-38.280964 -3.464079)'))) / (select extract(epoch from '2026-06-04 13:20:31'::timestamp) - extract(epoch from '2026-06-04 13:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.281016 -3.464148)'), GeomFromEWKT('SRID=4674;POINT (-38.280964 -3.464079)'))) / (select extract(epoch from '2026-06-04 13:20:31'::timestamp) - extract(epoch from '2026-06-04 13:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.28091 -3.464001)', '2026-06-04 13:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280964 -3.464079)'), GeomFromEWKT('SRID=4674;POINT (-38.28091 -3.464001)'))) / (select extract(epoch from '2026-06-04 13:20:37'::timestamp) - extract(epoch from '2026-06-04 13:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280964 -3.464079)'), GeomFromEWKT('SRID=4674;POINT (-38.28091 -3.464001)'))) / (select extract(epoch from '2026-06-04 13:20:37'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.280852 -3.463928)', '2026-06-04 13:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28091 -3.464001)'), GeomFromEWKT('SRID=4674;POINT (-38.280852 -3.463928)'))) / (select extract(epoch from '2026-06-04 13:20:43'::timestamp) - extract(epoch from '2026-06-04 13:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28091 -3.464001)'), GeomFromEWKT('SRID=4674;POINT (-38.280852 -3.463928)'))) / (select extract(epoch from '2026-06-04 13:20:43'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.28079 -3.463847)', '2026-06-04 13:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280852 -3.463928)'), GeomFromEWKT('SRID=4674;POINT (-38.28079 -3.463847)'))) / (select extract(epoch from '2026-06-04 13:20:49'::timestamp) - extract(epoch from '2026-06-04 13:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280852 -3.463928)'), GeomFromEWKT('SRID=4674;POINT (-38.28079 -3.463847)'))) / (select extract(epoch from '2026-06-04 13:20:49'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.280721 -3.463772)', '2026-06-04 13:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28079 -3.463847)'), GeomFromEWKT('SRID=4674;POINT (-38.280721 -3.463772)'))) / (select extract(epoch from '2026-06-04 13:20:55'::timestamp) - extract(epoch from '2026-06-04 13:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.28079 -3.463847)'), GeomFromEWKT('SRID=4674;POINT (-38.280721 -3.463772)'))) / (select extract(epoch from '2026-06-04 13:20:55'::timestamp) - extract(epoch from '2026-06-04 13:20: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'), 46534, 'SRID=4674;POINT (-38.280645 -3.463676)', '2026-06-04 13:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280721 -3.463772)'), GeomFromEWKT('SRID=4674;POINT (-38.280645 -3.463676)'))) / (select extract(epoch from '2026-06-04 13:21:02'::timestamp) - extract(epoch from '2026-06-04 13:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280721 -3.463772)'), GeomFromEWKT('SRID=4674;POINT (-38.280645 -3.463676)'))) / (select extract(epoch from '2026-06-04 13:21:02'::timestamp) - extract(epoch from '2026-06-04 13:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.280593 -3.463616)', '2026-06-04 13:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280645 -3.463676)'), GeomFromEWKT('SRID=4674;POINT (-38.280593 -3.463616)'))) / (select extract(epoch from '2026-06-04 13:21:07'::timestamp) - extract(epoch from '2026-06-04 13:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280645 -3.463676)'), GeomFromEWKT('SRID=4674;POINT (-38.280593 -3.463616)'))) / (select extract(epoch from '2026-06-04 13:21:07'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280537 -3.463556)', '2026-06-04 13:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280593 -3.463616)'), GeomFromEWKT('SRID=4674;POINT (-38.280537 -3.463556)'))) / (select extract(epoch from '2026-06-04 13:21:12'::timestamp) - extract(epoch from '2026-06-04 13:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280593 -3.463616)'), GeomFromEWKT('SRID=4674;POINT (-38.280537 -3.463556)'))) / (select extract(epoch from '2026-06-04 13:21:12'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280475 -3.463484)', '2026-06-04 13:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280537 -3.463556)'), GeomFromEWKT('SRID=4674;POINT (-38.280475 -3.463484)'))) / (select extract(epoch from '2026-06-04 13:21:18'::timestamp) - extract(epoch from '2026-06-04 13:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280537 -3.463556)'), GeomFromEWKT('SRID=4674;POINT (-38.280475 -3.463484)'))) / (select extract(epoch from '2026-06-04 13:21:18'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280376 -3.46339)', '2026-06-04 13:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280475 -3.463484)'), GeomFromEWKT('SRID=4674;POINT (-38.280376 -3.46339)'))) / (select extract(epoch from '2026-06-04 13:21:26'::timestamp) - extract(epoch from '2026-06-04 13:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280475 -3.463484)'), GeomFromEWKT('SRID=4674;POINT (-38.280376 -3.46339)'))) / (select extract(epoch from '2026-06-04 13:21:26'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280319 -3.463338)', '2026-06-04 13:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280376 -3.46339)'), GeomFromEWKT('SRID=4674;POINT (-38.280319 -3.463338)'))) / (select extract(epoch from '2026-06-04 13:21:31'::timestamp) - extract(epoch from '2026-06-04 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280376 -3.46339)'), GeomFromEWKT('SRID=4674;POINT (-38.280319 -3.463338)'))) / (select extract(epoch from '2026-06-04 13:21:31'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280232 -3.463271)', '2026-06-04 13:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280319 -3.463338)'), GeomFromEWKT('SRID=4674;POINT (-38.280232 -3.463271)'))) / (select extract(epoch from '2026-06-04 13:21:37'::timestamp) - extract(epoch from '2026-06-04 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280319 -3.463338)'), GeomFromEWKT('SRID=4674;POINT (-38.280232 -3.463271)'))) / (select extract(epoch from '2026-06-04 13:21:37'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280145 -3.463206)', '2026-06-04 13:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280232 -3.463271)'), GeomFromEWKT('SRID=4674;POINT (-38.280145 -3.463206)'))) / (select extract(epoch from '2026-06-04 13:21:44'::timestamp) - extract(epoch from '2026-06-04 13:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280232 -3.463271)'), GeomFromEWKT('SRID=4674;POINT (-38.280145 -3.463206)'))) / (select extract(epoch from '2026-06-04 13:21:44'::timestamp) - extract(epoch from '2026-06-04 13:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.280072 -3.463154)', '2026-06-04 13:21:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280145 -3.463206)'), GeomFromEWKT('SRID=4674;POINT (-38.280072 -3.463154)'))) / (select extract(epoch from '2026-06-04 13:21:50'::timestamp) - extract(epoch from '2026-06-04 13:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280145 -3.463206)'), GeomFromEWKT('SRID=4674;POINT (-38.280072 -3.463154)'))) / (select extract(epoch from '2026-06-04 13:21:50'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.280011 -3.463107)', '2026-06-04 13:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280072 -3.463154)'), GeomFromEWKT('SRID=4674;POINT (-38.280011 -3.463107)'))) / (select extract(epoch from '2026-06-04 13:21:56'::timestamp) - extract(epoch from '2026-06-04 13:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280072 -3.463154)'), GeomFromEWKT('SRID=4674;POINT (-38.280011 -3.463107)'))) / (select extract(epoch from '2026-06-04 13:21:56'::timestamp) - extract(epoch from '2026-06-04 13:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279983 -3.463089)', '2026-06-04 13:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280011 -3.463107)'), GeomFromEWKT('SRID=4674;POINT (-38.279983 -3.463089)'))) / (select extract(epoch from '2026-06-04 13:21:59'::timestamp) - extract(epoch from '2026-06-04 13:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.280011 -3.463107)'), GeomFromEWKT('SRID=4674;POINT (-38.279983 -3.463089)'))) / (select extract(epoch from '2026-06-04 13:21:59'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.279972 -3.463074)', '2026-06-04 13:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279983 -3.463089)'), GeomFromEWKT('SRID=4674;POINT (-38.279972 -3.463074)'))) / (select extract(epoch from '2026-06-04 13:22:01'::timestamp) - extract(epoch from '2026-06-04 13:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279983 -3.463089)'), GeomFromEWKT('SRID=4674;POINT (-38.279972 -3.463074)'))) / (select extract(epoch from '2026-06-04 13:22:01'::timestamp) - extract(epoch from '2026-06-04 13:21: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'), 46534, 'SRID=4674;POINT (-38.279951 -3.463047)', '2026-06-04 13:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279972 -3.463074)'), GeomFromEWKT('SRID=4674;POINT (-38.279951 -3.463047)'))) / (select extract(epoch from '2026-06-04 13:22:04'::timestamp) - extract(epoch from '2026-06-04 13:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279972 -3.463074)'), GeomFromEWKT('SRID=4674;POINT (-38.279951 -3.463047)'))) / (select extract(epoch from '2026-06-04 13:22:04'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.279938 -3.463027)', '2026-06-04 13:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279951 -3.463047)'), GeomFromEWKT('SRID=4674;POINT (-38.279938 -3.463027)'))) / (select extract(epoch from '2026-06-04 13:22:06'::timestamp) - extract(epoch from '2026-06-04 13:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279951 -3.463047)'), GeomFromEWKT('SRID=4674;POINT (-38.279938 -3.463027)'))) / (select extract(epoch from '2026-06-04 13:22:06'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279915 -3.462984)', '2026-06-04 13:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279938 -3.463027)'), GeomFromEWKT('SRID=4674;POINT (-38.279915 -3.462984)'))) / (select extract(epoch from '2026-06-04 13:22:10'::timestamp) - extract(epoch from '2026-06-04 13:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279938 -3.463027)'), GeomFromEWKT('SRID=4674;POINT (-38.279915 -3.462984)'))) / (select extract(epoch from '2026-06-04 13:22:10'::timestamp) - extract(epoch from '2026-06-04 13:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279867 -3.462914)', '2026-06-04 13:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279915 -3.462984)'), GeomFromEWKT('SRID=4674;POINT (-38.279867 -3.462914)'))) / (select extract(epoch from '2026-06-04 13:22:16'::timestamp) - extract(epoch from '2026-06-04 13:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279915 -3.462984)'), GeomFromEWKT('SRID=4674;POINT (-38.279867 -3.462914)'))) / (select extract(epoch from '2026-06-04 13:22:16'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279789 -3.462827)', '2026-06-04 13:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279867 -3.462914)'), GeomFromEWKT('SRID=4674;POINT (-38.279789 -3.462827)'))) / (select extract(epoch from '2026-06-04 13:22:23'::timestamp) - extract(epoch from '2026-06-04 13:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279867 -3.462914)'), GeomFromEWKT('SRID=4674;POINT (-38.279789 -3.462827)'))) / (select extract(epoch from '2026-06-04 13:22:23'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279708 -3.462761)', '2026-06-04 13:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279789 -3.462827)'), GeomFromEWKT('SRID=4674;POINT (-38.279708 -3.462761)'))) / (select extract(epoch from '2026-06-04 13:22:29'::timestamp) - extract(epoch from '2026-06-04 13:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279789 -3.462827)'), GeomFromEWKT('SRID=4674;POINT (-38.279708 -3.462761)'))) / (select extract(epoch from '2026-06-04 13:22:29'::timestamp) - extract(epoch from '2026-06-04 13:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279631 -3.462687)', '2026-06-04 13:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279708 -3.462761)'), GeomFromEWKT('SRID=4674;POINT (-38.279631 -3.462687)'))) / (select extract(epoch from '2026-06-04 13:22:35'::timestamp) - extract(epoch from '2026-06-04 13:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279708 -3.462761)'), GeomFromEWKT('SRID=4674;POINT (-38.279631 -3.462687)'))) / (select extract(epoch from '2026-06-04 13:22:35'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279598 -3.462652)', '2026-06-04 13:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279631 -3.462687)'), GeomFromEWKT('SRID=4674;POINT (-38.279598 -3.462652)'))) / (select extract(epoch from '2026-06-04 13:22:38'::timestamp) - extract(epoch from '2026-06-04 13:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279631 -3.462687)'), GeomFromEWKT('SRID=4674;POINT (-38.279598 -3.462652)'))) / (select extract(epoch from '2026-06-04 13:22:38'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279562 -3.46262)', '2026-06-04 13:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279598 -3.462652)'), GeomFromEWKT('SRID=4674;POINT (-38.279562 -3.46262)'))) / (select extract(epoch from '2026-06-04 13:22:41'::timestamp) - extract(epoch from '2026-06-04 13:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279598 -3.462652)'), GeomFromEWKT('SRID=4674;POINT (-38.279562 -3.46262)'))) / (select extract(epoch from '2026-06-04 13:22:41'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279482 -3.462563)', '2026-06-04 13:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279562 -3.46262)'), GeomFromEWKT('SRID=4674;POINT (-38.279482 -3.462563)'))) / (select extract(epoch from '2026-06-04 13:22:47'::timestamp) - extract(epoch from '2026-06-04 13:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279562 -3.46262)'), GeomFromEWKT('SRID=4674;POINT (-38.279482 -3.462563)'))) / (select extract(epoch from '2026-06-04 13:22:47'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279435 -3.462528)', '2026-06-04 13:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279482 -3.462563)'), GeomFromEWKT('SRID=4674;POINT (-38.279435 -3.462528)'))) / (select extract(epoch from '2026-06-04 13:22:51'::timestamp) - extract(epoch from '2026-06-04 13:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279482 -3.462563)'), GeomFromEWKT('SRID=4674;POINT (-38.279435 -3.462528)'))) / (select extract(epoch from '2026-06-04 13:22:51'::timestamp) - extract(epoch from '2026-06-04 13:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279426 -3.462509)', '2026-06-04 13:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279435 -3.462528)'), GeomFromEWKT('SRID=4674;POINT (-38.279426 -3.462509)'))) / (select extract(epoch from '2026-06-04 13:22:53'::timestamp) - extract(epoch from '2026-06-04 13:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279435 -3.462528)'), GeomFromEWKT('SRID=4674;POINT (-38.279426 -3.462509)'))) / (select extract(epoch from '2026-06-04 13:22:53'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279383 -3.462461)', '2026-06-04 13:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279426 -3.462509)'), GeomFromEWKT('SRID=4674;POINT (-38.279383 -3.462461)'))) / (select extract(epoch from '2026-06-04 13:22:58'::timestamp) - extract(epoch from '2026-06-04 13:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279426 -3.462509)'), GeomFromEWKT('SRID=4674;POINT (-38.279383 -3.462461)'))) / (select extract(epoch from '2026-06-04 13:22:58'::timestamp) - extract(epoch from '2026-06-04 13:22: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'), 46534, 'SRID=4674;POINT (-38.279324 -3.462398)', '2026-06-04 13:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279383 -3.462461)'), GeomFromEWKT('SRID=4674;POINT (-38.279324 -3.462398)'))) / (select extract(epoch from '2026-06-04 13:23:04'::timestamp) - extract(epoch from '2026-06-04 13:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279383 -3.462461)'), GeomFromEWKT('SRID=4674;POINT (-38.279324 -3.462398)'))) / (select extract(epoch from '2026-06-04 13:23:04'::timestamp) - extract(epoch from '2026-06-04 13:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279246 -3.462318)', '2026-06-04 13:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279324 -3.462398)'), GeomFromEWKT('SRID=4674;POINT (-38.279246 -3.462318)'))) / (select extract(epoch from '2026-06-04 13:23:11'::timestamp) - extract(epoch from '2026-06-04 13:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279324 -3.462398)'), GeomFromEWKT('SRID=4674;POINT (-38.279246 -3.462318)'))) / (select extract(epoch from '2026-06-04 13:23:11'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.27918 -3.462256)', '2026-06-04 13:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279246 -3.462318)'), GeomFromEWKT('SRID=4674;POINT (-38.27918 -3.462256)'))) / (select extract(epoch from '2026-06-04 13:23:17'::timestamp) - extract(epoch from '2026-06-04 13:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279246 -3.462318)'), GeomFromEWKT('SRID=4674;POINT (-38.27918 -3.462256)'))) / (select extract(epoch from '2026-06-04 13:23:17'::timestamp) - extract(epoch from '2026-06-04 13:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.279115 -3.462207)', '2026-06-04 13:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27918 -3.462256)'), GeomFromEWKT('SRID=4674;POINT (-38.279115 -3.462207)'))) / (select extract(epoch from '2026-06-04 13:23:22'::timestamp) - extract(epoch from '2026-06-04 13:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27918 -3.462256)'), GeomFromEWKT('SRID=4674;POINT (-38.279115 -3.462207)'))) / (select extract(epoch from '2026-06-04 13:23:22'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.279045 -3.462151)', '2026-06-04 13:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279115 -3.462207)'), GeomFromEWKT('SRID=4674;POINT (-38.279045 -3.462151)'))) / (select extract(epoch from '2026-06-04 13:23:28'::timestamp) - extract(epoch from '2026-06-04 13:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279115 -3.462207)'), GeomFromEWKT('SRID=4674;POINT (-38.279045 -3.462151)'))) / (select extract(epoch from '2026-06-04 13:23:28'::timestamp) - extract(epoch from '2026-06-04 13:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.27898 -3.462095)', '2026-06-04 13:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279045 -3.462151)'), GeomFromEWKT('SRID=4674;POINT (-38.27898 -3.462095)'))) / (select extract(epoch from '2026-06-04 13:23:34'::timestamp) - extract(epoch from '2026-06-04 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.279045 -3.462151)'), GeomFromEWKT('SRID=4674;POINT (-38.27898 -3.462095)'))) / (select extract(epoch from '2026-06-04 13:23:34'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.278915 -3.462022)', '2026-06-04 13:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27898 -3.462095)'), GeomFromEWKT('SRID=4674;POINT (-38.278915 -3.462022)'))) / (select extract(epoch from '2026-06-04 13:23:41'::timestamp) - extract(epoch from '2026-06-04 13:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27898 -3.462095)'), GeomFromEWKT('SRID=4674;POINT (-38.278915 -3.462022)'))) / (select extract(epoch from '2026-06-04 13:23:41'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.278841 -3.461949)', '2026-06-04 13:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278915 -3.462022)'), GeomFromEWKT('SRID=4674;POINT (-38.278841 -3.461949)'))) / (select extract(epoch from '2026-06-04 13:23:48'::timestamp) - extract(epoch from '2026-06-04 13:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278915 -3.462022)'), GeomFromEWKT('SRID=4674;POINT (-38.278841 -3.461949)'))) / (select extract(epoch from '2026-06-04 13:23:48'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.278775 -3.461888)', '2026-06-04 13:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278841 -3.461949)'), GeomFromEWKT('SRID=4674;POINT (-38.278775 -3.461888)'))) / (select extract(epoch from '2026-06-04 13:23:54'::timestamp) - extract(epoch from '2026-06-04 13:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278841 -3.461949)'), GeomFromEWKT('SRID=4674;POINT (-38.278775 -3.461888)'))) / (select extract(epoch from '2026-06-04 13:23:54'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.278737 -3.461855)', '2026-06-04 13:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278775 -3.461888)'), GeomFromEWKT('SRID=4674;POINT (-38.278737 -3.461855)'))) / (select extract(epoch from '2026-06-04 13:23:57'::timestamp) - extract(epoch from '2026-06-04 13:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278775 -3.461888)'), GeomFromEWKT('SRID=4674;POINT (-38.278737 -3.461855)'))) / (select extract(epoch from '2026-06-04 13:23:57'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.278695 -3.461833)', '2026-06-04 13:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278737 -3.461855)'), GeomFromEWKT('SRID=4674;POINT (-38.278695 -3.461833)'))) / (select extract(epoch from '2026-06-04 13:24:00'::timestamp) - extract(epoch from '2026-06-04 13:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278737 -3.461855)'), GeomFromEWKT('SRID=4674;POINT (-38.278695 -3.461833)'))) / (select extract(epoch from '2026-06-04 13:24:00'::timestamp) - extract(epoch from '2026-06-04 13:23: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'), 46534, 'SRID=4674;POINT (-38.27862 -3.461781)', '2026-06-04 13:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278695 -3.461833)'), GeomFromEWKT('SRID=4674;POINT (-38.27862 -3.461781)'))) / (select extract(epoch from '2026-06-04 13:24:06'::timestamp) - extract(epoch from '2026-06-04 13:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278695 -3.461833)'), GeomFromEWKT('SRID=4674;POINT (-38.27862 -3.461781)'))) / (select extract(epoch from '2026-06-04 13:24:06'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278593 -3.461762)', '2026-06-04 13:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27862 -3.461781)'), GeomFromEWKT('SRID=4674;POINT (-38.278593 -3.461762)'))) / (select extract(epoch from '2026-06-04 13:24:08'::timestamp) - extract(epoch from '2026-06-04 13:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27862 -3.461781)'), GeomFromEWKT('SRID=4674;POINT (-38.278593 -3.461762)'))) / (select extract(epoch from '2026-06-04 13:24:08'::timestamp) - extract(epoch from '2026-06-04 13:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.278582 -3.46174)', '2026-06-04 13:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278593 -3.461762)'), GeomFromEWKT('SRID=4674;POINT (-38.278582 -3.46174)'))) / (select extract(epoch from '2026-06-04 13:24:10'::timestamp) - extract(epoch from '2026-06-04 13:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278593 -3.461762)'), GeomFromEWKT('SRID=4674;POINT (-38.278582 -3.46174)'))) / (select extract(epoch from '2026-06-04 13:24:10'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278567 -3.461729)', '2026-06-04 13:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278582 -3.46174)'), GeomFromEWKT('SRID=4674;POINT (-38.278567 -3.461729)'))) / (select extract(epoch from '2026-06-04 13:24:11'::timestamp) - extract(epoch from '2026-06-04 13:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278582 -3.46174)'), GeomFromEWKT('SRID=4674;POINT (-38.278567 -3.461729)'))) / (select extract(epoch from '2026-06-04 13:24:11'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.278531 -3.461691)', '2026-06-04 13:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278567 -3.461729)'), GeomFromEWKT('SRID=4674;POINT (-38.278531 -3.461691)'))) / (select extract(epoch from '2026-06-04 13:24:16'::timestamp) - extract(epoch from '2026-06-04 13:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278567 -3.461729)'), GeomFromEWKT('SRID=4674;POINT (-38.278531 -3.461691)'))) / (select extract(epoch from '2026-06-04 13:24:16'::timestamp) - extract(epoch from '2026-06-04 13:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.27852 -3.461682)', '2026-06-04 13:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278531 -3.461691)'), GeomFromEWKT('SRID=4674;POINT (-38.27852 -3.461682)'))) / (select extract(epoch from '2026-06-04 13:24:17'::timestamp) - extract(epoch from '2026-06-04 13:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278531 -3.461691)'), GeomFromEWKT('SRID=4674;POINT (-38.27852 -3.461682)'))) / (select extract(epoch from '2026-06-04 13:24:17'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.278455 -3.461607)', '2026-06-04 13:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27852 -3.461682)'), GeomFromEWKT('SRID=4674;POINT (-38.278455 -3.461607)'))) / (select extract(epoch from '2026-06-04 13:24:23'::timestamp) - extract(epoch from '2026-06-04 13:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27852 -3.461682)'), GeomFromEWKT('SRID=4674;POINT (-38.278455 -3.461607)'))) / (select extract(epoch from '2026-06-04 13:24:23'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.27838 -3.461537)', '2026-06-04 13:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278455 -3.461607)'), GeomFromEWKT('SRID=4674;POINT (-38.27838 -3.461537)'))) / (select extract(epoch from '2026-06-04 13:24:29'::timestamp) - extract(epoch from '2026-06-04 13:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278455 -3.461607)'), GeomFromEWKT('SRID=4674;POINT (-38.27838 -3.461537)'))) / (select extract(epoch from '2026-06-04 13:24:29'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278321 -3.461497)', '2026-06-04 13:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27838 -3.461537)'), GeomFromEWKT('SRID=4674;POINT (-38.278321 -3.461497)'))) / (select extract(epoch from '2026-06-04 13:24:33'::timestamp) - extract(epoch from '2026-06-04 13:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27838 -3.461537)'), GeomFromEWKT('SRID=4674;POINT (-38.278321 -3.461497)'))) / (select extract(epoch from '2026-06-04 13:24:33'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278255 -3.461445)', '2026-06-04 13:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278321 -3.461497)'), GeomFromEWKT('SRID=4674;POINT (-38.278255 -3.461445)'))) / (select extract(epoch from '2026-06-04 13:24:39'::timestamp) - extract(epoch from '2026-06-04 13:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278321 -3.461497)'), GeomFromEWKT('SRID=4674;POINT (-38.278255 -3.461445)'))) / (select extract(epoch from '2026-06-04 13:24:39'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278229 -3.461409)', '2026-06-04 13:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278255 -3.461445)'), GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461409)'))) / (select extract(epoch from '2026-06-04 13:24:43'::timestamp) - extract(epoch from '2026-06-04 13:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278255 -3.461445)'), GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461409)'))) / (select extract(epoch from '2026-06-04 13:24:43'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278229 -3.461398)', '2026-06-04 13:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461409)'), GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461398)'))) / (select extract(epoch from '2026-06-04 13:24:44'::timestamp) - extract(epoch from '2026-06-04 13:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461409)'), GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461398)'))) / (select extract(epoch from '2026-06-04 13:24:44'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278224 -3.461387)', '2026-06-04 13:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461398)'), GeomFromEWKT('SRID=4674;POINT (-38.278224 -3.461387)'))) / (select extract(epoch from '2026-06-04 13:24:45'::timestamp) - extract(epoch from '2026-06-04 13:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278229 -3.461398)'), GeomFromEWKT('SRID=4674;POINT (-38.278224 -3.461387)'))) / (select extract(epoch from '2026-06-04 13:24:45'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278205 -3.461363)', '2026-06-04 13:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278224 -3.461387)'), GeomFromEWKT('SRID=4674;POINT (-38.278205 -3.461363)'))) / (select extract(epoch from '2026-06-04 13:24:48'::timestamp) - extract(epoch from '2026-06-04 13:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278224 -3.461387)'), GeomFromEWKT('SRID=4674;POINT (-38.278205 -3.461363)'))) / (select extract(epoch from '2026-06-04 13:24:48'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278202 -3.461351)', '2026-06-04 13:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278205 -3.461363)'), GeomFromEWKT('SRID=4674;POINT (-38.278202 -3.461351)'))) / (select extract(epoch from '2026-06-04 13:24:49'::timestamp) - extract(epoch from '2026-06-04 13:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278205 -3.461363)'), GeomFromEWKT('SRID=4674;POINT (-38.278202 -3.461351)'))) / (select extract(epoch from '2026-06-04 13:24:49'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278136 -3.461259)', '2026-06-04 13:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278202 -3.461351)'), GeomFromEWKT('SRID=4674;POINT (-38.278136 -3.461259)'))) / (select extract(epoch from '2026-06-04 13:24:57'::timestamp) - extract(epoch from '2026-06-04 13:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278202 -3.461351)'), GeomFromEWKT('SRID=4674;POINT (-38.278136 -3.461259)'))) / (select extract(epoch from '2026-06-04 13:24:57'::timestamp) - extract(epoch from '2026-06-04 13:24: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'), 46534, 'SRID=4674;POINT (-38.278081 -3.461183)', '2026-06-04 13:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278136 -3.461259)'), GeomFromEWKT('SRID=4674;POINT (-38.278081 -3.461183)'))) / (select extract(epoch from '2026-06-04 13:25:03'::timestamp) - extract(epoch from '2026-06-04 13:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278136 -3.461259)'), GeomFromEWKT('SRID=4674;POINT (-38.278081 -3.461183)'))) / (select extract(epoch from '2026-06-04 13:25:03'::timestamp) - extract(epoch from '2026-06-04 13:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.278029 -3.461129)', '2026-06-04 13:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278081 -3.461183)'), GeomFromEWKT('SRID=4674;POINT (-38.278029 -3.461129)'))) / (select extract(epoch from '2026-06-04 13:25:08'::timestamp) - extract(epoch from '2026-06-04 13:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278081 -3.461183)'), GeomFromEWKT('SRID=4674;POINT (-38.278029 -3.461129)'))) / (select extract(epoch from '2026-06-04 13:25:08'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.278024 -3.461118)', '2026-06-04 13:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278029 -3.461129)'), GeomFromEWKT('SRID=4674;POINT (-38.278024 -3.461118)'))) / (select extract(epoch from '2026-06-04 13:25:09'::timestamp) - extract(epoch from '2026-06-04 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278029 -3.461129)'), GeomFromEWKT('SRID=4674;POINT (-38.278024 -3.461118)'))) / (select extract(epoch from '2026-06-04 13:25:09'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277979 -3.461057)', '2026-06-04 13:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278024 -3.461118)'), GeomFromEWKT('SRID=4674;POINT (-38.277979 -3.461057)'))) / (select extract(epoch from '2026-06-04 13:25:14'::timestamp) - extract(epoch from '2026-06-04 13:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.278024 -3.461118)'), GeomFromEWKT('SRID=4674;POINT (-38.277979 -3.461057)'))) / (select extract(epoch from '2026-06-04 13:25:14'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277942 -3.461016)', '2026-06-04 13:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277979 -3.461057)'), GeomFromEWKT('SRID=4674;POINT (-38.277942 -3.461016)'))) / (select extract(epoch from '2026-06-04 13:25:18'::timestamp) - extract(epoch from '2026-06-04 13:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277979 -3.461057)'), GeomFromEWKT('SRID=4674;POINT (-38.277942 -3.461016)'))) / (select extract(epoch from '2026-06-04 13:25:18'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277934 -3.461005)', '2026-06-04 13:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277942 -3.461016)'), GeomFromEWKT('SRID=4674;POINT (-38.277934 -3.461005)'))) / (select extract(epoch from '2026-06-04 13:25:19'::timestamp) - extract(epoch from '2026-06-04 13:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277942 -3.461016)'), GeomFromEWKT('SRID=4674;POINT (-38.277934 -3.461005)'))) / (select extract(epoch from '2026-06-04 13:25:19'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277874 -3.460932)', '2026-06-04 13:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277934 -3.461005)'), GeomFromEWKT('SRID=4674;POINT (-38.277874 -3.460932)'))) / (select extract(epoch from '2026-06-04 13:25:25'::timestamp) - extract(epoch from '2026-06-04 13:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277934 -3.461005)'), GeomFromEWKT('SRID=4674;POINT (-38.277874 -3.460932)'))) / (select extract(epoch from '2026-06-04 13:25:25'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277789 -3.460838)', '2026-06-04 13:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277874 -3.460932)'), GeomFromEWKT('SRID=4674;POINT (-38.277789 -3.460838)'))) / (select extract(epoch from '2026-06-04 13:25:32'::timestamp) - extract(epoch from '2026-06-04 13:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277874 -3.460932)'), GeomFromEWKT('SRID=4674;POINT (-38.277789 -3.460838)'))) / (select extract(epoch from '2026-06-04 13:25:32'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277701 -3.460761)', '2026-06-04 13:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277789 -3.460838)'), GeomFromEWKT('SRID=4674;POINT (-38.277701 -3.460761)'))) / (select extract(epoch from '2026-06-04 13:25:39'::timestamp) - extract(epoch from '2026-06-04 13:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277789 -3.460838)'), GeomFromEWKT('SRID=4674;POINT (-38.277701 -3.460761)'))) / (select extract(epoch from '2026-06-04 13:25:39'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277643 -3.46071)', '2026-06-04 13:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277701 -3.460761)'), GeomFromEWKT('SRID=4674;POINT (-38.277643 -3.46071)'))) / (select extract(epoch from '2026-06-04 13:25:44'::timestamp) - extract(epoch from '2026-06-04 13:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277701 -3.460761)'), GeomFromEWKT('SRID=4674;POINT (-38.277643 -3.46071)'))) / (select extract(epoch from '2026-06-04 13:25:44'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277593 -3.460635)', '2026-06-04 13:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277643 -3.46071)'), GeomFromEWKT('SRID=4674;POINT (-38.277593 -3.460635)'))) / (select extract(epoch from '2026-06-04 13:25:50'::timestamp) - extract(epoch from '2026-06-04 13:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277643 -3.46071)'), GeomFromEWKT('SRID=4674;POINT (-38.277593 -3.460635)'))) / (select extract(epoch from '2026-06-04 13:25:50'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277558 -3.460591)', '2026-06-04 13:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277593 -3.460635)'), GeomFromEWKT('SRID=4674;POINT (-38.277558 -3.460591)'))) / (select extract(epoch from '2026-06-04 13:25:54'::timestamp) - extract(epoch from '2026-06-04 13:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277593 -3.460635)'), GeomFromEWKT('SRID=4674;POINT (-38.277558 -3.460591)'))) / (select extract(epoch from '2026-06-04 13:25:54'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277523 -3.460542)', '2026-06-04 13:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277558 -3.460591)'), GeomFromEWKT('SRID=4674;POINT (-38.277523 -3.460542)'))) / (select extract(epoch from '2026-06-04 13:25:58'::timestamp) - extract(epoch from '2026-06-04 13:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277558 -3.460591)'), GeomFromEWKT('SRID=4674;POINT (-38.277523 -3.460542)'))) / (select extract(epoch from '2026-06-04 13:25:58'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277454 -3.460475)', '2026-06-04 13:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277523 -3.460542)'), GeomFromEWKT('SRID=4674;POINT (-38.277454 -3.460475)'))) / (select extract(epoch from '2026-06-04 13:26:05'::timestamp) - extract(epoch from '2026-06-04 13:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277523 -3.460542)'), GeomFromEWKT('SRID=4674;POINT (-38.277454 -3.460475)'))) / (select extract(epoch from '2026-06-04 13:26:05'::timestamp) - extract(epoch from '2026-06-04 13:25: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'), 46534, 'SRID=4674;POINT (-38.277376 -3.460388)', '2026-06-04 13:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277454 -3.460475)'), GeomFromEWKT('SRID=4674;POINT (-38.277376 -3.460388)'))) / (select extract(epoch from '2026-06-04 13:26:12'::timestamp) - extract(epoch from '2026-06-04 13:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277454 -3.460475)'), GeomFromEWKT('SRID=4674;POINT (-38.277376 -3.460388)'))) / (select extract(epoch from '2026-06-04 13:26:12'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.277317 -3.460334)', '2026-06-04 13:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277376 -3.460388)'), GeomFromEWKT('SRID=4674;POINT (-38.277317 -3.460334)'))) / (select extract(epoch from '2026-06-04 13:26:17'::timestamp) - extract(epoch from '2026-06-04 13:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277376 -3.460388)'), GeomFromEWKT('SRID=4674;POINT (-38.277317 -3.460334)'))) / (select extract(epoch from '2026-06-04 13:26:17'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.277235 -3.460257)', '2026-06-04 13:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277317 -3.460334)'), GeomFromEWKT('SRID=4674;POINT (-38.277235 -3.460257)'))) / (select extract(epoch from '2026-06-04 13:26:24'::timestamp) - extract(epoch from '2026-06-04 13:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277317 -3.460334)'), GeomFromEWKT('SRID=4674;POINT (-38.277235 -3.460257)'))) / (select extract(epoch from '2026-06-04 13:26:24'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.277161 -3.460181)', '2026-06-04 13:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277235 -3.460257)'), GeomFromEWKT('SRID=4674;POINT (-38.277161 -3.460181)'))) / (select extract(epoch from '2026-06-04 13:26:30'::timestamp) - extract(epoch from '2026-06-04 13:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277235 -3.460257)'), GeomFromEWKT('SRID=4674;POINT (-38.277161 -3.460181)'))) / (select extract(epoch from '2026-06-04 13:26:30'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.277121 -3.460145)', '2026-06-04 13:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277161 -3.460181)'), GeomFromEWKT('SRID=4674;POINT (-38.277121 -3.460145)'))) / (select extract(epoch from '2026-06-04 13:26:34'::timestamp) - extract(epoch from '2026-06-04 13:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277161 -3.460181)'), GeomFromEWKT('SRID=4674;POINT (-38.277121 -3.460145)'))) / (select extract(epoch from '2026-06-04 13:26:34'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.277109 -3.460136)', '2026-06-04 13:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277121 -3.460145)'), GeomFromEWKT('SRID=4674;POINT (-38.277109 -3.460136)'))) / (select extract(epoch from '2026-06-04 13:26:35'::timestamp) - extract(epoch from '2026-06-04 13:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277121 -3.460145)'), GeomFromEWKT('SRID=4674;POINT (-38.277109 -3.460136)'))) / (select extract(epoch from '2026-06-04 13:26:35'::timestamp) - extract(epoch from '2026-06-04 13:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.277043 -3.460076)', '2026-06-04 13:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277109 -3.460136)'), GeomFromEWKT('SRID=4674;POINT (-38.277043 -3.460076)'))) / (select extract(epoch from '2026-06-04 13:26:41'::timestamp) - extract(epoch from '2026-06-04 13:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277109 -3.460136)'), GeomFromEWKT('SRID=4674;POINT (-38.277043 -3.460076)'))) / (select extract(epoch from '2026-06-04 13:26:41'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.276983 -3.460026)', '2026-06-04 13:26:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277043 -3.460076)'), GeomFromEWKT('SRID=4674;POINT (-38.276983 -3.460026)'))) / (select extract(epoch from '2026-06-04 13:26:46'::timestamp) - extract(epoch from '2026-06-04 13:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.277043 -3.460076)'), GeomFromEWKT('SRID=4674;POINT (-38.276983 -3.460026)'))) / (select extract(epoch from '2026-06-04 13:26:46'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.276957 -3.460007)', '2026-06-04 13:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276983 -3.460026)'), GeomFromEWKT('SRID=4674;POINT (-38.276957 -3.460007)'))) / (select extract(epoch from '2026-06-04 13:26:48'::timestamp) - extract(epoch from '2026-06-04 13:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276983 -3.460026)'), GeomFromEWKT('SRID=4674;POINT (-38.276957 -3.460007)'))) / (select extract(epoch from '2026-06-04 13:26:48'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.276904 -3.459965)', '2026-06-04 13:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276957 -3.460007)'), GeomFromEWKT('SRID=4674;POINT (-38.276904 -3.459965)'))) / (select extract(epoch from '2026-06-04 13:26:53'::timestamp) - extract(epoch from '2026-06-04 13:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276957 -3.460007)'), GeomFromEWKT('SRID=4674;POINT (-38.276904 -3.459965)'))) / (select extract(epoch from '2026-06-04 13:26:53'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.276846 -3.459903)', '2026-06-04 13:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276904 -3.459965)'), GeomFromEWKT('SRID=4674;POINT (-38.276846 -3.459903)'))) / (select extract(epoch from '2026-06-04 13:27:00'::timestamp) - extract(epoch from '2026-06-04 13:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276904 -3.459965)'), GeomFromEWKT('SRID=4674;POINT (-38.276846 -3.459903)'))) / (select extract(epoch from '2026-06-04 13:27:00'::timestamp) - extract(epoch from '2026-06-04 13:26: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'), 46534, 'SRID=4674;POINT (-38.276787 -3.459838)', '2026-06-04 13:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276846 -3.459903)'), GeomFromEWKT('SRID=4674;POINT (-38.276787 -3.459838)'))) / (select extract(epoch from '2026-06-04 13:27:06'::timestamp) - extract(epoch from '2026-06-04 13:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276846 -3.459903)'), GeomFromEWKT('SRID=4674;POINT (-38.276787 -3.459838)'))) / (select extract(epoch from '2026-06-04 13:27:06'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.276722 -3.459772)', '2026-06-04 13:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276787 -3.459838)'), GeomFromEWKT('SRID=4674;POINT (-38.276722 -3.459772)'))) / (select extract(epoch from '2026-06-04 13:27:12'::timestamp) - extract(epoch from '2026-06-04 13:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276787 -3.459838)'), GeomFromEWKT('SRID=4674;POINT (-38.276722 -3.459772)'))) / (select extract(epoch from '2026-06-04 13:27:12'::timestamp) - extract(epoch from '2026-06-04 13:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.276673 -3.459723)', '2026-06-04 13:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276722 -3.459772)'), GeomFromEWKT('SRID=4674;POINT (-38.276673 -3.459723)'))) / (select extract(epoch from '2026-06-04 13:27:17'::timestamp) - extract(epoch from '2026-06-04 13:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276722 -3.459772)'), GeomFromEWKT('SRID=4674;POINT (-38.276673 -3.459723)'))) / (select extract(epoch from '2026-06-04 13:27:17'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276667 -3.459713)', '2026-06-04 13:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276673 -3.459723)'), GeomFromEWKT('SRID=4674;POINT (-38.276667 -3.459713)'))) / (select extract(epoch from '2026-06-04 13:27:18'::timestamp) - extract(epoch from '2026-06-04 13:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276673 -3.459723)'), GeomFromEWKT('SRID=4674;POINT (-38.276667 -3.459713)'))) / (select extract(epoch from '2026-06-04 13:27:18'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.276634 -3.459674)', '2026-06-04 13:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276667 -3.459713)'), GeomFromEWKT('SRID=4674;POINT (-38.276634 -3.459674)'))) / (select extract(epoch from '2026-06-04 13:27:22'::timestamp) - extract(epoch from '2026-06-04 13:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276667 -3.459713)'), GeomFromEWKT('SRID=4674;POINT (-38.276634 -3.459674)'))) / (select extract(epoch from '2026-06-04 13:27:22'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276587 -3.459624)', '2026-06-04 13:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276634 -3.459674)'), GeomFromEWKT('SRID=4674;POINT (-38.276587 -3.459624)'))) / (select extract(epoch from '2026-06-04 13:27:27'::timestamp) - extract(epoch from '2026-06-04 13:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276634 -3.459674)'), GeomFromEWKT('SRID=4674;POINT (-38.276587 -3.459624)'))) / (select extract(epoch from '2026-06-04 13:27:27'::timestamp) - extract(epoch from '2026-06-04 13:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.276575 -3.459613)', '2026-06-04 13:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276587 -3.459624)'), GeomFromEWKT('SRID=4674;POINT (-38.276575 -3.459613)'))) / (select extract(epoch from '2026-06-04 13:27:28'::timestamp) - extract(epoch from '2026-06-04 13:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276587 -3.459624)'), GeomFromEWKT('SRID=4674;POINT (-38.276575 -3.459613)'))) / (select extract(epoch from '2026-06-04 13:27:28'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276518 -3.45957)', '2026-06-04 13:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276575 -3.459613)'), GeomFromEWKT('SRID=4674;POINT (-38.276518 -3.45957)'))) / (select extract(epoch from '2026-06-04 13:27:32'::timestamp) - extract(epoch from '2026-06-04 13:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276575 -3.459613)'), GeomFromEWKT('SRID=4674;POINT (-38.276518 -3.45957)'))) / (select extract(epoch from '2026-06-04 13:27:32'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276461 -3.459519)', '2026-06-04 13:27:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276518 -3.45957)'), GeomFromEWKT('SRID=4674;POINT (-38.276461 -3.459519)'))) / (select extract(epoch from '2026-06-04 13:27:37'::timestamp) - extract(epoch from '2026-06-04 13:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276518 -3.45957)'), GeomFromEWKT('SRID=4674;POINT (-38.276461 -3.459519)'))) / (select extract(epoch from '2026-06-04 13:27:37'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.276419 -3.459486)', '2026-06-04 13:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276461 -3.459519)'), GeomFromEWKT('SRID=4674;POINT (-38.276419 -3.459486)'))) / (select extract(epoch from '2026-06-04 13:27:40'::timestamp) - extract(epoch from '2026-06-04 13:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276461 -3.459519)'), GeomFromEWKT('SRID=4674;POINT (-38.276419 -3.459486)'))) / (select extract(epoch from '2026-06-04 13:27:40'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.27641 -3.459474)', '2026-06-04 13:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276419 -3.459486)'), GeomFromEWKT('SRID=4674;POINT (-38.27641 -3.459474)'))) / (select extract(epoch from '2026-06-04 13:27:41'::timestamp) - extract(epoch from '2026-06-04 13:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276419 -3.459486)'), GeomFromEWKT('SRID=4674;POINT (-38.27641 -3.459474)'))) / (select extract(epoch from '2026-06-04 13:27:41'::timestamp) - extract(epoch from '2026-06-04 13:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.276355 -3.459413)', '2026-06-04 13:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27641 -3.459474)'), GeomFromEWKT('SRID=4674;POINT (-38.276355 -3.459413)'))) / (select extract(epoch from '2026-06-04 13:27:46'::timestamp) - extract(epoch from '2026-06-04 13:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27641 -3.459474)'), GeomFromEWKT('SRID=4674;POINT (-38.276355 -3.459413)'))) / (select extract(epoch from '2026-06-04 13:27:46'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276316 -3.459365)', '2026-06-04 13:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276355 -3.459413)'), GeomFromEWKT('SRID=4674;POINT (-38.276316 -3.459365)'))) / (select extract(epoch from '2026-06-04 13:27:50'::timestamp) - extract(epoch from '2026-06-04 13:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276355 -3.459413)'), GeomFromEWKT('SRID=4674;POINT (-38.276316 -3.459365)'))) / (select extract(epoch from '2026-06-04 13:27:50'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276271 -3.459309)', '2026-06-04 13:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276316 -3.459365)'), GeomFromEWKT('SRID=4674;POINT (-38.276271 -3.459309)'))) / (select extract(epoch from '2026-06-04 13:27:54'::timestamp) - extract(epoch from '2026-06-04 13:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276316 -3.459365)'), GeomFromEWKT('SRID=4674;POINT (-38.276271 -3.459309)'))) / (select extract(epoch from '2026-06-04 13:27:54'::timestamp) - extract(epoch from '2026-06-04 13:27: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'), 46534, 'SRID=4674;POINT (-38.276187 -3.459217)', '2026-06-04 13:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276271 -3.459309)'), GeomFromEWKT('SRID=4674;POINT (-38.276187 -3.459217)'))) / (select extract(epoch from '2026-06-04 13:28:01'::timestamp) - extract(epoch from '2026-06-04 13:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276271 -3.459309)'), GeomFromEWKT('SRID=4674;POINT (-38.276187 -3.459217)'))) / (select extract(epoch from '2026-06-04 13:28:01'::timestamp) - extract(epoch from '2026-06-04 13:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.276128 -3.459139)', '2026-06-04 13:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276187 -3.459217)'), GeomFromEWKT('SRID=4674;POINT (-38.276128 -3.459139)'))) / (select extract(epoch from '2026-06-04 13:28:06'::timestamp) - extract(epoch from '2026-06-04 13:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276187 -3.459217)'), GeomFromEWKT('SRID=4674;POINT (-38.276128 -3.459139)'))) / (select extract(epoch from '2026-06-04 13:28:06'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.276065 -3.459073)', '2026-06-04 13:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276128 -3.459139)'), GeomFromEWKT('SRID=4674;POINT (-38.276065 -3.459073)'))) / (select extract(epoch from '2026-06-04 13:28:11'::timestamp) - extract(epoch from '2026-06-04 13:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276128 -3.459139)'), GeomFromEWKT('SRID=4674;POINT (-38.276065 -3.459073)'))) / (select extract(epoch from '2026-06-04 13:28:11'::timestamp) - extract(epoch from '2026-06-04 13:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.276 -3.459004)', '2026-06-04 13:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276065 -3.459073)'), GeomFromEWKT('SRID=4674;POINT (-38.276 -3.459004)'))) / (select extract(epoch from '2026-06-04 13:28:17'::timestamp) - extract(epoch from '2026-06-04 13:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276065 -3.459073)'), GeomFromEWKT('SRID=4674;POINT (-38.276 -3.459004)'))) / (select extract(epoch from '2026-06-04 13:28:17'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275934 -3.458931)', '2026-06-04 13:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276 -3.459004)'), GeomFromEWKT('SRID=4674;POINT (-38.275934 -3.458931)'))) / (select extract(epoch from '2026-06-04 13:28:23'::timestamp) - extract(epoch from '2026-06-04 13:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.276 -3.459004)'), GeomFromEWKT('SRID=4674;POINT (-38.275934 -3.458931)'))) / (select extract(epoch from '2026-06-04 13:28:23'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275881 -3.458877)', '2026-06-04 13:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275934 -3.458931)'), GeomFromEWKT('SRID=4674;POINT (-38.275881 -3.458877)'))) / (select extract(epoch from '2026-06-04 13:28:29'::timestamp) - extract(epoch from '2026-06-04 13:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275934 -3.458931)'), GeomFromEWKT('SRID=4674;POINT (-38.275881 -3.458877)'))) / (select extract(epoch from '2026-06-04 13:28:29'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275862 -3.458852)', '2026-06-04 13:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275881 -3.458877)'), GeomFromEWKT('SRID=4674;POINT (-38.275862 -3.458852)'))) / (select extract(epoch from '2026-06-04 13:28:31'::timestamp) - extract(epoch from '2026-06-04 13:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275881 -3.458877)'), GeomFromEWKT('SRID=4674;POINT (-38.275862 -3.458852)'))) / (select extract(epoch from '2026-06-04 13:28:31'::timestamp) - extract(epoch from '2026-06-04 13:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.275846 -3.458819)', '2026-06-04 13:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275862 -3.458852)'), GeomFromEWKT('SRID=4674;POINT (-38.275846 -3.458819)'))) / (select extract(epoch from '2026-06-04 13:28:34'::timestamp) - extract(epoch from '2026-06-04 13:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275862 -3.458852)'), GeomFromEWKT('SRID=4674;POINT (-38.275846 -3.458819)'))) / (select extract(epoch from '2026-06-04 13:28:34'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275839 -3.458806)', '2026-06-04 13:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275846 -3.458819)'), GeomFromEWKT('SRID=4674;POINT (-38.275839 -3.458806)'))) / (select extract(epoch from '2026-06-04 13:28:35'::timestamp) - extract(epoch from '2026-06-04 13:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275846 -3.458819)'), GeomFromEWKT('SRID=4674;POINT (-38.275839 -3.458806)'))) / (select extract(epoch from '2026-06-04 13:28:35'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.27581 -3.458758)', '2026-06-04 13:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275839 -3.458806)'), GeomFromEWKT('SRID=4674;POINT (-38.27581 -3.458758)'))) / (select extract(epoch from '2026-06-04 13:28:39'::timestamp) - extract(epoch from '2026-06-04 13:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275839 -3.458806)'), GeomFromEWKT('SRID=4674;POINT (-38.27581 -3.458758)'))) / (select extract(epoch from '2026-06-04 13:28:39'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.275771 -3.458707)', '2026-06-04 13:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27581 -3.458758)'), GeomFromEWKT('SRID=4674;POINT (-38.275771 -3.458707)'))) / (select extract(epoch from '2026-06-04 13:28:43'::timestamp) - extract(epoch from '2026-06-04 13:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27581 -3.458758)'), GeomFromEWKT('SRID=4674;POINT (-38.275771 -3.458707)'))) / (select extract(epoch from '2026-06-04 13:28:43'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275731 -3.458651)', '2026-06-04 13:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275771 -3.458707)'), GeomFromEWKT('SRID=4674;POINT (-38.275731 -3.458651)'))) / (select extract(epoch from '2026-06-04 13:28:47'::timestamp) - extract(epoch from '2026-06-04 13:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275771 -3.458707)'), GeomFromEWKT('SRID=4674;POINT (-38.275731 -3.458651)'))) / (select extract(epoch from '2026-06-04 13:28:47'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275684 -3.458587)', '2026-06-04 13:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275731 -3.458651)'), GeomFromEWKT('SRID=4674;POINT (-38.275684 -3.458587)'))) / (select extract(epoch from '2026-06-04 13:28:52'::timestamp) - extract(epoch from '2026-06-04 13:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275731 -3.458651)'), GeomFromEWKT('SRID=4674;POINT (-38.275684 -3.458587)'))) / (select extract(epoch from '2026-06-04 13:28:52'::timestamp) - extract(epoch from '2026-06-04 13: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'), 46534, 'SRID=4674;POINT (-38.275623 -3.458502)', '2026-06-04 13:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275684 -3.458587)'), GeomFromEWKT('SRID=4674;POINT (-38.275623 -3.458502)'))) / (select extract(epoch from '2026-06-04 13:28:58'::timestamp) - extract(epoch from '2026-06-04 13:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275684 -3.458587)'), GeomFromEWKT('SRID=4674;POINT (-38.275623 -3.458502)'))) / (select extract(epoch from '2026-06-04 13:28:58'::timestamp) - extract(epoch from '2026-06-04 13:28: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'), 46534, 'SRID=4674;POINT (-38.275552 -3.458418)', '2026-06-04 13:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275623 -3.458502)'), GeomFromEWKT('SRID=4674;POINT (-38.275552 -3.458418)'))) / (select extract(epoch from '2026-06-04 13:29:04'::timestamp) - extract(epoch from '2026-06-04 13:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275623 -3.458502)'), GeomFromEWKT('SRID=4674;POINT (-38.275552 -3.458418)'))) / (select extract(epoch from '2026-06-04 13:29:04'::timestamp) - extract(epoch from '2026-06-04 13:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.275478 -3.458347)', '2026-06-04 13:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275552 -3.458418)'), GeomFromEWKT('SRID=4674;POINT (-38.275478 -3.458347)'))) / (select extract(epoch from '2026-06-04 13:29:10'::timestamp) - extract(epoch from '2026-06-04 13:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275552 -3.458418)'), GeomFromEWKT('SRID=4674;POINT (-38.275478 -3.458347)'))) / (select extract(epoch from '2026-06-04 13:29:10'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.2754 -3.458266)', '2026-06-04 13:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275478 -3.458347)'), GeomFromEWKT('SRID=4674;POINT (-38.2754 -3.458266)'))) / (select extract(epoch from '2026-06-04 13:29:16'::timestamp) - extract(epoch from '2026-06-04 13:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275478 -3.458347)'), GeomFromEWKT('SRID=4674;POINT (-38.2754 -3.458266)'))) / (select extract(epoch from '2026-06-04 13:29:16'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.27532 -3.458165)', '2026-06-04 13:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2754 -3.458266)'), GeomFromEWKT('SRID=4674;POINT (-38.27532 -3.458165)'))) / (select extract(epoch from '2026-06-04 13:29:23'::timestamp) - extract(epoch from '2026-06-04 13:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2754 -3.458266)'), GeomFromEWKT('SRID=4674;POINT (-38.27532 -3.458165)'))) / (select extract(epoch from '2026-06-04 13:29:23'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.275249 -3.458083)', '2026-06-04 13:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27532 -3.458165)'), GeomFromEWKT('SRID=4674;POINT (-38.275249 -3.458083)'))) / (select extract(epoch from '2026-06-04 13:29:29'::timestamp) - extract(epoch from '2026-06-04 13:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27532 -3.458165)'), GeomFromEWKT('SRID=4674;POINT (-38.275249 -3.458083)'))) / (select extract(epoch from '2026-06-04 13:29:29'::timestamp) - extract(epoch from '2026-06-04 13:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.275184 -3.458005)', '2026-06-04 13:29:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275249 -3.458083)'), GeomFromEWKT('SRID=4674;POINT (-38.275184 -3.458005)'))) / (select extract(epoch from '2026-06-04 13:29:35'::timestamp) - extract(epoch from '2026-06-04 13:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275249 -3.458083)'), GeomFromEWKT('SRID=4674;POINT (-38.275184 -3.458005)'))) / (select extract(epoch from '2026-06-04 13:29:35'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.275125 -3.457937)', '2026-06-04 13:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275184 -3.458005)'), GeomFromEWKT('SRID=4674;POINT (-38.275125 -3.457937)'))) / (select extract(epoch from '2026-06-04 13:29:40'::timestamp) - extract(epoch from '2026-06-04 13:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275184 -3.458005)'), GeomFromEWKT('SRID=4674;POINT (-38.275125 -3.457937)'))) / (select extract(epoch from '2026-06-04 13:29:40'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.27504 -3.457848)', '2026-06-04 13:29:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275125 -3.457937)'), GeomFromEWKT('SRID=4674;POINT (-38.27504 -3.457848)'))) / (select extract(epoch from '2026-06-04 13:29:47'::timestamp) - extract(epoch from '2026-06-04 13:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.275125 -3.457937)'), GeomFromEWKT('SRID=4674;POINT (-38.27504 -3.457848)'))) / (select extract(epoch from '2026-06-04 13:29:47'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.274985 -3.457782)', '2026-06-04 13:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27504 -3.457848)'), GeomFromEWKT('SRID=4674;POINT (-38.274985 -3.457782)'))) / (select extract(epoch from '2026-06-04 13:29:52'::timestamp) - extract(epoch from '2026-06-04 13:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27504 -3.457848)'), GeomFromEWKT('SRID=4674;POINT (-38.274985 -3.457782)'))) / (select extract(epoch from '2026-06-04 13:29:52'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.274942 -3.457715)', '2026-06-04 13:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274985 -3.457782)'), GeomFromEWKT('SRID=4674;POINT (-38.274942 -3.457715)'))) / (select extract(epoch from '2026-06-04 13:29:57'::timestamp) - extract(epoch from '2026-06-04 13:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274985 -3.457782)'), GeomFromEWKT('SRID=4674;POINT (-38.274942 -3.457715)'))) / (select extract(epoch from '2026-06-04 13:29:57'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.27487 -3.457638)', '2026-06-04 13:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274942 -3.457715)'), GeomFromEWKT('SRID=4674;POINT (-38.27487 -3.457638)'))) / (select extract(epoch from '2026-06-04 13:30:03'::timestamp) - extract(epoch from '2026-06-04 13:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274942 -3.457715)'), GeomFromEWKT('SRID=4674;POINT (-38.27487 -3.457638)'))) / (select extract(epoch from '2026-06-04 13:30:03'::timestamp) - extract(epoch from '2026-06-04 13:29: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'), 46534, 'SRID=4674;POINT (-38.27482 -3.457581)', '2026-06-04 13:30:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27487 -3.457638)'), GeomFromEWKT('SRID=4674;POINT (-38.27482 -3.457581)'))) / (select extract(epoch from '2026-06-04 13:30:08'::timestamp) - extract(epoch from '2026-06-04 13:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27487 -3.457638)'), GeomFromEWKT('SRID=4674;POINT (-38.27482 -3.457581)'))) / (select extract(epoch from '2026-06-04 13:30:08'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274781 -3.457546)', '2026-06-04 13:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27482 -3.457581)'), GeomFromEWKT('SRID=4674;POINT (-38.274781 -3.457546)'))) / (select extract(epoch from '2026-06-04 13:30:11'::timestamp) - extract(epoch from '2026-06-04 13:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27482 -3.457581)'), GeomFromEWKT('SRID=4674;POINT (-38.274781 -3.457546)'))) / (select extract(epoch from '2026-06-04 13:30:11'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274775 -3.457534)', '2026-06-04 13:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274781 -3.457546)'), GeomFromEWKT('SRID=4674;POINT (-38.274775 -3.457534)'))) / (select extract(epoch from '2026-06-04 13:30:12'::timestamp) - extract(epoch from '2026-06-04 13:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274781 -3.457546)'), GeomFromEWKT('SRID=4674;POINT (-38.274775 -3.457534)'))) / (select extract(epoch from '2026-06-04 13:30:12'::timestamp) - extract(epoch from '2026-06-04 13:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274702 -3.457447)', '2026-06-04 13:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274775 -3.457534)'), GeomFromEWKT('SRID=4674;POINT (-38.274702 -3.457447)'))) / (select extract(epoch from '2026-06-04 13:30:19'::timestamp) - extract(epoch from '2026-06-04 13:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274775 -3.457534)'), GeomFromEWKT('SRID=4674;POINT (-38.274702 -3.457447)'))) / (select extract(epoch from '2026-06-04 13:30:19'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274653 -3.457383)', '2026-06-04 13:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274702 -3.457447)'), GeomFromEWKT('SRID=4674;POINT (-38.274653 -3.457383)'))) / (select extract(epoch from '2026-06-04 13:30:24'::timestamp) - extract(epoch from '2026-06-04 13:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274702 -3.457447)'), GeomFromEWKT('SRID=4674;POINT (-38.274653 -3.457383)'))) / (select extract(epoch from '2026-06-04 13:30:24'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274651 -3.457371)', '2026-06-04 13:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274653 -3.457383)'), GeomFromEWKT('SRID=4674;POINT (-38.274651 -3.457371)'))) / (select extract(epoch from '2026-06-04 13:30:25'::timestamp) - extract(epoch from '2026-06-04 13:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274653 -3.457383)'), GeomFromEWKT('SRID=4674;POINT (-38.274651 -3.457371)'))) / (select extract(epoch from '2026-06-04 13:30:25'::timestamp) - extract(epoch from '2026-06-04 13:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274627 -3.457327)', '2026-06-04 13:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274651 -3.457371)'), GeomFromEWKT('SRID=4674;POINT (-38.274627 -3.457327)'))) / (select extract(epoch from '2026-06-04 13:30:28'::timestamp) - extract(epoch from '2026-06-04 13:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274651 -3.457371)'), GeomFromEWKT('SRID=4674;POINT (-38.274627 -3.457327)'))) / (select extract(epoch from '2026-06-04 13:30:28'::timestamp) - extract(epoch from '2026-06-04 13:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274544 -3.457237)', '2026-06-04 13:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274627 -3.457327)'), GeomFromEWKT('SRID=4674;POINT (-38.274544 -3.457237)'))) / (select extract(epoch from '2026-06-04 13:30:35'::timestamp) - extract(epoch from '2026-06-04 13:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274627 -3.457327)'), GeomFromEWKT('SRID=4674;POINT (-38.274544 -3.457237)'))) / (select extract(epoch from '2026-06-04 13:30:35'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274462 -3.457162)', '2026-06-04 13:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274544 -3.457237)'), GeomFromEWKT('SRID=4674;POINT (-38.274462 -3.457162)'))) / (select extract(epoch from '2026-06-04 13:30:41'::timestamp) - extract(epoch from '2026-06-04 13:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274544 -3.457237)'), GeomFromEWKT('SRID=4674;POINT (-38.274462 -3.457162)'))) / (select extract(epoch from '2026-06-04 13:30:41'::timestamp) - extract(epoch from '2026-06-04 13:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274438 -3.457116)', '2026-06-04 13:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274462 -3.457162)'), GeomFromEWKT('SRID=4674;POINT (-38.274438 -3.457116)'))) / (select extract(epoch from '2026-06-04 13:30:45'::timestamp) - extract(epoch from '2026-06-04 13:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274462 -3.457162)'), GeomFromEWKT('SRID=4674;POINT (-38.274438 -3.457116)'))) / (select extract(epoch from '2026-06-04 13:30:45'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274408 -3.457048)', '2026-06-04 13:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274438 -3.457116)'), GeomFromEWKT('SRID=4674;POINT (-38.274408 -3.457048)'))) / (select extract(epoch from '2026-06-04 13:30:51'::timestamp) - extract(epoch from '2026-06-04 13:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274438 -3.457116)'), GeomFromEWKT('SRID=4674;POINT (-38.274408 -3.457048)'))) / (select extract(epoch from '2026-06-04 13:30:51'::timestamp) - extract(epoch from '2026-06-04 13:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274371 -3.45699)', '2026-06-04 13:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274408 -3.457048)'), GeomFromEWKT('SRID=4674;POINT (-38.274371 -3.45699)'))) / (select extract(epoch from '2026-06-04 13:30:56'::timestamp) - extract(epoch from '2026-06-04 13:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274408 -3.457048)'), GeomFromEWKT('SRID=4674;POINT (-38.274371 -3.45699)'))) / (select extract(epoch from '2026-06-04 13:30:56'::timestamp) - extract(epoch from '2026-06-04 13:30: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'), 46534, 'SRID=4674;POINT (-38.274325 -3.456918)', '2026-06-04 13:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274371 -3.45699)'), GeomFromEWKT('SRID=4674;POINT (-38.274325 -3.456918)'))) / (select extract(epoch from '2026-06-04 13:31:01'::timestamp) - extract(epoch from '2026-06-04 13:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274371 -3.45699)'), GeomFromEWKT('SRID=4674;POINT (-38.274325 -3.456918)'))) / (select extract(epoch from '2026-06-04 13:31:01'::timestamp) - extract(epoch from '2026-06-04 13:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274278 -3.456862)', '2026-06-04 13:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274325 -3.456918)'), GeomFromEWKT('SRID=4674;POINT (-38.274278 -3.456862)'))) / (select extract(epoch from '2026-06-04 13:31:06'::timestamp) - extract(epoch from '2026-06-04 13:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274325 -3.456918)'), GeomFromEWKT('SRID=4674;POINT (-38.274278 -3.456862)'))) / (select extract(epoch from '2026-06-04 13:31:06'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.274268 -3.456848)', '2026-06-04 13:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274278 -3.456862)'), GeomFromEWKT('SRID=4674;POINT (-38.274268 -3.456848)'))) / (select extract(epoch from '2026-06-04 13:31:07'::timestamp) - extract(epoch from '2026-06-04 13:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274278 -3.456862)'), GeomFromEWKT('SRID=4674;POINT (-38.274268 -3.456848)'))) / (select extract(epoch from '2026-06-04 13:31:07'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.274208 -3.456785)', '2026-06-04 13:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274268 -3.456848)'), GeomFromEWKT('SRID=4674;POINT (-38.274208 -3.456785)'))) / (select extract(epoch from '2026-06-04 13:31:12'::timestamp) - extract(epoch from '2026-06-04 13:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274268 -3.456848)'), GeomFromEWKT('SRID=4674;POINT (-38.274208 -3.456785)'))) / (select extract(epoch from '2026-06-04 13:31:12'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.274155 -3.456735)', '2026-06-04 13:31:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274208 -3.456785)'), GeomFromEWKT('SRID=4674;POINT (-38.274155 -3.456735)'))) / (select extract(epoch from '2026-06-04 13:31:17'::timestamp) - extract(epoch from '2026-06-04 13:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274208 -3.456785)'), GeomFromEWKT('SRID=4674;POINT (-38.274155 -3.456735)'))) / (select extract(epoch from '2026-06-04 13:31:17'::timestamp) - extract(epoch from '2026-06-04 13:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274149 -3.456723)', '2026-06-04 13:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274155 -3.456735)'), GeomFromEWKT('SRID=4674;POINT (-38.274149 -3.456723)'))) / (select extract(epoch from '2026-06-04 13:31:18'::timestamp) - extract(epoch from '2026-06-04 13:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274155 -3.456735)'), GeomFromEWKT('SRID=4674;POINT (-38.274149 -3.456723)'))) / (select extract(epoch from '2026-06-04 13:31:18'::timestamp) - extract(epoch from '2026-06-04 13:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.274122 -3.456686)', '2026-06-04 13:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274149 -3.456723)'), GeomFromEWKT('SRID=4674;POINT (-38.274122 -3.456686)'))) / (select extract(epoch from '2026-06-04 13:31:21'::timestamp) - extract(epoch from '2026-06-04 13:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274149 -3.456723)'), GeomFromEWKT('SRID=4674;POINT (-38.274122 -3.456686)'))) / (select extract(epoch from '2026-06-04 13:31:21'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.274065 -3.456596)', '2026-06-04 13:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274122 -3.456686)'), GeomFromEWKT('SRID=4674;POINT (-38.274065 -3.456596)'))) / (select extract(epoch from '2026-06-04 13:31:28'::timestamp) - extract(epoch from '2026-06-04 13:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274122 -3.456686)'), GeomFromEWKT('SRID=4674;POINT (-38.274065 -3.456596)'))) / (select extract(epoch from '2026-06-04 13:31:28'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.274012 -3.456519)', '2026-06-04 13:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274065 -3.456596)'), GeomFromEWKT('SRID=4674;POINT (-38.274012 -3.456519)'))) / (select extract(epoch from '2026-06-04 13:31:34'::timestamp) - extract(epoch from '2026-06-04 13:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274065 -3.456596)'), GeomFromEWKT('SRID=4674;POINT (-38.274012 -3.456519)'))) / (select extract(epoch from '2026-06-04 13:31:34'::timestamp) - extract(epoch from '2026-06-04 13:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.27391 -3.456405)', '2026-06-04 13:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274012 -3.456519)'), GeomFromEWKT('SRID=4674;POINT (-38.27391 -3.456405)'))) / (select extract(epoch from '2026-06-04 13:31:42'::timestamp) - extract(epoch from '2026-06-04 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.274012 -3.456519)'), GeomFromEWKT('SRID=4674;POINT (-38.27391 -3.456405)'))) / (select extract(epoch from '2026-06-04 13:31:42'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.273839 -3.456343)', '2026-06-04 13:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27391 -3.456405)'), GeomFromEWKT('SRID=4674;POINT (-38.273839 -3.456343)'))) / (select extract(epoch from '2026-06-04 13:31:48'::timestamp) - extract(epoch from '2026-06-04 13:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27391 -3.456405)'), GeomFromEWKT('SRID=4674;POINT (-38.273839 -3.456343)'))) / (select extract(epoch from '2026-06-04 13:31:48'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.27378 -3.456282)', '2026-06-04 13:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273839 -3.456343)'), GeomFromEWKT('SRID=4674;POINT (-38.27378 -3.456282)'))) / (select extract(epoch from '2026-06-04 13:31:53'::timestamp) - extract(epoch from '2026-06-04 13:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273839 -3.456343)'), GeomFromEWKT('SRID=4674;POINT (-38.27378 -3.456282)'))) / (select extract(epoch from '2026-06-04 13:31:53'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.273707 -3.456197)', '2026-06-04 13:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27378 -3.456282)'), GeomFromEWKT('SRID=4674;POINT (-38.273707 -3.456197)'))) / (select extract(epoch from '2026-06-04 13:32:00'::timestamp) - extract(epoch from '2026-06-04 13:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.27378 -3.456282)'), GeomFromEWKT('SRID=4674;POINT (-38.273707 -3.456197)'))) / (select extract(epoch from '2026-06-04 13:32:00'::timestamp) - extract(epoch from '2026-06-04 13:31: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'), 46534, 'SRID=4674;POINT (-38.273629 -3.45611)', '2026-06-04 13:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273707 -3.456197)'), GeomFromEWKT('SRID=4674;POINT (-38.273629 -3.45611)'))) / (select extract(epoch from '2026-06-04 13:32:06'::timestamp) - extract(epoch from '2026-06-04 13:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273707 -3.456197)'), GeomFromEWKT('SRID=4674;POINT (-38.273629 -3.45611)'))) / (select extract(epoch from '2026-06-04 13:32:06'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273566 -3.456039)', '2026-06-04 13:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273629 -3.45611)'), GeomFromEWKT('SRID=4674;POINT (-38.273566 -3.456039)'))) / (select extract(epoch from '2026-06-04 13:32:11'::timestamp) - extract(epoch from '2026-06-04 13:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273629 -3.45611)'), GeomFromEWKT('SRID=4674;POINT (-38.273566 -3.456039)'))) / (select extract(epoch from '2026-06-04 13:32:11'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273467 -3.45594)', '2026-06-04 13:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273566 -3.456039)'), GeomFromEWKT('SRID=4674;POINT (-38.273467 -3.45594)'))) / (select extract(epoch from '2026-06-04 13:32:19'::timestamp) - extract(epoch from '2026-06-04 13:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273566 -3.456039)'), GeomFromEWKT('SRID=4674;POINT (-38.273467 -3.45594)'))) / (select extract(epoch from '2026-06-04 13:32:19'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273416 -3.455872)', '2026-06-04 13:32:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273467 -3.45594)'), GeomFromEWKT('SRID=4674;POINT (-38.273416 -3.455872)'))) / (select extract(epoch from '2026-06-04 13:32:24'::timestamp) - extract(epoch from '2026-06-04 13:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273467 -3.45594)'), GeomFromEWKT('SRID=4674;POINT (-38.273416 -3.455872)'))) / (select extract(epoch from '2026-06-04 13:32:24'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273344 -3.455776)', '2026-06-04 13:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273416 -3.455872)'), GeomFromEWKT('SRID=4674;POINT (-38.273344 -3.455776)'))) / (select extract(epoch from '2026-06-04 13:32:31'::timestamp) - extract(epoch from '2026-06-04 13:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273416 -3.455872)'), GeomFromEWKT('SRID=4674;POINT (-38.273344 -3.455776)'))) / (select extract(epoch from '2026-06-04 13:32:31'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273318 -3.455739)', '2026-06-04 13:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273344 -3.455776)'), GeomFromEWKT('SRID=4674;POINT (-38.273318 -3.455739)'))) / (select extract(epoch from '2026-06-04 13:32:34'::timestamp) - extract(epoch from '2026-06-04 13:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273344 -3.455776)'), GeomFromEWKT('SRID=4674;POINT (-38.273318 -3.455739)'))) / (select extract(epoch from '2026-06-04 13:32:34'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273297 -3.455712)', '2026-06-04 13:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273318 -3.455739)'), GeomFromEWKT('SRID=4674;POINT (-38.273297 -3.455712)'))) / (select extract(epoch from '2026-06-04 13:32:36'::timestamp) - extract(epoch from '2026-06-04 13:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273318 -3.455739)'), GeomFromEWKT('SRID=4674;POINT (-38.273297 -3.455712)'))) / (select extract(epoch from '2026-06-04 13:32:36'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273255 -3.455656)', '2026-06-04 13:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273297 -3.455712)'), GeomFromEWKT('SRID=4674;POINT (-38.273255 -3.455656)'))) / (select extract(epoch from '2026-06-04 13:32:40'::timestamp) - extract(epoch from '2026-06-04 13:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273297 -3.455712)'), GeomFromEWKT('SRID=4674;POINT (-38.273255 -3.455656)'))) / (select extract(epoch from '2026-06-04 13:32:40'::timestamp) - extract(epoch from '2026-06-04 13:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.273226 -3.455619)', '2026-06-04 13:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273255 -3.455656)'), GeomFromEWKT('SRID=4674;POINT (-38.273226 -3.455619)'))) / (select extract(epoch from '2026-06-04 13:32:43'::timestamp) - extract(epoch from '2026-06-04 13:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273255 -3.455656)'), GeomFromEWKT('SRID=4674;POINT (-38.273226 -3.455619)'))) / (select extract(epoch from '2026-06-04 13:32:43'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273209 -3.455582)', '2026-06-04 13:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273226 -3.455619)'), GeomFromEWKT('SRID=4674;POINT (-38.273209 -3.455582)'))) / (select extract(epoch from '2026-06-04 13:32:45'::timestamp) - extract(epoch from '2026-06-04 13:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273226 -3.455619)'), GeomFromEWKT('SRID=4674;POINT (-38.273209 -3.455582)'))) / (select extract(epoch from '2026-06-04 13:32:45'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273133 -3.455489)', '2026-06-04 13:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273209 -3.455582)'), GeomFromEWKT('SRID=4674;POINT (-38.273133 -3.455489)'))) / (select extract(epoch from '2026-06-04 13:32:52'::timestamp) - extract(epoch from '2026-06-04 13:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273209 -3.455582)'), GeomFromEWKT('SRID=4674;POINT (-38.273133 -3.455489)'))) / (select extract(epoch from '2026-06-04 13:32:52'::timestamp) - extract(epoch from '2026-06-04 13:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.273063 -3.455418)', '2026-06-04 13:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273133 -3.455489)'), GeomFromEWKT('SRID=4674;POINT (-38.273063 -3.455418)'))) / (select extract(epoch from '2026-06-04 13:32:58'::timestamp) - extract(epoch from '2026-06-04 13:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273133 -3.455489)'), GeomFromEWKT('SRID=4674;POINT (-38.273063 -3.455418)'))) / (select extract(epoch from '2026-06-04 13:32:58'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.273 -3.455362)', '2026-06-04 13:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273063 -3.455418)'), GeomFromEWKT('SRID=4674;POINT (-38.273 -3.455362)'))) / (select extract(epoch from '2026-06-04 13:33:03'::timestamp) - extract(epoch from '2026-06-04 13:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273063 -3.455418)'), GeomFromEWKT('SRID=4674;POINT (-38.273 -3.455362)'))) / (select extract(epoch from '2026-06-04 13:33:03'::timestamp) - extract(epoch from '2026-06-04 13:32: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'), 46534, 'SRID=4674;POINT (-38.272995 -3.455351)', '2026-06-04 13:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273 -3.455362)'), GeomFromEWKT('SRID=4674;POINT (-38.272995 -3.455351)'))) / (select extract(epoch from '2026-06-04 13:33:04'::timestamp) - extract(epoch from '2026-06-04 13:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.273 -3.455362)'), GeomFromEWKT('SRID=4674;POINT (-38.272995 -3.455351)'))) / (select extract(epoch from '2026-06-04 13:33:04'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272945 -3.455292)', '2026-06-04 13:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272995 -3.455351)'), GeomFromEWKT('SRID=4674;POINT (-38.272945 -3.455292)'))) / (select extract(epoch from '2026-06-04 13:33:09'::timestamp) - extract(epoch from '2026-06-04 13:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272995 -3.455351)'), GeomFromEWKT('SRID=4674;POINT (-38.272945 -3.455292)'))) / (select extract(epoch from '2026-06-04 13:33:09'::timestamp) - extract(epoch from '2026-06-04 13:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.272889 -3.45521)', '2026-06-04 13:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272945 -3.455292)'), GeomFromEWKT('SRID=4674;POINT (-38.272889 -3.45521)'))) / (select extract(epoch from '2026-06-04 13:33:15'::timestamp) - extract(epoch from '2026-06-04 13:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272945 -3.455292)'), GeomFromEWKT('SRID=4674;POINT (-38.272889 -3.45521)'))) / (select extract(epoch from '2026-06-04 13:33:15'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272835 -3.455131)', '2026-06-04 13:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272889 -3.45521)'), GeomFromEWKT('SRID=4674;POINT (-38.272835 -3.455131)'))) / (select extract(epoch from '2026-06-04 13:33:20'::timestamp) - extract(epoch from '2026-06-04 13:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272889 -3.45521)'), GeomFromEWKT('SRID=4674;POINT (-38.272835 -3.455131)'))) / (select extract(epoch from '2026-06-04 13:33:20'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272787 -3.455049)', '2026-06-04 13:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272835 -3.455131)'), GeomFromEWKT('SRID=4674;POINT (-38.272787 -3.455049)'))) / (select extract(epoch from '2026-06-04 13:33:25'::timestamp) - extract(epoch from '2026-06-04 13:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272835 -3.455131)'), GeomFromEWKT('SRID=4674;POINT (-38.272787 -3.455049)'))) / (select extract(epoch from '2026-06-04 13:33:25'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272735 -3.454975)', '2026-06-04 13:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272787 -3.455049)'), GeomFromEWKT('SRID=4674;POINT (-38.272735 -3.454975)'))) / (select extract(epoch from '2026-06-04 13:33:30'::timestamp) - extract(epoch from '2026-06-04 13:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272787 -3.455049)'), GeomFromEWKT('SRID=4674;POINT (-38.272735 -3.454975)'))) / (select extract(epoch from '2026-06-04 13:33:30'::timestamp) - extract(epoch from '2026-06-04 13:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.272676 -3.454894)', '2026-06-04 13:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272735 -3.454975)'), GeomFromEWKT('SRID=4674;POINT (-38.272676 -3.454894)'))) / (select extract(epoch from '2026-06-04 13:33:36'::timestamp) - extract(epoch from '2026-06-04 13:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272735 -3.454975)'), GeomFromEWKT('SRID=4674;POINT (-38.272676 -3.454894)'))) / (select extract(epoch from '2026-06-04 13:33:36'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272612 -3.454784)', '2026-06-04 13:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272676 -3.454894)'), GeomFromEWKT('SRID=4674;POINT (-38.272612 -3.454784)'))) / (select extract(epoch from '2026-06-04 13:33:43'::timestamp) - extract(epoch from '2026-06-04 13:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272676 -3.454894)'), GeomFromEWKT('SRID=4674;POINT (-38.272612 -3.454784)'))) / (select extract(epoch from '2026-06-04 13:33:43'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272562 -3.454716)', '2026-06-04 13:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272612 -3.454784)'), GeomFromEWKT('SRID=4674;POINT (-38.272562 -3.454716)'))) / (select extract(epoch from '2026-06-04 13:33:48'::timestamp) - extract(epoch from '2026-06-04 13:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272612 -3.454784)'), GeomFromEWKT('SRID=4674;POINT (-38.272562 -3.454716)'))) / (select extract(epoch from '2026-06-04 13:33:48'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272477 -3.454634)', '2026-06-04 13:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272562 -3.454716)'), GeomFromEWKT('SRID=4674;POINT (-38.272477 -3.454634)'))) / (select extract(epoch from '2026-06-04 13:33:55'::timestamp) - extract(epoch from '2026-06-04 13:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272562 -3.454716)'), GeomFromEWKT('SRID=4674;POINT (-38.272477 -3.454634)'))) / (select extract(epoch from '2026-06-04 13:33:55'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272402 -3.454553)', '2026-06-04 13:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272477 -3.454634)'), GeomFromEWKT('SRID=4674;POINT (-38.272402 -3.454553)'))) / (select extract(epoch from '2026-06-04 13:34:02'::timestamp) - extract(epoch from '2026-06-04 13:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272477 -3.454634)'), GeomFromEWKT('SRID=4674;POINT (-38.272402 -3.454553)'))) / (select extract(epoch from '2026-06-04 13:34:02'::timestamp) - extract(epoch from '2026-06-04 13:33: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'), 46534, 'SRID=4674;POINT (-38.272323 -3.454483)', '2026-06-04 13:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272402 -3.454553)'), GeomFromEWKT('SRID=4674;POINT (-38.272323 -3.454483)'))) / (select extract(epoch from '2026-06-04 13:34:08'::timestamp) - extract(epoch from '2026-06-04 13:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272402 -3.454553)'), GeomFromEWKT('SRID=4674;POINT (-38.272323 -3.454483)'))) / (select extract(epoch from '2026-06-04 13:34:08'::timestamp) - extract(epoch from '2026-06-04 13:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.272313 -3.45447)', '2026-06-04 13:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272323 -3.454483)'), GeomFromEWKT('SRID=4674;POINT (-38.272313 -3.45447)'))) / (select extract(epoch from '2026-06-04 13:34:09'::timestamp) - extract(epoch from '2026-06-04 13:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272323 -3.454483)'), GeomFromEWKT('SRID=4674;POINT (-38.272313 -3.45447)'))) / (select extract(epoch from '2026-06-04 13:34:09'::timestamp) - extract(epoch from '2026-06-04 13:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.272278 -3.454438)', '2026-06-04 13:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272313 -3.45447)'), GeomFromEWKT('SRID=4674;POINT (-38.272278 -3.454438)'))) / (select extract(epoch from '2026-06-04 13:34:12'::timestamp) - extract(epoch from '2026-06-04 13:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272313 -3.45447)'), GeomFromEWKT('SRID=4674;POINT (-38.272278 -3.454438)'))) / (select extract(epoch from '2026-06-04 13:34:12'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.272201 -3.454378)', '2026-06-04 13:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272278 -3.454438)'), GeomFromEWKT('SRID=4674;POINT (-38.272201 -3.454378)'))) / (select extract(epoch from '2026-06-04 13:34:18'::timestamp) - extract(epoch from '2026-06-04 13:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272278 -3.454438)'), GeomFromEWKT('SRID=4674;POINT (-38.272201 -3.454378)'))) / (select extract(epoch from '2026-06-04 13:34:18'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.272131 -3.454317)', '2026-06-04 13:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272201 -3.454378)'), GeomFromEWKT('SRID=4674;POINT (-38.272131 -3.454317)'))) / (select extract(epoch from '2026-06-04 13:34:23'::timestamp) - extract(epoch from '2026-06-04 13:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272201 -3.454378)'), GeomFromEWKT('SRID=4674;POINT (-38.272131 -3.454317)'))) / (select extract(epoch from '2026-06-04 13:34:23'::timestamp) - extract(epoch from '2026-06-04 13:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.272066 -3.454246)', '2026-06-04 13:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272131 -3.454317)'), GeomFromEWKT('SRID=4674;POINT (-38.272066 -3.454246)'))) / (select extract(epoch from '2026-06-04 13:34:28'::timestamp) - extract(epoch from '2026-06-04 13:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272131 -3.454317)'), GeomFromEWKT('SRID=4674;POINT (-38.272066 -3.454246)'))) / (select extract(epoch from '2026-06-04 13:34:28'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.271985 -3.454167)', '2026-06-04 13:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272066 -3.454246)'), GeomFromEWKT('SRID=4674;POINT (-38.271985 -3.454167)'))) / (select extract(epoch from '2026-06-04 13:34:34'::timestamp) - extract(epoch from '2026-06-04 13:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.272066 -3.454246)'), GeomFromEWKT('SRID=4674;POINT (-38.271985 -3.454167)'))) / (select extract(epoch from '2026-06-04 13:34:34'::timestamp) - extract(epoch from '2026-06-04 13:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.271906 -3.454089)', '2026-06-04 13:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271985 -3.454167)'), GeomFromEWKT('SRID=4674;POINT (-38.271906 -3.454089)'))) / (select extract(epoch from '2026-06-04 13:34:40'::timestamp) - extract(epoch from '2026-06-04 13:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271985 -3.454167)'), GeomFromEWKT('SRID=4674;POINT (-38.271906 -3.454089)'))) / (select extract(epoch from '2026-06-04 13:34:40'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.271814 -3.454012)', '2026-06-04 13:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271906 -3.454089)'), GeomFromEWKT('SRID=4674;POINT (-38.271814 -3.454012)'))) / (select extract(epoch from '2026-06-04 13:34:46'::timestamp) - extract(epoch from '2026-06-04 13:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271906 -3.454089)'), GeomFromEWKT('SRID=4674;POINT (-38.271814 -3.454012)'))) / (select extract(epoch from '2026-06-04 13:34:46'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.271749 -3.453956)', '2026-06-04 13:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271814 -3.454012)'), GeomFromEWKT('SRID=4674;POINT (-38.271749 -3.453956)'))) / (select extract(epoch from '2026-06-04 13:34:51'::timestamp) - extract(epoch from '2026-06-04 13:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271814 -3.454012)'), GeomFromEWKT('SRID=4674;POINT (-38.271749 -3.453956)'))) / (select extract(epoch from '2026-06-04 13:34:51'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.271642 -3.45387)', '2026-06-04 13:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271749 -3.453956)'), GeomFromEWKT('SRID=4674;POINT (-38.271642 -3.45387)'))) / (select extract(epoch from '2026-06-04 13:34:59'::timestamp) - extract(epoch from '2026-06-04 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271749 -3.453956)'), GeomFromEWKT('SRID=4674;POINT (-38.271642 -3.45387)'))) / (select extract(epoch from '2026-06-04 13:34:59'::timestamp) - extract(epoch from '2026-06-04 13:34: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'), 46534, 'SRID=4674;POINT (-38.271557 -3.453787)', '2026-06-04 13:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271642 -3.45387)'), GeomFromEWKT('SRID=4674;POINT (-38.271557 -3.453787)'))) / (select extract(epoch from '2026-06-04 13:35:06'::timestamp) - extract(epoch from '2026-06-04 13:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271642 -3.45387)'), GeomFromEWKT('SRID=4674;POINT (-38.271557 -3.453787)'))) / (select extract(epoch from '2026-06-04 13:35:06'::timestamp) - extract(epoch from '2026-06-04 13:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.271501 -3.453724)', '2026-06-04 13:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271557 -3.453787)'), GeomFromEWKT('SRID=4674;POINT (-38.271501 -3.453724)'))) / (select extract(epoch from '2026-06-04 13:35:11'::timestamp) - extract(epoch from '2026-06-04 13:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271557 -3.453787)'), GeomFromEWKT('SRID=4674;POINT (-38.271501 -3.453724)'))) / (select extract(epoch from '2026-06-04 13:35:11'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271439 -3.453666)', '2026-06-04 13:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271501 -3.453724)'), GeomFromEWKT('SRID=4674;POINT (-38.271439 -3.453666)'))) / (select extract(epoch from '2026-06-04 13:35:16'::timestamp) - extract(epoch from '2026-06-04 13:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271501 -3.453724)'), GeomFromEWKT('SRID=4674;POINT (-38.271439 -3.453666)'))) / (select extract(epoch from '2026-06-04 13:35:16'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271366 -3.453606)', '2026-06-04 13:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271439 -3.453666)'), GeomFromEWKT('SRID=4674;POINT (-38.271366 -3.453606)'))) / (select extract(epoch from '2026-06-04 13:35:22'::timestamp) - extract(epoch from '2026-06-04 13:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271439 -3.453666)'), GeomFromEWKT('SRID=4674;POINT (-38.271366 -3.453606)'))) / (select extract(epoch from '2026-06-04 13:35:22'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271277 -3.453533)', '2026-06-04 13:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271366 -3.453606)'), GeomFromEWKT('SRID=4674;POINT (-38.271277 -3.453533)'))) / (select extract(epoch from '2026-06-04 13:35:29'::timestamp) - extract(epoch from '2026-06-04 13:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271366 -3.453606)'), GeomFromEWKT('SRID=4674;POINT (-38.271277 -3.453533)'))) / (select extract(epoch from '2026-06-04 13:35:29'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271207 -3.453486)', '2026-06-04 13:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271277 -3.453533)'), GeomFromEWKT('SRID=4674;POINT (-38.271207 -3.453486)'))) / (select extract(epoch from '2026-06-04 13:35:35'::timestamp) - extract(epoch from '2026-06-04 13:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271277 -3.453533)'), GeomFromEWKT('SRID=4674;POINT (-38.271207 -3.453486)'))) / (select extract(epoch from '2026-06-04 13:35:35'::timestamp) - extract(epoch from '2026-06-04 13:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.271189 -3.453464)', '2026-06-04 13:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271207 -3.453486)'), GeomFromEWKT('SRID=4674;POINT (-38.271189 -3.453464)'))) / (select extract(epoch from '2026-06-04 13:35:37'::timestamp) - extract(epoch from '2026-06-04 13:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271207 -3.453486)'), GeomFromEWKT('SRID=4674;POINT (-38.271189 -3.453464)'))) / (select extract(epoch from '2026-06-04 13:35:37'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271154 -3.453443)', '2026-06-04 13:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271189 -3.453464)'), GeomFromEWKT('SRID=4674;POINT (-38.271154 -3.453443)'))) / (select extract(epoch from '2026-06-04 13:35:40'::timestamp) - extract(epoch from '2026-06-04 13:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271189 -3.453464)'), GeomFromEWKT('SRID=4674;POINT (-38.271154 -3.453443)'))) / (select extract(epoch from '2026-06-04 13:35:40'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.271086 -3.453402)', '2026-06-04 13:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271154 -3.453443)'), GeomFromEWKT('SRID=4674;POINT (-38.271086 -3.453402)'))) / (select extract(epoch from '2026-06-04 13:35:46'::timestamp) - extract(epoch from '2026-06-04 13:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271154 -3.453443)'), GeomFromEWKT('SRID=4674;POINT (-38.271086 -3.453402)'))) / (select extract(epoch from '2026-06-04 13:35:46'::timestamp) - extract(epoch from '2026-06-04 13:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.271018 -3.453342)', '2026-06-04 13:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271086 -3.453402)'), GeomFromEWKT('SRID=4674;POINT (-38.271018 -3.453342)'))) / (select extract(epoch from '2026-06-04 13:35:53'::timestamp) - extract(epoch from '2026-06-04 13:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271086 -3.453402)'), GeomFromEWKT('SRID=4674;POINT (-38.271018 -3.453342)'))) / (select extract(epoch from '2026-06-04 13:35:53'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.270955 -3.453264)', '2026-06-04 13:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271018 -3.453342)'), GeomFromEWKT('SRID=4674;POINT (-38.270955 -3.453264)'))) / (select extract(epoch from '2026-06-04 13:36:00'::timestamp) - extract(epoch from '2026-06-04 13:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.271018 -3.453342)'), GeomFromEWKT('SRID=4674;POINT (-38.270955 -3.453264)'))) / (select extract(epoch from '2026-06-04 13:36:00'::timestamp) - extract(epoch from '2026-06-04 13:35: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'), 46534, 'SRID=4674;POINT (-38.270948 -3.453251)', '2026-06-04 13:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270955 -3.453264)'), GeomFromEWKT('SRID=4674;POINT (-38.270948 -3.453251)'))) / (select extract(epoch from '2026-06-04 13:36:01'::timestamp) - extract(epoch from '2026-06-04 13:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270955 -3.453264)'), GeomFromEWKT('SRID=4674;POINT (-38.270948 -3.453251)'))) / (select extract(epoch from '2026-06-04 13:36:01'::timestamp) - extract(epoch from '2026-06-04 13:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.2709 -3.453205)', '2026-06-04 13:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270948 -3.453251)'), GeomFromEWKT('SRID=4674;POINT (-38.2709 -3.453205)'))) / (select extract(epoch from '2026-06-04 13:36:05'::timestamp) - extract(epoch from '2026-06-04 13:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270948 -3.453251)'), GeomFromEWKT('SRID=4674;POINT (-38.2709 -3.453205)'))) / (select extract(epoch from '2026-06-04 13:36:05'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270819 -3.45311)', '2026-06-04 13:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2709 -3.453205)'), GeomFromEWKT('SRID=4674;POINT (-38.270819 -3.45311)'))) / (select extract(epoch from '2026-06-04 13:36:12'::timestamp) - extract(epoch from '2026-06-04 13:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.2709 -3.453205)'), GeomFromEWKT('SRID=4674;POINT (-38.270819 -3.45311)'))) / (select extract(epoch from '2026-06-04 13:36:12'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270748 -3.453026)', '2026-06-04 13:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270819 -3.45311)'), GeomFromEWKT('SRID=4674;POINT (-38.270748 -3.453026)'))) / (select extract(epoch from '2026-06-04 13:36:19'::timestamp) - extract(epoch from '2026-06-04 13:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270819 -3.45311)'), GeomFromEWKT('SRID=4674;POINT (-38.270748 -3.453026)'))) / (select extract(epoch from '2026-06-04 13:36:19'::timestamp) - extract(epoch from '2026-06-04 13:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.270696 -3.452962)', '2026-06-04 13:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270748 -3.453026)'), GeomFromEWKT('SRID=4674;POINT (-38.270696 -3.452962)'))) / (select extract(epoch from '2026-06-04 13:36:25'::timestamp) - extract(epoch from '2026-06-04 13:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270748 -3.453026)'), GeomFromEWKT('SRID=4674;POINT (-38.270696 -3.452962)'))) / (select extract(epoch from '2026-06-04 13:36:25'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270648 -3.452886)', '2026-06-04 13:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270696 -3.452962)'), GeomFromEWKT('SRID=4674;POINT (-38.270648 -3.452886)'))) / (select extract(epoch from '2026-06-04 13:36:31'::timestamp) - extract(epoch from '2026-06-04 13:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270696 -3.452962)'), GeomFromEWKT('SRID=4674;POINT (-38.270648 -3.452886)'))) / (select extract(epoch from '2026-06-04 13:36:31'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270583 -3.452804)', '2026-06-04 13:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270648 -3.452886)'), GeomFromEWKT('SRID=4674;POINT (-38.270583 -3.452804)'))) / (select extract(epoch from '2026-06-04 13:36:38'::timestamp) - extract(epoch from '2026-06-04 13:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270648 -3.452886)'), GeomFromEWKT('SRID=4674;POINT (-38.270583 -3.452804)'))) / (select extract(epoch from '2026-06-04 13:36:38'::timestamp) - extract(epoch from '2026-06-04 13:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.270496 -3.452713)', '2026-06-04 13:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270583 -3.452804)'), GeomFromEWKT('SRID=4674;POINT (-38.270496 -3.452713)'))) / (select extract(epoch from '2026-06-04 13:36:46'::timestamp) - extract(epoch from '2026-06-04 13:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270583 -3.452804)'), GeomFromEWKT('SRID=4674;POINT (-38.270496 -3.452713)'))) / (select extract(epoch from '2026-06-04 13:36:46'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270473 -3.452687)', '2026-06-04 13:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270496 -3.452713)'), GeomFromEWKT('SRID=4674;POINT (-38.270473 -3.452687)'))) / (select extract(epoch from '2026-06-04 13:36:48'::timestamp) - extract(epoch from '2026-06-04 13:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270496 -3.452713)'), GeomFromEWKT('SRID=4674;POINT (-38.270473 -3.452687)'))) / (select extract(epoch from '2026-06-04 13:36:48'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270434 -3.452655)', '2026-06-04 13:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270473 -3.452687)'), GeomFromEWKT('SRID=4674;POINT (-38.270434 -3.452655)'))) / (select extract(epoch from '2026-06-04 13:36:51'::timestamp) - extract(epoch from '2026-06-04 13:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270473 -3.452687)'), GeomFromEWKT('SRID=4674;POINT (-38.270434 -3.452655)'))) / (select extract(epoch from '2026-06-04 13:36:51'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270375 -3.452596)', '2026-06-04 13:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270434 -3.452655)'), GeomFromEWKT('SRID=4674;POINT (-38.270375 -3.452596)'))) / (select extract(epoch from '2026-06-04 13:36:57'::timestamp) - extract(epoch from '2026-06-04 13:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270434 -3.452655)'), GeomFromEWKT('SRID=4674;POINT (-38.270375 -3.452596)'))) / (select extract(epoch from '2026-06-04 13:36:57'::timestamp) - extract(epoch from '2026-06-04 13:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.270302 -3.45252)', '2026-06-04 13:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270375 -3.452596)'), GeomFromEWKT('SRID=4674;POINT (-38.270302 -3.45252)'))) / (select extract(epoch from '2026-06-04 13:37:05'::timestamp) - extract(epoch from '2026-06-04 13:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270375 -3.452596)'), GeomFromEWKT('SRID=4674;POINT (-38.270302 -3.45252)'))) / (select extract(epoch from '2026-06-04 13:37:05'::timestamp) - extract(epoch from '2026-06-04 13:36: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'), 46534, 'SRID=4674;POINT (-38.270233 -3.452462)', '2026-06-04 13:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270302 -3.45252)'), GeomFromEWKT('SRID=4674;POINT (-38.270233 -3.452462)'))) / (select extract(epoch from '2026-06-04 13:37:11'::timestamp) - extract(epoch from '2026-06-04 13:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270302 -3.45252)'), GeomFromEWKT('SRID=4674;POINT (-38.270233 -3.452462)'))) / (select extract(epoch from '2026-06-04 13:37:11'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.270207 -3.452448)', '2026-06-04 13:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270233 -3.452462)'), GeomFromEWKT('SRID=4674;POINT (-38.270207 -3.452448)'))) / (select extract(epoch from '2026-06-04 13:37:13'::timestamp) - extract(epoch from '2026-06-04 13:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270233 -3.452462)'), GeomFromEWKT('SRID=4674;POINT (-38.270207 -3.452448)'))) / (select extract(epoch from '2026-06-04 13:37:13'::timestamp) - extract(epoch from '2026-06-04 13:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.270155 -3.452413)', '2026-06-04 13:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270207 -3.452448)'), GeomFromEWKT('SRID=4674;POINT (-38.270155 -3.452413)'))) / (select extract(epoch from '2026-06-04 13:37:17'::timestamp) - extract(epoch from '2026-06-04 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270207 -3.452448)'), GeomFromEWKT('SRID=4674;POINT (-38.270155 -3.452413)'))) / (select extract(epoch from '2026-06-04 13:37:17'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.270126 -3.452386)', '2026-06-04 13:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270155 -3.452413)'), GeomFromEWKT('SRID=4674;POINT (-38.270126 -3.452386)'))) / (select extract(epoch from '2026-06-04 13:37:20'::timestamp) - extract(epoch from '2026-06-04 13:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270155 -3.452413)'), GeomFromEWKT('SRID=4674;POINT (-38.270126 -3.452386)'))) / (select extract(epoch from '2026-06-04 13:37:20'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.270108 -3.452369)', '2026-06-04 13:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270126 -3.452386)'), GeomFromEWKT('SRID=4674;POINT (-38.270108 -3.452369)'))) / (select extract(epoch from '2026-06-04 13:37:22'::timestamp) - extract(epoch from '2026-06-04 13:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270126 -3.452386)'), GeomFromEWKT('SRID=4674;POINT (-38.270108 -3.452369)'))) / (select extract(epoch from '2026-06-04 13:37:22'::timestamp) - extract(epoch from '2026-06-04 13:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.270095 -3.452361)', '2026-06-04 13:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270108 -3.452369)'), GeomFromEWKT('SRID=4674;POINT (-38.270095 -3.452361)'))) / (select extract(epoch from '2026-06-04 13:37:23'::timestamp) - extract(epoch from '2026-06-04 13:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270108 -3.452369)'), GeomFromEWKT('SRID=4674;POINT (-38.270095 -3.452361)'))) / (select extract(epoch from '2026-06-04 13:37:23'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.270058 -3.452328)', '2026-06-04 13:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270095 -3.452361)'), GeomFromEWKT('SRID=4674;POINT (-38.270058 -3.452328)'))) / (select extract(epoch from '2026-06-04 13:37:27'::timestamp) - extract(epoch from '2026-06-04 13:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270095 -3.452361)'), GeomFromEWKT('SRID=4674;POINT (-38.270058 -3.452328)'))) / (select extract(epoch from '2026-06-04 13:37:27'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.270007 -3.452274)', '2026-06-04 13:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270058 -3.452328)'), GeomFromEWKT('SRID=4674;POINT (-38.270007 -3.452274)'))) / (select extract(epoch from '2026-06-04 13:37:33'::timestamp) - extract(epoch from '2026-06-04 13:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270058 -3.452328)'), GeomFromEWKT('SRID=4674;POINT (-38.270007 -3.452274)'))) / (select extract(epoch from '2026-06-04 13:37:33'::timestamp) - extract(epoch from '2026-06-04 13:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269956 -3.452215)', '2026-06-04 13:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270007 -3.452274)'), GeomFromEWKT('SRID=4674;POINT (-38.269956 -3.452215)'))) / (select extract(epoch from '2026-06-04 13:37:39'::timestamp) - extract(epoch from '2026-06-04 13:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.270007 -3.452274)'), GeomFromEWKT('SRID=4674;POINT (-38.269956 -3.452215)'))) / (select extract(epoch from '2026-06-04 13:37:39'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.269925 -3.45219)', '2026-06-04 13:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269956 -3.452215)'), GeomFromEWKT('SRID=4674;POINT (-38.269925 -3.45219)'))) / (select extract(epoch from '2026-06-04 13:37:42'::timestamp) - extract(epoch from '2026-06-04 13:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269956 -3.452215)'), GeomFromEWKT('SRID=4674;POINT (-38.269925 -3.45219)'))) / (select extract(epoch from '2026-06-04 13:37:42'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.269919 -3.452169)', '2026-06-04 13:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269925 -3.45219)'), GeomFromEWKT('SRID=4674;POINT (-38.269919 -3.452169)'))) / (select extract(epoch from '2026-06-04 13:37:44'::timestamp) - extract(epoch from '2026-06-04 13:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269925 -3.45219)'), GeomFromEWKT('SRID=4674;POINT (-38.269919 -3.452169)'))) / (select extract(epoch from '2026-06-04 13:37:44'::timestamp) - extract(epoch from '2026-06-04 13:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269899 -3.452152)', '2026-06-04 13:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269919 -3.452169)'), GeomFromEWKT('SRID=4674;POINT (-38.269899 -3.452152)'))) / (select extract(epoch from '2026-06-04 13:37:46'::timestamp) - extract(epoch from '2026-06-04 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269919 -3.452169)'), GeomFromEWKT('SRID=4674;POINT (-38.269899 -3.452152)'))) / (select extract(epoch from '2026-06-04 13:37:46'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.26987 -3.45213)', '2026-06-04 13:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269899 -3.452152)'), GeomFromEWKT('SRID=4674;POINT (-38.26987 -3.45213)'))) / (select extract(epoch from '2026-06-04 13:37:48'::timestamp) - extract(epoch from '2026-06-04 13:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269899 -3.452152)'), GeomFromEWKT('SRID=4674;POINT (-38.26987 -3.45213)'))) / (select extract(epoch from '2026-06-04 13:37:48'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.269838 -3.452085)', '2026-06-04 13:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26987 -3.45213)'), GeomFromEWKT('SRID=4674;POINT (-38.269838 -3.452085)'))) / (select extract(epoch from '2026-06-04 13:37:53'::timestamp) - extract(epoch from '2026-06-04 13:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26987 -3.45213)'), GeomFromEWKT('SRID=4674;POINT (-38.269838 -3.452085)'))) / (select extract(epoch from '2026-06-04 13:37:53'::timestamp) - extract(epoch from '2026-06-04 13:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269836 -3.45207)', '2026-06-04 13:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269838 -3.452085)'), GeomFromEWKT('SRID=4674;POINT (-38.269836 -3.45207)'))) / (select extract(epoch from '2026-06-04 13:37:54'::timestamp) - extract(epoch from '2026-06-04 13:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269838 -3.452085)'), GeomFromEWKT('SRID=4674;POINT (-38.269836 -3.45207)'))) / (select extract(epoch from '2026-06-04 13:37:54'::timestamp) - extract(epoch from '2026-06-04 13:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269826 -3.452048)', '2026-06-04 13:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269836 -3.45207)'), GeomFromEWKT('SRID=4674;POINT (-38.269826 -3.452048)'))) / (select extract(epoch from '2026-06-04 13:37:57'::timestamp) - extract(epoch from '2026-06-04 13:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269836 -3.45207)'), GeomFromEWKT('SRID=4674;POINT (-38.269826 -3.452048)'))) / (select extract(epoch from '2026-06-04 13:37:57'::timestamp) - extract(epoch from '2026-06-04 13:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269813 -3.452021)', '2026-06-04 13:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269826 -3.452048)'), GeomFromEWKT('SRID=4674;POINT (-38.269813 -3.452021)'))) / (select extract(epoch from '2026-06-04 13:37:59'::timestamp) - extract(epoch from '2026-06-04 13:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269826 -3.452048)'), GeomFromEWKT('SRID=4674;POINT (-38.269813 -3.452021)'))) / (select extract(epoch from '2026-06-04 13:37:59'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.269801 -3.452005)', '2026-06-04 13:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269813 -3.452021)'), GeomFromEWKT('SRID=4674;POINT (-38.269801 -3.452005)'))) / (select extract(epoch from '2026-06-04 13:38:01'::timestamp) - extract(epoch from '2026-06-04 13:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269813 -3.452021)'), GeomFromEWKT('SRID=4674;POINT (-38.269801 -3.452005)'))) / (select extract(epoch from '2026-06-04 13:38:01'::timestamp) - extract(epoch from '2026-06-04 13:37: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'), 46534, 'SRID=4674;POINT (-38.269747 -3.45195)', '2026-06-04 13:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269801 -3.452005)'), GeomFromEWKT('SRID=4674;POINT (-38.269747 -3.45195)'))) / (select extract(epoch from '2026-06-04 13:38:07'::timestamp) - extract(epoch from '2026-06-04 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269801 -3.452005)'), GeomFromEWKT('SRID=4674;POINT (-38.269747 -3.45195)'))) / (select extract(epoch from '2026-06-04 13:38:07'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269683 -3.451886)', '2026-06-04 13:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269747 -3.45195)'), GeomFromEWKT('SRID=4674;POINT (-38.269683 -3.451886)'))) / (select extract(epoch from '2026-06-04 13:38:14'::timestamp) - extract(epoch from '2026-06-04 13:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269747 -3.45195)'), GeomFromEWKT('SRID=4674;POINT (-38.269683 -3.451886)'))) / (select extract(epoch from '2026-06-04 13:38:14'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269644 -3.451844)', '2026-06-04 13:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269683 -3.451886)'), GeomFromEWKT('SRID=4674;POINT (-38.269644 -3.451844)'))) / (select extract(epoch from '2026-06-04 13:38:19'::timestamp) - extract(epoch from '2026-06-04 13:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269683 -3.451886)'), GeomFromEWKT('SRID=4674;POINT (-38.269644 -3.451844)'))) / (select extract(epoch from '2026-06-04 13:38:19'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269639 -3.451831)', '2026-06-04 13:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269644 -3.451844)'), GeomFromEWKT('SRID=4674;POINT (-38.269639 -3.451831)'))) / (select extract(epoch from '2026-06-04 13:38:20'::timestamp) - extract(epoch from '2026-06-04 13:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269644 -3.451844)'), GeomFromEWKT('SRID=4674;POINT (-38.269639 -3.451831)'))) / (select extract(epoch from '2026-06-04 13:38:20'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269632 -3.451822)', '2026-06-04 13:38:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269639 -3.451831)'), GeomFromEWKT('SRID=4674;POINT (-38.269632 -3.451822)'))) / (select extract(epoch from '2026-06-04 13:38:21'::timestamp) - extract(epoch from '2026-06-04 13:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269639 -3.451831)'), GeomFromEWKT('SRID=4674;POINT (-38.269632 -3.451822)'))) / (select extract(epoch from '2026-06-04 13:38:21'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269614 -3.451808)', '2026-06-04 13:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269632 -3.451822)'), GeomFromEWKT('SRID=4674;POINT (-38.269614 -3.451808)'))) / (select extract(epoch from '2026-06-04 13:38:23'::timestamp) - extract(epoch from '2026-06-04 13:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269632 -3.451822)'), GeomFromEWKT('SRID=4674;POINT (-38.269614 -3.451808)'))) / (select extract(epoch from '2026-06-04 13:38:23'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269604 -3.45179)', '2026-06-04 13:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269614 -3.451808)'), GeomFromEWKT('SRID=4674;POINT (-38.269604 -3.45179)'))) / (select extract(epoch from '2026-06-04 13:38:25'::timestamp) - extract(epoch from '2026-06-04 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269614 -3.451808)'), GeomFromEWKT('SRID=4674;POINT (-38.269604 -3.45179)'))) / (select extract(epoch from '2026-06-04 13:38:25'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269549 -3.451724)', '2026-06-04 13:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269604 -3.45179)'), GeomFromEWKT('SRID=4674;POINT (-38.269549 -3.451724)'))) / (select extract(epoch from '2026-06-04 13:38:32'::timestamp) - extract(epoch from '2026-06-04 13:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269604 -3.45179)'), GeomFromEWKT('SRID=4674;POINT (-38.269549 -3.451724)'))) / (select extract(epoch from '2026-06-04 13:38:32'::timestamp) - extract(epoch from '2026-06-04 13:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269523 -3.451694)', '2026-06-04 13:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269549 -3.451724)'), GeomFromEWKT('SRID=4674;POINT (-38.269523 -3.451694)'))) / (select extract(epoch from '2026-06-04 13:38:36'::timestamp) - extract(epoch from '2026-06-04 13:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269549 -3.451724)'), GeomFromEWKT('SRID=4674;POINT (-38.269523 -3.451694)'))) / (select extract(epoch from '2026-06-04 13:38:36'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269506 -3.451669)', '2026-06-04 13:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269523 -3.451694)'), GeomFromEWKT('SRID=4674;POINT (-38.269506 -3.451669)'))) / (select extract(epoch from '2026-06-04 13:38:39'::timestamp) - extract(epoch from '2026-06-04 13:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269523 -3.451694)'), GeomFromEWKT('SRID=4674;POINT (-38.269506 -3.451669)'))) / (select extract(epoch from '2026-06-04 13:38:39'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269462 -3.451607)', '2026-06-04 13:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269506 -3.451669)'), GeomFromEWKT('SRID=4674;POINT (-38.269462 -3.451607)'))) / (select extract(epoch from '2026-06-04 13:38:46'::timestamp) - extract(epoch from '2026-06-04 13:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269506 -3.451669)'), GeomFromEWKT('SRID=4674;POINT (-38.269462 -3.451607)'))) / (select extract(epoch from '2026-06-04 13:38:46'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269456 -3.451599)', '2026-06-04 13:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269462 -3.451607)'), GeomFromEWKT('SRID=4674;POINT (-38.269456 -3.451599)'))) / (select extract(epoch from '2026-06-04 13:38:47'::timestamp) - extract(epoch from '2026-06-04 13:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269462 -3.451607)'), GeomFromEWKT('SRID=4674;POINT (-38.269456 -3.451599)'))) / (select extract(epoch from '2026-06-04 13:38:47'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269446 -3.451582)', '2026-06-04 13:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269456 -3.451599)'), GeomFromEWKT('SRID=4674;POINT (-38.269446 -3.451582)'))) / (select extract(epoch from '2026-06-04 13:38:49'::timestamp) - extract(epoch from '2026-06-04 13:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269456 -3.451599)'), GeomFromEWKT('SRID=4674;POINT (-38.269446 -3.451582)'))) / (select extract(epoch from '2026-06-04 13:38:49'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.269429 -3.451562)', '2026-06-04 13:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269446 -3.451582)'), GeomFromEWKT('SRID=4674;POINT (-38.269429 -3.451562)'))) / (select extract(epoch from '2026-06-04 13:38:51'::timestamp) - extract(epoch from '2026-06-04 13:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269446 -3.451582)'), GeomFromEWKT('SRID=4674;POINT (-38.269429 -3.451562)'))) / (select extract(epoch from '2026-06-04 13:38:51'::timestamp) - extract(epoch from '2026-06-04 13:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269383 -3.451499)', '2026-06-04 13:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269429 -3.451562)'), GeomFromEWKT('SRID=4674;POINT (-38.269383 -3.451499)'))) / (select extract(epoch from '2026-06-04 13:38:57'::timestamp) - extract(epoch from '2026-06-04 13:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269429 -3.451562)'), GeomFromEWKT('SRID=4674;POINT (-38.269383 -3.451499)'))) / (select extract(epoch from '2026-06-04 13:38:57'::timestamp) - extract(epoch from '2026-06-04 13:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269334 -3.451437)', '2026-06-04 13:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269383 -3.451499)'), GeomFromEWKT('SRID=4674;POINT (-38.269334 -3.451437)'))) / (select extract(epoch from '2026-06-04 13:39:03'::timestamp) - extract(epoch from '2026-06-04 13:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269383 -3.451499)'), GeomFromEWKT('SRID=4674;POINT (-38.269334 -3.451437)'))) / (select extract(epoch from '2026-06-04 13:39:03'::timestamp) - extract(epoch from '2026-06-04 13:38: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'), 46534, 'SRID=4674;POINT (-38.26932 -3.451422)', '2026-06-04 13:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269334 -3.451437)'), GeomFromEWKT('SRID=4674;POINT (-38.26932 -3.451422)'))) / (select extract(epoch from '2026-06-04 13:39:05'::timestamp) - extract(epoch from '2026-06-04 13:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269334 -3.451437)'), GeomFromEWKT('SRID=4674;POINT (-38.26932 -3.451422)'))) / (select extract(epoch from '2026-06-04 13:39:05'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.269296 -3.451394)', '2026-06-04 13:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26932 -3.451422)'), GeomFromEWKT('SRID=4674;POINT (-38.269296 -3.451394)'))) / (select extract(epoch from '2026-06-04 13:39:08'::timestamp) - extract(epoch from '2026-06-04 13:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26932 -3.451422)'), GeomFromEWKT('SRID=4674;POINT (-38.269296 -3.451394)'))) / (select extract(epoch from '2026-06-04 13:39:08'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.269249 -3.45133)', '2026-06-04 13:39:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269296 -3.451394)'), GeomFromEWKT('SRID=4674;POINT (-38.269249 -3.45133)'))) / (select extract(epoch from '2026-06-04 13:39:14'::timestamp) - extract(epoch from '2026-06-04 13:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269296 -3.451394)'), GeomFromEWKT('SRID=4674;POINT (-38.269249 -3.45133)'))) / (select extract(epoch from '2026-06-04 13:39:14'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.26924 -3.451325)', '2026-06-04 13:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269249 -3.45133)'), GeomFromEWKT('SRID=4674;POINT (-38.26924 -3.451325)'))) / (select extract(epoch from '2026-06-04 13:39:15'::timestamp) - extract(epoch from '2026-06-04 13:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269249 -3.45133)'), GeomFromEWKT('SRID=4674;POINT (-38.26924 -3.451325)'))) / (select extract(epoch from '2026-06-04 13:39:15'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.269194 -3.451265)', '2026-06-04 13:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26924 -3.451325)'), GeomFromEWKT('SRID=4674;POINT (-38.269194 -3.451265)'))) / (select extract(epoch from '2026-06-04 13:39:21'::timestamp) - extract(epoch from '2026-06-04 13:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26924 -3.451325)'), GeomFromEWKT('SRID=4674;POINT (-38.269194 -3.451265)'))) / (select extract(epoch from '2026-06-04 13:39:21'::timestamp) - extract(epoch from '2026-06-04 13:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269157 -3.451214)', '2026-06-04 13:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269194 -3.451265)'), GeomFromEWKT('SRID=4674;POINT (-38.269157 -3.451214)'))) / (select extract(epoch from '2026-06-04 13:39:27'::timestamp) - extract(epoch from '2026-06-04 13:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269194 -3.451265)'), GeomFromEWKT('SRID=4674;POINT (-38.269157 -3.451214)'))) / (select extract(epoch from '2026-06-04 13:39:27'::timestamp) - extract(epoch from '2026-06-04 13:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269117 -3.451151)', '2026-06-04 13:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269157 -3.451214)'), GeomFromEWKT('SRID=4674;POINT (-38.269117 -3.451151)'))) / (select extract(epoch from '2026-06-04 13:39:33'::timestamp) - extract(epoch from '2026-06-04 13:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269157 -3.451214)'), GeomFromEWKT('SRID=4674;POINT (-38.269117 -3.451151)'))) / (select extract(epoch from '2026-06-04 13:39:33'::timestamp) - extract(epoch from '2026-06-04 13:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.269046 -3.451061)', '2026-06-04 13:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269117 -3.451151)'), GeomFromEWKT('SRID=4674;POINT (-38.269046 -3.451061)'))) / (select extract(epoch from '2026-06-04 13:39:41'::timestamp) - extract(epoch from '2026-06-04 13:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269117 -3.451151)'), GeomFromEWKT('SRID=4674;POINT (-38.269046 -3.451061)'))) / (select extract(epoch from '2026-06-04 13:39:41'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.268988 -3.450987)', '2026-06-04 13:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269046 -3.451061)'), GeomFromEWKT('SRID=4674;POINT (-38.268988 -3.450987)'))) / (select extract(epoch from '2026-06-04 13:39:48'::timestamp) - extract(epoch from '2026-06-04 13:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.269046 -3.451061)'), GeomFromEWKT('SRID=4674;POINT (-38.268988 -3.450987)'))) / (select extract(epoch from '2026-06-04 13:39:48'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.268937 -3.450924)', '2026-06-04 13:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268988 -3.450987)'), GeomFromEWKT('SRID=4674;POINT (-38.268937 -3.450924)'))) / (select extract(epoch from '2026-06-04 13:39:54'::timestamp) - extract(epoch from '2026-06-04 13:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268988 -3.450987)'), GeomFromEWKT('SRID=4674;POINT (-38.268937 -3.450924)'))) / (select extract(epoch from '2026-06-04 13:39:54'::timestamp) - extract(epoch from '2026-06-04 13:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268891 -3.450861)', '2026-06-04 13:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268937 -3.450924)'), GeomFromEWKT('SRID=4674;POINT (-38.268891 -3.450861)'))) / (select extract(epoch from '2026-06-04 13:40:00'::timestamp) - extract(epoch from '2026-06-04 13:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268937 -3.450924)'), GeomFromEWKT('SRID=4674;POINT (-38.268891 -3.450861)'))) / (select extract(epoch from '2026-06-04 13:40:00'::timestamp) - extract(epoch from '2026-06-04 13:39: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'), 46534, 'SRID=4674;POINT (-38.268851 -3.450791)', '2026-06-04 13:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268891 -3.450861)'), GeomFromEWKT('SRID=4674;POINT (-38.268851 -3.450791)'))) / (select extract(epoch from '2026-06-04 13:40:06'::timestamp) - extract(epoch from '2026-06-04 13:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268891 -3.450861)'), GeomFromEWKT('SRID=4674;POINT (-38.268851 -3.450791)'))) / (select extract(epoch from '2026-06-04 13:40:06'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268815 -3.450721)', '2026-06-04 13:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268851 -3.450791)'), GeomFromEWKT('SRID=4674;POINT (-38.268815 -3.450721)'))) / (select extract(epoch from '2026-06-04 13:40:12'::timestamp) - extract(epoch from '2026-06-04 13:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268851 -3.450791)'), GeomFromEWKT('SRID=4674;POINT (-38.268815 -3.450721)'))) / (select extract(epoch from '2026-06-04 13:40:12'::timestamp) - extract(epoch from '2026-06-04 13:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268784 -3.450667)', '2026-06-04 13:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268815 -3.450721)'), GeomFromEWKT('SRID=4674;POINT (-38.268784 -3.450667)'))) / (select extract(epoch from '2026-06-04 13:40:17'::timestamp) - extract(epoch from '2026-06-04 13:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268815 -3.450721)'), GeomFromEWKT('SRID=4674;POINT (-38.268784 -3.450667)'))) / (select extract(epoch from '2026-06-04 13:40:17'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.26874 -3.450592)', '2026-06-04 13:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268784 -3.450667)'), GeomFromEWKT('SRID=4674;POINT (-38.26874 -3.450592)'))) / (select extract(epoch from '2026-06-04 13:40:23'::timestamp) - extract(epoch from '2026-06-04 13:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268784 -3.450667)'), GeomFromEWKT('SRID=4674;POINT (-38.26874 -3.450592)'))) / (select extract(epoch from '2026-06-04 13:40:23'::timestamp) - extract(epoch from '2026-06-04 13:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268689 -3.450509)', '2026-06-04 13:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26874 -3.450592)'), GeomFromEWKT('SRID=4674;POINT (-38.268689 -3.450509)'))) / (select extract(epoch from '2026-06-04 13:40:29'::timestamp) - extract(epoch from '2026-06-04 13:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26874 -3.450592)'), GeomFromEWKT('SRID=4674;POINT (-38.268689 -3.450509)'))) / (select extract(epoch from '2026-06-04 13:40:29'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268641 -3.450432)', '2026-06-04 13:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268689 -3.450509)'), GeomFromEWKT('SRID=4674;POINT (-38.268641 -3.450432)'))) / (select extract(epoch from '2026-06-04 13:40:35'::timestamp) - extract(epoch from '2026-06-04 13:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268689 -3.450509)'), GeomFromEWKT('SRID=4674;POINT (-38.268641 -3.450432)'))) / (select extract(epoch from '2026-06-04 13:40:35'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268566 -3.450337)', '2026-06-04 13:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268641 -3.450432)'), GeomFromEWKT('SRID=4674;POINT (-38.268566 -3.450337)'))) / (select extract(epoch from '2026-06-04 13:40:42'::timestamp) - extract(epoch from '2026-06-04 13:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268641 -3.450432)'), GeomFromEWKT('SRID=4674;POINT (-38.268566 -3.450337)'))) / (select extract(epoch from '2026-06-04 13:40:42'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268492 -3.450245)', '2026-06-04 13:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268566 -3.450337)'), GeomFromEWKT('SRID=4674;POINT (-38.268492 -3.450245)'))) / (select extract(epoch from '2026-06-04 13:40:49'::timestamp) - extract(epoch from '2026-06-04 13:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268566 -3.450337)'), GeomFromEWKT('SRID=4674;POINT (-38.268492 -3.450245)'))) / (select extract(epoch from '2026-06-04 13:40:49'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268417 -3.450139)', '2026-06-04 13:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268492 -3.450245)'), GeomFromEWKT('SRID=4674;POINT (-38.268417 -3.450139)'))) / (select extract(epoch from '2026-06-04 13:40:57'::timestamp) - extract(epoch from '2026-06-04 13:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268492 -3.450245)'), GeomFromEWKT('SRID=4674;POINT (-38.268417 -3.450139)'))) / (select extract(epoch from '2026-06-04 13:40:57'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268368 -3.450068)', '2026-06-04 13:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268417 -3.450139)'), GeomFromEWKT('SRID=4674;POINT (-38.268368 -3.450068)'))) / (select extract(epoch from '2026-06-04 13:41:02'::timestamp) - extract(epoch from '2026-06-04 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268417 -3.450139)'), GeomFromEWKT('SRID=4674;POINT (-38.268368 -3.450068)'))) / (select extract(epoch from '2026-06-04 13:41:02'::timestamp) - extract(epoch from '2026-06-04 13:40: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'), 46534, 'SRID=4674;POINT (-38.268318 -3.449987)', '2026-06-04 13:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268368 -3.450068)'), GeomFromEWKT('SRID=4674;POINT (-38.268318 -3.449987)'))) / (select extract(epoch from '2026-06-04 13:41:08'::timestamp) - extract(epoch from '2026-06-04 13:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268368 -3.450068)'), GeomFromEWKT('SRID=4674;POINT (-38.268318 -3.449987)'))) / (select extract(epoch from '2026-06-04 13:41:08'::timestamp) - extract(epoch from '2026-06-04 13:41: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'), 46534, 'SRID=4674;POINT (-38.268261 -3.4499)', '2026-06-04 13:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268318 -3.449987)'), GeomFromEWKT('SRID=4674;POINT (-38.268261 -3.4499)'))) / (select extract(epoch from '2026-06-04 13:41:15'::timestamp) - extract(epoch from '2026-06-04 13:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268318 -3.449987)'), GeomFromEWKT('SRID=4674;POINT (-38.268261 -3.4499)'))) / (select extract(epoch from '2026-06-04 13:41:15'::timestamp) - extract(epoch from '2026-06-04 13:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268189 -3.449797)', '2026-06-04 13:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268261 -3.4499)'), GeomFromEWKT('SRID=4674;POINT (-38.268189 -3.449797)'))) / (select extract(epoch from '2026-06-04 13:41:22'::timestamp) - extract(epoch from '2026-06-04 13:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268261 -3.4499)'), GeomFromEWKT('SRID=4674;POINT (-38.268189 -3.449797)'))) / (select extract(epoch from '2026-06-04 13:41:22'::timestamp) - extract(epoch from '2026-06-04 13:41: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'), 46534, 'SRID=4674;POINT (-38.268132 -3.449717)', '2026-06-04 13:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268189 -3.449797)'), GeomFromEWKT('SRID=4674;POINT (-38.268132 -3.449717)'))) / (select extract(epoch from '2026-06-04 13:41:28'::timestamp) - extract(epoch from '2026-06-04 13:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268189 -3.449797)'), GeomFromEWKT('SRID=4674;POINT (-38.268132 -3.449717)'))) / (select extract(epoch from '2026-06-04 13:41:28'::timestamp) - extract(epoch from '2026-06-04 13:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268065 -3.449619)', '2026-06-04 13:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268132 -3.449717)'), GeomFromEWKT('SRID=4674;POINT (-38.268065 -3.449619)'))) / (select extract(epoch from '2026-06-04 13:41:35'::timestamp) - extract(epoch from '2026-06-04 13:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268132 -3.449717)'), GeomFromEWKT('SRID=4674;POINT (-38.268065 -3.449619)'))) / (select extract(epoch from '2026-06-04 13:41:35'::timestamp) - extract(epoch from '2026-06-04 13:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.268017 -3.449532)', '2026-06-04 13:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268065 -3.449619)'), GeomFromEWKT('SRID=4674;POINT (-38.268017 -3.449532)'))) / (select extract(epoch from '2026-06-04 13:41:41'::timestamp) - extract(epoch from '2026-06-04 13:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268065 -3.449619)'), GeomFromEWKT('SRID=4674;POINT (-38.268017 -3.449532)'))) / (select extract(epoch from '2026-06-04 13:41:41'::timestamp) - extract(epoch from '2026-06-04 13:41: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'), 46534, 'SRID=4674;POINT (-38.267968 -3.44946)', '2026-06-04 13:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268017 -3.449532)'), GeomFromEWKT('SRID=4674;POINT (-38.267968 -3.44946)'))) / (select extract(epoch from '2026-06-04 13:41:46'::timestamp) - extract(epoch from '2026-06-04 13:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.268017 -3.449532)'), GeomFromEWKT('SRID=4674;POINT (-38.267968 -3.44946)'))) / (select extract(epoch from '2026-06-04 13:41:46'::timestamp) - extract(epoch from '2026-06-04 13:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.267919 -3.449382)', '2026-06-04 13:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267968 -3.44946)'), GeomFromEWKT('SRID=4674;POINT (-38.267919 -3.449382)'))) / (select extract(epoch from '2026-06-04 13:41:51'::timestamp) - extract(epoch from '2026-06-04 13:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267968 -3.44946)'), GeomFromEWKT('SRID=4674;POINT (-38.267919 -3.449382)'))) / (select extract(epoch from '2026-06-04 13:41:51'::timestamp) - extract(epoch from '2026-06-04 13:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.267884 -3.44931)', '2026-06-04 13:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267919 -3.449382)'), GeomFromEWKT('SRID=4674;POINT (-38.267884 -3.44931)'))) / (select extract(epoch from '2026-06-04 13:41:56'::timestamp) - extract(epoch from '2026-06-04 13:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267919 -3.449382)'), GeomFromEWKT('SRID=4674;POINT (-38.267884 -3.44931)'))) / (select extract(epoch from '2026-06-04 13:41:56'::timestamp) - extract(epoch from '2026-06-04 13:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.267837 -3.449202)', '2026-06-04 13:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267884 -3.44931)'), GeomFromEWKT('SRID=4674;POINT (-38.267837 -3.449202)'))) / (select extract(epoch from '2026-06-04 13:42:02'::timestamp) - extract(epoch from '2026-06-04 13:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267884 -3.44931)'), GeomFromEWKT('SRID=4674;POINT (-38.267837 -3.449202)'))) / (select extract(epoch from '2026-06-04 13:42:02'::timestamp) - extract(epoch from '2026-06-04 13:41: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'), 46534, 'SRID=4674;POINT (-38.267781 -3.449106)', '2026-06-04 13:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267837 -3.449202)'), GeomFromEWKT('SRID=4674;POINT (-38.267781 -3.449106)'))) / (select extract(epoch from '2026-06-04 13:42:08'::timestamp) - extract(epoch from '2026-06-04 13:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267837 -3.449202)'), GeomFromEWKT('SRID=4674;POINT (-38.267781 -3.449106)'))) / (select extract(epoch from '2026-06-04 13:42:08'::timestamp) - extract(epoch from '2026-06-04 13:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.26771 -3.449005)', '2026-06-04 13:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267781 -3.449106)'), GeomFromEWKT('SRID=4674;POINT (-38.26771 -3.449005)'))) / (select extract(epoch from '2026-06-04 13:42:15'::timestamp) - extract(epoch from '2026-06-04 13:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267781 -3.449106)'), GeomFromEWKT('SRID=4674;POINT (-38.26771 -3.449005)'))) / (select extract(epoch from '2026-06-04 13:42:15'::timestamp) - extract(epoch from '2026-06-04 13:42: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'), 46534, 'SRID=4674;POINT (-38.267638 -3.4489)', '2026-06-04 13:42:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26771 -3.449005)'), GeomFromEWKT('SRID=4674;POINT (-38.267638 -3.4489)'))) / (select extract(epoch from '2026-06-04 13:42:22'::timestamp) - extract(epoch from '2026-06-04 13:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.26771 -3.449005)'), GeomFromEWKT('SRID=4674;POINT (-38.267638 -3.4489)'))) / (select extract(epoch from '2026-06-04 13:42:22'::timestamp) - extract(epoch from '2026-06-04 13:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.267617 -3.448875)', '2026-06-04 13:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267638 -3.4489)'), GeomFromEWKT('SRID=4674;POINT (-38.267617 -3.448875)'))) / (select extract(epoch from '2026-06-04 13:42:24'::timestamp) - extract(epoch from '2026-06-04 13:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267638 -3.4489)'), GeomFromEWKT('SRID=4674;POINT (-38.267617 -3.448875)'))) / (select extract(epoch from '2026-06-04 13:42:24'::timestamp) - extract(epoch from '2026-06-04 13:42: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'), 46534, 'SRID=4674;POINT (-38.267592 -3.448827)', '2026-06-04 13:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267617 -3.448875)'), GeomFromEWKT('SRID=4674;POINT (-38.267592 -3.448827)'))) / (select extract(epoch from '2026-06-04 13:42:27'::timestamp) - extract(epoch from '2026-06-04 13:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267617 -3.448875)'), GeomFromEWKT('SRID=4674;POINT (-38.267592 -3.448827)'))) / (select extract(epoch from '2026-06-04 13:42:27'::timestamp) - extract(epoch from '2026-06-04 13:42: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'), 46534, 'SRID=4674;POINT (-38.267512 -3.448717)', '2026-06-04 13:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267592 -3.448827)'), GeomFromEWKT('SRID=4674;POINT (-38.267512 -3.448717)'))) / (select extract(epoch from '2026-06-04 13:42:34'::timestamp) - extract(epoch from '2026-06-04 13:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267592 -3.448827)'), GeomFromEWKT('SRID=4674;POINT (-38.267512 -3.448717)'))) / (select extract(epoch from '2026-06-04 13:42:34'::timestamp) - extract(epoch from '2026-06-04 13:42: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'), 46534, 'SRID=4674;POINT (-38.267439 -3.448615)', '2026-06-04 13:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267512 -3.448717)'), GeomFromEWKT('SRID=4674;POINT (-38.267439 -3.448615)'))) / (select extract(epoch from '2026-06-04 13:42:41'::timestamp) - extract(epoch from '2026-06-04 13:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.267512 -3.448717)'), GeomFromEWKT('SRID=4674;POINT (-38.267439 -3.448615)'))) / (select extract(epoch from '2026-06-04 13:42:41'::timestamp) - extract(epoch from '2026-06-04 13:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
