 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.017918 -3.368992)', '2026-07-17 16:55:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01786 -3.369025)'), GeomFromEWKT('SRID=4674;POINT (-39.017918 -3.368992)'))) / (select extract(epoch from '2026-07-17 16:55:36'::timestamp) - extract(epoch from '2026-07-17 16:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01786 -3.369025)'), GeomFromEWKT('SRID=4674;POINT (-39.017918 -3.368992)'))) / (select extract(epoch from '2026-07-17 16:55:36'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47442, 'SRID=4674;POINT (-39.017931 -3.368986)', '2026-07-17 16:55:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017918 -3.368992)'), GeomFromEWKT('SRID=4674;POINT (-39.017931 -3.368986)'))) / (select extract(epoch from '2026-07-17 16:55:38'::timestamp) - extract(epoch from '2026-07-17 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017918 -3.368992)'), GeomFromEWKT('SRID=4674;POINT (-39.017931 -3.368986)'))) / (select extract(epoch from '2026-07-17 16:55:38'::timestamp) - extract(epoch from '2026-07-17 16:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.017952 -3.368978)', '2026-07-17 16:55:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017931 -3.368986)'), GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.368978)'))) / (select extract(epoch from '2026-07-17 16:55:41'::timestamp) - extract(epoch from '2026-07-17 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017931 -3.368986)'), GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.368978)'))) / (select extract(epoch from '2026-07-17 16:55:41'::timestamp) - extract(epoch from '2026-07-17 16:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.017993 -3.368961)', '2026-07-17 16:55:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.368978)'), GeomFromEWKT('SRID=4674;POINT (-39.017993 -3.368961)'))) / (select extract(epoch from '2026-07-17 16:55:48'::timestamp) - extract(epoch from '2026-07-17 16:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.368978)'), GeomFromEWKT('SRID=4674;POINT (-39.017993 -3.368961)'))) / (select extract(epoch from '2026-07-17 16:55:48'::timestamp) - extract(epoch from '2026-07-17 16:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018041 -3.368939)', '2026-07-17 16:55:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017993 -3.368961)'), GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.368939)'))) / (select extract(epoch from '2026-07-17 16:55:57'::timestamp) - extract(epoch from '2026-07-17 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017993 -3.368961)'), GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.368939)'))) / (select extract(epoch from '2026-07-17 16:55:57'::timestamp) - extract(epoch from '2026-07-17 16:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018073 -3.368929)', '2026-07-17 16:56:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.368939)'), GeomFromEWKT('SRID=4674;POINT (-39.018073 -3.368929)'))) / (select extract(epoch from '2026-07-17 16:56:03'::timestamp) - extract(epoch from '2026-07-17 16:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018041 -3.368939)'), GeomFromEWKT('SRID=4674;POINT (-39.018073 -3.368929)'))) / (select extract(epoch from '2026-07-17 16:56:03'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47442, 'SRID=4674;POINT (-39.018104 -3.368912)', '2026-07-17 16:56:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018073 -3.368929)'), GeomFromEWKT('SRID=4674;POINT (-39.018104 -3.368912)'))) / (select extract(epoch from '2026-07-17 16:56:09'::timestamp) - extract(epoch from '2026-07-17 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018073 -3.368929)'), GeomFromEWKT('SRID=4674;POINT (-39.018104 -3.368912)'))) / (select extract(epoch from '2026-07-17 16:56:09'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47442, 'SRID=4674;POINT (-39.018142 -3.368894)', '2026-07-17 16:56:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018104 -3.368912)'), GeomFromEWKT('SRID=4674;POINT (-39.018142 -3.368894)'))) / (select extract(epoch from '2026-07-17 16:56:17'::timestamp) - extract(epoch from '2026-07-17 16:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018104 -3.368912)'), GeomFromEWKT('SRID=4674;POINT (-39.018142 -3.368894)'))) / (select extract(epoch from '2026-07-17 16:56:17'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47442, 'SRID=4674;POINT (-39.018177 -3.368878)', '2026-07-17 16:56:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018142 -3.368894)'), GeomFromEWKT('SRID=4674;POINT (-39.018177 -3.368878)'))) / (select extract(epoch from '2026-07-17 16:56:24'::timestamp) - extract(epoch from '2026-07-17 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018142 -3.368894)'), GeomFromEWKT('SRID=4674;POINT (-39.018177 -3.368878)'))) / (select extract(epoch from '2026-07-17 16:56:24'::timestamp) - extract(epoch from '2026-07-17 16:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018207 -3.368859)', '2026-07-17 16:56:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018177 -3.368878)'), GeomFromEWKT('SRID=4674;POINT (-39.018207 -3.368859)'))) / (select extract(epoch from '2026-07-17 16:56:30'::timestamp) - extract(epoch from '2026-07-17 16:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018177 -3.368878)'), GeomFromEWKT('SRID=4674;POINT (-39.018207 -3.368859)'))) / (select extract(epoch from '2026-07-17 16:56:30'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47442, 'SRID=4674;POINT (-39.018241 -3.368838)', '2026-07-17 16:56:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018207 -3.368859)'), GeomFromEWKT('SRID=4674;POINT (-39.018241 -3.368838)'))) / (select extract(epoch from '2026-07-17 16:56:37'::timestamp) - extract(epoch from '2026-07-17 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018207 -3.368859)'), GeomFromEWKT('SRID=4674;POINT (-39.018241 -3.368838)'))) / (select extract(epoch from '2026-07-17 16:56:37'::timestamp) - extract(epoch from '2026-07-17 16:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018289 -3.368817)', '2026-07-17 16:56:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018241 -3.368838)'), GeomFromEWKT('SRID=4674;POINT (-39.018289 -3.368817)'))) / (select extract(epoch from '2026-07-17 16:56:45'::timestamp) - extract(epoch from '2026-07-17 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018241 -3.368838)'), GeomFromEWKT('SRID=4674;POINT (-39.018289 -3.368817)'))) / (select extract(epoch from '2026-07-17 16:56:45'::timestamp) - extract(epoch from '2026-07-17 16:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018338 -3.368798)', '2026-07-17 16:56:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018289 -3.368817)'), GeomFromEWKT('SRID=4674;POINT (-39.018338 -3.368798)'))) / (select extract(epoch from '2026-07-17 16:56:54'::timestamp) - extract(epoch from '2026-07-17 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018289 -3.368817)'), GeomFromEWKT('SRID=4674;POINT (-39.018338 -3.368798)'))) / (select extract(epoch from '2026-07-17 16:56:54'::timestamp) - extract(epoch from '2026-07-17 16:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018384 -3.368784)', '2026-07-17 16:57:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018338 -3.368798)'), GeomFromEWKT('SRID=4674;POINT (-39.018384 -3.368784)'))) / (select extract(epoch from '2026-07-17 16:57:02'::timestamp) - extract(epoch from '2026-07-17 16:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018338 -3.368798)'), GeomFromEWKT('SRID=4674;POINT (-39.018384 -3.368784)'))) / (select extract(epoch from '2026-07-17 16:57:02'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47442, 'SRID=4674;POINT (-39.018415 -3.368768)', '2026-07-17 16:57:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018384 -3.368784)'), GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.368768)'))) / (select extract(epoch from '2026-07-17 16:57:08'::timestamp) - extract(epoch from '2026-07-17 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018384 -3.368784)'), GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.368768)'))) / (select extract(epoch from '2026-07-17 16:57:08'::timestamp) - extract(epoch from '2026-07-17 16:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018449 -3.36876)', '2026-07-17 16:57:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.368768)'), GeomFromEWKT('SRID=4674;POINT (-39.018449 -3.36876)'))) / (select extract(epoch from '2026-07-17 16:57:14'::timestamp) - extract(epoch from '2026-07-17 16:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.368768)'), GeomFromEWKT('SRID=4674;POINT (-39.018449 -3.36876)'))) / (select extract(epoch from '2026-07-17 16:57:14'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47442, 'SRID=4674;POINT (-39.018478 -3.368753)', '2026-07-17 16:57:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018449 -3.36876)'), GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.368753)'))) / (select extract(epoch from '2026-07-17 16:57:20'::timestamp) - extract(epoch from '2026-07-17 16:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018449 -3.36876)'), GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.368753)'))) / (select extract(epoch from '2026-07-17 16:57:20'::timestamp) - extract(epoch from '2026-07-17 16:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018514 -3.368732)', '2026-07-17 16:57:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.368753)'), GeomFromEWKT('SRID=4674;POINT (-39.018514 -3.368732)'))) / (select extract(epoch from '2026-07-17 16:57:27'::timestamp) - extract(epoch from '2026-07-17 16:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.368753)'), GeomFromEWKT('SRID=4674;POINT (-39.018514 -3.368732)'))) / (select extract(epoch from '2026-07-17 16:57:27'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47442, 'SRID=4674;POINT (-39.018564 -3.368711)', '2026-07-17 16:57:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018514 -3.368732)'), GeomFromEWKT('SRID=4674;POINT (-39.018564 -3.368711)'))) / (select extract(epoch from '2026-07-17 16:57:36'::timestamp) - extract(epoch from '2026-07-17 16:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018514 -3.368732)'), GeomFromEWKT('SRID=4674;POINT (-39.018564 -3.368711)'))) / (select extract(epoch from '2026-07-17 16:57:36'::timestamp) - extract(epoch from '2026-07-17 16:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018584 -3.368698)', '2026-07-17 16:57:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018564 -3.368711)'), GeomFromEWKT('SRID=4674;POINT (-39.018584 -3.368698)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018564 -3.368711)'), GeomFromEWKT('SRID=4674;POINT (-39.018584 -3.368698)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018595 -3.368696)', '2026-07-17 16:57:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018584 -3.368698)'), GeomFromEWKT('SRID=4674;POINT (-39.018595 -3.368696)'))) / (select extract(epoch from '2026-07-17 16:57:42'::timestamp) - extract(epoch from '2026-07-17 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018584 -3.368698)'), GeomFromEWKT('SRID=4674;POINT (-39.018595 -3.368696)'))) / (select extract(epoch from '2026-07-17 16:57:42'::timestamp) - extract(epoch from '2026-07-17 16:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018614 -3.368685)', '2026-07-17 16:57:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018595 -3.368696)'), GeomFromEWKT('SRID=4674;POINT (-39.018614 -3.368685)'))) / (select extract(epoch from '2026-07-17 16:57:46'::timestamp) - extract(epoch from '2026-07-17 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018595 -3.368696)'), GeomFromEWKT('SRID=4674;POINT (-39.018614 -3.368685)'))) / (select extract(epoch from '2026-07-17 16:57:46'::timestamp) - extract(epoch from '2026-07-17 16:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018659 -3.368667)', '2026-07-17 16:57:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018614 -3.368685)'), GeomFromEWKT('SRID=4674;POINT (-39.018659 -3.368667)'))) / (select extract(epoch from '2026-07-17 16:57:53'::timestamp) - extract(epoch from '2026-07-17 16:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018614 -3.368685)'), GeomFromEWKT('SRID=4674;POINT (-39.018659 -3.368667)'))) / (select extract(epoch from '2026-07-17 16:57:53'::timestamp) - extract(epoch from '2026-07-17 16:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018714 -3.368651)', '2026-07-17 16:58:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018659 -3.368667)'), GeomFromEWKT('SRID=4674;POINT (-39.018714 -3.368651)'))) / (select extract(epoch from '2026-07-17 16:58:02'::timestamp) - extract(epoch from '2026-07-17 16:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018659 -3.368667)'), GeomFromEWKT('SRID=4674;POINT (-39.018714 -3.368651)'))) / (select extract(epoch from '2026-07-17 16:58:02'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47442, 'SRID=4674;POINT (-39.018742 -3.368644)', '2026-07-17 16:58:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018714 -3.368651)'), GeomFromEWKT('SRID=4674;POINT (-39.018742 -3.368644)'))) / (select extract(epoch from '2026-07-17 16:58:07'::timestamp) - extract(epoch from '2026-07-17 16:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018714 -3.368651)'), GeomFromEWKT('SRID=4674;POINT (-39.018742 -3.368644)'))) / (select extract(epoch from '2026-07-17 16:58:07'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47442, 'SRID=4674;POINT (-39.018774 -3.368632)', '2026-07-17 16:58:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018742 -3.368644)'), GeomFromEWKT('SRID=4674;POINT (-39.018774 -3.368632)'))) / (select extract(epoch from '2026-07-17 16:58:13'::timestamp) - extract(epoch from '2026-07-17 16:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018742 -3.368644)'), GeomFromEWKT('SRID=4674;POINT (-39.018774 -3.368632)'))) / (select extract(epoch from '2026-07-17 16:58:13'::timestamp) - extract(epoch from '2026-07-17 16:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018807 -3.368619)', '2026-07-17 16:58:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018774 -3.368632)'), GeomFromEWKT('SRID=4674;POINT (-39.018807 -3.368619)'))) / (select extract(epoch from '2026-07-17 16:58:20'::timestamp) - extract(epoch from '2026-07-17 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018774 -3.368632)'), GeomFromEWKT('SRID=4674;POINT (-39.018807 -3.368619)'))) / (select extract(epoch from '2026-07-17 16:58:20'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47442, 'SRID=4674;POINT (-39.018855 -3.3686)', '2026-07-17 16:58:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018807 -3.368619)'), GeomFromEWKT('SRID=4674;POINT (-39.018855 -3.3686)'))) / (select extract(epoch from '2026-07-17 16:58:29'::timestamp) - extract(epoch from '2026-07-17 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018807 -3.368619)'), GeomFromEWKT('SRID=4674;POINT (-39.018855 -3.3686)'))) / (select extract(epoch from '2026-07-17 16:58:29'::timestamp) - extract(epoch from '2026-07-17 16:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.018898 -3.368579)', '2026-07-17 16:58:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018855 -3.3686)'), GeomFromEWKT('SRID=4674;POINT (-39.018898 -3.368579)'))) / (select extract(epoch from '2026-07-17 16:58:37'::timestamp) - extract(epoch from '2026-07-17 16:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018855 -3.3686)'), GeomFromEWKT('SRID=4674;POINT (-39.018898 -3.368579)'))) / (select extract(epoch from '2026-07-17 16:58:37'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47442, 'SRID=4674;POINT (-39.018944 -3.368562)', '2026-07-17 16:58:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018898 -3.368579)'), GeomFromEWKT('SRID=4674;POINT (-39.018944 -3.368562)'))) / (select extract(epoch from '2026-07-17 16:58:45'::timestamp) - extract(epoch from '2026-07-17 16:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018898 -3.368579)'), GeomFromEWKT('SRID=4674;POINT (-39.018944 -3.368562)'))) / (select extract(epoch from '2026-07-17 16:58:45'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47442, 'SRID=4674;POINT (-39.018985 -3.368539)', '2026-07-17 16:58:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018944 -3.368562)'), GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.368539)'))) / (select extract(epoch from '2026-07-17 16:58:53'::timestamp) - extract(epoch from '2026-07-17 16:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018944 -3.368562)'), GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.368539)'))) / (select extract(epoch from '2026-07-17 16:58:53'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47442, 'SRID=4674;POINT (-39.019022 -3.368517)', '2026-07-17 16:59:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.368539)'), GeomFromEWKT('SRID=4674;POINT (-39.019022 -3.368517)'))) / (select extract(epoch from '2026-07-17 16:59:01'::timestamp) - extract(epoch from '2026-07-17 16:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018985 -3.368539)'), GeomFromEWKT('SRID=4674;POINT (-39.019022 -3.368517)'))) / (select extract(epoch from '2026-07-17 16:59:01'::timestamp) - extract(epoch from '2026-07-17 16:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019058 -3.368506)', '2026-07-17 16:59:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019022 -3.368517)'), GeomFromEWKT('SRID=4674;POINT (-39.019058 -3.368506)'))) / (select extract(epoch from '2026-07-17 16:59:07'::timestamp) - extract(epoch from '2026-07-17 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019022 -3.368517)'), GeomFromEWKT('SRID=4674;POINT (-39.019058 -3.368506)'))) / (select extract(epoch from '2026-07-17 16:59:07'::timestamp) - extract(epoch from '2026-07-17 16:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019089 -3.368492)', '2026-07-17 16:59:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019058 -3.368506)'), GeomFromEWKT('SRID=4674;POINT (-39.019089 -3.368492)'))) / (select extract(epoch from '2026-07-17 16:59:14'::timestamp) - extract(epoch from '2026-07-17 16:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019058 -3.368506)'), GeomFromEWKT('SRID=4674;POINT (-39.019089 -3.368492)'))) / (select extract(epoch from '2026-07-17 16:59:14'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47442, 'SRID=4674;POINT (-39.019135 -3.36847)', '2026-07-17 16:59:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019089 -3.368492)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.36847)'))) / (select extract(epoch from '2026-07-17 16:59:23'::timestamp) - extract(epoch from '2026-07-17 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019089 -3.368492)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.36847)'))) / (select extract(epoch from '2026-07-17 16:59:23'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47442, 'SRID=4674;POINT (-39.01919 -3.368448)', '2026-07-17 16:59:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.36847)'), GeomFromEWKT('SRID=4674;POINT (-39.01919 -3.368448)'))) / (select extract(epoch from '2026-07-17 16:59:34'::timestamp) - extract(epoch from '2026-07-17 16:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.36847)'), GeomFromEWKT('SRID=4674;POINT (-39.01919 -3.368448)'))) / (select extract(epoch from '2026-07-17 16:59:34'::timestamp) - extract(epoch from '2026-07-17 16:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019208 -3.368441)', '2026-07-17 16:59:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01919 -3.368448)'), GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.368441)'))) / (select extract(epoch from '2026-07-17 16:59:38'::timestamp) - extract(epoch from '2026-07-17 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01919 -3.368448)'), GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.368441)'))) / (select extract(epoch from '2026-07-17 16:59:38'::timestamp) - extract(epoch from '2026-07-17 16:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019224 -3.368436)', '2026-07-17 16:59:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.368441)'), GeomFromEWKT('SRID=4674;POINT (-39.019224 -3.368436)'))) / (select extract(epoch from '2026-07-17 16:59:40'::timestamp) - extract(epoch from '2026-07-17 16:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019208 -3.368441)'), GeomFromEWKT('SRID=4674;POINT (-39.019224 -3.368436)'))) / (select extract(epoch from '2026-07-17 16:59:40'::timestamp) - extract(epoch from '2026-07-17 16:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019254 -3.368422)', '2026-07-17 16:59:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019224 -3.368436)'), GeomFromEWKT('SRID=4674;POINT (-39.019254 -3.368422)'))) / (select extract(epoch from '2026-07-17 16:59:45'::timestamp) - extract(epoch from '2026-07-17 16:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019224 -3.368436)'), GeomFromEWKT('SRID=4674;POINT (-39.019254 -3.368422)'))) / (select extract(epoch from '2026-07-17 16:59:45'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47442, 'SRID=4674;POINT (-39.019281 -3.368407)', '2026-07-17 16:59:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019254 -3.368422)'), GeomFromEWKT('SRID=4674;POINT (-39.019281 -3.368407)'))) / (select extract(epoch from '2026-07-17 16:59:51'::timestamp) - extract(epoch from '2026-07-17 16:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019254 -3.368422)'), GeomFromEWKT('SRID=4674;POINT (-39.019281 -3.368407)'))) / (select extract(epoch from '2026-07-17 16:59:51'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47442, 'SRID=4674;POINT (-39.019329 -3.368384)', '2026-07-17 17:00:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019281 -3.368407)'), GeomFromEWKT('SRID=4674;POINT (-39.019329 -3.368384)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019281 -3.368407)'), GeomFromEWKT('SRID=4674;POINT (-39.019329 -3.368384)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019359 -3.368365)', '2026-07-17 17:00:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019329 -3.368384)'), GeomFromEWKT('SRID=4674;POINT (-39.019359 -3.368365)'))) / (select extract(epoch from '2026-07-17 17:00:07'::timestamp) - extract(epoch from '2026-07-17 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019329 -3.368384)'), GeomFromEWKT('SRID=4674;POINT (-39.019359 -3.368365)'))) / (select extract(epoch from '2026-07-17 17:00:07'::timestamp) - extract(epoch from '2026-07-17 17:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.0194 -3.368351)', '2026-07-17 17:00:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019359 -3.368365)'), GeomFromEWKT('SRID=4674;POINT (-39.0194 -3.368351)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019359 -3.368365)'), GeomFromEWKT('SRID=4674;POINT (-39.0194 -3.368351)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019438 -3.368336)', '2026-07-17 17:00:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0194 -3.368351)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.368336)'))) / (select extract(epoch from '2026-07-17 17:00:23'::timestamp) - extract(epoch from '2026-07-17 17:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0194 -3.368351)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.368336)'))) / (select extract(epoch from '2026-07-17 17:00:23'::timestamp) - extract(epoch from '2026-07-17 17:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019487 -3.36831)', '2026-07-17 17:00:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.368336)'), GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.36831)'))) / (select extract(epoch from '2026-07-17 17:00:32'::timestamp) - extract(epoch from '2026-07-17 17:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.368336)'), GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.36831)'))) / (select extract(epoch from '2026-07-17 17:00:32'::timestamp) - extract(epoch from '2026-07-17 17:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019521 -3.368292)', '2026-07-17 17:00:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.36831)'), GeomFromEWKT('SRID=4674;POINT (-39.019521 -3.368292)'))) / (select extract(epoch from '2026-07-17 17:00:40'::timestamp) - extract(epoch from '2026-07-17 17:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.36831)'), GeomFromEWKT('SRID=4674;POINT (-39.019521 -3.368292)'))) / (select extract(epoch from '2026-07-17 17:00:40'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47442, 'SRID=4674;POINT (-39.019561 -3.368278)', '2026-07-17 17:00:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019521 -3.368292)'), GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.368278)'))) / (select extract(epoch from '2026-07-17 17:00:47'::timestamp) - extract(epoch from '2026-07-17 17:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019521 -3.368292)'), GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.368278)'))) / (select extract(epoch from '2026-07-17 17:00:47'::timestamp) - extract(epoch from '2026-07-17 17:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019602 -3.36826)', '2026-07-17 17:00:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.368278)'), GeomFromEWKT('SRID=4674;POINT (-39.019602 -3.36826)'))) / (select extract(epoch from '2026-07-17 17:00:55'::timestamp) - extract(epoch from '2026-07-17 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019561 -3.368278)'), GeomFromEWKT('SRID=4674;POINT (-39.019602 -3.36826)'))) / (select extract(epoch from '2026-07-17 17:00:55'::timestamp) - extract(epoch from '2026-07-17 17:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.01964 -3.368244)', '2026-07-17 17:01:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019602 -3.36826)'), GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.368244)'))) / (select extract(epoch from '2026-07-17 17:01:02'::timestamp) - extract(epoch from '2026-07-17 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019602 -3.36826)'), GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.368244)'))) / (select extract(epoch from '2026-07-17 17:01:02'::timestamp) - extract(epoch from '2026-07-17 17:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019698 -3.368224)', '2026-07-17 17:01:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.368244)'), GeomFromEWKT('SRID=4674;POINT (-39.019698 -3.368224)'))) / (select extract(epoch from '2026-07-17 17:01:12'::timestamp) - extract(epoch from '2026-07-17 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.368244)'), GeomFromEWKT('SRID=4674;POINT (-39.019698 -3.368224)'))) / (select extract(epoch from '2026-07-17 17:01:12'::timestamp) - extract(epoch from '2026-07-17 17:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019745 -3.368202)', '2026-07-17 17:01:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019698 -3.368224)'), GeomFromEWKT('SRID=4674;POINT (-39.019745 -3.368202)'))) / (select extract(epoch from '2026-07-17 17:01:21'::timestamp) - extract(epoch from '2026-07-17 17:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019698 -3.368224)'), GeomFromEWKT('SRID=4674;POINT (-39.019745 -3.368202)'))) / (select extract(epoch from '2026-07-17 17:01:21'::timestamp) - extract(epoch from '2026-07-17 17:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019782 -3.368186)', '2026-07-17 17:01:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019745 -3.368202)'), GeomFromEWKT('SRID=4674;POINT (-39.019782 -3.368186)'))) / (select extract(epoch from '2026-07-17 17:01:29'::timestamp) - extract(epoch from '2026-07-17 17:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019745 -3.368202)'), GeomFromEWKT('SRID=4674;POINT (-39.019782 -3.368186)'))) / (select extract(epoch from '2026-07-17 17:01:29'::timestamp) - extract(epoch from '2026-07-17 17:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.01981 -3.368175)', '2026-07-17 17:01:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019782 -3.368186)'), GeomFromEWKT('SRID=4674;POINT (-39.01981 -3.368175)'))) / (select extract(epoch from '2026-07-17 17:01:35'::timestamp) - extract(epoch from '2026-07-17 17:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019782 -3.368186)'), GeomFromEWKT('SRID=4674;POINT (-39.01981 -3.368175)'))) / (select extract(epoch from '2026-07-17 17:01:35'::timestamp) - extract(epoch from '2026-07-17 17:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019821 -3.368173)', '2026-07-17 17:01:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01981 -3.368175)'), GeomFromEWKT('SRID=4674;POINT (-39.019821 -3.368173)'))) / (select extract(epoch from '2026-07-17 17:01:36'::timestamp) - extract(epoch from '2026-07-17 17:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01981 -3.368175)'), GeomFromEWKT('SRID=4674;POINT (-39.019821 -3.368173)'))) / (select extract(epoch from '2026-07-17 17:01:36'::timestamp) - extract(epoch from '2026-07-17 17:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019839 -3.368162)', '2026-07-17 17:01:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019821 -3.368173)'), GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.368162)'))) / (select extract(epoch from '2026-07-17 17:01:41'::timestamp) - extract(epoch from '2026-07-17 17:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019821 -3.368173)'), GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.368162)'))) / (select extract(epoch from '2026-07-17 17:01:41'::timestamp) - extract(epoch from '2026-07-17 17:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019863 -3.368149)', '2026-07-17 17:01:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.368162)'), GeomFromEWKT('SRID=4674;POINT (-39.019863 -3.368149)'))) / (select extract(epoch from '2026-07-17 17:01:46'::timestamp) - extract(epoch from '2026-07-17 17:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.368162)'), GeomFromEWKT('SRID=4674;POINT (-39.019863 -3.368149)'))) / (select extract(epoch from '2026-07-17 17:01:46'::timestamp) - extract(epoch from '2026-07-17 17:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.0199 -3.368139)', '2026-07-17 17:01:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019863 -3.368149)'), GeomFromEWKT('SRID=4674;POINT (-39.0199 -3.368139)'))) / (select extract(epoch from '2026-07-17 17:01:52'::timestamp) - extract(epoch from '2026-07-17 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019863 -3.368149)'), GeomFromEWKT('SRID=4674;POINT (-39.0199 -3.368139)'))) / (select extract(epoch from '2026-07-17 17:01:52'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47442, 'SRID=4674;POINT (-39.019946 -3.368126)', '2026-07-17 17:02:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0199 -3.368139)'), GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.368126)'))) / (select extract(epoch from '2026-07-17 17:02:00'::timestamp) - extract(epoch from '2026-07-17 17:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0199 -3.368139)'), GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.368126)'))) / (select extract(epoch from '2026-07-17 17:02:00'::timestamp) - extract(epoch from '2026-07-17 17:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.019985 -3.36811)', '2026-07-17 17:02:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.368126)'), GeomFromEWKT('SRID=4674;POINT (-39.019985 -3.36811)'))) / (select extract(epoch from '2026-07-17 17:02:07'::timestamp) - extract(epoch from '2026-07-17 17:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.368126)'), GeomFromEWKT('SRID=4674;POINT (-39.019985 -3.36811)'))) / (select extract(epoch from '2026-07-17 17:02:07'::timestamp) - extract(epoch from '2026-07-17 17:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020029 -3.368092)', '2026-07-17 17:02:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019985 -3.36811)'), GeomFromEWKT('SRID=4674;POINT (-39.020029 -3.368092)'))) / (select extract(epoch from '2026-07-17 17:02:15'::timestamp) - extract(epoch from '2026-07-17 17:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019985 -3.36811)'), GeomFromEWKT('SRID=4674;POINT (-39.020029 -3.368092)'))) / (select extract(epoch from '2026-07-17 17:02:15'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47442, 'SRID=4674;POINT (-39.020071 -3.368074)', '2026-07-17 17:02:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020029 -3.368092)'), GeomFromEWKT('SRID=4674;POINT (-39.020071 -3.368074)'))) / (select extract(epoch from '2026-07-17 17:02:23'::timestamp) - extract(epoch from '2026-07-17 17:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020029 -3.368092)'), GeomFromEWKT('SRID=4674;POINT (-39.020071 -3.368074)'))) / (select extract(epoch from '2026-07-17 17:02:23'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47442, 'SRID=4674;POINT (-39.020101 -3.368064)', '2026-07-17 17:02:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020071 -3.368074)'), GeomFromEWKT('SRID=4674;POINT (-39.020101 -3.368064)'))) / (select extract(epoch from '2026-07-17 17:02:27'::timestamp) - extract(epoch from '2026-07-17 17:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020071 -3.368074)'), GeomFromEWKT('SRID=4674;POINT (-39.020101 -3.368064)'))) / (select extract(epoch from '2026-07-17 17:02:27'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47442, 'SRID=4674;POINT (-39.020125 -3.368053)', '2026-07-17 17:02:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020101 -3.368064)'), GeomFromEWKT('SRID=4674;POINT (-39.020125 -3.368053)'))) / (select extract(epoch from '2026-07-17 17:02:31'::timestamp) - extract(epoch from '2026-07-17 17:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020101 -3.368064)'), GeomFromEWKT('SRID=4674;POINT (-39.020125 -3.368053)'))) / (select extract(epoch from '2026-07-17 17:02:31'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47442, 'SRID=4674;POINT (-39.020159 -3.368034)', '2026-07-17 17:02:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020125 -3.368053)'), GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.368034)'))) / (select extract(epoch from '2026-07-17 17:02:39'::timestamp) - extract(epoch from '2026-07-17 17:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020125 -3.368053)'), GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.368034)'))) / (select extract(epoch from '2026-07-17 17:02:39'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47442, 'SRID=4674;POINT (-39.020202 -3.368019)', '2026-07-17 17:02:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.368034)'), GeomFromEWKT('SRID=4674;POINT (-39.020202 -3.368019)'))) / (select extract(epoch from '2026-07-17 17:02:46'::timestamp) - extract(epoch from '2026-07-17 17:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.368034)'), GeomFromEWKT('SRID=4674;POINT (-39.020202 -3.368019)'))) / (select extract(epoch from '2026-07-17 17:02:46'::timestamp) - extract(epoch from '2026-07-17 17:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020247 -3.368007)', '2026-07-17 17:02:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020202 -3.368019)'), GeomFromEWKT('SRID=4674;POINT (-39.020247 -3.368007)'))) / (select extract(epoch from '2026-07-17 17:02:54'::timestamp) - extract(epoch from '2026-07-17 17:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020202 -3.368019)'), GeomFromEWKT('SRID=4674;POINT (-39.020247 -3.368007)'))) / (select extract(epoch from '2026-07-17 17:02:54'::timestamp) - extract(epoch from '2026-07-17 17:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020295 -3.368)', '2026-07-17 17:03:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020247 -3.368007)'), GeomFromEWKT('SRID=4674;POINT (-39.020295 -3.368)'))) / (select extract(epoch from '2026-07-17 17:03:01'::timestamp) - extract(epoch from '2026-07-17 17:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020247 -3.368007)'), GeomFromEWKT('SRID=4674;POINT (-39.020295 -3.368)'))) / (select extract(epoch from '2026-07-17 17:03:01'::timestamp) - extract(epoch from '2026-07-17 17:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020329 -3.367989)', '2026-07-17 17:03:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020295 -3.368)'), GeomFromEWKT('SRID=4674;POINT (-39.020329 -3.367989)'))) / (select extract(epoch from '2026-07-17 17:03:07'::timestamp) - extract(epoch from '2026-07-17 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020295 -3.368)'), GeomFromEWKT('SRID=4674;POINT (-39.020329 -3.367989)'))) / (select extract(epoch from '2026-07-17 17:03:07'::timestamp) - extract(epoch from '2026-07-17 17:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02037 -3.367974)', '2026-07-17 17:03:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020329 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.367974)'))) / (select extract(epoch from '2026-07-17 17:03:14'::timestamp) - extract(epoch from '2026-07-17 17:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020329 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.367974)'))) / (select extract(epoch from '2026-07-17 17:03:14'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020412 -3.367963)', '2026-07-17 17:03:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.367974)'), GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.367963)'))) / (select extract(epoch from '2026-07-17 17:03:21'::timestamp) - extract(epoch from '2026-07-17 17:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.367974)'), GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.367963)'))) / (select extract(epoch from '2026-07-17 17:03:21'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020421 -3.367961)', '2026-07-17 17:03:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.367963)'), GeomFromEWKT('SRID=4674;POINT (-39.020421 -3.367961)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.367963)'), GeomFromEWKT('SRID=4674;POINT (-39.020421 -3.367961)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020447 -3.367948)', '2026-07-17 17:03:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020421 -3.367961)'), GeomFromEWKT('SRID=4674;POINT (-39.020447 -3.367948)'))) / (select extract(epoch from '2026-07-17 17:03:27'::timestamp) - extract(epoch from '2026-07-17 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020421 -3.367961)'), GeomFromEWKT('SRID=4674;POINT (-39.020447 -3.367948)'))) / (select extract(epoch from '2026-07-17 17:03:27'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020477 -3.367938)', '2026-07-17 17:03:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020447 -3.367948)'), GeomFromEWKT('SRID=4674;POINT (-39.020477 -3.367938)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020447 -3.367948)'), GeomFromEWKT('SRID=4674;POINT (-39.020477 -3.367938)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020507 -3.367927)', '2026-07-17 17:03:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020477 -3.367938)'), GeomFromEWKT('SRID=4674;POINT (-39.020507 -3.367927)'))) / (select extract(epoch from '2026-07-17 17:03:38'::timestamp) - extract(epoch from '2026-07-17 17:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020477 -3.367938)'), GeomFromEWKT('SRID=4674;POINT (-39.020507 -3.367927)'))) / (select extract(epoch from '2026-07-17 17:03:38'::timestamp) - extract(epoch from '2026-07-17 17:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020556 -3.367901)', '2026-07-17 17:03:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020507 -3.367927)'), GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367901)'))) / (select extract(epoch from '2026-07-17 17:03:47'::timestamp) - extract(epoch from '2026-07-17 17:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020507 -3.367927)'), GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367901)'))) / (select extract(epoch from '2026-07-17 17:03:47'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020592 -3.367885)', '2026-07-17 17:03:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367901)'), GeomFromEWKT('SRID=4674;POINT (-39.020592 -3.367885)'))) / (select extract(epoch from '2026-07-17 17:03:54'::timestamp) - extract(epoch from '2026-07-17 17:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367901)'), GeomFromEWKT('SRID=4674;POINT (-39.020592 -3.367885)'))) / (select extract(epoch from '2026-07-17 17:03:54'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020631 -3.367868)', '2026-07-17 17:04:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020592 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.020631 -3.367868)'))) / (select extract(epoch from '2026-07-17 17:04:02'::timestamp) - extract(epoch from '2026-07-17 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020592 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-39.020631 -3.367868)'))) / (select extract(epoch from '2026-07-17 17:04:02'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47442, 'SRID=4674;POINT (-39.020694 -3.36785)', '2026-07-17 17:04:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020631 -3.367868)'), GeomFromEWKT('SRID=4674;POINT (-39.020694 -3.36785)'))) / (select extract(epoch from '2026-07-17 17:04:12'::timestamp) - extract(epoch from '2026-07-17 17:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020631 -3.367868)'), GeomFromEWKT('SRID=4674;POINT (-39.020694 -3.36785)'))) / (select extract(epoch from '2026-07-17 17:04:12'::timestamp) - extract(epoch from '2026-07-17 17:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020725 -3.367835)', '2026-07-17 17:04:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020694 -3.36785)'), GeomFromEWKT('SRID=4674;POINT (-39.020725 -3.367835)'))) / (select extract(epoch from '2026-07-17 17:04:19'::timestamp) - extract(epoch from '2026-07-17 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020694 -3.36785)'), GeomFromEWKT('SRID=4674;POINT (-39.020725 -3.367835)'))) / (select extract(epoch from '2026-07-17 17:04:19'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47442, 'SRID=4674;POINT (-39.020769 -3.367817)', '2026-07-17 17:04:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020725 -3.367835)'), GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.367817)'))) / (select extract(epoch from '2026-07-17 17:04:27'::timestamp) - extract(epoch from '2026-07-17 17:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020725 -3.367835)'), GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.367817)'))) / (select extract(epoch from '2026-07-17 17:04:27'::timestamp) - extract(epoch from '2026-07-17 17:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020796 -3.367803)', '2026-07-17 17:04:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.367817)'), GeomFromEWKT('SRID=4674;POINT (-39.020796 -3.367803)'))) / (select extract(epoch from '2026-07-17 17:04:32'::timestamp) - extract(epoch from '2026-07-17 17:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.367817)'), GeomFromEWKT('SRID=4674;POINT (-39.020796 -3.367803)'))) / (select extract(epoch from '2026-07-17 17:04:32'::timestamp) - extract(epoch from '2026-07-17 17:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02084 -3.367788)', '2026-07-17 17:04:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020796 -3.367803)'), GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.367788)'))) / (select extract(epoch from '2026-07-17 17:04:39'::timestamp) - extract(epoch from '2026-07-17 17:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020796 -3.367803)'), GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.367788)'))) / (select extract(epoch from '2026-07-17 17:04:39'::timestamp) - extract(epoch from '2026-07-17 17:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.020878 -3.367776)', '2026-07-17 17:04:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.367788)'), GeomFromEWKT('SRID=4674;POINT (-39.020878 -3.367776)'))) / (select extract(epoch from '2026-07-17 17:04:45'::timestamp) - extract(epoch from '2026-07-17 17:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.367788)'), GeomFromEWKT('SRID=4674;POINT (-39.020878 -3.367776)'))) / (select extract(epoch from '2026-07-17 17:04:45'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47442, 'SRID=4674;POINT (-39.020894 -3.367765)', '2026-07-17 17:04:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020878 -3.367776)'), GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.367765)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020878 -3.367776)'), GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.367765)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47442, 'SRID=4674;POINT (-39.020905 -3.367762)', '2026-07-17 17:04:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.367765)'), GeomFromEWKT('SRID=4674;POINT (-39.020905 -3.367762)'))) / (select extract(epoch from '2026-07-17 17:04:49'::timestamp) - extract(epoch from '2026-07-17 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.367765)'), GeomFromEWKT('SRID=4674;POINT (-39.020905 -3.367762)'))) / (select extract(epoch from '2026-07-17 17:04:49'::timestamp) - extract(epoch from '2026-07-17 17:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02094 -3.367743)', '2026-07-17 17:04:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020905 -3.367762)'), GeomFromEWKT('SRID=4674;POINT (-39.02094 -3.367743)'))) / (select extract(epoch from '2026-07-17 17:04:55'::timestamp) - extract(epoch from '2026-07-17 17:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020905 -3.367762)'), GeomFromEWKT('SRID=4674;POINT (-39.02094 -3.367743)'))) / (select extract(epoch from '2026-07-17 17:04:55'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47442, 'SRID=4674;POINT (-39.020978 -3.36772)', '2026-07-17 17:05:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02094 -3.367743)'), GeomFromEWKT('SRID=4674;POINT (-39.020978 -3.36772)'))) / (select extract(epoch from '2026-07-17 17:05:03'::timestamp) - extract(epoch from '2026-07-17 17:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02094 -3.367743)'), GeomFromEWKT('SRID=4674;POINT (-39.020978 -3.36772)'))) / (select extract(epoch from '2026-07-17 17:05:03'::timestamp) - extract(epoch from '2026-07-17 17:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021013 -3.367708)', '2026-07-17 17:05:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020978 -3.36772)'), GeomFromEWKT('SRID=4674;POINT (-39.021013 -3.367708)'))) / (select extract(epoch from '2026-07-17 17:05:09'::timestamp) - extract(epoch from '2026-07-17 17:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020978 -3.36772)'), GeomFromEWKT('SRID=4674;POINT (-39.021013 -3.367708)'))) / (select extract(epoch from '2026-07-17 17:05:09'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47442, 'SRID=4674;POINT (-39.021045 -3.367689)', '2026-07-17 17:05:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021013 -3.367708)'), GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367689)'))) / (select extract(epoch from '2026-07-17 17:05:16'::timestamp) - extract(epoch from '2026-07-17 17:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021013 -3.367708)'), GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367689)'))) / (select extract(epoch from '2026-07-17 17:05:16'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.021081 -3.367667)', '2026-07-17 17:05:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367689)'), GeomFromEWKT('SRID=4674;POINT (-39.021081 -3.367667)'))) / (select extract(epoch from '2026-07-17 17:05:24'::timestamp) - extract(epoch from '2026-07-17 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021045 -3.367689)'), GeomFromEWKT('SRID=4674;POINT (-39.021081 -3.367667)'))) / (select extract(epoch from '2026-07-17 17:05:24'::timestamp) - extract(epoch from '2026-07-17 17:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021119 -3.367647)', '2026-07-17 17:05:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021081 -3.367667)'), GeomFromEWKT('SRID=4674;POINT (-39.021119 -3.367647)'))) / (select extract(epoch from '2026-07-17 17:05:31'::timestamp) - extract(epoch from '2026-07-17 17:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021081 -3.367667)'), GeomFromEWKT('SRID=4674;POINT (-39.021119 -3.367647)'))) / (select extract(epoch from '2026-07-17 17:05:31'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47442, 'SRID=4674;POINT (-39.021164 -3.367623)', '2026-07-17 17:05:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021119 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.021164 -3.367623)'))) / (select extract(epoch from '2026-07-17 17:05:40'::timestamp) - extract(epoch from '2026-07-17 17:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021119 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.021164 -3.367623)'))) / (select extract(epoch from '2026-07-17 17:05:40'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47442, 'SRID=4674;POINT (-39.021207 -3.3676)', '2026-07-17 17:05:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021164 -3.367623)'), GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.3676)'))) / (select extract(epoch from '2026-07-17 17:05:47'::timestamp) - extract(epoch from '2026-07-17 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021164 -3.367623)'), GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.3676)'))) / (select extract(epoch from '2026-07-17 17:05:47'::timestamp) - extract(epoch from '2026-07-17 17:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021256 -3.367574)', '2026-07-17 17:05:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.3676)'), GeomFromEWKT('SRID=4674;POINT (-39.021256 -3.367574)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021207 -3.3676)'), GeomFromEWKT('SRID=4674;POINT (-39.021256 -3.367574)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02129 -3.367543)', '2026-07-17 17:06:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021256 -3.367574)'), GeomFromEWKT('SRID=4674;POINT (-39.02129 -3.367543)'))) / (select extract(epoch from '2026-07-17 17:06:02'::timestamp) - extract(epoch from '2026-07-17 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021256 -3.367574)'), GeomFromEWKT('SRID=4674;POINT (-39.02129 -3.367543)'))) / (select extract(epoch from '2026-07-17 17:06:02'::timestamp) - extract(epoch from '2026-07-17 17:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021314 -3.367525)', '2026-07-17 17:06:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02129 -3.367543)'), GeomFromEWKT('SRID=4674;POINT (-39.021314 -3.367525)'))) / (select extract(epoch from '2026-07-17 17:06:08'::timestamp) - extract(epoch from '2026-07-17 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02129 -3.367543)'), GeomFromEWKT('SRID=4674;POINT (-39.021314 -3.367525)'))) / (select extract(epoch from '2026-07-17 17:06:08'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47442, 'SRID=4674;POINT (-39.021343 -3.367511)', '2026-07-17 17:06:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021314 -3.367525)'), GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.367511)'))) / (select extract(epoch from '2026-07-17 17:06:15'::timestamp) - extract(epoch from '2026-07-17 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021314 -3.367525)'), GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.367511)'))) / (select extract(epoch from '2026-07-17 17:06:15'::timestamp) - extract(epoch from '2026-07-17 17:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021375 -3.367493)', '2026-07-17 17:06:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.367511)'), GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.367493)'))) / (select extract(epoch from '2026-07-17 17:06:23'::timestamp) - extract(epoch from '2026-07-17 17:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021343 -3.367511)'), GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.367493)'))) / (select extract(epoch from '2026-07-17 17:06:23'::timestamp) - extract(epoch from '2026-07-17 17:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021383 -3.367491)', '2026-07-17 17:06:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.367493)'), GeomFromEWKT('SRID=4674;POINT (-39.021383 -3.367491)'))) / (select extract(epoch from '2026-07-17 17:06:24'::timestamp) - extract(epoch from '2026-07-17 17:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.367493)'), GeomFromEWKT('SRID=4674;POINT (-39.021383 -3.367491)'))) / (select extract(epoch from '2026-07-17 17:06:24'::timestamp) - extract(epoch from '2026-07-17 17:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021414 -3.367484)', '2026-07-17 17:06:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021383 -3.367491)'), GeomFromEWKT('SRID=4674;POINT (-39.021414 -3.367484)'))) / (select extract(epoch from '2026-07-17 17:06:28'::timestamp) - extract(epoch from '2026-07-17 17:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021383 -3.367491)'), GeomFromEWKT('SRID=4674;POINT (-39.021414 -3.367484)'))) / (select extract(epoch from '2026-07-17 17:06:28'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.02146 -3.367466)', '2026-07-17 17:06:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021414 -3.367484)'), GeomFromEWKT('SRID=4674;POINT (-39.02146 -3.367466)'))) / (select extract(epoch from '2026-07-17 17:06:36'::timestamp) - extract(epoch from '2026-07-17 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021414 -3.367484)'), GeomFromEWKT('SRID=4674;POINT (-39.02146 -3.367466)'))) / (select extract(epoch from '2026-07-17 17:06:36'::timestamp) - extract(epoch from '2026-07-17 17:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021508 -3.367445)', '2026-07-17 17:06:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02146 -3.367466)'), GeomFromEWKT('SRID=4674;POINT (-39.021508 -3.367445)'))) / (select extract(epoch from '2026-07-17 17:06:44'::timestamp) - extract(epoch from '2026-07-17 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02146 -3.367466)'), GeomFromEWKT('SRID=4674;POINT (-39.021508 -3.367445)'))) / (select extract(epoch from '2026-07-17 17:06:44'::timestamp) - extract(epoch from '2026-07-17 17:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021563 -3.367422)', '2026-07-17 17:06:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021508 -3.367445)'), GeomFromEWKT('SRID=4674;POINT (-39.021563 -3.367422)'))) / (select extract(epoch from '2026-07-17 17:06:53'::timestamp) - extract(epoch from '2026-07-17 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021508 -3.367445)'), GeomFromEWKT('SRID=4674;POINT (-39.021563 -3.367422)'))) / (select extract(epoch from '2026-07-17 17:06:53'::timestamp) - extract(epoch from '2026-07-17 17:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021607 -3.367402)', '2026-07-17 17:07:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021563 -3.367422)'), GeomFromEWKT('SRID=4674;POINT (-39.021607 -3.367402)'))) / (select extract(epoch from '2026-07-17 17:07:02'::timestamp) - extract(epoch from '2026-07-17 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021563 -3.367422)'), GeomFromEWKT('SRID=4674;POINT (-39.021607 -3.367402)'))) / (select extract(epoch from '2026-07-17 17:07:02'::timestamp) - extract(epoch from '2026-07-17 17:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021652 -3.367389)', '2026-07-17 17:07:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021607 -3.367402)'), GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.367389)'))) / (select extract(epoch from '2026-07-17 17:07:09'::timestamp) - extract(epoch from '2026-07-17 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021607 -3.367402)'), GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.367389)'))) / (select extract(epoch from '2026-07-17 17:07:09'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47442, 'SRID=4674;POINT (-39.021687 -3.367374)', '2026-07-17 17:07:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.367389)'), GeomFromEWKT('SRID=4674;POINT (-39.021687 -3.367374)'))) / (select extract(epoch from '2026-07-17 17:07:16'::timestamp) - extract(epoch from '2026-07-17 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021652 -3.367389)'), GeomFromEWKT('SRID=4674;POINT (-39.021687 -3.367374)'))) / (select extract(epoch from '2026-07-17 17:07:16'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.021722 -3.367355)', '2026-07-17 17:07:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021687 -3.367374)'), GeomFromEWKT('SRID=4674;POINT (-39.021722 -3.367355)'))) / (select extract(epoch from '2026-07-17 17:07:24'::timestamp) - extract(epoch from '2026-07-17 17:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021687 -3.367374)'), GeomFromEWKT('SRID=4674;POINT (-39.021722 -3.367355)'))) / (select extract(epoch from '2026-07-17 17:07:24'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47442, 'SRID=4674;POINT (-39.02175 -3.367339)', '2026-07-17 17:07:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021722 -3.367355)'), GeomFromEWKT('SRID=4674;POINT (-39.02175 -3.367339)'))) / (select extract(epoch from '2026-07-17 17:07:30'::timestamp) - extract(epoch from '2026-07-17 17:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021722 -3.367355)'), GeomFromEWKT('SRID=4674;POINT (-39.02175 -3.367339)'))) / (select extract(epoch from '2026-07-17 17:07:30'::timestamp) - extract(epoch from '2026-07-17 17:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021789 -3.367324)', '2026-07-17 17:07:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02175 -3.367339)'), GeomFromEWKT('SRID=4674;POINT (-39.021789 -3.367324)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02175 -3.367339)'), GeomFromEWKT('SRID=4674;POINT (-39.021789 -3.367324)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.021834 -3.367303)', '2026-07-17 17:07:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021789 -3.367324)'), GeomFromEWKT('SRID=4674;POINT (-39.021834 -3.367303)'))) / (select extract(epoch from '2026-07-17 17:07:46'::timestamp) - extract(epoch from '2026-07-17 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021789 -3.367324)'), GeomFromEWKT('SRID=4674;POINT (-39.021834 -3.367303)'))) / (select extract(epoch from '2026-07-17 17:07:46'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47442, 'SRID=4674;POINT (-39.021874 -3.36729)', '2026-07-17 17:07:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021834 -3.367303)'), GeomFromEWKT('SRID=4674;POINT (-39.021874 -3.36729)'))) / (select extract(epoch from '2026-07-17 17:07:53'::timestamp) - extract(epoch from '2026-07-17 17:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021834 -3.367303)'), GeomFromEWKT('SRID=4674;POINT (-39.021874 -3.36729)'))) / (select extract(epoch from '2026-07-17 17:07:53'::timestamp) - extract(epoch from '2026-07-17 17:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021902 -3.367272)', '2026-07-17 17:08:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021874 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.021902 -3.367272)'))) / (select extract(epoch from '2026-07-17 17:08:00'::timestamp) - extract(epoch from '2026-07-17 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021874 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.021902 -3.367272)'))) / (select extract(epoch from '2026-07-17 17:08:00'::timestamp) - extract(epoch from '2026-07-17 17:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021948 -3.367253)', '2026-07-17 17:08:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021902 -3.367272)'), GeomFromEWKT('SRID=4674;POINT (-39.021948 -3.367253)'))) / (select extract(epoch from '2026-07-17 17:08:08'::timestamp) - extract(epoch from '2026-07-17 17:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021902 -3.367272)'), GeomFromEWKT('SRID=4674;POINT (-39.021948 -3.367253)'))) / (select extract(epoch from '2026-07-17 17:08:08'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47442, 'SRID=4674;POINT (-39.021974 -3.36724)', '2026-07-17 17:08:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021948 -3.367253)'), GeomFromEWKT('SRID=4674;POINT (-39.021974 -3.36724)'))) / (select extract(epoch from '2026-07-17 17:08:14'::timestamp) - extract(epoch from '2026-07-17 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021948 -3.367253)'), GeomFromEWKT('SRID=4674;POINT (-39.021974 -3.36724)'))) / (select extract(epoch from '2026-07-17 17:08:14'::timestamp) - extract(epoch from '2026-07-17 17:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022012 -3.367223)', '2026-07-17 17:08:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021974 -3.36724)'), GeomFromEWKT('SRID=4674;POINT (-39.022012 -3.367223)'))) / (select extract(epoch from '2026-07-17 17:08:21'::timestamp) - extract(epoch from '2026-07-17 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021974 -3.36724)'), GeomFromEWKT('SRID=4674;POINT (-39.022012 -3.367223)'))) / (select extract(epoch from '2026-07-17 17:08:21'::timestamp) - extract(epoch from '2026-07-17 17:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022044 -3.367218)', '2026-07-17 17:08:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022012 -3.367223)'), GeomFromEWKT('SRID=4674;POINT (-39.022044 -3.367218)'))) / (select extract(epoch from '2026-07-17 17:08:28'::timestamp) - extract(epoch from '2026-07-17 17:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022012 -3.367223)'), GeomFromEWKT('SRID=4674;POINT (-39.022044 -3.367218)'))) / (select extract(epoch from '2026-07-17 17:08:28'::timestamp) - extract(epoch from '2026-07-17 17:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02208 -3.367211)', '2026-07-17 17:08:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022044 -3.367218)'), GeomFromEWKT('SRID=4674;POINT (-39.02208 -3.367211)'))) / (select extract(epoch from '2026-07-17 17:08:35'::timestamp) - extract(epoch from '2026-07-17 17:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022044 -3.367218)'), GeomFromEWKT('SRID=4674;POINT (-39.02208 -3.367211)'))) / (select extract(epoch from '2026-07-17 17:08:35'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47442, 'SRID=4674;POINT (-39.022112 -3.367196)', '2026-07-17 17:08:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02208 -3.367211)'), GeomFromEWKT('SRID=4674;POINT (-39.022112 -3.367196)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02208 -3.367211)'), GeomFromEWKT('SRID=4674;POINT (-39.022112 -3.367196)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47442, 'SRID=4674;POINT (-39.022162 -3.367182)', '2026-07-17 17:08:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022112 -3.367196)'), GeomFromEWKT('SRID=4674;POINT (-39.022162 -3.367182)'))) / (select extract(epoch from '2026-07-17 17:08:49'::timestamp) - extract(epoch from '2026-07-17 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022112 -3.367196)'), GeomFromEWKT('SRID=4674;POINT (-39.022162 -3.367182)'))) / (select extract(epoch from '2026-07-17 17:08:49'::timestamp) - extract(epoch from '2026-07-17 17:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022193 -3.367165)', '2026-07-17 17:08:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022162 -3.367182)'), GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.367165)'))) / (select extract(epoch from '2026-07-17 17:08:56'::timestamp) - extract(epoch from '2026-07-17 17:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022162 -3.367182)'), GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.367165)'))) / (select extract(epoch from '2026-07-17 17:08:56'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47442, 'SRID=4674;POINT (-39.022226 -3.367152)', '2026-07-17 17:09:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.367165)'), GeomFromEWKT('SRID=4674;POINT (-39.022226 -3.367152)'))) / (select extract(epoch from '2026-07-17 17:09:03'::timestamp) - extract(epoch from '2026-07-17 17:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.367165)'), GeomFromEWKT('SRID=4674;POINT (-39.022226 -3.367152)'))) / (select extract(epoch from '2026-07-17 17:09:03'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47442, 'SRID=4674;POINT (-39.022236 -3.367152)', '2026-07-17 17:09:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022226 -3.367152)'), GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.367152)'))) / (select extract(epoch from '2026-07-17 17:09:04'::timestamp) - extract(epoch from '2026-07-17 17:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022226 -3.367152)'), GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.367152)'))) / (select extract(epoch from '2026-07-17 17:09:04'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.022266 -3.36714)', '2026-07-17 17:09:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.367152)'), GeomFromEWKT('SRID=4674;POINT (-39.022266 -3.36714)'))) / (select extract(epoch from '2026-07-17 17:09:10'::timestamp) - extract(epoch from '2026-07-17 17:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.367152)'), GeomFromEWKT('SRID=4674;POINT (-39.022266 -3.36714)'))) / (select extract(epoch from '2026-07-17 17:09:10'::timestamp) - extract(epoch from '2026-07-17 17:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022298 -3.367125)', '2026-07-17 17:09:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022266 -3.36714)'), GeomFromEWKT('SRID=4674;POINT (-39.022298 -3.367125)'))) / (select extract(epoch from '2026-07-17 17:09:17'::timestamp) - extract(epoch from '2026-07-17 17:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022266 -3.36714)'), GeomFromEWKT('SRID=4674;POINT (-39.022298 -3.367125)'))) / (select extract(epoch from '2026-07-17 17:09:17'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.022307 -3.367117)', '2026-07-17 17:09:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022298 -3.367125)'), GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.367117)'))) / (select extract(epoch from '2026-07-17 17:09:19'::timestamp) - extract(epoch from '2026-07-17 17:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022298 -3.367125)'), GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.367117)'))) / (select extract(epoch from '2026-07-17 17:09:19'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47442, 'SRID=4674;POINT (-39.022326 -3.367109)', '2026-07-17 17:09:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.367117)'), GeomFromEWKT('SRID=4674;POINT (-39.022326 -3.367109)'))) / (select extract(epoch from '2026-07-17 17:09:22'::timestamp) - extract(epoch from '2026-07-17 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.367117)'), GeomFromEWKT('SRID=4674;POINT (-39.022326 -3.367109)'))) / (select extract(epoch from '2026-07-17 17:09:22'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47442, 'SRID=4674;POINT (-39.022359 -3.36709)', '2026-07-17 17:09:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022326 -3.367109)'), GeomFromEWKT('SRID=4674;POINT (-39.022359 -3.36709)'))) / (select extract(epoch from '2026-07-17 17:09:29'::timestamp) - extract(epoch from '2026-07-17 17:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022326 -3.367109)'), GeomFromEWKT('SRID=4674;POINT (-39.022359 -3.36709)'))) / (select extract(epoch from '2026-07-17 17:09:29'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47442, 'SRID=4674;POINT (-39.022395 -3.367074)', '2026-07-17 17:09:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022359 -3.36709)'), GeomFromEWKT('SRID=4674;POINT (-39.022395 -3.367074)'))) / (select extract(epoch from '2026-07-17 17:09:37'::timestamp) - extract(epoch from '2026-07-17 17:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022359 -3.36709)'), GeomFromEWKT('SRID=4674;POINT (-39.022395 -3.367074)'))) / (select extract(epoch from '2026-07-17 17:09:37'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47442, 'SRID=4674;POINT (-39.022426 -3.367057)', '2026-07-17 17:09:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022395 -3.367074)'), GeomFromEWKT('SRID=4674;POINT (-39.022426 -3.367057)'))) / (select extract(epoch from '2026-07-17 17:09:44'::timestamp) - extract(epoch from '2026-07-17 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022395 -3.367074)'), GeomFromEWKT('SRID=4674;POINT (-39.022426 -3.367057)'))) / (select extract(epoch from '2026-07-17 17:09:44'::timestamp) - extract(epoch from '2026-07-17 17:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022454 -3.36704)', '2026-07-17 17:09:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022426 -3.367057)'), GeomFromEWKT('SRID=4674;POINT (-39.022454 -3.36704)'))) / (select extract(epoch from '2026-07-17 17:09:50'::timestamp) - extract(epoch from '2026-07-17 17:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022426 -3.367057)'), GeomFromEWKT('SRID=4674;POINT (-39.022454 -3.36704)'))) / (select extract(epoch from '2026-07-17 17:09:50'::timestamp) - extract(epoch from '2026-07-17 17:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022508 -3.367008)', '2026-07-17 17:10:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022454 -3.36704)'), GeomFromEWKT('SRID=4674;POINT (-39.022508 -3.367008)'))) / (select extract(epoch from '2026-07-17 17:10:01'::timestamp) - extract(epoch from '2026-07-17 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022454 -3.36704)'), GeomFromEWKT('SRID=4674;POINT (-39.022508 -3.367008)'))) / (select extract(epoch from '2026-07-17 17:10:01'::timestamp) - extract(epoch from '2026-07-17 17:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02256 -3.366986)', '2026-07-17 17:10:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022508 -3.367008)'), GeomFromEWKT('SRID=4674;POINT (-39.02256 -3.366986)'))) / (select extract(epoch from '2026-07-17 17:10:09'::timestamp) - extract(epoch from '2026-07-17 17:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022508 -3.367008)'), GeomFromEWKT('SRID=4674;POINT (-39.02256 -3.366986)'))) / (select extract(epoch from '2026-07-17 17:10:09'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47442, 'SRID=4674;POINT (-39.022602 -3.366965)', '2026-07-17 17:10:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02256 -3.366986)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.366965)'))) / (select extract(epoch from '2026-07-17 17:10:19'::timestamp) - extract(epoch from '2026-07-17 17:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02256 -3.366986)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.366965)'))) / (select extract(epoch from '2026-07-17 17:10:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.022638 -3.36695)', '2026-07-17 17:10:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.366965)'), GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.36695)'))) / (select extract(epoch from '2026-07-17 17:10:27'::timestamp) - extract(epoch from '2026-07-17 17:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.366965)'), GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.36695)'))) / (select extract(epoch from '2026-07-17 17:10:27'::timestamp) - extract(epoch from '2026-07-17 17:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02267 -3.36694)', '2026-07-17 17:10:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.36694)'))) / (select extract(epoch from '2026-07-17 17:10:33'::timestamp) - extract(epoch from '2026-07-17 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.36694)'))) / (select extract(epoch from '2026-07-17 17:10:33'::timestamp) - extract(epoch from '2026-07-17 17:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02271 -3.366924)', '2026-07-17 17:10:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.36694)'), GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.366924)'))) / (select extract(epoch from '2026-07-17 17:10:40'::timestamp) - extract(epoch from '2026-07-17 17:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.36694)'), GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.366924)'))) / (select extract(epoch from '2026-07-17 17:10:40'::timestamp) - extract(epoch from '2026-07-17 17:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022755 -3.3669)', '2026-07-17 17:10:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.366924)'), GeomFromEWKT('SRID=4674;POINT (-39.022755 -3.3669)'))) / (select extract(epoch from '2026-07-17 17:10:49'::timestamp) - extract(epoch from '2026-07-17 17:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.366924)'), GeomFromEWKT('SRID=4674;POINT (-39.022755 -3.3669)'))) / (select extract(epoch from '2026-07-17 17:10:49'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47442, 'SRID=4674;POINT (-39.022782 -3.366895)', '2026-07-17 17:10:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022755 -3.3669)'), GeomFromEWKT('SRID=4674;POINT (-39.022782 -3.366895)'))) / (select extract(epoch from '2026-07-17 17:10:55'::timestamp) - extract(epoch from '2026-07-17 17:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022755 -3.3669)'), GeomFromEWKT('SRID=4674;POINT (-39.022782 -3.366895)'))) / (select extract(epoch from '2026-07-17 17:10:55'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.022815 -3.366881)', '2026-07-17 17:11:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022782 -3.366895)'), GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.366881)'))) / (select extract(epoch from '2026-07-17 17:11:02'::timestamp) - extract(epoch from '2026-07-17 17:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022782 -3.366895)'), GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.366881)'))) / (select extract(epoch from '2026-07-17 17:11:02'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47442, 'SRID=4674;POINT (-39.022861 -3.366864)', '2026-07-17 17:11:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.366881)'), GeomFromEWKT('SRID=4674;POINT (-39.022861 -3.366864)'))) / (select extract(epoch from '2026-07-17 17:11:12'::timestamp) - extract(epoch from '2026-07-17 17:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.366881)'), GeomFromEWKT('SRID=4674;POINT (-39.022861 -3.366864)'))) / (select extract(epoch from '2026-07-17 17:11:12'::timestamp) - extract(epoch from '2026-07-17 17:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022886 -3.366859)', '2026-07-17 17:11:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022861 -3.366864)'), GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.366859)'))) / (select extract(epoch from '2026-07-17 17:11:18'::timestamp) - extract(epoch from '2026-07-17 17:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022861 -3.366864)'), GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.366859)'))) / (select extract(epoch from '2026-07-17 17:11:18'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47442, 'SRID=4674;POINT (-39.022917 -3.366852)', '2026-07-17 17:11:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.366859)'), GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.366852)'))) / (select extract(epoch from '2026-07-17 17:11:23'::timestamp) - extract(epoch from '2026-07-17 17:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022886 -3.366859)'), GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.366852)'))) / (select extract(epoch from '2026-07-17 17:11:23'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47442, 'SRID=4674;POINT (-39.022954 -3.36684)', '2026-07-17 17:11:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.366852)'), GeomFromEWKT('SRID=4674;POINT (-39.022954 -3.36684)'))) / (select extract(epoch from '2026-07-17 17:11:31'::timestamp) - extract(epoch from '2026-07-17 17:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.366852)'), GeomFromEWKT('SRID=4674;POINT (-39.022954 -3.36684)'))) / (select extract(epoch from '2026-07-17 17:11:31'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47442, 'SRID=4674;POINT (-39.022986 -3.366827)', '2026-07-17 17:11:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022954 -3.36684)'), GeomFromEWKT('SRID=4674;POINT (-39.022986 -3.366827)'))) / (select extract(epoch from '2026-07-17 17:11:37'::timestamp) - extract(epoch from '2026-07-17 17:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022954 -3.36684)'), GeomFromEWKT('SRID=4674;POINT (-39.022986 -3.366827)'))) / (select extract(epoch from '2026-07-17 17:11:37'::timestamp) - extract(epoch from '2026-07-17 17:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023027 -3.366809)', '2026-07-17 17:11:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022986 -3.366827)'), GeomFromEWKT('SRID=4674;POINT (-39.023027 -3.366809)'))) / (select extract(epoch from '2026-07-17 17:11:45'::timestamp) - extract(epoch from '2026-07-17 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022986 -3.366827)'), GeomFromEWKT('SRID=4674;POINT (-39.023027 -3.366809)'))) / (select extract(epoch from '2026-07-17 17:11:45'::timestamp) - extract(epoch from '2026-07-17 17:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023063 -3.366794)', '2026-07-17 17:11:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023027 -3.366809)'), GeomFromEWKT('SRID=4674;POINT (-39.023063 -3.366794)'))) / (select extract(epoch from '2026-07-17 17:11:51'::timestamp) - extract(epoch from '2026-07-17 17:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023027 -3.366809)'), GeomFromEWKT('SRID=4674;POINT (-39.023063 -3.366794)'))) / (select extract(epoch from '2026-07-17 17:11:51'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47442, 'SRID=4674;POINT (-39.023095 -3.36678)', '2026-07-17 17:11:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023063 -3.366794)'), GeomFromEWKT('SRID=4674;POINT (-39.023095 -3.36678)'))) / (select extract(epoch from '2026-07-17 17:11:58'::timestamp) - extract(epoch from '2026-07-17 17:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023063 -3.366794)'), GeomFromEWKT('SRID=4674;POINT (-39.023095 -3.36678)'))) / (select extract(epoch from '2026-07-17 17:11:58'::timestamp) - extract(epoch from '2026-07-17 17:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023117 -3.366767)', '2026-07-17 17:12:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023095 -3.36678)'), GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.366767)'))) / (select extract(epoch from '2026-07-17 17:12:03'::timestamp) - extract(epoch from '2026-07-17 17:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023095 -3.36678)'), GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.366767)'))) / (select extract(epoch from '2026-07-17 17:12:03'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47442, 'SRID=4674;POINT (-39.023151 -3.366758)', '2026-07-17 17:12:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.366767)'), GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.366758)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.366767)'), GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.366758)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47442, 'SRID=4674;POINT (-39.023189 -3.366747)', '2026-07-17 17:12:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.366758)'), GeomFromEWKT('SRID=4674;POINT (-39.023189 -3.366747)'))) / (select extract(epoch from '2026-07-17 17:12:17'::timestamp) - extract(epoch from '2026-07-17 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.366758)'), GeomFromEWKT('SRID=4674;POINT (-39.023189 -3.366747)'))) / (select extract(epoch from '2026-07-17 17:12:17'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47442, 'SRID=4674;POINT (-39.023233 -3.366728)', '2026-07-17 17:12:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023189 -3.366747)'), GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.366728)'))) / (select extract(epoch from '2026-07-17 17:12:25'::timestamp) - extract(epoch from '2026-07-17 17:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023189 -3.366747)'), GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.366728)'))) / (select extract(epoch from '2026-07-17 17:12:25'::timestamp) - extract(epoch from '2026-07-17 17:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023259 -3.366711)', '2026-07-17 17:12:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.366728)'), GeomFromEWKT('SRID=4674;POINT (-39.023259 -3.366711)'))) / (select extract(epoch from '2026-07-17 17:12:31'::timestamp) - extract(epoch from '2026-07-17 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.366728)'), GeomFromEWKT('SRID=4674;POINT (-39.023259 -3.366711)'))) / (select extract(epoch from '2026-07-17 17:12:31'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.023287 -3.366701)', '2026-07-17 17:12:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023259 -3.366711)'), GeomFromEWKT('SRID=4674;POINT (-39.023287 -3.366701)'))) / (select extract(epoch from '2026-07-17 17:12:36'::timestamp) - extract(epoch from '2026-07-17 17:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023259 -3.366711)'), GeomFromEWKT('SRID=4674;POINT (-39.023287 -3.366701)'))) / (select extract(epoch from '2026-07-17 17:12:36'::timestamp) - extract(epoch from '2026-07-17 17:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023301 -3.366698)', '2026-07-17 17:12:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023287 -3.366701)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.366698)'))) / (select extract(epoch from '2026-07-17 17:12:38'::timestamp) - extract(epoch from '2026-07-17 17:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023287 -3.366701)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.366698)'))) / (select extract(epoch from '2026-07-17 17:12:38'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.023342 -3.366676)', '2026-07-17 17:12:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.366698)'), GeomFromEWKT('SRID=4674;POINT (-39.023342 -3.366676)'))) / (select extract(epoch from '2026-07-17 17:12:47'::timestamp) - extract(epoch from '2026-07-17 17:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.366698)'), GeomFromEWKT('SRID=4674;POINT (-39.023342 -3.366676)'))) / (select extract(epoch from '2026-07-17 17:12:47'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47442, 'SRID=4674;POINT (-39.023381 -3.366648)', '2026-07-17 17:12:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023342 -3.366676)'), GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.366648)'))) / (select extract(epoch from '2026-07-17 17:12:56'::timestamp) - extract(epoch from '2026-07-17 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023342 -3.366676)'), GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.366648)'))) / (select extract(epoch from '2026-07-17 17:12:56'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47442, 'SRID=4674;POINT (-39.023413 -3.36663)', '2026-07-17 17:13:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.366648)'), GeomFromEWKT('SRID=4674;POINT (-39.023413 -3.36663)'))) / (select extract(epoch from '2026-07-17 17:13:04'::timestamp) - extract(epoch from '2026-07-17 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.366648)'), GeomFromEWKT('SRID=4674;POINT (-39.023413 -3.36663)'))) / (select extract(epoch from '2026-07-17 17:13:04'::timestamp) - extract(epoch from '2026-07-17 17:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023443 -3.366619)', '2026-07-17 17:13:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023413 -3.36663)'), GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.366619)'))) / (select extract(epoch from '2026-07-17 17:13:11'::timestamp) - extract(epoch from '2026-07-17 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023413 -3.36663)'), GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.366619)'))) / (select extract(epoch from '2026-07-17 17:13:11'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47442, 'SRID=4674;POINT (-39.023477 -3.366598)', '2026-07-17 17:13:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.366619)'), GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.366598)'))) / (select extract(epoch from '2026-07-17 17:13:18'::timestamp) - extract(epoch from '2026-07-17 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.366619)'), GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.366598)'))) / (select extract(epoch from '2026-07-17 17:13:18'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47442, 'SRID=4674;POINT (-39.023511 -3.366583)', '2026-07-17 17:13:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.366598)'), GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366583)'))) / (select extract(epoch from '2026-07-17 17:13:26'::timestamp) - extract(epoch from '2026-07-17 17:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.366598)'), GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366583)'))) / (select extract(epoch from '2026-07-17 17:13:26'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47442, 'SRID=4674;POINT (-39.023543 -3.366568)', '2026-07-17 17:13:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366583)'), GeomFromEWKT('SRID=4674;POINT (-39.023543 -3.366568)'))) / (select extract(epoch from '2026-07-17 17:13:33'::timestamp) - extract(epoch from '2026-07-17 17:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366583)'), GeomFromEWKT('SRID=4674;POINT (-39.023543 -3.366568)'))) / (select extract(epoch from '2026-07-17 17:13:33'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47442, 'SRID=4674;POINT (-39.023573 -3.366551)', '2026-07-17 17:13:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023543 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.023573 -3.366551)'))) / (select extract(epoch from '2026-07-17 17:13:40'::timestamp) - extract(epoch from '2026-07-17 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023543 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.023573 -3.366551)'))) / (select extract(epoch from '2026-07-17 17:13:40'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47442, 'SRID=4674;POINT (-39.023609 -3.366526)', '2026-07-17 17:13:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023573 -3.366551)'), GeomFromEWKT('SRID=4674;POINT (-39.023609 -3.366526)'))) / (select extract(epoch from '2026-07-17 17:13:49'::timestamp) - extract(epoch from '2026-07-17 17:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023573 -3.366551)'), GeomFromEWKT('SRID=4674;POINT (-39.023609 -3.366526)'))) / (select extract(epoch from '2026-07-17 17:13:49'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.023647 -3.366506)', '2026-07-17 17:13:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023609 -3.366526)'), GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.366506)'))) / (select extract(epoch from '2026-07-17 17:13:57'::timestamp) - extract(epoch from '2026-07-17 17:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023609 -3.366526)'), GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.366506)'))) / (select extract(epoch from '2026-07-17 17:13:57'::timestamp) - extract(epoch from '2026-07-17 17:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023689 -3.366481)', '2026-07-17 17:14:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.366506)'), GeomFromEWKT('SRID=4674;POINT (-39.023689 -3.366481)'))) / (select extract(epoch from '2026-07-17 17:14:05'::timestamp) - extract(epoch from '2026-07-17 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.366506)'), GeomFromEWKT('SRID=4674;POINT (-39.023689 -3.366481)'))) / (select extract(epoch from '2026-07-17 17:14:05'::timestamp) - extract(epoch from '2026-07-17 17:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023736 -3.366457)', '2026-07-17 17:14:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023689 -3.366481)'), GeomFromEWKT('SRID=4674;POINT (-39.023736 -3.366457)'))) / (select extract(epoch from '2026-07-17 17:14:13'::timestamp) - extract(epoch from '2026-07-17 17:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023689 -3.366481)'), GeomFromEWKT('SRID=4674;POINT (-39.023736 -3.366457)'))) / (select extract(epoch from '2026-07-17 17:14:13'::timestamp) - extract(epoch from '2026-07-17 17:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023766 -3.366437)', '2026-07-17 17:14:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023736 -3.366457)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.366437)'))) / (select extract(epoch from '2026-07-17 17:14:20'::timestamp) - extract(epoch from '2026-07-17 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023736 -3.366457)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.366437)'))) / (select extract(epoch from '2026-07-17 17:14:20'::timestamp) - extract(epoch from '2026-07-17 17:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023807 -3.366414)', '2026-07-17 17:14:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.366437)'), GeomFromEWKT('SRID=4674;POINT (-39.023807 -3.366414)'))) / (select extract(epoch from '2026-07-17 17:14:27'::timestamp) - extract(epoch from '2026-07-17 17:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.366437)'), GeomFromEWKT('SRID=4674;POINT (-39.023807 -3.366414)'))) / (select extract(epoch from '2026-07-17 17:14:27'::timestamp) - extract(epoch from '2026-07-17 17:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023845 -3.366395)', '2026-07-17 17:14:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023807 -3.366414)'), GeomFromEWKT('SRID=4674;POINT (-39.023845 -3.366395)'))) / (select extract(epoch from '2026-07-17 17:14:33'::timestamp) - extract(epoch from '2026-07-17 17:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023807 -3.366414)'), GeomFromEWKT('SRID=4674;POINT (-39.023845 -3.366395)'))) / (select extract(epoch from '2026-07-17 17:14:33'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47442, 'SRID=4674;POINT (-39.023885 -3.36637)', '2026-07-17 17:14:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023845 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.023885 -3.36637)'))) / (select extract(epoch from '2026-07-17 17:14:41'::timestamp) - extract(epoch from '2026-07-17 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023845 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.023885 -3.36637)'))) / (select extract(epoch from '2026-07-17 17:14:41'::timestamp) - extract(epoch from '2026-07-17 17:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023926 -3.366348)', '2026-07-17 17:14:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023885 -3.36637)'), GeomFromEWKT('SRID=4674;POINT (-39.023926 -3.366348)'))) / (select extract(epoch from '2026-07-17 17:14:50'::timestamp) - extract(epoch from '2026-07-17 17:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023885 -3.36637)'), GeomFromEWKT('SRID=4674;POINT (-39.023926 -3.366348)'))) / (select extract(epoch from '2026-07-17 17:14:50'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47442, 'SRID=4674;POINT (-39.023956 -3.366334)', '2026-07-17 17:14:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023926 -3.366348)'), GeomFromEWKT('SRID=4674;POINT (-39.023956 -3.366334)'))) / (select extract(epoch from '2026-07-17 17:14:57'::timestamp) - extract(epoch from '2026-07-17 17:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023926 -3.366348)'), GeomFromEWKT('SRID=4674;POINT (-39.023956 -3.366334)'))) / (select extract(epoch from '2026-07-17 17:14:57'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47442, 'SRID=4674;POINT (-39.023994 -3.366317)', '2026-07-17 17:15:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023956 -3.366334)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.366317)'))) / (select extract(epoch from '2026-07-17 17:15:05'::timestamp) - extract(epoch from '2026-07-17 17:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023956 -3.366334)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.366317)'))) / (select extract(epoch from '2026-07-17 17:15:05'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47442, 'SRID=4674;POINT (-39.024033 -3.366294)', '2026-07-17 17:15:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.366317)'), GeomFromEWKT('SRID=4674;POINT (-39.024033 -3.366294)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.366317)'), GeomFromEWKT('SRID=4674;POINT (-39.024033 -3.366294)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024069 -3.366275)', '2026-07-17 17:15:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024033 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.024069 -3.366275)'))) / (select extract(epoch from '2026-07-17 17:15:21'::timestamp) - extract(epoch from '2026-07-17 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024033 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.024069 -3.366275)'))) / (select extract(epoch from '2026-07-17 17:15:21'::timestamp) - extract(epoch from '2026-07-17 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024105 -3.366246)', '2026-07-17 17:15:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024069 -3.366275)'), GeomFromEWKT('SRID=4674;POINT (-39.024105 -3.366246)'))) / (select extract(epoch from '2026-07-17 17:15:29'::timestamp) - extract(epoch from '2026-07-17 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024069 -3.366275)'), GeomFromEWKT('SRID=4674;POINT (-39.024105 -3.366246)'))) / (select extract(epoch from '2026-07-17 17:15:29'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024139 -3.366236)', '2026-07-17 17:15:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024105 -3.366246)'), GeomFromEWKT('SRID=4674;POINT (-39.024139 -3.366236)'))) / (select extract(epoch from '2026-07-17 17:15:35'::timestamp) - extract(epoch from '2026-07-17 17:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024105 -3.366246)'), GeomFromEWKT('SRID=4674;POINT (-39.024139 -3.366236)'))) / (select extract(epoch from '2026-07-17 17:15:35'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47442, 'SRID=4674;POINT (-39.024182 -3.36622)', '2026-07-17 17:15:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024139 -3.366236)'), GeomFromEWKT('SRID=4674;POINT (-39.024182 -3.36622)'))) / (select extract(epoch from '2026-07-17 17:15:42'::timestamp) - extract(epoch from '2026-07-17 17:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024139 -3.366236)'), GeomFromEWKT('SRID=4674;POINT (-39.024182 -3.36622)'))) / (select extract(epoch from '2026-07-17 17:15:42'::timestamp) - extract(epoch from '2026-07-17 17:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024213 -3.366207)', '2026-07-17 17:15:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024182 -3.36622)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.366207)'))) / (select extract(epoch from '2026-07-17 17:15:48'::timestamp) - extract(epoch from '2026-07-17 17:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024182 -3.36622)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.366207)'))) / (select extract(epoch from '2026-07-17 17:15:48'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47442, 'SRID=4674;POINT (-39.024249 -3.366184)', '2026-07-17 17:15:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.366207)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.366184)'))) / (select extract(epoch from '2026-07-17 17:15:57'::timestamp) - extract(epoch from '2026-07-17 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.366207)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.366184)'))) / (select extract(epoch from '2026-07-17 17:15:57'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024281 -3.366176)', '2026-07-17 17:16:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.366184)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.366176)'))) / (select extract(epoch from '2026-07-17 17:16:02'::timestamp) - extract(epoch from '2026-07-17 17:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.366184)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.366176)'))) / (select extract(epoch from '2026-07-17 17:16:02'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47442, 'SRID=4674;POINT (-39.024318 -3.366162)', '2026-07-17 17:16:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.366176)'), GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.366162)'))) / (select extract(epoch from '2026-07-17 17:16:10'::timestamp) - extract(epoch from '2026-07-17 17:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.366176)'), GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.366162)'))) / (select extract(epoch from '2026-07-17 17:16:10'::timestamp) - extract(epoch from '2026-07-17 17:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024344 -3.366154)', '2026-07-17 17:16:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.366162)'), GeomFromEWKT('SRID=4674;POINT (-39.024344 -3.366154)'))) / (select extract(epoch from '2026-07-17 17:16:14'::timestamp) - extract(epoch from '2026-07-17 17:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024318 -3.366162)'), GeomFromEWKT('SRID=4674;POINT (-39.024344 -3.366154)'))) / (select extract(epoch from '2026-07-17 17:16:14'::timestamp) - extract(epoch from '2026-07-17 17:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024376 -3.366135)', '2026-07-17 17:16:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024344 -3.366154)'), GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.366135)'))) / (select extract(epoch from '2026-07-17 17:16:20'::timestamp) - extract(epoch from '2026-07-17 17:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024344 -3.366154)'), GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.366135)'))) / (select extract(epoch from '2026-07-17 17:16:20'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47442, 'SRID=4674;POINT (-39.024412 -3.366118)', '2026-07-17 17:16:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.366135)'), GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.366118)'))) / (select extract(epoch from '2026-07-17 17:16:27'::timestamp) - extract(epoch from '2026-07-17 17:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.366135)'), GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.366118)'))) / (select extract(epoch from '2026-07-17 17:16:27'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47442, 'SRID=4674;POINT (-39.024438 -3.366096)', '2026-07-17 17:16:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.366118)'), GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366096)'))) / (select extract(epoch from '2026-07-17 17:16:34'::timestamp) - extract(epoch from '2026-07-17 17:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024412 -3.366118)'), GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366096)'))) / (select extract(epoch from '2026-07-17 17:16:34'::timestamp) - extract(epoch from '2026-07-17 17:16:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024477 -3.366081)', '2026-07-17 17:16:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366096)'), GeomFromEWKT('SRID=4674;POINT (-39.024477 -3.366081)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366096)'), GeomFromEWKT('SRID=4674;POINT (-39.024477 -3.366081)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47442, 'SRID=4674;POINT (-39.024503 -3.366073)', '2026-07-17 17:16:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024477 -3.366081)'), GeomFromEWKT('SRID=4674;POINT (-39.024503 -3.366073)'))) / (select extract(epoch from '2026-07-17 17:16:46'::timestamp) - extract(epoch from '2026-07-17 17:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024477 -3.366081)'), GeomFromEWKT('SRID=4674;POINT (-39.024503 -3.366073)'))) / (select extract(epoch from '2026-07-17 17:16:46'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024521 -3.366064)', '2026-07-17 17:16:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024503 -3.366073)'), GeomFromEWKT('SRID=4674;POINT (-39.024521 -3.366064)'))) / (select extract(epoch from '2026-07-17 17:16:49'::timestamp) - extract(epoch from '2026-07-17 17:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024503 -3.366073)'), GeomFromEWKT('SRID=4674;POINT (-39.024521 -3.366064)'))) / (select extract(epoch from '2026-07-17 17:16:49'::timestamp) - extract(epoch from '2026-07-17 17:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024535 -3.366061)', '2026-07-17 17:16:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024521 -3.366064)'), GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.366061)'))) / (select extract(epoch from '2026-07-17 17:16:51'::timestamp) - extract(epoch from '2026-07-17 17:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024521 -3.366064)'), GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.366061)'))) / (select extract(epoch from '2026-07-17 17:16:51'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47442, 'SRID=4674;POINT (-39.024553 -3.366051)', '2026-07-17 17:16:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.366061)'), GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.366051)'))) / (select extract(epoch from '2026-07-17 17:16:54'::timestamp) - extract(epoch from '2026-07-17 17:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.366061)'), GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.366051)'))) / (select extract(epoch from '2026-07-17 17:16:54'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47442, 'SRID=4674;POINT (-39.024592 -3.366029)', '2026-07-17 17:17:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.366051)'), GeomFromEWKT('SRID=4674;POINT (-39.024592 -3.366029)'))) / (select extract(epoch from '2026-07-17 17:17:02'::timestamp) - extract(epoch from '2026-07-17 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.366051)'), GeomFromEWKT('SRID=4674;POINT (-39.024592 -3.366029)'))) / (select extract(epoch from '2026-07-17 17:17:02'::timestamp) - extract(epoch from '2026-07-17 17:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024625 -3.366012)', '2026-07-17 17:17:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024592 -3.366029)'), GeomFromEWKT('SRID=4674;POINT (-39.024625 -3.366012)'))) / (select extract(epoch from '2026-07-17 17:17:09'::timestamp) - extract(epoch from '2026-07-17 17:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024592 -3.366029)'), GeomFromEWKT('SRID=4674;POINT (-39.024625 -3.366012)'))) / (select extract(epoch from '2026-07-17 17:17:09'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47442, 'SRID=4674;POINT (-39.024669 -3.365994)', '2026-07-17 17:17:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024625 -3.366012)'), GeomFromEWKT('SRID=4674;POINT (-39.024669 -3.365994)'))) / (select extract(epoch from '2026-07-17 17:17:18'::timestamp) - extract(epoch from '2026-07-17 17:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024625 -3.366012)'), GeomFromEWKT('SRID=4674;POINT (-39.024669 -3.365994)'))) / (select extract(epoch from '2026-07-17 17:17:18'::timestamp) - extract(epoch from '2026-07-17 17:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024712 -3.365975)', '2026-07-17 17:17:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024669 -3.365994)'), GeomFromEWKT('SRID=4674;POINT (-39.024712 -3.365975)'))) / (select extract(epoch from '2026-07-17 17:17:25'::timestamp) - extract(epoch from '2026-07-17 17:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024669 -3.365994)'), GeomFromEWKT('SRID=4674;POINT (-39.024712 -3.365975)'))) / (select extract(epoch from '2026-07-17 17:17:25'::timestamp) - extract(epoch from '2026-07-17 17:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024722 -3.365973)', '2026-07-17 17:17:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024712 -3.365975)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.365973)'))) / (select extract(epoch from '2026-07-17 17:17:26'::timestamp) - extract(epoch from '2026-07-17 17:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024712 -3.365975)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.365973)'))) / (select extract(epoch from '2026-07-17 17:17:26'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024748 -3.365959)', '2026-07-17 17:17:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.365973)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.365959)'))) / (select extract(epoch from '2026-07-17 17:17:30'::timestamp) - extract(epoch from '2026-07-17 17:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.365973)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.365959)'))) / (select extract(epoch from '2026-07-17 17:17:30'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47442, 'SRID=4674;POINT (-39.024755 -3.365957)', '2026-07-17 17:17:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.365959)'), GeomFromEWKT('SRID=4674;POINT (-39.024755 -3.365957)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.365959)'), GeomFromEWKT('SRID=4674;POINT (-39.024755 -3.365957)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024777 -3.365947)', '2026-07-17 17:17:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024755 -3.365957)'), GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.365947)'))) / (select extract(epoch from '2026-07-17 17:17:36'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024755 -3.365957)'), GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.365947)'))) / (select extract(epoch from '2026-07-17 17:17:36'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024803 -3.365933)', '2026-07-17 17:17:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.365947)'), GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.365933)'))) / (select extract(epoch from '2026-07-17 17:17:42'::timestamp) - extract(epoch from '2026-07-17 17:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024777 -3.365947)'), GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.365933)'))) / (select extract(epoch from '2026-07-17 17:17:42'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47442, 'SRID=4674;POINT (-39.02481 -3.36593)', '2026-07-17 17:17:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.365933)'), GeomFromEWKT('SRID=4674;POINT (-39.02481 -3.36593)'))) / (select extract(epoch from '2026-07-17 17:17:43'::timestamp) - extract(epoch from '2026-07-17 17:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024803 -3.365933)'), GeomFromEWKT('SRID=4674;POINT (-39.02481 -3.36593)'))) / (select extract(epoch from '2026-07-17 17:17:43'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024829 -3.365922)', '2026-07-17 17:17:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02481 -3.36593)'), GeomFromEWKT('SRID=4674;POINT (-39.024829 -3.365922)'))) / (select extract(epoch from '2026-07-17 17:17:47'::timestamp) - extract(epoch from '2026-07-17 17:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02481 -3.36593)'), GeomFromEWKT('SRID=4674;POINT (-39.024829 -3.365922)'))) / (select extract(epoch from '2026-07-17 17:17:47'::timestamp) - extract(epoch from '2026-07-17 17:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024866 -3.365902)', '2026-07-17 17:17:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024829 -3.365922)'), GeomFromEWKT('SRID=4674;POINT (-39.024866 -3.365902)'))) / (select extract(epoch from '2026-07-17 17:17:54'::timestamp) - extract(epoch from '2026-07-17 17:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024829 -3.365922)'), GeomFromEWKT('SRID=4674;POINT (-39.024866 -3.365902)'))) / (select extract(epoch from '2026-07-17 17:17:54'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47442, 'SRID=4674;POINT (-39.024905 -3.365883)', '2026-07-17 17:18:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024866 -3.365902)'), GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.365883)'))) / (select extract(epoch from '2026-07-17 17:18:02'::timestamp) - extract(epoch from '2026-07-17 17:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024866 -3.365902)'), GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.365883)'))) / (select extract(epoch from '2026-07-17 17:18:02'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47442, 'SRID=4674;POINT (-39.024933 -3.36587)', '2026-07-17 17:18:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.365883)'), GeomFromEWKT('SRID=4674;POINT (-39.024933 -3.36587)'))) / (select extract(epoch from '2026-07-17 17:18:08'::timestamp) - extract(epoch from '2026-07-17 17:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.365883)'), GeomFromEWKT('SRID=4674;POINT (-39.024933 -3.36587)'))) / (select extract(epoch from '2026-07-17 17:18:08'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.02496 -3.365852)', '2026-07-17 17:18:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024933 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.365852)'))) / (select extract(epoch from '2026-07-17 17:18:14'::timestamp) - extract(epoch from '2026-07-17 17:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024933 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.365852)'))) / (select extract(epoch from '2026-07-17 17:18:14'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.024985 -3.36584)', '2026-07-17 17:18:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.365852)'), GeomFromEWKT('SRID=4674;POINT (-39.024985 -3.36584)'))) / (select extract(epoch from '2026-07-17 17:18:19'::timestamp) - extract(epoch from '2026-07-17 17:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02496 -3.365852)'), GeomFromEWKT('SRID=4674;POINT (-39.024985 -3.36584)'))) / (select extract(epoch from '2026-07-17 17:18:19'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025018 -3.365819)', '2026-07-17 17:18:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024985 -3.36584)'), GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.365819)'))) / (select extract(epoch from '2026-07-17 17:18:26'::timestamp) - extract(epoch from '2026-07-17 17:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024985 -3.36584)'), GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.365819)'))) / (select extract(epoch from '2026-07-17 17:18:26'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025055 -3.365809)', '2026-07-17 17:18:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.365819)'), GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.365809)'))) / (select extract(epoch from '2026-07-17 17:18:33'::timestamp) - extract(epoch from '2026-07-17 17:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025018 -3.365819)'), GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.365809)'))) / (select extract(epoch from '2026-07-17 17:18:33'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025088 -3.365802)', '2026-07-17 17:18:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.365809)'), GeomFromEWKT('SRID=4674;POINT (-39.025088 -3.365802)'))) / (select extract(epoch from '2026-07-17 17:18:40'::timestamp) - extract(epoch from '2026-07-17 17:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025055 -3.365809)'), GeomFromEWKT('SRID=4674;POINT (-39.025088 -3.365802)'))) / (select extract(epoch from '2026-07-17 17:18:40'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025129 -3.365789)', '2026-07-17 17:18:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025088 -3.365802)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.365789)'))) / (select extract(epoch from '2026-07-17 17:18:47'::timestamp) - extract(epoch from '2026-07-17 17:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025088 -3.365802)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.365789)'))) / (select extract(epoch from '2026-07-17 17:18:47'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025167 -3.365775)', '2026-07-17 17:18:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.365789)'), GeomFromEWKT('SRID=4674;POINT (-39.025167 -3.365775)'))) / (select extract(epoch from '2026-07-17 17:18:53'::timestamp) - extract(epoch from '2026-07-17 17:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.365789)'), GeomFromEWKT('SRID=4674;POINT (-39.025167 -3.365775)'))) / (select extract(epoch from '2026-07-17 17:18:53'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47442, 'SRID=4674;POINT (-39.025196 -3.365761)', '2026-07-17 17:18:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025167 -3.365775)'), GeomFromEWKT('SRID=4674;POINT (-39.025196 -3.365761)'))) / (select extract(epoch from '2026-07-17 17:18:58'::timestamp) - extract(epoch from '2026-07-17 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025167 -3.365775)'), GeomFromEWKT('SRID=4674;POINT (-39.025196 -3.365761)'))) / (select extract(epoch from '2026-07-17 17:18:58'::timestamp) - extract(epoch from '2026-07-17 17:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025225 -3.365744)', '2026-07-17 17:19:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025196 -3.365761)'), GeomFromEWKT('SRID=4674;POINT (-39.025225 -3.365744)'))) / (select extract(epoch from '2026-07-17 17:19:04'::timestamp) - extract(epoch from '2026-07-17 17:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025196 -3.365761)'), GeomFromEWKT('SRID=4674;POINT (-39.025225 -3.365744)'))) / (select extract(epoch from '2026-07-17 17:19:04'::timestamp) - extract(epoch from '2026-07-17 17:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02525 -3.365728)', '2026-07-17 17:19:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025225 -3.365744)'), GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.365728)'))) / (select extract(epoch from '2026-07-17 17:19:09'::timestamp) - extract(epoch from '2026-07-17 17:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025225 -3.365744)'), GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.365728)'))) / (select extract(epoch from '2026-07-17 17:19:09'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.025271 -3.365719)', '2026-07-17 17:19:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.365728)'), GeomFromEWKT('SRID=4674;POINT (-39.025271 -3.365719)'))) / (select extract(epoch from '2026-07-17 17:19:12'::timestamp) - extract(epoch from '2026-07-17 17:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.365728)'), GeomFromEWKT('SRID=4674;POINT (-39.025271 -3.365719)'))) / (select extract(epoch from '2026-07-17 17:19:12'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025286 -3.365707)', '2026-07-17 17:19:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025271 -3.365719)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.365707)'))) / (select extract(epoch from '2026-07-17 17:19:16'::timestamp) - extract(epoch from '2026-07-17 17:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025271 -3.365719)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.365707)'))) / (select extract(epoch from '2026-07-17 17:19:16'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025318 -3.365691)', '2026-07-17 17:19:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.365707)'), GeomFromEWKT('SRID=4674;POINT (-39.025318 -3.365691)'))) / (select extract(epoch from '2026-07-17 17:19:21'::timestamp) - extract(epoch from '2026-07-17 17:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.365707)'), GeomFromEWKT('SRID=4674;POINT (-39.025318 -3.365691)'))) / (select extract(epoch from '2026-07-17 17:19:21'::timestamp) - extract(epoch from '2026-07-17 17:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025345 -3.365674)', '2026-07-17 17:19:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025318 -3.365691)'), GeomFromEWKT('SRID=4674;POINT (-39.025345 -3.365674)'))) / (select extract(epoch from '2026-07-17 17:19:26'::timestamp) - extract(epoch from '2026-07-17 17:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025318 -3.365691)'), GeomFromEWKT('SRID=4674;POINT (-39.025345 -3.365674)'))) / (select extract(epoch from '2026-07-17 17:19:26'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.025381 -3.365659)', '2026-07-17 17:19:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025345 -3.365674)'), GeomFromEWKT('SRID=4674;POINT (-39.025381 -3.365659)'))) / (select extract(epoch from '2026-07-17 17:19:32'::timestamp) - extract(epoch from '2026-07-17 17:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025345 -3.365674)'), GeomFromEWKT('SRID=4674;POINT (-39.025381 -3.365659)'))) / (select extract(epoch from '2026-07-17 17:19:32'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025428 -3.365636)', '2026-07-17 17:19:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025381 -3.365659)'), GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.365636)'))) / (select extract(epoch from '2026-07-17 17:19:40'::timestamp) - extract(epoch from '2026-07-17 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025381 -3.365659)'), GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.365636)'))) / (select extract(epoch from '2026-07-17 17:19:40'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025454 -3.365621)', '2026-07-17 17:19:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.365636)'), GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.365621)'))) / (select extract(epoch from '2026-07-17 17:19:46'::timestamp) - extract(epoch from '2026-07-17 17:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025428 -3.365636)'), GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.365621)'))) / (select extract(epoch from '2026-07-17 17:19:46'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025484 -3.365606)', '2026-07-17 17:19:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.365621)'), GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.365606)'))) / (select extract(epoch from '2026-07-17 17:19:52'::timestamp) - extract(epoch from '2026-07-17 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.365621)'), GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.365606)'))) / (select extract(epoch from '2026-07-17 17:19:52'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47442, 'SRID=4674;POINT (-39.025515 -3.365588)', '2026-07-17 17:19:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.365606)'), GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.365588)'))) / (select extract(epoch from '2026-07-17 17:19:58'::timestamp) - extract(epoch from '2026-07-17 17:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025484 -3.365606)'), GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.365588)'))) / (select extract(epoch from '2026-07-17 17:19:58'::timestamp) - extract(epoch from '2026-07-17 17:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025555 -3.365574)', '2026-07-17 17:20:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.365588)'), GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.365574)'))) / (select extract(epoch from '2026-07-17 17:20:05'::timestamp) - extract(epoch from '2026-07-17 17:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.365588)'), GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.365574)'))) / (select extract(epoch from '2026-07-17 17:20:05'::timestamp) - extract(epoch from '2026-07-17 17:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025606 -3.365545)', '2026-07-17 17:20:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.365574)'), GeomFromEWKT('SRID=4674;POINT (-39.025606 -3.365545)'))) / (select extract(epoch from '2026-07-17 17:20:15'::timestamp) - extract(epoch from '2026-07-17 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.365574)'), GeomFromEWKT('SRID=4674;POINT (-39.025606 -3.365545)'))) / (select extract(epoch from '2026-07-17 17:20:15'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025639 -3.365531)', '2026-07-17 17:20:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025606 -3.365545)'), GeomFromEWKT('SRID=4674;POINT (-39.025639 -3.365531)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025606 -3.365545)'), GeomFromEWKT('SRID=4674;POINT (-39.025639 -3.365531)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025673 -3.365515)', '2026-07-17 17:20:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025639 -3.365531)'), GeomFromEWKT('SRID=4674;POINT (-39.025673 -3.365515)'))) / (select extract(epoch from '2026-07-17 17:20:26'::timestamp) - extract(epoch from '2026-07-17 17:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025639 -3.365531)'), GeomFromEWKT('SRID=4674;POINT (-39.025673 -3.365515)'))) / (select extract(epoch from '2026-07-17 17:20:26'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025682 -3.365511)', '2026-07-17 17:20:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025673 -3.365515)'), GeomFromEWKT('SRID=4674;POINT (-39.025682 -3.365511)'))) / (select extract(epoch from '2026-07-17 17:20:27'::timestamp) - extract(epoch from '2026-07-17 17:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025673 -3.365515)'), GeomFromEWKT('SRID=4674;POINT (-39.025682 -3.365511)'))) / (select extract(epoch from '2026-07-17 17:20:27'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025714 -3.365495)', '2026-07-17 17:20:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025682 -3.365511)'), GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.365495)'))) / (select extract(epoch from '2026-07-17 17:20:34'::timestamp) - extract(epoch from '2026-07-17 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025682 -3.365511)'), GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.365495)'))) / (select extract(epoch from '2026-07-17 17:20:34'::timestamp) - extract(epoch from '2026-07-17 17:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025745 -3.365477)', '2026-07-17 17:20:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.365495)'), GeomFromEWKT('SRID=4674;POINT (-39.025745 -3.365477)'))) / (select extract(epoch from '2026-07-17 17:20:40'::timestamp) - extract(epoch from '2026-07-17 17:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025714 -3.365495)'), GeomFromEWKT('SRID=4674;POINT (-39.025745 -3.365477)'))) / (select extract(epoch from '2026-07-17 17:20:40'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025787 -3.365459)', '2026-07-17 17:20:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025745 -3.365477)'), GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.365459)'))) / (select extract(epoch from '2026-07-17 17:20:47'::timestamp) - extract(epoch from '2026-07-17 17:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025745 -3.365477)'), GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.365459)'))) / (select extract(epoch from '2026-07-17 17:20:47'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47442, 'SRID=4674;POINT (-39.025818 -3.365436)', '2026-07-17 17:20:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.365459)'), GeomFromEWKT('SRID=4674;POINT (-39.025818 -3.365436)'))) / (select extract(epoch from '2026-07-17 17:20:54'::timestamp) - extract(epoch from '2026-07-17 17:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.365459)'), GeomFromEWKT('SRID=4674;POINT (-39.025818 -3.365436)'))) / (select extract(epoch from '2026-07-17 17:20:54'::timestamp) - extract(epoch from '2026-07-17 17:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025842 -3.365422)', '2026-07-17 17:21:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025818 -3.365436)'), GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.365422)'))) / (select extract(epoch from '2026-07-17 17:21:00'::timestamp) - extract(epoch from '2026-07-17 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025818 -3.365436)'), GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.365422)'))) / (select extract(epoch from '2026-07-17 17:21:00'::timestamp) - extract(epoch from '2026-07-17 17:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025869 -3.365411)', '2026-07-17 17:21:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.365422)'), GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.365411)'))) / (select extract(epoch from '2026-07-17 17:21:05'::timestamp) - extract(epoch from '2026-07-17 17:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.365422)'), GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.365411)'))) / (select extract(epoch from '2026-07-17 17:21:05'::timestamp) - extract(epoch from '2026-07-17 17:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025908 -3.365394)', '2026-07-17 17:21:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.365411)'), GeomFromEWKT('SRID=4674;POINT (-39.025908 -3.365394)'))) / (select extract(epoch from '2026-07-17 17:21:12'::timestamp) - extract(epoch from '2026-07-17 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.365411)'), GeomFromEWKT('SRID=4674;POINT (-39.025908 -3.365394)'))) / (select extract(epoch from '2026-07-17 17:21:12'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.025951 -3.365384)', '2026-07-17 17:21:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025908 -3.365394)'), GeomFromEWKT('SRID=4674;POINT (-39.025951 -3.365384)'))) / (select extract(epoch from '2026-07-17 17:21:19'::timestamp) - extract(epoch from '2026-07-17 17:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025908 -3.365394)'), GeomFromEWKT('SRID=4674;POINT (-39.025951 -3.365384)'))) / (select extract(epoch from '2026-07-17 17:21:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.02598 -3.365367)', '2026-07-17 17:21:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025951 -3.365384)'), GeomFromEWKT('SRID=4674;POINT (-39.02598 -3.365367)'))) / (select extract(epoch from '2026-07-17 17:21:25'::timestamp) - extract(epoch from '2026-07-17 17:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025951 -3.365384)'), GeomFromEWKT('SRID=4674;POINT (-39.02598 -3.365367)'))) / (select extract(epoch from '2026-07-17 17:21:25'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.025987 -3.365362)', '2026-07-17 17:21:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02598 -3.365367)'), GeomFromEWKT('SRID=4674;POINT (-39.025987 -3.365362)'))) / (select extract(epoch from '2026-07-17 17:21:27'::timestamp) - extract(epoch from '2026-07-17 17:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02598 -3.365367)'), GeomFromEWKT('SRID=4674;POINT (-39.025987 -3.365362)'))) / (select extract(epoch from '2026-07-17 17:21:27'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.026 -3.365349)', '2026-07-17 17:21:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025987 -3.365362)'), GeomFromEWKT('SRID=4674;POINT (-39.026 -3.365349)'))) / (select extract(epoch from '2026-07-17 17:21:30'::timestamp) - extract(epoch from '2026-07-17 17:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025987 -3.365362)'), GeomFromEWKT('SRID=4674;POINT (-39.026 -3.365349)'))) / (select extract(epoch from '2026-07-17 17:21:30'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.026026 -3.365343)', '2026-07-17 17:21:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026 -3.365349)'), GeomFromEWKT('SRID=4674;POINT (-39.026026 -3.365343)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026 -3.365349)'), GeomFromEWKT('SRID=4674;POINT (-39.026026 -3.365343)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026057 -3.365324)', '2026-07-17 17:21:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026026 -3.365343)'), GeomFromEWKT('SRID=4674;POINT (-39.026057 -3.365324)'))) / (select extract(epoch from '2026-07-17 17:21:42'::timestamp) - extract(epoch from '2026-07-17 17:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026026 -3.365343)'), GeomFromEWKT('SRID=4674;POINT (-39.026057 -3.365324)'))) / (select extract(epoch from '2026-07-17 17:21:42'::timestamp) - extract(epoch from '2026-07-17 17:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026087 -3.36531)', '2026-07-17 17:21:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026057 -3.365324)'), GeomFromEWKT('SRID=4674;POINT (-39.026087 -3.36531)'))) / (select extract(epoch from '2026-07-17 17:21:49'::timestamp) - extract(epoch from '2026-07-17 17:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026057 -3.365324)'), GeomFromEWKT('SRID=4674;POINT (-39.026087 -3.36531)'))) / (select extract(epoch from '2026-07-17 17:21:49'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.026114 -3.365297)', '2026-07-17 17:21:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026087 -3.36531)'), GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.365297)'))) / (select extract(epoch from '2026-07-17 17:21:55'::timestamp) - extract(epoch from '2026-07-17 17:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026087 -3.36531)'), GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.365297)'))) / (select extract(epoch from '2026-07-17 17:21:55'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.026147 -3.365281)', '2026-07-17 17:22:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.365297)'), GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365281)'))) / (select extract(epoch from '2026-07-17 17:22:03'::timestamp) - extract(epoch from '2026-07-17 17:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.365297)'), GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365281)'))) / (select extract(epoch from '2026-07-17 17:22:03'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47442, 'SRID=4674;POINT (-39.026171 -3.365275)', '2026-07-17 17:22:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365281)'), GeomFromEWKT('SRID=4674;POINT (-39.026171 -3.365275)'))) / (select extract(epoch from '2026-07-17 17:22:07'::timestamp) - extract(epoch from '2026-07-17 17:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365281)'), GeomFromEWKT('SRID=4674;POINT (-39.026171 -3.365275)'))) / (select extract(epoch from '2026-07-17 17:22:07'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026182 -3.365269)', '2026-07-17 17:22:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026171 -3.365275)'), GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.365269)'))) / (select extract(epoch from '2026-07-17 17:22:09'::timestamp) - extract(epoch from '2026-07-17 17:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026171 -3.365275)'), GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.365269)'))) / (select extract(epoch from '2026-07-17 17:22:09'::timestamp) - extract(epoch from '2026-07-17 17:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026211 -3.365257)', '2026-07-17 17:22:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.365269)'), GeomFromEWKT('SRID=4674;POINT (-39.026211 -3.365257)'))) / (select extract(epoch from '2026-07-17 17:22:15'::timestamp) - extract(epoch from '2026-07-17 17:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026182 -3.365269)'), GeomFromEWKT('SRID=4674;POINT (-39.026211 -3.365257)'))) / (select extract(epoch from '2026-07-17 17:22:15'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026244 -3.365237)', '2026-07-17 17:22:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026211 -3.365257)'), GeomFromEWKT('SRID=4674;POINT (-39.026244 -3.365237)'))) / (select extract(epoch from '2026-07-17 17:22:22'::timestamp) - extract(epoch from '2026-07-17 17:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026211 -3.365257)'), GeomFromEWKT('SRID=4674;POINT (-39.026244 -3.365237)'))) / (select extract(epoch from '2026-07-17 17:22:22'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026281 -3.365215)', '2026-07-17 17:22:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026244 -3.365237)'), GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.365215)'))) / (select extract(epoch from '2026-07-17 17:22:30'::timestamp) - extract(epoch from '2026-07-17 17:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026244 -3.365237)'), GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.365215)'))) / (select extract(epoch from '2026-07-17 17:22:30'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026325 -3.365198)', '2026-07-17 17:22:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.365215)'), GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.365198)'))) / (select extract(epoch from '2026-07-17 17:22:37'::timestamp) - extract(epoch from '2026-07-17 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.365215)'), GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.365198)'))) / (select extract(epoch from '2026-07-17 17:22:37'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.02636 -3.365183)', '2026-07-17 17:22:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365183)'))) / (select extract(epoch from '2026-07-17 17:22:43'::timestamp) - extract(epoch from '2026-07-17 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365183)'))) / (select extract(epoch from '2026-07-17 17:22:43'::timestamp) - extract(epoch from '2026-07-17 17:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026396 -3.36516)', '2026-07-17 17:22:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365183)'), GeomFromEWKT('SRID=4674;POINT (-39.026396 -3.36516)'))) / (select extract(epoch from '2026-07-17 17:22:49'::timestamp) - extract(epoch from '2026-07-17 17:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365183)'), GeomFromEWKT('SRID=4674;POINT (-39.026396 -3.36516)'))) / (select extract(epoch from '2026-07-17 17:22:49'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026429 -3.365145)', '2026-07-17 17:22:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026396 -3.36516)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.365145)'))) / (select extract(epoch from '2026-07-17 17:22:54'::timestamp) - extract(epoch from '2026-07-17 17:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026396 -3.36516)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.365145)'))) / (select extract(epoch from '2026-07-17 17:22:54'::timestamp) - extract(epoch from '2026-07-17 17:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026467 -3.365129)', '2026-07-17 17:23:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.365145)'), GeomFromEWKT('SRID=4674;POINT (-39.026467 -3.365129)'))) / (select extract(epoch from '2026-07-17 17:23:01'::timestamp) - extract(epoch from '2026-07-17 17:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.365145)'), GeomFromEWKT('SRID=4674;POINT (-39.026467 -3.365129)'))) / (select extract(epoch from '2026-07-17 17:23:01'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47442, 'SRID=4674;POINT (-39.026502 -3.365112)', '2026-07-17 17:23:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026467 -3.365129)'), GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.365112)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 17:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026467 -3.365129)'), GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.365112)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 17:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026519 -3.365098)', '2026-07-17 17:23:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.365112)'), GeomFromEWKT('SRID=4674;POINT (-39.026519 -3.365098)'))) / (select extract(epoch from '2026-07-17 17:23:11'::timestamp) - extract(epoch from '2026-07-17 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.365112)'), GeomFromEWKT('SRID=4674;POINT (-39.026519 -3.365098)'))) / (select extract(epoch from '2026-07-17 17:23:11'::timestamp) - extract(epoch from '2026-07-17 17:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026535 -3.365089)', '2026-07-17 17:23:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026519 -3.365098)'), GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.365089)'))) / (select extract(epoch from '2026-07-17 17:23:14'::timestamp) - extract(epoch from '2026-07-17 17:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026519 -3.365098)'), GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.365089)'))) / (select extract(epoch from '2026-07-17 17:23:14'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.026576 -3.365072)', '2026-07-17 17:23:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.365089)'), GeomFromEWKT('SRID=4674;POINT (-39.026576 -3.365072)'))) / (select extract(epoch from '2026-07-17 17:23:22'::timestamp) - extract(epoch from '2026-07-17 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.365089)'), GeomFromEWKT('SRID=4674;POINT (-39.026576 -3.365072)'))) / (select extract(epoch from '2026-07-17 17:23:22'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47442, 'SRID=4674;POINT (-39.026603 -3.365058)', '2026-07-17 17:23:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026576 -3.365072)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365058)'))) / (select extract(epoch from '2026-07-17 17:23:27'::timestamp) - extract(epoch from '2026-07-17 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026576 -3.365072)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365058)'))) / (select extract(epoch from '2026-07-17 17:23:27'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.026635 -3.365047)', '2026-07-17 17:23:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365058)'), GeomFromEWKT('SRID=4674;POINT (-39.026635 -3.365047)'))) / (select extract(epoch from '2026-07-17 17:23:32'::timestamp) - extract(epoch from '2026-07-17 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365058)'), GeomFromEWKT('SRID=4674;POINT (-39.026635 -3.365047)'))) / (select extract(epoch from '2026-07-17 17:23:32'::timestamp) - extract(epoch from '2026-07-17 17:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026667 -3.365029)', '2026-07-17 17:23:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026635 -3.365047)'), GeomFromEWKT('SRID=4674;POINT (-39.026667 -3.365029)'))) / (select extract(epoch from '2026-07-17 17:23:40'::timestamp) - extract(epoch from '2026-07-17 17:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026635 -3.365047)'), GeomFromEWKT('SRID=4674;POINT (-39.026667 -3.365029)'))) / (select extract(epoch from '2026-07-17 17:23:40'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47442, 'SRID=4674;POINT (-39.026706 -3.365004)', '2026-07-17 17:23:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026667 -3.365029)'), GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.365004)'))) / (select extract(epoch from '2026-07-17 17:23:47'::timestamp) - extract(epoch from '2026-07-17 17:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026667 -3.365029)'), GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.365004)'))) / (select extract(epoch from '2026-07-17 17:23:47'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47442, 'SRID=4674;POINT (-39.026752 -3.36498)', '2026-07-17 17:23:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.365004)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.36498)'))) / (select extract(epoch from '2026-07-17 17:23:56'::timestamp) - extract(epoch from '2026-07-17 17:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.365004)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.36498)'))) / (select extract(epoch from '2026-07-17 17:23:56'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47442, 'SRID=4674;POINT (-39.02679 -3.36496)', '2026-07-17 17:24:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.36498)'), GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.36496)'))) / (select extract(epoch from '2026-07-17 17:24:04'::timestamp) - extract(epoch from '2026-07-17 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.36498)'), GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.36496)'))) / (select extract(epoch from '2026-07-17 17:24:04'::timestamp) - extract(epoch from '2026-07-17 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026822 -3.364943)', '2026-07-17 17:24:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.36496)'), GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.364943)'))) / (select extract(epoch from '2026-07-17 17:24:11'::timestamp) - extract(epoch from '2026-07-17 17:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02679 -3.36496)'), GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.364943)'))) / (select extract(epoch from '2026-07-17 17:24:11'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.026854 -3.364927)', '2026-07-17 17:24:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.364943)'), GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.364927)'))) / (select extract(epoch from '2026-07-17 17:24:18'::timestamp) - extract(epoch from '2026-07-17 17:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.364943)'), GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.364927)'))) / (select extract(epoch from '2026-07-17 17:24:18'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.026884 -3.364914)', '2026-07-17 17:24:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.364927)'), GeomFromEWKT('SRID=4674;POINT (-39.026884 -3.364914)'))) / (select extract(epoch from '2026-07-17 17:24:24'::timestamp) - extract(epoch from '2026-07-17 17:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.364927)'), GeomFromEWKT('SRID=4674;POINT (-39.026884 -3.364914)'))) / (select extract(epoch from '2026-07-17 17:24:24'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.026917 -3.364897)', '2026-07-17 17:24:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026884 -3.364914)'), GeomFromEWKT('SRID=4674;POINT (-39.026917 -3.364897)'))) / (select extract(epoch from '2026-07-17 17:24:31'::timestamp) - extract(epoch from '2026-07-17 17:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026884 -3.364914)'), GeomFromEWKT('SRID=4674;POINT (-39.026917 -3.364897)'))) / (select extract(epoch from '2026-07-17 17:24:31'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.026938 -3.364884)', '2026-07-17 17:24:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026917 -3.364897)'), GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.364884)'))) / (select extract(epoch from '2026-07-17 17:24:37'::timestamp) - extract(epoch from '2026-07-17 17:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026917 -3.364897)'), GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.364884)'))) / (select extract(epoch from '2026-07-17 17:24:37'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.026975 -3.364862)', '2026-07-17 17:24:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.364884)'), GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.364862)'))) / (select extract(epoch from '2026-07-17 17:24:45'::timestamp) - extract(epoch from '2026-07-17 17:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.364884)'), GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.364862)'))) / (select extract(epoch from '2026-07-17 17:24:45'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.027016 -3.364834)', '2026-07-17 17:24:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.364862)'), GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.364834)'))) / (select extract(epoch from '2026-07-17 17:24:54'::timestamp) - extract(epoch from '2026-07-17 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026975 -3.364862)'), GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.364834)'))) / (select extract(epoch from '2026-07-17 17:24:54'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.027053 -3.364822)', '2026-07-17 17:25:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.364834)'), GeomFromEWKT('SRID=4674;POINT (-39.027053 -3.364822)'))) / (select extract(epoch from '2026-07-17 17:25:02'::timestamp) - extract(epoch from '2026-07-17 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.364834)'), GeomFromEWKT('SRID=4674;POINT (-39.027053 -3.364822)'))) / (select extract(epoch from '2026-07-17 17:25:02'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47442, 'SRID=4674;POINT (-39.027088 -3.364811)', '2026-07-17 17:25:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027053 -3.364822)'), GeomFromEWKT('SRID=4674;POINT (-39.027088 -3.364811)'))) / (select extract(epoch from '2026-07-17 17:25:07'::timestamp) - extract(epoch from '2026-07-17 17:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027053 -3.364822)'), GeomFromEWKT('SRID=4674;POINT (-39.027088 -3.364811)'))) / (select extract(epoch from '2026-07-17 17:25:07'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027135 -3.364794)', '2026-07-17 17:25:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027088 -3.364811)'), GeomFromEWKT('SRID=4674;POINT (-39.027135 -3.364794)'))) / (select extract(epoch from '2026-07-17 17:25:14'::timestamp) - extract(epoch from '2026-07-17 17:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027088 -3.364811)'), GeomFromEWKT('SRID=4674;POINT (-39.027135 -3.364794)'))) / (select extract(epoch from '2026-07-17 17:25:14'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027168 -3.364771)', '2026-07-17 17:25:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027135 -3.364794)'), GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.364771)'))) / (select extract(epoch from '2026-07-17 17:25:21'::timestamp) - extract(epoch from '2026-07-17 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027135 -3.364794)'), GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.364771)'))) / (select extract(epoch from '2026-07-17 17:25:21'::timestamp) - extract(epoch from '2026-07-17 17:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027204 -3.364751)', '2026-07-17 17:25:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.364771)'), GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.364751)'))) / (select extract(epoch from '2026-07-17 17:25:29'::timestamp) - extract(epoch from '2026-07-17 17:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027168 -3.364771)'), GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.364751)'))) / (select extract(epoch from '2026-07-17 17:25:29'::timestamp) - extract(epoch from '2026-07-17 17:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027233 -3.36474)', '2026-07-17 17:25:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.364751)'), GeomFromEWKT('SRID=4674;POINT (-39.027233 -3.36474)'))) / (select extract(epoch from '2026-07-17 17:25:34'::timestamp) - extract(epoch from '2026-07-17 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.364751)'), GeomFromEWKT('SRID=4674;POINT (-39.027233 -3.36474)'))) / (select extract(epoch from '2026-07-17 17:25:34'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027272 -3.364716)', '2026-07-17 17:25:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027233 -3.36474)'), GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.364716)'))) / (select extract(epoch from '2026-07-17 17:25:41'::timestamp) - extract(epoch from '2026-07-17 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027233 -3.36474)'), GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.364716)'))) / (select extract(epoch from '2026-07-17 17:25:41'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027305 -3.364699)', '2026-07-17 17:25:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.364716)'), GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.364699)'))) / (select extract(epoch from '2026-07-17 17:25:47'::timestamp) - extract(epoch from '2026-07-17 17:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.364716)'), GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.364699)'))) / (select extract(epoch from '2026-07-17 17:25:47'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027341 -3.36468)', '2026-07-17 17:25:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.364699)'), GeomFromEWKT('SRID=4674;POINT (-39.027341 -3.36468)'))) / (select extract(epoch from '2026-07-17 17:25:54'::timestamp) - extract(epoch from '2026-07-17 17:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027305 -3.364699)'), GeomFromEWKT('SRID=4674;POINT (-39.027341 -3.36468)'))) / (select extract(epoch from '2026-07-17 17:25:54'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47442, 'SRID=4674;POINT (-39.027384 -3.364651)', '2026-07-17 17:26:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027341 -3.36468)'), GeomFromEWKT('SRID=4674;POINT (-39.027384 -3.364651)'))) / (select extract(epoch from '2026-07-17 17:26:03'::timestamp) - extract(epoch from '2026-07-17 17:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027341 -3.36468)'), GeomFromEWKT('SRID=4674;POINT (-39.027384 -3.364651)'))) / (select extract(epoch from '2026-07-17 17:26:03'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.027416 -3.364638)', '2026-07-17 17:26:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027384 -3.364651)'), GeomFromEWKT('SRID=4674;POINT (-39.027416 -3.364638)'))) / (select extract(epoch from '2026-07-17 17:26:09'::timestamp) - extract(epoch from '2026-07-17 17:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027384 -3.364651)'), GeomFromEWKT('SRID=4674;POINT (-39.027416 -3.364638)'))) / (select extract(epoch from '2026-07-17 17:26:09'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.027447 -3.364617)', '2026-07-17 17:26:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027416 -3.364638)'), GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.364617)'))) / (select extract(epoch from '2026-07-17 17:26:15'::timestamp) - extract(epoch from '2026-07-17 17:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027416 -3.364638)'), GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.364617)'))) / (select extract(epoch from '2026-07-17 17:26:15'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.027486 -3.36459)', '2026-07-17 17:26:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.364617)'), GeomFromEWKT('SRID=4674;POINT (-39.027486 -3.36459)'))) / (select extract(epoch from '2026-07-17 17:26:23'::timestamp) - extract(epoch from '2026-07-17 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.364617)'), GeomFromEWKT('SRID=4674;POINT (-39.027486 -3.36459)'))) / (select extract(epoch from '2026-07-17 17:26:23'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.027513 -3.364576)', '2026-07-17 17:26:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027486 -3.36459)'), GeomFromEWKT('SRID=4674;POINT (-39.027513 -3.364576)'))) / (select extract(epoch from '2026-07-17 17:26:29'::timestamp) - extract(epoch from '2026-07-17 17:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027486 -3.36459)'), GeomFromEWKT('SRID=4674;POINT (-39.027513 -3.364576)'))) / (select extract(epoch from '2026-07-17 17:26:29'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.027545 -3.364561)', '2026-07-17 17:26:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027513 -3.364576)'), GeomFromEWKT('SRID=4674;POINT (-39.027545 -3.364561)'))) / (select extract(epoch from '2026-07-17 17:26:36'::timestamp) - extract(epoch from '2026-07-17 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027513 -3.364576)'), GeomFromEWKT('SRID=4674;POINT (-39.027545 -3.364561)'))) / (select extract(epoch from '2026-07-17 17:26:36'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.02758 -3.36454)', '2026-07-17 17:26:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027545 -3.364561)'), GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.36454)'))) / (select extract(epoch from '2026-07-17 17:26:43'::timestamp) - extract(epoch from '2026-07-17 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027545 -3.364561)'), GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.36454)'))) / (select extract(epoch from '2026-07-17 17:26:43'::timestamp) - extract(epoch from '2026-07-17 17:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027607 -3.364524)', '2026-07-17 17:26:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.36454)'), GeomFromEWKT('SRID=4674;POINT (-39.027607 -3.364524)'))) / (select extract(epoch from '2026-07-17 17:26:50'::timestamp) - extract(epoch from '2026-07-17 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.36454)'), GeomFromEWKT('SRID=4674;POINT (-39.027607 -3.364524)'))) / (select extract(epoch from '2026-07-17 17:26:50'::timestamp) - extract(epoch from '2026-07-17 17:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027643 -3.364506)', '2026-07-17 17:26:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027607 -3.364524)'), GeomFromEWKT('SRID=4674;POINT (-39.027643 -3.364506)'))) / (select extract(epoch from '2026-07-17 17:26:56'::timestamp) - extract(epoch from '2026-07-17 17:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027607 -3.364524)'), GeomFromEWKT('SRID=4674;POINT (-39.027643 -3.364506)'))) / (select extract(epoch from '2026-07-17 17:26:56'::timestamp) - extract(epoch from '2026-07-17 17:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027674 -3.364484)', '2026-07-17 17:27:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027643 -3.364506)'), GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.364484)'))) / (select extract(epoch from '2026-07-17 17:27:02'::timestamp) - extract(epoch from '2026-07-17 17:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027643 -3.364506)'), GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.364484)'))) / (select extract(epoch from '2026-07-17 17:27:02'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47442, 'SRID=4674;POINT (-39.027723 -3.364452)', '2026-07-17 17:27:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.364484)'), GeomFromEWKT('SRID=4674;POINT (-39.027723 -3.364452)'))) / (select extract(epoch from '2026-07-17 17:27:11'::timestamp) - extract(epoch from '2026-07-17 17:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.364484)'), GeomFromEWKT('SRID=4674;POINT (-39.027723 -3.364452)'))) / (select extract(epoch from '2026-07-17 17:27:11'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47442, 'SRID=4674;POINT (-39.027754 -3.364434)', '2026-07-17 17:27:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027723 -3.364452)'), GeomFromEWKT('SRID=4674;POINT (-39.027754 -3.364434)'))) / (select extract(epoch from '2026-07-17 17:27:18'::timestamp) - extract(epoch from '2026-07-17 17:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027723 -3.364452)'), GeomFromEWKT('SRID=4674;POINT (-39.027754 -3.364434)'))) / (select extract(epoch from '2026-07-17 17:27:18'::timestamp) - extract(epoch from '2026-07-17 17:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02779 -3.36441)', '2026-07-17 17:27:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027754 -3.364434)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.36441)'))) / (select extract(epoch from '2026-07-17 17:27:25'::timestamp) - extract(epoch from '2026-07-17 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027754 -3.364434)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.36441)'))) / (select extract(epoch from '2026-07-17 17:27:25'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.027825 -3.364393)', '2026-07-17 17:27:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.36441)'), GeomFromEWKT('SRID=4674;POINT (-39.027825 -3.364393)'))) / (select extract(epoch from '2026-07-17 17:27:31'::timestamp) - extract(epoch from '2026-07-17 17:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.36441)'), GeomFromEWKT('SRID=4674;POINT (-39.027825 -3.364393)'))) / (select extract(epoch from '2026-07-17 17:27:31'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47442, 'SRID=4674;POINT (-39.027861 -3.364372)', '2026-07-17 17:27:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027825 -3.364393)'), GeomFromEWKT('SRID=4674;POINT (-39.027861 -3.364372)'))) / (select extract(epoch from '2026-07-17 17:27:38'::timestamp) - extract(epoch from '2026-07-17 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027825 -3.364393)'), GeomFromEWKT('SRID=4674;POINT (-39.027861 -3.364372)'))) / (select extract(epoch from '2026-07-17 17:27:38'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47442, 'SRID=4674;POINT (-39.027908 -3.364344)', '2026-07-17 17:27:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027861 -3.364372)'), GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.364344)'))) / (select extract(epoch from '2026-07-17 17:27:46'::timestamp) - extract(epoch from '2026-07-17 17:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027861 -3.364372)'), GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.364344)'))) / (select extract(epoch from '2026-07-17 17:27:46'::timestamp) - extract(epoch from '2026-07-17 17:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027941 -3.364332)', '2026-07-17 17:27:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.364344)'), GeomFromEWKT('SRID=4674;POINT (-39.027941 -3.364332)'))) / (select extract(epoch from '2026-07-17 17:27:51'::timestamp) - extract(epoch from '2026-07-17 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.364344)'), GeomFromEWKT('SRID=4674;POINT (-39.027941 -3.364332)'))) / (select extract(epoch from '2026-07-17 17:27:51'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.027971 -3.364311)', '2026-07-17 17:27:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027941 -3.364332)'), GeomFromEWKT('SRID=4674;POINT (-39.027971 -3.364311)'))) / (select extract(epoch from '2026-07-17 17:27:57'::timestamp) - extract(epoch from '2026-07-17 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027941 -3.364332)'), GeomFromEWKT('SRID=4674;POINT (-39.027971 -3.364311)'))) / (select extract(epoch from '2026-07-17 17:27:57'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47442, 'SRID=4674;POINT (-39.028011 -3.36429)', '2026-07-17 17:28:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027971 -3.364311)'), GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.36429)'))) / (select extract(epoch from '2026-07-17 17:28:04'::timestamp) - extract(epoch from '2026-07-17 17:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027971 -3.364311)'), GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.36429)'))) / (select extract(epoch from '2026-07-17 17:28:04'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47442, 'SRID=4674;POINT (-39.028045 -3.364265)', '2026-07-17 17:28:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.36429)'), GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.364265)'))) / (select extract(epoch from '2026-07-17 17:28:10'::timestamp) - extract(epoch from '2026-07-17 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028011 -3.36429)'), GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.364265)'))) / (select extract(epoch from '2026-07-17 17:28:10'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028072 -3.364249)', '2026-07-17 17:28:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.364265)'), GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.364249)'))) / (select extract(epoch from '2026-07-17 17:28:16'::timestamp) - extract(epoch from '2026-07-17 17:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.364265)'), GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.364249)'))) / (select extract(epoch from '2026-07-17 17:28:16'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028112 -3.36423)', '2026-07-17 17:28:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.364249)'), GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.36423)'))) / (select extract(epoch from '2026-07-17 17:28:23'::timestamp) - extract(epoch from '2026-07-17 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028072 -3.364249)'), GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.36423)'))) / (select extract(epoch from '2026-07-17 17:28:23'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028156 -3.364197)', '2026-07-17 17:28:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.36423)'), GeomFromEWKT('SRID=4674;POINT (-39.028156 -3.364197)'))) / (select extract(epoch from '2026-07-17 17:28:33'::timestamp) - extract(epoch from '2026-07-17 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028112 -3.36423)'), GeomFromEWKT('SRID=4674;POINT (-39.028156 -3.364197)'))) / (select extract(epoch from '2026-07-17 17:28:33'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.028192 -3.364175)', '2026-07-17 17:28:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028156 -3.364197)'), GeomFromEWKT('SRID=4674;POINT (-39.028192 -3.364175)'))) / (select extract(epoch from '2026-07-17 17:28:40'::timestamp) - extract(epoch from '2026-07-17 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028156 -3.364197)'), GeomFromEWKT('SRID=4674;POINT (-39.028192 -3.364175)'))) / (select extract(epoch from '2026-07-17 17:28:40'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028233 -3.364152)', '2026-07-17 17:28:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028192 -3.364175)'), GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.364152)'))) / (select extract(epoch from '2026-07-17 17:28:48'::timestamp) - extract(epoch from '2026-07-17 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028192 -3.364175)'), GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.364152)'))) / (select extract(epoch from '2026-07-17 17:28:48'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028257 -3.364136)', '2026-07-17 17:28:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.364152)'), GeomFromEWKT('SRID=4674;POINT (-39.028257 -3.364136)'))) / (select extract(epoch from '2026-07-17 17:28:53'::timestamp) - extract(epoch from '2026-07-17 17:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.364152)'), GeomFromEWKT('SRID=4674;POINT (-39.028257 -3.364136)'))) / (select extract(epoch from '2026-07-17 17:28:53'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028275 -3.364126)', '2026-07-17 17:28:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028257 -3.364136)'), GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.364126)'))) / (select extract(epoch from '2026-07-17 17:28:56'::timestamp) - extract(epoch from '2026-07-17 17:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028257 -3.364136)'), GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.364126)'))) / (select extract(epoch from '2026-07-17 17:28:56'::timestamp) - extract(epoch from '2026-07-17 17:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028282 -3.364116)', '2026-07-17 17:28:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.364126)'), GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.364116)'))) / (select extract(epoch from '2026-07-17 17:28:58'::timestamp) - extract(epoch from '2026-07-17 17:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.364126)'), GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.364116)'))) / (select extract(epoch from '2026-07-17 17:28:58'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47442, 'SRID=4674;POINT (-39.028316 -3.364095)', '2026-07-17 17:29:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-39.028316 -3.364095)'))) / (select extract(epoch from '2026-07-17 17:29:05'::timestamp) - extract(epoch from '2026-07-17 17:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-39.028316 -3.364095)'))) / (select extract(epoch from '2026-07-17 17:29:05'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.028364 -3.364065)', '2026-07-17 17:29:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028316 -3.364095)'), GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.364065)'))) / (select extract(epoch from '2026-07-17 17:29:15'::timestamp) - extract(epoch from '2026-07-17 17:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028316 -3.364095)'), GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.364065)'))) / (select extract(epoch from '2026-07-17 17:29:15'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47442, 'SRID=4674;POINT (-39.028415 -3.364032)', '2026-07-17 17:29:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.364065)'), GeomFromEWKT('SRID=4674;POINT (-39.028415 -3.364032)'))) / (select extract(epoch from '2026-07-17 17:29:24'::timestamp) - extract(epoch from '2026-07-17 17:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028364 -3.364065)'), GeomFromEWKT('SRID=4674;POINT (-39.028415 -3.364032)'))) / (select extract(epoch from '2026-07-17 17:29:24'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47442, 'SRID=4674;POINT (-39.028447 -3.364009)', '2026-07-17 17:29:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028415 -3.364032)'), GeomFromEWKT('SRID=4674;POINT (-39.028447 -3.364009)'))) / (select extract(epoch from '2026-07-17 17:29:31'::timestamp) - extract(epoch from '2026-07-17 17:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028415 -3.364032)'), GeomFromEWKT('SRID=4674;POINT (-39.028447 -3.364009)'))) / (select extract(epoch from '2026-07-17 17:29:31'::timestamp) - extract(epoch from '2026-07-17 17:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028498 -3.363982)', '2026-07-17 17:29:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028447 -3.364009)'), GeomFromEWKT('SRID=4674;POINT (-39.028498 -3.363982)'))) / (select extract(epoch from '2026-07-17 17:29:40'::timestamp) - extract(epoch from '2026-07-17 17:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028447 -3.364009)'), GeomFromEWKT('SRID=4674;POINT (-39.028498 -3.363982)'))) / (select extract(epoch from '2026-07-17 17:29:40'::timestamp) - extract(epoch from '2026-07-17 17:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02853 -3.363951)', '2026-07-17 17:29:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028498 -3.363982)'), GeomFromEWKT('SRID=4674;POINT (-39.02853 -3.363951)'))) / (select extract(epoch from '2026-07-17 17:29:47'::timestamp) - extract(epoch from '2026-07-17 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028498 -3.363982)'), GeomFromEWKT('SRID=4674;POINT (-39.02853 -3.363951)'))) / (select extract(epoch from '2026-07-17 17:29:47'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.028566 -3.363926)', '2026-07-17 17:29:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02853 -3.363951)'), GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.363926)'))) / (select extract(epoch from '2026-07-17 17:29:55'::timestamp) - extract(epoch from '2026-07-17 17:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02853 -3.363951)'), GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.363926)'))) / (select extract(epoch from '2026-07-17 17:29:55'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.02861 -3.363896)', '2026-07-17 17:30:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.363926)'), GeomFromEWKT('SRID=4674;POINT (-39.02861 -3.363896)'))) / (select extract(epoch from '2026-07-17 17:30:03'::timestamp) - extract(epoch from '2026-07-17 17:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.363926)'), GeomFromEWKT('SRID=4674;POINT (-39.02861 -3.363896)'))) / (select extract(epoch from '2026-07-17 17:30:03'::timestamp) - extract(epoch from '2026-07-17 17:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028651 -3.363875)', '2026-07-17 17:30:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02861 -3.363896)'), GeomFromEWKT('SRID=4674;POINT (-39.028651 -3.363875)'))) / (select extract(epoch from '2026-07-17 17:30:09'::timestamp) - extract(epoch from '2026-07-17 17:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02861 -3.363896)'), GeomFromEWKT('SRID=4674;POINT (-39.028651 -3.363875)'))) / (select extract(epoch from '2026-07-17 17:30:09'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.028681 -3.363863)', '2026-07-17 17:30:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028651 -3.363875)'), GeomFromEWKT('SRID=4674;POINT (-39.028681 -3.363863)'))) / (select extract(epoch from '2026-07-17 17:30:14'::timestamp) - extract(epoch from '2026-07-17 17:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028651 -3.363875)'), GeomFromEWKT('SRID=4674;POINT (-39.028681 -3.363863)'))) / (select extract(epoch from '2026-07-17 17:30:14'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47442, 'SRID=4674;POINT (-39.028724 -3.363834)', '2026-07-17 17:30:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028681 -3.363863)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.363834)'))) / (select extract(epoch from '2026-07-17 17:30:22'::timestamp) - extract(epoch from '2026-07-17 17:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028681 -3.363863)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.363834)'))) / (select extract(epoch from '2026-07-17 17:30:22'::timestamp) - extract(epoch from '2026-07-17 17:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028764 -3.363808)', '2026-07-17 17:30:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.363834)'), GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.363808)'))) / (select extract(epoch from '2026-07-17 17:30:30'::timestamp) - extract(epoch from '2026-07-17 17:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.363834)'), GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.363808)'))) / (select extract(epoch from '2026-07-17 17:30:30'::timestamp) - extract(epoch from '2026-07-17 17:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028799 -3.363791)', '2026-07-17 17:30:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.363808)'), GeomFromEWKT('SRID=4674;POINT (-39.028799 -3.363791)'))) / (select extract(epoch from '2026-07-17 17:30:36'::timestamp) - extract(epoch from '2026-07-17 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028764 -3.363808)'), GeomFromEWKT('SRID=4674;POINT (-39.028799 -3.363791)'))) / (select extract(epoch from '2026-07-17 17:30:36'::timestamp) - extract(epoch from '2026-07-17 17:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028839 -3.363769)', '2026-07-17 17:30:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028799 -3.363791)'), GeomFromEWKT('SRID=4674;POINT (-39.028839 -3.363769)'))) / (select extract(epoch from '2026-07-17 17:30:44'::timestamp) - extract(epoch from '2026-07-17 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028799 -3.363791)'), GeomFromEWKT('SRID=4674;POINT (-39.028839 -3.363769)'))) / (select extract(epoch from '2026-07-17 17:30:44'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47442, 'SRID=4674;POINT (-39.02887 -3.363744)', '2026-07-17 17:30:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028839 -3.363769)'), GeomFromEWKT('SRID=4674;POINT (-39.02887 -3.363744)'))) / (select extract(epoch from '2026-07-17 17:30:52'::timestamp) - extract(epoch from '2026-07-17 17:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028839 -3.363769)'), GeomFromEWKT('SRID=4674;POINT (-39.02887 -3.363744)'))) / (select extract(epoch from '2026-07-17 17:30:52'::timestamp) - extract(epoch from '2026-07-17 17:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028913 -3.363719)', '2026-07-17 17:31:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02887 -3.363744)'), GeomFromEWKT('SRID=4674;POINT (-39.028913 -3.363719)'))) / (select extract(epoch from '2026-07-17 17:31:00'::timestamp) - extract(epoch from '2026-07-17 17:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02887 -3.363744)'), GeomFromEWKT('SRID=4674;POINT (-39.028913 -3.363719)'))) / (select extract(epoch from '2026-07-17 17:31:00'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47442, 'SRID=4674;POINT (-39.028947 -3.363695)', '2026-07-17 17:31:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028913 -3.363719)'), GeomFromEWKT('SRID=4674;POINT (-39.028947 -3.363695)'))) / (select extract(epoch from '2026-07-17 17:31:07'::timestamp) - extract(epoch from '2026-07-17 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028913 -3.363719)'), GeomFromEWKT('SRID=4674;POINT (-39.028947 -3.363695)'))) / (select extract(epoch from '2026-07-17 17:31:07'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.028978 -3.363676)', '2026-07-17 17:31:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028947 -3.363695)'), GeomFromEWKT('SRID=4674;POINT (-39.028978 -3.363676)'))) / (select extract(epoch from '2026-07-17 17:31:13'::timestamp) - extract(epoch from '2026-07-17 17:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028947 -3.363695)'), GeomFromEWKT('SRID=4674;POINT (-39.028978 -3.363676)'))) / (select extract(epoch from '2026-07-17 17:31:13'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029002 -3.363658)', '2026-07-17 17:31:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028978 -3.363676)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.363658)'))) / (select extract(epoch from '2026-07-17 17:31:19'::timestamp) - extract(epoch from '2026-07-17 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028978 -3.363676)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.363658)'))) / (select extract(epoch from '2026-07-17 17:31:19'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.029033 -3.363638)', '2026-07-17 17:31:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.363658)'), GeomFromEWKT('SRID=4674;POINT (-39.029033 -3.363638)'))) / (select extract(epoch from '2026-07-17 17:31:26'::timestamp) - extract(epoch from '2026-07-17 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.363658)'), GeomFromEWKT('SRID=4674;POINT (-39.029033 -3.363638)'))) / (select extract(epoch from '2026-07-17 17:31:26'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.029074 -3.363615)', '2026-07-17 17:31:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029033 -3.363638)'), GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.363615)'))) / (select extract(epoch from '2026-07-17 17:31:35'::timestamp) - extract(epoch from '2026-07-17 17:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029033 -3.363638)'), GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.363615)'))) / (select extract(epoch from '2026-07-17 17:31:35'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.029107 -3.363595)', '2026-07-17 17:31:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.363615)'), GeomFromEWKT('SRID=4674;POINT (-39.029107 -3.363595)'))) / (select extract(epoch from '2026-07-17 17:31:42'::timestamp) - extract(epoch from '2026-07-17 17:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.363615)'), GeomFromEWKT('SRID=4674;POINT (-39.029107 -3.363595)'))) / (select extract(epoch from '2026-07-17 17:31:42'::timestamp) - extract(epoch from '2026-07-17 17:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029151 -3.363566)', '2026-07-17 17:31:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029107 -3.363595)'), GeomFromEWKT('SRID=4674;POINT (-39.029151 -3.363566)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 17:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029107 -3.363595)'), GeomFromEWKT('SRID=4674;POINT (-39.029151 -3.363566)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029163 -3.363559)', '2026-07-17 17:31:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029151 -3.363566)'), GeomFromEWKT('SRID=4674;POINT (-39.029163 -3.363559)'))) / (select extract(epoch from '2026-07-17 17:31:54'::timestamp) - extract(epoch from '2026-07-17 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029151 -3.363566)'), GeomFromEWKT('SRID=4674;POINT (-39.029163 -3.363559)'))) / (select extract(epoch from '2026-07-17 17:31:54'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.029178 -3.363546)', '2026-07-17 17:31:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029163 -3.363559)'), GeomFromEWKT('SRID=4674;POINT (-39.029178 -3.363546)'))) / (select extract(epoch from '2026-07-17 17:31:58'::timestamp) - extract(epoch from '2026-07-17 17:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029163 -3.363559)'), GeomFromEWKT('SRID=4674;POINT (-39.029178 -3.363546)'))) / (select extract(epoch from '2026-07-17 17:31:58'::timestamp) - extract(epoch from '2026-07-17 17:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029199 -3.363537)', '2026-07-17 17:32:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029178 -3.363546)'), GeomFromEWKT('SRID=4674;POINT (-39.029199 -3.363537)'))) / (select extract(epoch from '2026-07-17 17:32:01'::timestamp) - extract(epoch from '2026-07-17 17:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029178 -3.363546)'), GeomFromEWKT('SRID=4674;POINT (-39.029199 -3.363537)'))) / (select extract(epoch from '2026-07-17 17:32:01'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47442, 'SRID=4674;POINT (-39.029215 -3.363526)', '2026-07-17 17:32:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029199 -3.363537)'), GeomFromEWKT('SRID=4674;POINT (-39.029215 -3.363526)'))) / (select extract(epoch from '2026-07-17 17:32:04'::timestamp) - extract(epoch from '2026-07-17 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029199 -3.363537)'), GeomFromEWKT('SRID=4674;POINT (-39.029215 -3.363526)'))) / (select extract(epoch from '2026-07-17 17:32:04'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029256 -3.363495)', '2026-07-17 17:32:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029215 -3.363526)'), GeomFromEWKT('SRID=4674;POINT (-39.029256 -3.363495)'))) / (select extract(epoch from '2026-07-17 17:32:12'::timestamp) - extract(epoch from '2026-07-17 17:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029215 -3.363526)'), GeomFromEWKT('SRID=4674;POINT (-39.029256 -3.363495)'))) / (select extract(epoch from '2026-07-17 17:32:12'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029273 -3.363484)', '2026-07-17 17:32:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029256 -3.363495)'), GeomFromEWKT('SRID=4674;POINT (-39.029273 -3.363484)'))) / (select extract(epoch from '2026-07-17 17:32:15'::timestamp) - extract(epoch from '2026-07-17 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029256 -3.363495)'), GeomFromEWKT('SRID=4674;POINT (-39.029273 -3.363484)'))) / (select extract(epoch from '2026-07-17 17:32:15'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029281 -3.363471)', '2026-07-17 17:32:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029273 -3.363484)'), GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.363471)'))) / (select extract(epoch from '2026-07-17 17:32:18'::timestamp) - extract(epoch from '2026-07-17 17:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029273 -3.363484)'), GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.363471)'))) / (select extract(epoch from '2026-07-17 17:32:18'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029316 -3.363442)', '2026-07-17 17:32:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.363471)'), GeomFromEWKT('SRID=4674;POINT (-39.029316 -3.363442)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281 -3.363471)'), GeomFromEWKT('SRID=4674;POINT (-39.029316 -3.363442)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.02936 -3.363418)', '2026-07-17 17:32:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029316 -3.363442)'), GeomFromEWKT('SRID=4674;POINT (-39.02936 -3.363418)'))) / (select extract(epoch from '2026-07-17 17:32:34'::timestamp) - extract(epoch from '2026-07-17 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029316 -3.363442)'), GeomFromEWKT('SRID=4674;POINT (-39.02936 -3.363418)'))) / (select extract(epoch from '2026-07-17 17:32:34'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029394 -3.363394)', '2026-07-17 17:32:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02936 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.029394 -3.363394)'))) / (select extract(epoch from '2026-07-17 17:32:41'::timestamp) - extract(epoch from '2026-07-17 17:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02936 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.029394 -3.363394)'))) / (select extract(epoch from '2026-07-17 17:32:41'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029426 -3.363377)', '2026-07-17 17:32:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029394 -3.363394)'), GeomFromEWKT('SRID=4674;POINT (-39.029426 -3.363377)'))) / (select extract(epoch from '2026-07-17 17:32:47'::timestamp) - extract(epoch from '2026-07-17 17:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029394 -3.363394)'), GeomFromEWKT('SRID=4674;POINT (-39.029426 -3.363377)'))) / (select extract(epoch from '2026-07-17 17:32:47'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029479 -3.363355)', '2026-07-17 17:32:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029426 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.029479 -3.363355)'))) / (select extract(epoch from '2026-07-17 17:32:57'::timestamp) - extract(epoch from '2026-07-17 17:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029426 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.029479 -3.363355)'))) / (select extract(epoch from '2026-07-17 17:32:57'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47442, 'SRID=4674;POINT (-39.029502 -3.363348)', '2026-07-17 17:33:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029479 -3.363355)'), GeomFromEWKT('SRID=4674;POINT (-39.029502 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:04'::timestamp) - extract(epoch from '2026-07-17 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029479 -3.363355)'), GeomFromEWKT('SRID=4674;POINT (-39.029502 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:04'::timestamp) - extract(epoch from '2026-07-17 17:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029535 -3.363348)', '2026-07-17 17:33:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029502 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029535 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:11'::timestamp) - extract(epoch from '2026-07-17 17:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029502 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029535 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:11'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029547 -3.363348)', '2026-07-17 17:33:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029535 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029547 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:20'::timestamp) - extract(epoch from '2026-07-17 17:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029535 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029547 -3.363348)'))) / (select extract(epoch from '2026-07-17 17:33:20'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47442, 'SRID=4674;POINT (-39.029582 -3.363341)', '2026-07-17 17:33:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029547 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.363341)'))) / (select extract(epoch from '2026-07-17 17:33:30'::timestamp) - extract(epoch from '2026-07-17 17:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029547 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.363341)'))) / (select extract(epoch from '2026-07-17 17:33:30'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029613 -3.363341)', '2026-07-17 17:33:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.363341)'))) / (select extract(epoch from '2026-07-17 17:33:35'::timestamp) - extract(epoch from '2026-07-17 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.363341)'))) / (select extract(epoch from '2026-07-17 17:33:35'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.02965 -3.363352)', '2026-07-17 17:33:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.02965 -3.363352)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.02965 -3.363352)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47442, 'SRID=4674;POINT (-39.029713 -3.36335)', '2026-07-17 17:33:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02965 -3.363352)'), GeomFromEWKT('SRID=4674;POINT (-39.029713 -3.36335)'))) / (select extract(epoch from '2026-07-17 17:33:52'::timestamp) - extract(epoch from '2026-07-17 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02965 -3.363352)'), GeomFromEWKT('SRID=4674;POINT (-39.029713 -3.36335)'))) / (select extract(epoch from '2026-07-17 17:33:52'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029765 -3.363334)', '2026-07-17 17:34:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029713 -3.36335)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363334)'))) / (select extract(epoch from '2026-07-17 17:34:02'::timestamp) - extract(epoch from '2026-07-17 17:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029713 -3.36335)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363334)'))) / (select extract(epoch from '2026-07-17 17:34:02'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47442, 'SRID=4674;POINT (-39.029807 -3.363332)', '2026-07-17 17:34:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363334)'), GeomFromEWKT('SRID=4674;POINT (-39.029807 -3.363332)'))) / (select extract(epoch from '2026-07-17 17:34:08'::timestamp) - extract(epoch from '2026-07-17 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363334)'), GeomFromEWKT('SRID=4674;POINT (-39.029807 -3.363332)'))) / (select extract(epoch from '2026-07-17 17:34:08'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029861 -3.363326)', '2026-07-17 17:34:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029807 -3.363332)'), GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.363326)'))) / (select extract(epoch from '2026-07-17 17:34:16'::timestamp) - extract(epoch from '2026-07-17 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029807 -3.363332)'), GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.363326)'))) / (select extract(epoch from '2026-07-17 17:34:16'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029894 -3.363316)', '2026-07-17 17:34:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.363326)'), GeomFromEWKT('SRID=4674;POINT (-39.029894 -3.363316)'))) / (select extract(epoch from '2026-07-17 17:34:21'::timestamp) - extract(epoch from '2026-07-17 17:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029861 -3.363326)'), GeomFromEWKT('SRID=4674;POINT (-39.029894 -3.363316)'))) / (select extract(epoch from '2026-07-17 17:34:21'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.029911 -3.363312)', '2026-07-17 17:34:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029894 -3.363316)'), GeomFromEWKT('SRID=4674;POINT (-39.029911 -3.363312)'))) / (select extract(epoch from '2026-07-17 17:34:24'::timestamp) - extract(epoch from '2026-07-17 17:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029894 -3.363316)'), GeomFromEWKT('SRID=4674;POINT (-39.029911 -3.363312)'))) / (select extract(epoch from '2026-07-17 17:34:24'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.02993 -3.36331)', '2026-07-17 17:34:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029911 -3.363312)'), GeomFromEWKT('SRID=4674;POINT (-39.02993 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:34:27'::timestamp) - extract(epoch from '2026-07-17 17:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029911 -3.363312)'), GeomFromEWKT('SRID=4674;POINT (-39.02993 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:34:27'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.029979 -3.363296)', '2026-07-17 17:34:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02993 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.029979 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:34:35'::timestamp) - extract(epoch from '2026-07-17 17:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02993 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.029979 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:34:35'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363288)', '2026-07-17 17:34:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029979 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363288)'))) / (select extract(epoch from '2026-07-17 17:34:42'::timestamp) - extract(epoch from '2026-07-17 17:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029979 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363288)'))) / (select extract(epoch from '2026-07-17 17:34:42'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.030004 -3.363286)', '2026-07-17 17:34:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:34:49'::timestamp) - extract(epoch from '2026-07-17 17:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:34:49'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.030009 -3.363282)', '2026-07-17 17:34:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:34:57'::timestamp) - extract(epoch from '2026-07-17 17:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:34:57'::timestamp) - extract(epoch from '2026-07-17 17:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030011 -3.363273)', '2026-07-17 17:35:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:35:07'::timestamp) - extract(epoch from '2026-07-17 17:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:35:07'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47442, 'SRID=4674;POINT (-39.030002 -3.363271)', '2026-07-17 17:35:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:35:13'::timestamp) - extract(epoch from '2026-07-17 17:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:35:13'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47442, 'SRID=4674;POINT (-39.030016 -3.363272)', '2026-07-17 17:35:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:35:22'::timestamp) - extract(epoch from '2026-07-17 17:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:35:22'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47442, 'SRID=4674;POINT (-39.030014 -3.363272)', '2026-07-17 17:35:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:35:30'::timestamp) - extract(epoch from '2026-07-17 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:35:30'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030002 -3.363256)', '2026-07-17 17:35:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:35:35'::timestamp) - extract(epoch from '2026-07-17 17:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:35:35'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47442, 'SRID=4674;POINT (-39.030001 -3.363251)', '2026-07-17 17:35:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030001 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:35:44'::timestamp) - extract(epoch from '2026-07-17 17:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030002 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030001 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:35:44'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.029998 -3.363241)', '2026-07-17 17:35:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030001 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.029998 -3.363241)'))) / (select extract(epoch from '2026-07-17 17:35:50'::timestamp) - extract(epoch from '2026-07-17 17:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030001 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.029998 -3.363241)'))) / (select extract(epoch from '2026-07-17 17:35:50'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47442, 'SRID=4674;POINT (-39.030003 -3.363229)', '2026-07-17 17:36:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029998 -3.363241)'), GeomFromEWKT('SRID=4674;POINT (-39.030003 -3.363229)'))) / (select extract(epoch from '2026-07-17 17:36:01'::timestamp) - extract(epoch from '2026-07-17 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029998 -3.363241)'), GeomFromEWKT('SRID=4674;POINT (-39.030003 -3.363229)'))) / (select extract(epoch from '2026-07-17 17:36:01'::timestamp) - extract(epoch from '2026-07-17 17:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.03001 -3.363238)', '2026-07-17 17:36:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030003 -3.363229)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:11'::timestamp) - extract(epoch from '2026-07-17 17:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030003 -3.363229)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:11'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.03001 -3.363238)', '2026-07-17 17:36:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:21'::timestamp) - extract(epoch from '2026-07-17 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:21'::timestamp) - extract(epoch from '2026-07-17 17:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030006 -3.363236)', '2026-07-17 17:36:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.030006 -3.363236)'))) / (select extract(epoch from '2026-07-17 17:36:34'::timestamp) - extract(epoch from '2026-07-17 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.030006 -3.363236)'))) / (select extract(epoch from '2026-07-17 17:36:34'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47442, 'SRID=4674;POINT (-39.030008 -3.363238)', '2026-07-17 17:36:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030006 -3.363236)'), GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:47'::timestamp) - extract(epoch from '2026-07-17 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030006 -3.363236)'), GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363238)'))) / (select extract(epoch from '2026-07-17 17:36:47'::timestamp) - extract(epoch from '2026-07-17 17:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030013 -3.363244)', '2026-07-17 17:36:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363244)'))) / (select extract(epoch from '2026-07-17 17:36:59'::timestamp) - extract(epoch from '2026-07-17 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363238)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363244)'))) / (select extract(epoch from '2026-07-17 17:36:59'::timestamp) - extract(epoch from '2026-07-17 17:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030016 -3.363249)', '2026-07-17 17:37:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363244)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363249)'))) / (select extract(epoch from '2026-07-17 17:37:08'::timestamp) - extract(epoch from '2026-07-17 17:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363244)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363249)'))) / (select extract(epoch from '2026-07-17 17:37:08'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47442, 'SRID=4674;POINT (-39.030022 -3.363252)', '2026-07-17 17:37:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363252)'))) / (select extract(epoch from '2026-07-17 17:37:17'::timestamp) - extract(epoch from '2026-07-17 17:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363252)'))) / (select extract(epoch from '2026-07-17 17:37:17'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363256)', '2026-07-17 17:37:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363252)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:37:24'::timestamp) - extract(epoch from '2026-07-17 17:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363252)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:37:24'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030025 -3.363254)', '2026-07-17 17:37:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'))) / (select extract(epoch from '2026-07-17 17:37:34'::timestamp) - extract(epoch from '2026-07-17 17:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'))) / (select extract(epoch from '2026-07-17 17:37:34'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47442, 'SRID=4674;POINT (-39.030033 -3.363249)', '2026-07-17 17:37:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363249)'))) / (select extract(epoch from '2026-07-17 17:37:48'::timestamp) - extract(epoch from '2026-07-17 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363249)'))) / (select extract(epoch from '2026-07-17 17:37:48'::timestamp) - extract(epoch from '2026-07-17 17:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030028 -3.363256)', '2026-07-17 17:37:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:37:54'::timestamp) - extract(epoch from '2026-07-17 17:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:37:54'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363259)', '2026-07-17 17:38:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:38:08'::timestamp) - extract(epoch from '2026-07-17 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:38:08'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030032 -3.363259)', '2026-07-17 17:38:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:38:19'::timestamp) - extract(epoch from '2026-07-17 17:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:38:19'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.363267)', '2026-07-17 17:38:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:38:29'::timestamp) - extract(epoch from '2026-07-17 17:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:38:29'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.36326)', '2026-07-17 17:38:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:38:42'::timestamp) - extract(epoch from '2026-07-17 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:38:42'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47442, 'SRID=4674;POINT (-39.030032 -3.36325)', '2026-07-17 17:38:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36325)'))) / (select extract(epoch from '2026-07-17 17:38:55'::timestamp) - extract(epoch from '2026-07-17 17:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36325)'))) / (select extract(epoch from '2026-07-17 17:38:55'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.363261)', '2026-07-17 17:39:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36325)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:39:05'::timestamp) - extract(epoch from '2026-07-17 17:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36325)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:39:05'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363263)', '2026-07-17 17:39:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363263)'))) / (select extract(epoch from '2026-07-17 17:39:15'::timestamp) - extract(epoch from '2026-07-17 17:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363263)'))) / (select extract(epoch from '2026-07-17 17:39:15'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363265)', '2026-07-17 17:39:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:39:22'::timestamp) - extract(epoch from '2026-07-17 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:39:22'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.363272)', '2026-07-17 17:39:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:39:26'::timestamp) - extract(epoch from '2026-07-17 17:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:39:26'::timestamp) - extract(epoch from '2026-07-17 17:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.03003 -3.363268)', '2026-07-17 17:39:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:39:33'::timestamp) - extract(epoch from '2026-07-17 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:39:33'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47442, 'SRID=4674;POINT (-39.030036 -3.363261)', '2026-07-17 17:39:45', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:39:45'::timestamp) - extract(epoch from '2026-07-17 17:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:39:45'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363265)', '2026-07-17 17:39:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:39:51'::timestamp) - extract(epoch from '2026-07-17 17:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:39:51'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47442, 'SRID=4674;POINT (-39.030015 -3.363258)', '2026-07-17 17:39:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:39:58'::timestamp) - extract(epoch from '2026-07-17 17:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:39:58'::timestamp) - extract(epoch from '2026-07-17 17:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030014 -3.363255)', '2026-07-17 17:40:10', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363255)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363255)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030026 -3.363251)', '2026-07-17 17:40:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363255)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:40:18'::timestamp) - extract(epoch from '2026-07-17 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363255)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:40:18'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47442, 'SRID=4674;POINT (-39.030025 -3.363246)', '2026-07-17 17:40:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363246)'))) / (select extract(epoch from '2026-07-17 17:40:24'::timestamp) - extract(epoch from '2026-07-17 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363246)'))) / (select extract(epoch from '2026-07-17 17:40:24'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363241)', '2026-07-17 17:40:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363246)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363241)'))) / (select extract(epoch from '2026-07-17 17:40:36'::timestamp) - extract(epoch from '2026-07-17 17:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363246)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363241)'))) / (select extract(epoch from '2026-07-17 17:40:36'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47442, 'SRID=4674;POINT (-39.030022 -3.363239)', '2026-07-17 17:40:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363241)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363239)'))) / (select extract(epoch from '2026-07-17 17:40:42'::timestamp) - extract(epoch from '2026-07-17 17:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363241)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363239)'))) / (select extract(epoch from '2026-07-17 17:40:42'::timestamp) - extract(epoch from '2026-07-17 17:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030012 -3.363237)', '2026-07-17 17:40:47', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363239)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363237)'))) / (select extract(epoch from '2026-07-17 17:40:47'::timestamp) - extract(epoch from '2026-07-17 17:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363239)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363237)'))) / (select extract(epoch from '2026-07-17 17:40:47'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030018 -3.363234)', '2026-07-17 17:40:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363237)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363234)'))) / (select extract(epoch from '2026-07-17 17:40:55'::timestamp) - extract(epoch from '2026-07-17 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363237)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363234)'))) / (select extract(epoch from '2026-07-17 17:40:55'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47442, 'SRID=4674;POINT (-39.030022 -3.363227)', '2026-07-17 17:41:06', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363234)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363227)'))) / (select extract(epoch from '2026-07-17 17:41:06'::timestamp) - extract(epoch from '2026-07-17 17:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363234)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363227)'))) / (select extract(epoch from '2026-07-17 17:41:06'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363231)', '2026-07-17 17:41:17', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363227)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363231)'))) / (select extract(epoch from '2026-07-17 17:41:17'::timestamp) - extract(epoch from '2026-07-17 17:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363227)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363231)'))) / (select extract(epoch from '2026-07-17 17:41:17'::timestamp) - extract(epoch from '2026-07-17 17:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030021 -3.363232)', '2026-07-17 17:41:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363231)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363232)'))) / (select extract(epoch from '2026-07-17 17:41:18'::timestamp) - extract(epoch from '2026-07-17 17:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363231)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363232)'))) / (select extract(epoch from '2026-07-17 17:41:18'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47442, 'SRID=4674;POINT (-39.030014 -3.363231)', '2026-07-17 17:41:21', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363232)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363231)'))) / (select extract(epoch from '2026-07-17 17:41:21'::timestamp) - extract(epoch from '2026-07-17 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363232)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363231)'))) / (select extract(epoch from '2026-07-17 17:41:21'::timestamp) - extract(epoch from '2026-07-17 17:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030018 -3.36324)', '2026-07-17 17:41:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363231)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36324)'))) / (select extract(epoch from '2026-07-17 17:41:28'::timestamp) - extract(epoch from '2026-07-17 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363231)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36324)'))) / (select extract(epoch from '2026-07-17 17:41:28'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47442, 'SRID=4674;POINT (-39.030018 -3.363251)', '2026-07-17 17:41:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36324)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:41:39'::timestamp) - extract(epoch from '2026-07-17 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36324)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:41:39'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030021 -3.363251)', '2026-07-17 17:41:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:41:49'::timestamp) - extract(epoch from '2026-07-17 17:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363251)'))) / (select extract(epoch from '2026-07-17 17:41:49'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47442, 'SRID=4674;POINT (-39.030016 -3.363258)', '2026-07-17 17:41:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:41:59'::timestamp) - extract(epoch from '2026-07-17 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363251)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:41:59'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47442, 'SRID=4674;POINT (-39.030025 -3.363254)', '2026-07-17 17:42:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'))) / (select extract(epoch from '2026-07-17 17:42:08'::timestamp) - extract(epoch from '2026-07-17 17:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'))) / (select extract(epoch from '2026-07-17 17:42:08'::timestamp) - extract(epoch from '2026-07-17 17:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.363263)', '2026-07-17 17:42:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363263)'))) / (select extract(epoch from '2026-07-17 17:42:23'::timestamp) - extract(epoch from '2026-07-17 17:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363254)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363263)'))) / (select extract(epoch from '2026-07-17 17:42:23'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.363269)', '2026-07-17 17:42:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363269)'))) / (select extract(epoch from '2026-07-17 17:42:37'::timestamp) - extract(epoch from '2026-07-17 17:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363269)'))) / (select extract(epoch from '2026-07-17 17:42:37'::timestamp) - extract(epoch from '2026-07-17 17:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030027 -3.363276)', '2026-07-17 17:42:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363276)'))) / (select extract(epoch from '2026-07-17 17:42:42'::timestamp) - extract(epoch from '2026-07-17 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363276)'))) / (select extract(epoch from '2026-07-17 17:42:42'::timestamp) - extract(epoch from '2026-07-17 17:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030028 -3.36327)', '2026-07-17 17:42:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:42:51'::timestamp) - extract(epoch from '2026-07-17 17:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:42:51'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363272)', '2026-07-17 17:43:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:43:00'::timestamp) - extract(epoch from '2026-07-17 17:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:43:00'::timestamp) - extract(epoch from '2026-07-17 17:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030023 -3.363273)', '2026-07-17 17:43:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:43:12'::timestamp) - extract(epoch from '2026-07-17 17:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:43:12'::timestamp) - extract(epoch from '2026-07-17 17:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.363264)', '2026-07-17 17:43:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363264)'))) / (select extract(epoch from '2026-07-17 17:43:22'::timestamp) - extract(epoch from '2026-07-17 17:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363264)'))) / (select extract(epoch from '2026-07-17 17:43:22'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47442, 'SRID=4674;POINT (-39.03002 -3.363262)', '2026-07-17 17:43:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363264)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363262)'))) / (select extract(epoch from '2026-07-17 17:43:31'::timestamp) - extract(epoch from '2026-07-17 17:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363264)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363262)'))) / (select extract(epoch from '2026-07-17 17:43:31'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47442, 'SRID=4674;POINT (-39.030015 -3.363258)', '2026-07-17 17:43:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:43:37'::timestamp) - extract(epoch from '2026-07-17 17:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:43:37'::timestamp) - extract(epoch from '2026-07-17 17:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030011 -3.363258)', '2026-07-17 17:43:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:43:46'::timestamp) - extract(epoch from '2026-07-17 17:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363258)'))) / (select extract(epoch from '2026-07-17 17:43:46'::timestamp) - extract(epoch from '2026-07-17 17:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030013 -3.363265)', '2026-07-17 17:44:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:44:00'::timestamp) - extract(epoch from '2026-07-17 17:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:44:00'::timestamp) - extract(epoch from '2026-07-17 17:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030011 -3.363267)', '2026-07-17 17:44:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:44:10'::timestamp) - extract(epoch from '2026-07-17 17:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:44:10'::timestamp) - extract(epoch from '2026-07-17 17:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030011 -3.363267)', '2026-07-17 17:44:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:44:17'::timestamp) - extract(epoch from '2026-07-17 17:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:44:17'::timestamp) - extract(epoch from '2026-07-17 17:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030008 -3.363261)', '2026-07-17 17:44:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:44:23'::timestamp) - extract(epoch from '2026-07-17 17:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:44:23'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363271)', '2026-07-17 17:44:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:44:30'::timestamp) - extract(epoch from '2026-07-17 17:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030008 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:44:30'::timestamp) - extract(epoch from '2026-07-17 17:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030019 -3.363275)', '2026-07-17 17:44:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:44:38'::timestamp) - extract(epoch from '2026-07-17 17:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:44:38'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363265)', '2026-07-17 17:44:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:44:48'::timestamp) - extract(epoch from '2026-07-17 17:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:44:48'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363262)', '2026-07-17 17:44:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363262)'))) / (select extract(epoch from '2026-07-17 17:44:59'::timestamp) - extract(epoch from '2026-07-17 17:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363262)'))) / (select extract(epoch from '2026-07-17 17:44:59'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47442, 'SRID=4674;POINT (-39.030018 -3.363256)', '2026-07-17 17:45:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:45:10'::timestamp) - extract(epoch from '2026-07-17 17:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363256)'))) / (select extract(epoch from '2026-07-17 17:45:10'::timestamp) - extract(epoch from '2026-07-17 17:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030017 -3.363252)', '2026-07-17 17:45:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363252)'))) / (select extract(epoch from '2026-07-17 17:45:18'::timestamp) - extract(epoch from '2026-07-17 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363256)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363252)'))) / (select extract(epoch from '2026-07-17 17:45:18'::timestamp) - extract(epoch from '2026-07-17 17:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.363248)', '2026-07-17 17:45:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363252)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363248)'))) / (select extract(epoch from '2026-07-17 17:45:23'::timestamp) - extract(epoch from '2026-07-17 17:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363252)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363248)'))) / (select extract(epoch from '2026-07-17 17:45:23'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47442, 'SRID=4674;POINT (-39.030014 -3.36325)', '2026-07-17 17:45:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363248)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36325)'))) / (select extract(epoch from '2026-07-17 17:45:32'::timestamp) - extract(epoch from '2026-07-17 17:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363248)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36325)'))) / (select extract(epoch from '2026-07-17 17:45:32'::timestamp) - extract(epoch from '2026-07-17 17:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030018 -3.363253)', '2026-07-17 17:45:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36325)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363253)'))) / (select extract(epoch from '2026-07-17 17:45:40'::timestamp) - extract(epoch from '2026-07-17 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36325)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363253)'))) / (select extract(epoch from '2026-07-17 17:45:40'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47442, 'SRID=4674;POINT (-39.030012 -3.363264)', '2026-07-17 17:45:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363253)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363264)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 17:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363253)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363264)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363259)', '2026-07-17 17:45:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363264)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:45:58'::timestamp) - extract(epoch from '2026-07-17 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363264)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363259)'))) / (select extract(epoch from '2026-07-17 17:45:58'::timestamp) - extract(epoch from '2026-07-17 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.363261)', '2026-07-17 17:46:07', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:46:07'::timestamp) - extract(epoch from '2026-07-17 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363259)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363261)'))) / (select extract(epoch from '2026-07-17 17:46:07'::timestamp) - extract(epoch from '2026-07-17 17:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030015 -3.363268)', '2026-07-17 17:46:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:46:11'::timestamp) - extract(epoch from '2026-07-17 17:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:46:11'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47442, 'SRID=4674;POINT (-39.030014 -3.363268)', '2026-07-17 17:46:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:46:13'::timestamp) - extract(epoch from '2026-07-17 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:46:13'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47442, 'SRID=4674;POINT (-39.030027 -3.36326)', '2026-07-17 17:46:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:22'::timestamp) - extract(epoch from '2026-07-17 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:22'::timestamp) - extract(epoch from '2026-07-17 17:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030032 -3.363257)', '2026-07-17 17:46:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363257)'))) / (select extract(epoch from '2026-07-17 17:46:30'::timestamp) - extract(epoch from '2026-07-17 17:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363257)'))) / (select extract(epoch from '2026-07-17 17:46:30'::timestamp) - extract(epoch from '2026-07-17 17:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030026 -3.363247)', '2026-07-17 17:46:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363257)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363247)'))) / (select extract(epoch from '2026-07-17 17:46:38'::timestamp) - extract(epoch from '2026-07-17 17:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363257)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363247)'))) / (select extract(epoch from '2026-07-17 17:46:38'::timestamp) - extract(epoch from '2026-07-17 17:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.36326)', '2026-07-17 17:46:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363247)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:48'::timestamp) - extract(epoch from '2026-07-17 17:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363247)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:48'::timestamp) - extract(epoch from '2026-07-17 17:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.36326)', '2026-07-17 17:46:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:55'::timestamp) - extract(epoch from '2026-07-17 17:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:46:55'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47442, 'SRID=4674;POINT (-39.030023 -3.36326)', '2026-07-17 17:47:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:01'::timestamp) - extract(epoch from '2026-07-17 17:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:01'::timestamp) - extract(epoch from '2026-07-17 17:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030009 -3.363268)', '2026-07-17 17:47:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:47:11'::timestamp) - extract(epoch from '2026-07-17 17:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:47:11'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363273)', '2026-07-17 17:47:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:47:19'::timestamp) - extract(epoch from '2026-07-17 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030009 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:47:19'::timestamp) - extract(epoch from '2026-07-17 17:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030015 -3.363267)', '2026-07-17 17:47:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:47:31'::timestamp) - extract(epoch from '2026-07-17 17:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363267)'))) / (select extract(epoch from '2026-07-17 17:47:31'::timestamp) - extract(epoch from '2026-07-17 17:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030014 -3.36326)', '2026-07-17 17:47:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:37'::timestamp) - extract(epoch from '2026-07-17 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:37'::timestamp) - extract(epoch from '2026-07-17 17:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.363253)', '2026-07-17 17:47:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363253)'))) / (select extract(epoch from '2026-07-17 17:47:49'::timestamp) - extract(epoch from '2026-07-17 17:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363253)'))) / (select extract(epoch from '2026-07-17 17:47:49'::timestamp) - extract(epoch from '2026-07-17 17:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030018 -3.36326)', '2026-07-17 17:47:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363253)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:57'::timestamp) - extract(epoch from '2026-07-17 17:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363253)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:47:57'::timestamp) - extract(epoch from '2026-07-17 17:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030026 -3.363266)', '2026-07-17 17:48:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363266)'))) / (select extract(epoch from '2026-07-17 17:48:09'::timestamp) - extract(epoch from '2026-07-17 17:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363266)'))) / (select extract(epoch from '2026-07-17 17:48:09'::timestamp) - extract(epoch from '2026-07-17 17:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030019 -3.36326)', '2026-07-17 17:48:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:48:22'::timestamp) - extract(epoch from '2026-07-17 17:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.36326)'))) / (select extract(epoch from '2026-07-17 17:48:22'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363265)', '2026-07-17 17:48:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.36326)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363265)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030011 -3.363266)', '2026-07-17 17:48:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363266)'))) / (select extract(epoch from '2026-07-17 17:48:27'::timestamp) - extract(epoch from '2026-07-17 17:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363266)'))) / (select extract(epoch from '2026-07-17 17:48:27'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47442, 'SRID=4674;POINT (-39.03001 -3.363273)', '2026-07-17 17:48:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:48:32'::timestamp) - extract(epoch from '2026-07-17 17:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030011 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:48:32'::timestamp) - extract(epoch from '2026-07-17 17:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030014 -3.363273)', '2026-07-17 17:48:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:48:40'::timestamp) - extract(epoch from '2026-07-17 17:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:48:40'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47442, 'SRID=4674;POINT (-39.030005 -3.363271)', '2026-07-17 17:48:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030005 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:48:48'::timestamp) - extract(epoch from '2026-07-17 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030005 -3.363271)'))) / (select extract(epoch from '2026-07-17 17:48:48'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47442, 'SRID=4674;POINT (-39.030016 -3.36327)', '2026-07-17 17:48:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030005 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:48:57'::timestamp) - extract(epoch from '2026-07-17 17:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030005 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:48:57'::timestamp) - extract(epoch from '2026-07-17 17:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030016 -3.36327)', '2026-07-17 17:49:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:49:08'::timestamp) - extract(epoch from '2026-07-17 17:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:49:08'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47442, 'SRID=4674;POINT (-39.030015 -3.36327)', '2026-07-17 17:49:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:49:18'::timestamp) - extract(epoch from '2026-07-17 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:49:18'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47442, 'SRID=4674;POINT (-39.030022 -3.363278)', '2026-07-17 17:49:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:49:26'::timestamp) - extract(epoch from '2026-07-17 17:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:49:26'::timestamp) - extract(epoch from '2026-07-17 17:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030023 -3.363275)', '2026-07-17 17:49:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:49:37'::timestamp) - extract(epoch from '2026-07-17 17:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:49:37'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363272)', '2026-07-17 17:49:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:49:49'::timestamp) - extract(epoch from '2026-07-17 17:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:49:49'::timestamp) - extract(epoch from '2026-07-17 17:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030027 -3.363273)', '2026-07-17 17:49:59', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:49:59'::timestamp) - extract(epoch from '2026-07-17 17:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:49:59'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.363276)', '2026-07-17 17:50:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363276)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363276)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.363284)', '2026-07-17 17:50:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'))) / (select extract(epoch from '2026-07-17 17:50:15'::timestamp) - extract(epoch from '2026-07-17 17:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'))) / (select extract(epoch from '2026-07-17 17:50:15'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47442, 'SRID=4674;POINT (-39.030029 -3.363287)', '2026-07-17 17:50:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363287)'))) / (select extract(epoch from '2026-07-17 17:50:21'::timestamp) - extract(epoch from '2026-07-17 17:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363287)'))) / (select extract(epoch from '2026-07-17 17:50:21'::timestamp) - extract(epoch from '2026-07-17 17:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.363288)', '2026-07-17 17:50:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363288)'))) / (select extract(epoch from '2026-07-17 17:50:29'::timestamp) - extract(epoch from '2026-07-17 17:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363288)'))) / (select extract(epoch from '2026-07-17 17:50:29'::timestamp) - extract(epoch from '2026-07-17 17:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030026 -3.363282)', '2026-07-17 17:50:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:50:33'::timestamp) - extract(epoch from '2026-07-17 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:50:33'::timestamp) - extract(epoch from '2026-07-17 17:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.363289)', '2026-07-17 17:50:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:50:41'::timestamp) - extract(epoch from '2026-07-17 17:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:50:41'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47442, 'SRID=4674;POINT (-39.030038 -3.363291)', '2026-07-17 17:50:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363291)'))) / (select extract(epoch from '2026-07-17 17:50:50'::timestamp) - extract(epoch from '2026-07-17 17:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363291)'))) / (select extract(epoch from '2026-07-17 17:50:50'::timestamp) - extract(epoch from '2026-07-17 17:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030035 -3.36329)', '2026-07-17 17:50:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:50:51'::timestamp) - extract(epoch from '2026-07-17 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:50:51'::timestamp) - extract(epoch from '2026-07-17 17:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030019 -3.363293)', '2026-07-17 17:50:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:50:53'::timestamp) - extract(epoch from '2026-07-17 17:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:50:53'::timestamp) - extract(epoch from '2026-07-17 17:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
