 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463305 -3.638942)', '2026-06-09 16:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463276 -3.638805)'), GeomFromEWKT('SRID=4674;POINT (-38.463305 -3.638942)'))) / (select extract(epoch from '2026-06-09 16:46:25'::timestamp) - extract(epoch from '2026-06-09 16:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463276 -3.638805)'), GeomFromEWKT('SRID=4674;POINT (-38.463305 -3.638942)'))) / (select extract(epoch from '2026-06-09 16:46:25'::timestamp) - extract(epoch from '2026-06-09 16:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463354 -3.639092)', '2026-06-09 16:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463305 -3.638942)'), GeomFromEWKT('SRID=4674;POINT (-38.463354 -3.639092)'))) / (select extract(epoch from '2026-06-09 16:46:33'::timestamp) - extract(epoch from '2026-06-09 16:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463305 -3.638942)'), GeomFromEWKT('SRID=4674;POINT (-38.463354 -3.639092)'))) / (select extract(epoch from '2026-06-09 16:46:33'::timestamp) - extract(epoch from '2026-06-09 16:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463408 -3.63925)', '2026-06-09 16:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463354 -3.639092)'), GeomFromEWKT('SRID=4674;POINT (-38.463408 -3.63925)'))) / (select extract(epoch from '2026-06-09 16:46:41'::timestamp) - extract(epoch from '2026-06-09 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463354 -3.639092)'), GeomFromEWKT('SRID=4674;POINT (-38.463408 -3.63925)'))) / (select extract(epoch from '2026-06-09 16:46:41'::timestamp) - extract(epoch from '2026-06-09 16:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463432 -3.639353)', '2026-06-09 16:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463408 -3.63925)'), GeomFromEWKT('SRID=4674;POINT (-38.463432 -3.639353)'))) / (select extract(epoch from '2026-06-09 16:46:46'::timestamp) - extract(epoch from '2026-06-09 16:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463408 -3.63925)'), GeomFromEWKT('SRID=4674;POINT (-38.463432 -3.639353)'))) / (select extract(epoch from '2026-06-09 16:46:46'::timestamp) - extract(epoch from '2026-06-09 16:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463458 -3.639433)', '2026-06-09 16:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463432 -3.639353)'), GeomFromEWKT('SRID=4674;POINT (-38.463458 -3.639433)'))) / (select extract(epoch from '2026-06-09 16:46:50'::timestamp) - extract(epoch from '2026-06-09 16:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463432 -3.639353)'), GeomFromEWKT('SRID=4674;POINT (-38.463458 -3.639433)'))) / (select extract(epoch from '2026-06-09 16:46:50'::timestamp) - extract(epoch from '2026-06-09 16:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463476 -3.639542)', '2026-06-09 16:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463458 -3.639433)'), GeomFromEWKT('SRID=4674;POINT (-38.463476 -3.639542)'))) / (select extract(epoch from '2026-06-09 16:46:55'::timestamp) - extract(epoch from '2026-06-09 16:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463458 -3.639433)'), GeomFromEWKT('SRID=4674;POINT (-38.463476 -3.639542)'))) / (select extract(epoch from '2026-06-09 16:46:55'::timestamp) - extract(epoch from '2026-06-09 16:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463477 -3.639653)', '2026-06-09 16:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463476 -3.639542)'), GeomFromEWKT('SRID=4674;POINT (-38.463477 -3.639653)'))) / (select extract(epoch from '2026-06-09 16:47:00'::timestamp) - extract(epoch from '2026-06-09 16:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463476 -3.639542)'), GeomFromEWKT('SRID=4674;POINT (-38.463477 -3.639653)'))) / (select extract(epoch from '2026-06-09 16:47:00'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46534, 'SRID=4674;POINT (-38.46349 -3.639857)', '2026-06-09 16:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463477 -3.639653)'), GeomFromEWKT('SRID=4674;POINT (-38.46349 -3.639857)'))) / (select extract(epoch from '2026-06-09 16:47:09'::timestamp) - extract(epoch from '2026-06-09 16:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463477 -3.639653)'), GeomFromEWKT('SRID=4674;POINT (-38.46349 -3.639857)'))) / (select extract(epoch from '2026-06-09 16:47:09'::timestamp) - extract(epoch from '2026-06-09 16:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463521 -3.639994)', '2026-06-09 16:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46349 -3.639857)'), GeomFromEWKT('SRID=4674;POINT (-38.463521 -3.639994)'))) / (select extract(epoch from '2026-06-09 16:47:15'::timestamp) - extract(epoch from '2026-06-09 16:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46349 -3.639857)'), GeomFromEWKT('SRID=4674;POINT (-38.463521 -3.639994)'))) / (select extract(epoch from '2026-06-09 16:47:15'::timestamp) - extract(epoch from '2026-06-09 16:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463532 -3.640131)', '2026-06-09 16:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463521 -3.639994)'), GeomFromEWKT('SRID=4674;POINT (-38.463532 -3.640131)'))) / (select extract(epoch from '2026-06-09 16:47:21'::timestamp) - extract(epoch from '2026-06-09 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463521 -3.639994)'), GeomFromEWKT('SRID=4674;POINT (-38.463532 -3.640131)'))) / (select extract(epoch from '2026-06-09 16:47:21'::timestamp) - extract(epoch from '2026-06-09 16:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463569 -3.640255)', '2026-06-09 16:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463532 -3.640131)'), GeomFromEWKT('SRID=4674;POINT (-38.463569 -3.640255)'))) / (select extract(epoch from '2026-06-09 16:47:27'::timestamp) - extract(epoch from '2026-06-09 16:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463532 -3.640131)'), GeomFromEWKT('SRID=4674;POINT (-38.463569 -3.640255)'))) / (select extract(epoch from '2026-06-09 16:47:27'::timestamp) - extract(epoch from '2026-06-09 16:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463601 -3.640409)', '2026-06-09 16:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463569 -3.640255)'), GeomFromEWKT('SRID=4674;POINT (-38.463601 -3.640409)'))) / (select extract(epoch from '2026-06-09 16:47:34'::timestamp) - extract(epoch from '2026-06-09 16:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463569 -3.640255)'), GeomFromEWKT('SRID=4674;POINT (-38.463601 -3.640409)'))) / (select extract(epoch from '2026-06-09 16:47:34'::timestamp) - extract(epoch from '2026-06-09 16:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463638 -3.640568)', '2026-06-09 16:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463601 -3.640409)'), GeomFromEWKT('SRID=4674;POINT (-38.463638 -3.640568)'))) / (select extract(epoch from '2026-06-09 16:47:41'::timestamp) - extract(epoch from '2026-06-09 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463601 -3.640409)'), GeomFromEWKT('SRID=4674;POINT (-38.463638 -3.640568)'))) / (select extract(epoch from '2026-06-09 16:47:41'::timestamp) - extract(epoch from '2026-06-09 16:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46365 -3.640676)', '2026-06-09 16:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463638 -3.640568)'), GeomFromEWKT('SRID=4674;POINT (-38.46365 -3.640676)'))) / (select extract(epoch from '2026-06-09 16:47:46'::timestamp) - extract(epoch from '2026-06-09 16:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463638 -3.640568)'), GeomFromEWKT('SRID=4674;POINT (-38.46365 -3.640676)'))) / (select extract(epoch from '2026-06-09 16:47:46'::timestamp) - extract(epoch from '2026-06-09 16:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463684 -3.640818)', '2026-06-09 16:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46365 -3.640676)'), GeomFromEWKT('SRID=4674;POINT (-38.463684 -3.640818)'))) / (select extract(epoch from '2026-06-09 16:47:53'::timestamp) - extract(epoch from '2026-06-09 16:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46365 -3.640676)'), GeomFromEWKT('SRID=4674;POINT (-38.463684 -3.640818)'))) / (select extract(epoch from '2026-06-09 16:47:53'::timestamp) - extract(epoch from '2026-06-09 16:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463714 -3.640937)', '2026-06-09 16:47:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463684 -3.640818)'), GeomFromEWKT('SRID=4674;POINT (-38.463714 -3.640937)'))) / (select extract(epoch from '2026-06-09 16:47:59'::timestamp) - extract(epoch from '2026-06-09 16:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463684 -3.640818)'), GeomFromEWKT('SRID=4674;POINT (-38.463714 -3.640937)'))) / (select extract(epoch from '2026-06-09 16:47:59'::timestamp) - extract(epoch from '2026-06-09 16:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463756 -3.64107)', '2026-06-09 16:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463714 -3.640937)'), GeomFromEWKT('SRID=4674;POINT (-38.463756 -3.64107)'))) / (select extract(epoch from '2026-06-09 16:48:06'::timestamp) - extract(epoch from '2026-06-09 16:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463714 -3.640937)'), GeomFromEWKT('SRID=4674;POINT (-38.463756 -3.64107)'))) / (select extract(epoch from '2026-06-09 16:48:06'::timestamp) - extract(epoch from '2026-06-09 16:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463785 -3.641158)', '2026-06-09 16:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463756 -3.64107)'), GeomFromEWKT('SRID=4674;POINT (-38.463785 -3.641158)'))) / (select extract(epoch from '2026-06-09 16:48:11'::timestamp) - extract(epoch from '2026-06-09 16:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463756 -3.64107)'), GeomFromEWKT('SRID=4674;POINT (-38.463785 -3.641158)'))) / (select extract(epoch from '2026-06-09 16:48:11'::timestamp) - extract(epoch from '2026-06-09 16:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463825 -3.641295)', '2026-06-09 16:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463785 -3.641158)'), GeomFromEWKT('SRID=4674;POINT (-38.463825 -3.641295)'))) / (select extract(epoch from '2026-06-09 16:48:18'::timestamp) - extract(epoch from '2026-06-09 16:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463785 -3.641158)'), GeomFromEWKT('SRID=4674;POINT (-38.463825 -3.641295)'))) / (select extract(epoch from '2026-06-09 16:48:18'::timestamp) - extract(epoch from '2026-06-09 16:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463881 -3.641451)', '2026-06-09 16:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463825 -3.641295)'), GeomFromEWKT('SRID=4674;POINT (-38.463881 -3.641451)'))) / (select extract(epoch from '2026-06-09 16:48:26'::timestamp) - extract(epoch from '2026-06-09 16:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463825 -3.641295)'), GeomFromEWKT('SRID=4674;POINT (-38.463881 -3.641451)'))) / (select extract(epoch from '2026-06-09 16:48:26'::timestamp) - extract(epoch from '2026-06-09 16:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463927 -3.641533)', '2026-06-09 16:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463881 -3.641451)'), GeomFromEWKT('SRID=4674;POINT (-38.463927 -3.641533)'))) / (select extract(epoch from '2026-06-09 16:48:30'::timestamp) - extract(epoch from '2026-06-09 16:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463881 -3.641451)'), GeomFromEWKT('SRID=4674;POINT (-38.463927 -3.641533)'))) / (select extract(epoch from '2026-06-09 16:48:30'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46534, 'SRID=4674;POINT (-38.463961 -3.641619)', '2026-06-09 16:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463927 -3.641533)'), GeomFromEWKT('SRID=4674;POINT (-38.463961 -3.641619)'))) / (select extract(epoch from '2026-06-09 16:48:35'::timestamp) - extract(epoch from '2026-06-09 16:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463927 -3.641533)'), GeomFromEWKT('SRID=4674;POINT (-38.463961 -3.641619)'))) / (select extract(epoch from '2026-06-09 16:48:35'::timestamp) - extract(epoch from '2026-06-09 16:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.463993 -3.641745)', '2026-06-09 16:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463961 -3.641619)'), GeomFromEWKT('SRID=4674;POINT (-38.463993 -3.641745)'))) / (select extract(epoch from '2026-06-09 16:48:41'::timestamp) - extract(epoch from '2026-06-09 16:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463961 -3.641619)'), GeomFromEWKT('SRID=4674;POINT (-38.463993 -3.641745)'))) / (select extract(epoch from '2026-06-09 16:48:41'::timestamp) - extract(epoch from '2026-06-09 16:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464017 -3.641846)', '2026-06-09 16:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463993 -3.641745)'), GeomFromEWKT('SRID=4674;POINT (-38.464017 -3.641846)'))) / (select extract(epoch from '2026-06-09 16:48:46'::timestamp) - extract(epoch from '2026-06-09 16:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463993 -3.641745)'), GeomFromEWKT('SRID=4674;POINT (-38.464017 -3.641846)'))) / (select extract(epoch from '2026-06-09 16:48:46'::timestamp) - extract(epoch from '2026-06-09 16:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464047 -3.641969)', '2026-06-09 16:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464017 -3.641846)'), GeomFromEWKT('SRID=4674;POINT (-38.464047 -3.641969)'))) / (select extract(epoch from '2026-06-09 16:48:52'::timestamp) - extract(epoch from '2026-06-09 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464017 -3.641846)'), GeomFromEWKT('SRID=4674;POINT (-38.464047 -3.641969)'))) / (select extract(epoch from '2026-06-09 16:48:52'::timestamp) - extract(epoch from '2026-06-09 16:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464088 -3.642118)', '2026-06-09 16:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464047 -3.641969)'), GeomFromEWKT('SRID=4674;POINT (-38.464088 -3.642118)'))) / (select extract(epoch from '2026-06-09 16:48:59'::timestamp) - extract(epoch from '2026-06-09 16:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464047 -3.641969)'), GeomFromEWKT('SRID=4674;POINT (-38.464088 -3.642118)'))) / (select extract(epoch from '2026-06-09 16:48:59'::timestamp) - extract(epoch from '2026-06-09 16:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464127 -3.642244)', '2026-06-09 16:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464088 -3.642118)'), GeomFromEWKT('SRID=4674;POINT (-38.464127 -3.642244)'))) / (select extract(epoch from '2026-06-09 16:49:05'::timestamp) - extract(epoch from '2026-06-09 16:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464088 -3.642118)'), GeomFromEWKT('SRID=4674;POINT (-38.464127 -3.642244)'))) / (select extract(epoch from '2026-06-09 16:49:05'::timestamp) - extract(epoch from '2026-06-09 16:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464174 -3.642368)', '2026-06-09 16:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464127 -3.642244)'), GeomFromEWKT('SRID=4674;POINT (-38.464174 -3.642368)'))) / (select extract(epoch from '2026-06-09 16:49:11'::timestamp) - extract(epoch from '2026-06-09 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464127 -3.642244)'), GeomFromEWKT('SRID=4674;POINT (-38.464174 -3.642368)'))) / (select extract(epoch from '2026-06-09 16:49:11'::timestamp) - extract(epoch from '2026-06-09 16:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464195 -3.642474)', '2026-06-09 16:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464174 -3.642368)'), GeomFromEWKT('SRID=4674;POINT (-38.464195 -3.642474)'))) / (select extract(epoch from '2026-06-09 16:49:16'::timestamp) - extract(epoch from '2026-06-09 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464174 -3.642368)'), GeomFromEWKT('SRID=4674;POINT (-38.464195 -3.642474)'))) / (select extract(epoch from '2026-06-09 16:49:16'::timestamp) - extract(epoch from '2026-06-09 16:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464222 -3.64265)', '2026-06-09 16:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464195 -3.642474)'), GeomFromEWKT('SRID=4674;POINT (-38.464222 -3.64265)'))) / (select extract(epoch from '2026-06-09 16:49:24'::timestamp) - extract(epoch from '2026-06-09 16:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464195 -3.642474)'), GeomFromEWKT('SRID=4674;POINT (-38.464222 -3.64265)'))) / (select extract(epoch from '2026-06-09 16:49:24'::timestamp) - extract(epoch from '2026-06-09 16:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464257 -3.642799)', '2026-06-09 16:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464222 -3.64265)'), GeomFromEWKT('SRID=4674;POINT (-38.464257 -3.642799)'))) / (select extract(epoch from '2026-06-09 16:49:31'::timestamp) - extract(epoch from '2026-06-09 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464222 -3.64265)'), GeomFromEWKT('SRID=4674;POINT (-38.464257 -3.642799)'))) / (select extract(epoch from '2026-06-09 16:49:31'::timestamp) - extract(epoch from '2026-06-09 16:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464287 -3.642923)', '2026-06-09 16:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464257 -3.642799)'), GeomFromEWKT('SRID=4674;POINT (-38.464287 -3.642923)'))) / (select extract(epoch from '2026-06-09 16:49:37'::timestamp) - extract(epoch from '2026-06-09 16:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464257 -3.642799)'), GeomFromEWKT('SRID=4674;POINT (-38.464287 -3.642923)'))) / (select extract(epoch from '2026-06-09 16:49:37'::timestamp) - extract(epoch from '2026-06-09 16:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464332 -3.643103)', '2026-06-09 16:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464287 -3.642923)'), GeomFromEWKT('SRID=4674;POINT (-38.464332 -3.643103)'))) / (select extract(epoch from '2026-06-09 16:49:45'::timestamp) - extract(epoch from '2026-06-09 16:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464287 -3.642923)'), GeomFromEWKT('SRID=4674;POINT (-38.464332 -3.643103)'))) / (select extract(epoch from '2026-06-09 16:49:45'::timestamp) - extract(epoch from '2026-06-09 16:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464372 -3.643222)', '2026-06-09 16:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464332 -3.643103)'), GeomFromEWKT('SRID=4674;POINT (-38.464372 -3.643222)'))) / (select extract(epoch from '2026-06-09 16:49:50'::timestamp) - extract(epoch from '2026-06-09 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464332 -3.643103)'), GeomFromEWKT('SRID=4674;POINT (-38.464372 -3.643222)'))) / (select extract(epoch from '2026-06-09 16:49:50'::timestamp) - extract(epoch from '2026-06-09 16:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46441 -3.643323)', '2026-06-09 16:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464372 -3.643222)'), GeomFromEWKT('SRID=4674;POINT (-38.46441 -3.643323)'))) / (select extract(epoch from '2026-06-09 16:49:55'::timestamp) - extract(epoch from '2026-06-09 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464372 -3.643222)'), GeomFromEWKT('SRID=4674;POINT (-38.46441 -3.643323)'))) / (select extract(epoch from '2026-06-09 16:49:55'::timestamp) - extract(epoch from '2026-06-09 16:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464469 -3.643467)', '2026-06-09 16:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46441 -3.643323)'), GeomFromEWKT('SRID=4674;POINT (-38.464469 -3.643467)'))) / (select extract(epoch from '2026-06-09 16:50:01'::timestamp) - extract(epoch from '2026-06-09 16:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46441 -3.643323)'), GeomFromEWKT('SRID=4674;POINT (-38.464469 -3.643467)'))) / (select extract(epoch from '2026-06-09 16:50:01'::timestamp) - extract(epoch from '2026-06-09 16:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46452 -3.643573)', '2026-06-09 16:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464469 -3.643467)'), GeomFromEWKT('SRID=4674;POINT (-38.46452 -3.643573)'))) / (select extract(epoch from '2026-06-09 16:50:06'::timestamp) - extract(epoch from '2026-06-09 16:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464469 -3.643467)'), GeomFromEWKT('SRID=4674;POINT (-38.46452 -3.643573)'))) / (select extract(epoch from '2026-06-09 16:50:06'::timestamp) - extract(epoch from '2026-06-09 16:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46455 -3.64366)', '2026-06-09 16:50:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46452 -3.643573)'), GeomFromEWKT('SRID=4674;POINT (-38.46455 -3.64366)'))) / (select extract(epoch from '2026-06-09 16:50:10'::timestamp) - extract(epoch from '2026-06-09 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46452 -3.643573)'), GeomFromEWKT('SRID=4674;POINT (-38.46455 -3.64366)'))) / (select extract(epoch from '2026-06-09 16:50:10'::timestamp) - extract(epoch from '2026-06-09 16:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464578 -3.643764)', '2026-06-09 16:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46455 -3.64366)'), GeomFromEWKT('SRID=4674;POINT (-38.464578 -3.643764)'))) / (select extract(epoch from '2026-06-09 16:50:15'::timestamp) - extract(epoch from '2026-06-09 16:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46455 -3.64366)'), GeomFromEWKT('SRID=4674;POINT (-38.464578 -3.643764)'))) / (select extract(epoch from '2026-06-09 16:50:15'::timestamp) - extract(epoch from '2026-06-09 16:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464624 -3.643909)', '2026-06-09 16:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464578 -3.643764)'), GeomFromEWKT('SRID=4674;POINT (-38.464624 -3.643909)'))) / (select extract(epoch from '2026-06-09 16:50:21'::timestamp) - extract(epoch from '2026-06-09 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464578 -3.643764)'), GeomFromEWKT('SRID=4674;POINT (-38.464624 -3.643909)'))) / (select extract(epoch from '2026-06-09 16:50:21'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46534, 'SRID=4674;POINT (-38.464659 -3.644014)', '2026-06-09 16:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464624 -3.643909)'), GeomFromEWKT('SRID=4674;POINT (-38.464659 -3.644014)'))) / (select extract(epoch from '2026-06-09 16:50:26'::timestamp) - extract(epoch from '2026-06-09 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464624 -3.643909)'), GeomFromEWKT('SRID=4674;POINT (-38.464659 -3.644014)'))) / (select extract(epoch from '2026-06-09 16:50:26'::timestamp) - extract(epoch from '2026-06-09 16:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464718 -3.644173)', '2026-06-09 16:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464659 -3.644014)'), GeomFromEWKT('SRID=4674;POINT (-38.464718 -3.644173)'))) / (select extract(epoch from '2026-06-09 16:50:34'::timestamp) - extract(epoch from '2026-06-09 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464659 -3.644014)'), GeomFromEWKT('SRID=4674;POINT (-38.464718 -3.644173)'))) / (select extract(epoch from '2026-06-09 16:50:34'::timestamp) - extract(epoch from '2026-06-09 16:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464779 -3.644307)', '2026-06-09 16:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464718 -3.644173)'), GeomFromEWKT('SRID=4674;POINT (-38.464779 -3.644307)'))) / (select extract(epoch from '2026-06-09 16:50:41'::timestamp) - extract(epoch from '2026-06-09 16:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464718 -3.644173)'), GeomFromEWKT('SRID=4674;POINT (-38.464779 -3.644307)'))) / (select extract(epoch from '2026-06-09 16:50:41'::timestamp) - extract(epoch from '2026-06-09 16:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46482 -3.644454)', '2026-06-09 16:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464779 -3.644307)'), GeomFromEWKT('SRID=4674;POINT (-38.46482 -3.644454)'))) / (select extract(epoch from '2026-06-09 16:50:48'::timestamp) - extract(epoch from '2026-06-09 16:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464779 -3.644307)'), GeomFromEWKT('SRID=4674;POINT (-38.46482 -3.644454)'))) / (select extract(epoch from '2026-06-09 16:50:48'::timestamp) - extract(epoch from '2026-06-09 16:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46483 -3.6446)', '2026-06-09 16:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46482 -3.644454)'), GeomFromEWKT('SRID=4674;POINT (-38.46483 -3.6446)'))) / (select extract(epoch from '2026-06-09 16:50:55'::timestamp) - extract(epoch from '2026-06-09 16:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46482 -3.644454)'), GeomFromEWKT('SRID=4674;POINT (-38.46483 -3.6446)'))) / (select extract(epoch from '2026-06-09 16:50:55'::timestamp) - extract(epoch from '2026-06-09 16:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464851 -3.644755)', '2026-06-09 16:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46483 -3.6446)'), GeomFromEWKT('SRID=4674;POINT (-38.464851 -3.644755)'))) / (select extract(epoch from '2026-06-09 16:51:03'::timestamp) - extract(epoch from '2026-06-09 16:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46483 -3.6446)'), GeomFromEWKT('SRID=4674;POINT (-38.464851 -3.644755)'))) / (select extract(epoch from '2026-06-09 16:51:03'::timestamp) - extract(epoch from '2026-06-09 16:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464885 -3.644876)', '2026-06-09 16:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464851 -3.644755)'), GeomFromEWKT('SRID=4674;POINT (-38.464885 -3.644876)'))) / (select extract(epoch from '2026-06-09 16:51:09'::timestamp) - extract(epoch from '2026-06-09 16:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464851 -3.644755)'), GeomFromEWKT('SRID=4674;POINT (-38.464885 -3.644876)'))) / (select extract(epoch from '2026-06-09 16:51:09'::timestamp) - extract(epoch from '2026-06-09 16:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464924 -3.644991)', '2026-06-09 16:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464885 -3.644876)'), GeomFromEWKT('SRID=4674;POINT (-38.464924 -3.644991)'))) / (select extract(epoch from '2026-06-09 16:51:15'::timestamp) - extract(epoch from '2026-06-09 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464885 -3.644876)'), GeomFromEWKT('SRID=4674;POINT (-38.464924 -3.644991)'))) / (select extract(epoch from '2026-06-09 16:51:15'::timestamp) - extract(epoch from '2026-06-09 16:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46497 -3.645141)', '2026-06-09 16:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464924 -3.644991)'), GeomFromEWKT('SRID=4674;POINT (-38.46497 -3.645141)'))) / (select extract(epoch from '2026-06-09 16:51:23'::timestamp) - extract(epoch from '2026-06-09 16:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464924 -3.644991)'), GeomFromEWKT('SRID=4674;POINT (-38.46497 -3.645141)'))) / (select extract(epoch from '2026-06-09 16:51:23'::timestamp) - extract(epoch from '2026-06-09 16:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464972 -3.645172)', '2026-06-09 16:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46497 -3.645141)'), GeomFromEWKT('SRID=4674;POINT (-38.464972 -3.645172)'))) / (select extract(epoch from '2026-06-09 16:51:25'::timestamp) - extract(epoch from '2026-06-09 16:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46497 -3.645141)'), GeomFromEWKT('SRID=4674;POINT (-38.464972 -3.645172)'))) / (select extract(epoch from '2026-06-09 16:51:25'::timestamp) - extract(epoch from '2026-06-09 16:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464984 -3.645231)', '2026-06-09 16:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464972 -3.645172)'), GeomFromEWKT('SRID=4674;POINT (-38.464984 -3.645231)'))) / (select extract(epoch from '2026-06-09 16:51:28'::timestamp) - extract(epoch from '2026-06-09 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464972 -3.645172)'), GeomFromEWKT('SRID=4674;POINT (-38.464984 -3.645231)'))) / (select extract(epoch from '2026-06-09 16:51:28'::timestamp) - extract(epoch from '2026-06-09 16:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.464993 -3.645311)', '2026-06-09 16:51:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464984 -3.645231)'), GeomFromEWKT('SRID=4674;POINT (-38.464993 -3.645311)'))) / (select extract(epoch from '2026-06-09 16:51:32'::timestamp) - extract(epoch from '2026-06-09 16:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464984 -3.645231)'), GeomFromEWKT('SRID=4674;POINT (-38.464993 -3.645311)'))) / (select extract(epoch from '2026-06-09 16:51:32'::timestamp) - extract(epoch from '2026-06-09 16:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465009 -3.645474)', '2026-06-09 16:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464993 -3.645311)'), GeomFromEWKT('SRID=4674;POINT (-38.465009 -3.645474)'))) / (select extract(epoch from '2026-06-09 16:51:40'::timestamp) - extract(epoch from '2026-06-09 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464993 -3.645311)'), GeomFromEWKT('SRID=4674;POINT (-38.465009 -3.645474)'))) / (select extract(epoch from '2026-06-09 16:51:40'::timestamp) - extract(epoch from '2026-06-09 16:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465031 -3.645574)', '2026-06-09 16:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465009 -3.645474)'), GeomFromEWKT('SRID=4674;POINT (-38.465031 -3.645574)'))) / (select extract(epoch from '2026-06-09 16:51:45'::timestamp) - extract(epoch from '2026-06-09 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465009 -3.645474)'), GeomFromEWKT('SRID=4674;POINT (-38.465031 -3.645574)'))) / (select extract(epoch from '2026-06-09 16:51:45'::timestamp) - extract(epoch from '2026-06-09 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465059 -3.645678)', '2026-06-09 16:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465031 -3.645574)'), GeomFromEWKT('SRID=4674;POINT (-38.465059 -3.645678)'))) / (select extract(epoch from '2026-06-09 16:51:50'::timestamp) - extract(epoch from '2026-06-09 16:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465031 -3.645574)'), GeomFromEWKT('SRID=4674;POINT (-38.465059 -3.645678)'))) / (select extract(epoch from '2026-06-09 16:51:50'::timestamp) - extract(epoch from '2026-06-09 16:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465085 -3.645775)', '2026-06-09 16:51:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465059 -3.645678)'), GeomFromEWKT('SRID=4674;POINT (-38.465085 -3.645775)'))) / (select extract(epoch from '2026-06-09 16:51:55'::timestamp) - extract(epoch from '2026-06-09 16:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465059 -3.645678)'), GeomFromEWKT('SRID=4674;POINT (-38.465085 -3.645775)'))) / (select extract(epoch from '2026-06-09 16:51:55'::timestamp) - extract(epoch from '2026-06-09 16:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465122 -3.645878)', '2026-06-09 16:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465085 -3.645775)'), GeomFromEWKT('SRID=4674;POINT (-38.465122 -3.645878)'))) / (select extract(epoch from '2026-06-09 16:52:00'::timestamp) - extract(epoch from '2026-06-09 16:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465085 -3.645775)'), GeomFromEWKT('SRID=4674;POINT (-38.465122 -3.645878)'))) / (select extract(epoch from '2026-06-09 16:52:00'::timestamp) - extract(epoch from '2026-06-09 16:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465154 -3.645954)', '2026-06-09 16:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465122 -3.645878)'), GeomFromEWKT('SRID=4674;POINT (-38.465154 -3.645954)'))) / (select extract(epoch from '2026-06-09 16:52:04'::timestamp) - extract(epoch from '2026-06-09 16:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465122 -3.645878)'), GeomFromEWKT('SRID=4674;POINT (-38.465154 -3.645954)'))) / (select extract(epoch from '2026-06-09 16:52:04'::timestamp) - extract(epoch from '2026-06-09 16:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465172 -3.646011)', '2026-06-09 16:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465154 -3.645954)'), GeomFromEWKT('SRID=4674;POINT (-38.465172 -3.646011)'))) / (select extract(epoch from '2026-06-09 16:52:07'::timestamp) - extract(epoch from '2026-06-09 16:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465154 -3.645954)'), GeomFromEWKT('SRID=4674;POINT (-38.465172 -3.646011)'))) / (select extract(epoch from '2026-06-09 16:52:07'::timestamp) - extract(epoch from '2026-06-09 16:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465195 -3.646051)', '2026-06-09 16:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465172 -3.646011)'), GeomFromEWKT('SRID=4674;POINT (-38.465195 -3.646051)'))) / (select extract(epoch from '2026-06-09 16:52:09'::timestamp) - extract(epoch from '2026-06-09 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465172 -3.646011)'), GeomFromEWKT('SRID=4674;POINT (-38.465195 -3.646051)'))) / (select extract(epoch from '2026-06-09 16:52:09'::timestamp) - extract(epoch from '2026-06-09 16:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465247 -3.646156)', '2026-06-09 16:52:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465195 -3.646051)'), GeomFromEWKT('SRID=4674;POINT (-38.465247 -3.646156)'))) / (select extract(epoch from '2026-06-09 16:52:14'::timestamp) - extract(epoch from '2026-06-09 16:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465195 -3.646051)'), GeomFromEWKT('SRID=4674;POINT (-38.465247 -3.646156)'))) / (select extract(epoch from '2026-06-09 16:52:14'::timestamp) - extract(epoch from '2026-06-09 16:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465259 -3.646191)', '2026-06-09 16:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465247 -3.646156)'), GeomFromEWKT('SRID=4674;POINT (-38.465259 -3.646191)'))) / (select extract(epoch from '2026-06-09 16:52:16'::timestamp) - extract(epoch from '2026-06-09 16:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465247 -3.646156)'), GeomFromEWKT('SRID=4674;POINT (-38.465259 -3.646191)'))) / (select extract(epoch from '2026-06-09 16:52:16'::timestamp) - extract(epoch from '2026-06-09 16:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465267 -3.646234)', '2026-06-09 16:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465259 -3.646191)'), GeomFromEWKT('SRID=4674;POINT (-38.465267 -3.646234)'))) / (select extract(epoch from '2026-06-09 16:52:18'::timestamp) - extract(epoch from '2026-06-09 16:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465259 -3.646191)'), GeomFromEWKT('SRID=4674;POINT (-38.465267 -3.646234)'))) / (select extract(epoch from '2026-06-09 16:52:18'::timestamp) - extract(epoch from '2026-06-09 16:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465306 -3.646336)', '2026-06-09 16:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465267 -3.646234)'), GeomFromEWKT('SRID=4674;POINT (-38.465306 -3.646336)'))) / (select extract(epoch from '2026-06-09 16:52:23'::timestamp) - extract(epoch from '2026-06-09 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465267 -3.646234)'), GeomFromEWKT('SRID=4674;POINT (-38.465306 -3.646336)'))) / (select extract(epoch from '2026-06-09 16:52:23'::timestamp) - extract(epoch from '2026-06-09 16:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465358 -3.646473)', '2026-06-09 16:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465306 -3.646336)'), GeomFromEWKT('SRID=4674;POINT (-38.465358 -3.646473)'))) / (select extract(epoch from '2026-06-09 16:52:30'::timestamp) - extract(epoch from '2026-06-09 16:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465306 -3.646336)'), GeomFromEWKT('SRID=4674;POINT (-38.465358 -3.646473)'))) / (select extract(epoch from '2026-06-09 16:52:30'::timestamp) - extract(epoch from '2026-06-09 16:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465403 -3.646598)', '2026-06-09 16:52:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465358 -3.646473)'), GeomFromEWKT('SRID=4674;POINT (-38.465403 -3.646598)'))) / (select extract(epoch from '2026-06-09 16:52:36'::timestamp) - extract(epoch from '2026-06-09 16:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465358 -3.646473)'), GeomFromEWKT('SRID=4674;POINT (-38.465403 -3.646598)'))) / (select extract(epoch from '2026-06-09 16:52:36'::timestamp) - extract(epoch from '2026-06-09 16:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465435 -3.646743)', '2026-06-09 16:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465403 -3.646598)'), GeomFromEWKT('SRID=4674;POINT (-38.465435 -3.646743)'))) / (select extract(epoch from '2026-06-09 16:52:43'::timestamp) - extract(epoch from '2026-06-09 16:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465403 -3.646598)'), GeomFromEWKT('SRID=4674;POINT (-38.465435 -3.646743)'))) / (select extract(epoch from '2026-06-09 16:52:43'::timestamp) - extract(epoch from '2026-06-09 16:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46545 -3.646851)', '2026-06-09 16:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465435 -3.646743)'), GeomFromEWKT('SRID=4674;POINT (-38.46545 -3.646851)'))) / (select extract(epoch from '2026-06-09 16:52:48'::timestamp) - extract(epoch from '2026-06-09 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465435 -3.646743)'), GeomFromEWKT('SRID=4674;POINT (-38.46545 -3.646851)'))) / (select extract(epoch from '2026-06-09 16:52:48'::timestamp) - extract(epoch from '2026-06-09 16:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465462 -3.646974)', '2026-06-09 16:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46545 -3.646851)'), GeomFromEWKT('SRID=4674;POINT (-38.465462 -3.646974)'))) / (select extract(epoch from '2026-06-09 16:52:54'::timestamp) - extract(epoch from '2026-06-09 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46545 -3.646851)'), GeomFromEWKT('SRID=4674;POINT (-38.465462 -3.646974)'))) / (select extract(epoch from '2026-06-09 16:52:54'::timestamp) - extract(epoch from '2026-06-09 16:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465477 -3.64707)', '2026-06-09 16:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465462 -3.646974)'), GeomFromEWKT('SRID=4674;POINT (-38.465477 -3.64707)'))) / (select extract(epoch from '2026-06-09 16:52:59'::timestamp) - extract(epoch from '2026-06-09 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465462 -3.646974)'), GeomFromEWKT('SRID=4674;POINT (-38.465477 -3.64707)'))) / (select extract(epoch from '2026-06-09 16:52:59'::timestamp) - extract(epoch from '2026-06-09 16:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465489 -3.647168)', '2026-06-09 16:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465477 -3.64707)'), GeomFromEWKT('SRID=4674;POINT (-38.465489 -3.647168)'))) / (select extract(epoch from '2026-06-09 16:53:04'::timestamp) - extract(epoch from '2026-06-09 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465477 -3.64707)'), GeomFromEWKT('SRID=4674;POINT (-38.465489 -3.647168)'))) / (select extract(epoch from '2026-06-09 16:53:04'::timestamp) - extract(epoch from '2026-06-09 16:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465518 -3.64727)', '2026-06-09 16:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465489 -3.647168)'), GeomFromEWKT('SRID=4674;POINT (-38.465518 -3.64727)'))) / (select extract(epoch from '2026-06-09 16:53:09'::timestamp) - extract(epoch from '2026-06-09 16:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465489 -3.647168)'), GeomFromEWKT('SRID=4674;POINT (-38.465518 -3.64727)'))) / (select extract(epoch from '2026-06-09 16:53:09'::timestamp) - extract(epoch from '2026-06-09 16:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465549 -3.647372)', '2026-06-09 16:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465518 -3.64727)'), GeomFromEWKT('SRID=4674;POINT (-38.465549 -3.647372)'))) / (select extract(epoch from '2026-06-09 16:53:14'::timestamp) - extract(epoch from '2026-06-09 16:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465518 -3.64727)'), GeomFromEWKT('SRID=4674;POINT (-38.465549 -3.647372)'))) / (select extract(epoch from '2026-06-09 16:53:14'::timestamp) - extract(epoch from '2026-06-09 16:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465579 -3.647503)', '2026-06-09 16:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465549 -3.647372)'), GeomFromEWKT('SRID=4674;POINT (-38.465579 -3.647503)'))) / (select extract(epoch from '2026-06-09 16:53:20'::timestamp) - extract(epoch from '2026-06-09 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465549 -3.647372)'), GeomFromEWKT('SRID=4674;POINT (-38.465579 -3.647503)'))) / (select extract(epoch from '2026-06-09 16:53:20'::timestamp) - extract(epoch from '2026-06-09 16:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465608 -3.647635)', '2026-06-09 16:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465579 -3.647503)'), GeomFromEWKT('SRID=4674;POINT (-38.465608 -3.647635)'))) / (select extract(epoch from '2026-06-09 16:53:26'::timestamp) - extract(epoch from '2026-06-09 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465579 -3.647503)'), GeomFromEWKT('SRID=4674;POINT (-38.465608 -3.647635)'))) / (select extract(epoch from '2026-06-09 16:53:26'::timestamp) - extract(epoch from '2026-06-09 16:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46563 -3.647726)', '2026-06-09 16:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465608 -3.647635)'), GeomFromEWKT('SRID=4674;POINT (-38.46563 -3.647726)'))) / (select extract(epoch from '2026-06-09 16:53:30'::timestamp) - extract(epoch from '2026-06-09 16:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465608 -3.647635)'), GeomFromEWKT('SRID=4674;POINT (-38.46563 -3.647726)'))) / (select extract(epoch from '2026-06-09 16:53:30'::timestamp) - extract(epoch from '2026-06-09 16:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465652 -3.647835)', '2026-06-09 16:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46563 -3.647726)'), GeomFromEWKT('SRID=4674;POINT (-38.465652 -3.647835)'))) / (select extract(epoch from '2026-06-09 16:53:35'::timestamp) - extract(epoch from '2026-06-09 16:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46563 -3.647726)'), GeomFromEWKT('SRID=4674;POINT (-38.465652 -3.647835)'))) / (select extract(epoch from '2026-06-09 16:53:35'::timestamp) - extract(epoch from '2026-06-09 16:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465655 -3.647899)', '2026-06-09 16:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465652 -3.647835)'), GeomFromEWKT('SRID=4674;POINT (-38.465655 -3.647899)'))) / (select extract(epoch from '2026-06-09 16:53:38'::timestamp) - extract(epoch from '2026-06-09 16:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465652 -3.647835)'), GeomFromEWKT('SRID=4674;POINT (-38.465655 -3.647899)'))) / (select extract(epoch from '2026-06-09 16:53:38'::timestamp) - extract(epoch from '2026-06-09 16:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465664 -3.647945)', '2026-06-09 16:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465655 -3.647899)'), GeomFromEWKT('SRID=4674;POINT (-38.465664 -3.647945)'))) / (select extract(epoch from '2026-06-09 16:53:40'::timestamp) - extract(epoch from '2026-06-09 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465655 -3.647899)'), GeomFromEWKT('SRID=4674;POINT (-38.465664 -3.647945)'))) / (select extract(epoch from '2026-06-09 16:53:40'::timestamp) - extract(epoch from '2026-06-09 16:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465673 -3.648033)', '2026-06-09 16:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465664 -3.647945)'), GeomFromEWKT('SRID=4674;POINT (-38.465673 -3.648033)'))) / (select extract(epoch from '2026-06-09 16:53:44'::timestamp) - extract(epoch from '2026-06-09 16:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465664 -3.647945)'), GeomFromEWKT('SRID=4674;POINT (-38.465673 -3.648033)'))) / (select extract(epoch from '2026-06-09 16:53:44'::timestamp) - extract(epoch from '2026-06-09 16:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465717 -3.648168)', '2026-06-09 16:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465673 -3.648033)'), GeomFromEWKT('SRID=4674;POINT (-38.465717 -3.648168)'))) / (select extract(epoch from '2026-06-09 16:53:50'::timestamp) - extract(epoch from '2026-06-09 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465673 -3.648033)'), GeomFromEWKT('SRID=4674;POINT (-38.465717 -3.648168)'))) / (select extract(epoch from '2026-06-09 16:53:50'::timestamp) - extract(epoch from '2026-06-09 16:53:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465768 -3.64832)', '2026-06-09 16:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465717 -3.648168)'), GeomFromEWKT('SRID=4674;POINT (-38.465768 -3.64832)'))) / (select extract(epoch from '2026-06-09 16:53:57'::timestamp) - extract(epoch from '2026-06-09 16:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465717 -3.648168)'), GeomFromEWKT('SRID=4674;POINT (-38.465768 -3.64832)'))) / (select extract(epoch from '2026-06-09 16:53:57'::timestamp) - extract(epoch from '2026-06-09 16:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465811 -3.648436)', '2026-06-09 16:54:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465768 -3.64832)'), GeomFromEWKT('SRID=4674;POINT (-38.465811 -3.648436)'))) / (select extract(epoch from '2026-06-09 16:54:02'::timestamp) - extract(epoch from '2026-06-09 16:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465768 -3.64832)'), GeomFromEWKT('SRID=4674;POINT (-38.465811 -3.648436)'))) / (select extract(epoch from '2026-06-09 16:54:02'::timestamp) - extract(epoch from '2026-06-09 16:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465874 -3.648594)', '2026-06-09 16:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465811 -3.648436)'), GeomFromEWKT('SRID=4674;POINT (-38.465874 -3.648594)'))) / (select extract(epoch from '2026-06-09 16:54:09'::timestamp) - extract(epoch from '2026-06-09 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465811 -3.648436)'), GeomFromEWKT('SRID=4674;POINT (-38.465874 -3.648594)'))) / (select extract(epoch from '2026-06-09 16:54:09'::timestamp) - extract(epoch from '2026-06-09 16:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.465924 -3.648751)', '2026-06-09 16:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465874 -3.648594)'), GeomFromEWKT('SRID=4674;POINT (-38.465924 -3.648751)'))) / (select extract(epoch from '2026-06-09 16:54:16'::timestamp) - extract(epoch from '2026-06-09 16:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465874 -3.648594)'), GeomFromEWKT('SRID=4674;POINT (-38.465924 -3.648751)'))) / (select extract(epoch from '2026-06-09 16:54:16'::timestamp) - extract(epoch from '2026-06-09 16:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46597 -3.64888)', '2026-06-09 16:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465924 -3.648751)'), GeomFromEWKT('SRID=4674;POINT (-38.46597 -3.64888)'))) / (select extract(epoch from '2026-06-09 16:54:22'::timestamp) - extract(epoch from '2026-06-09 16:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465924 -3.648751)'), GeomFromEWKT('SRID=4674;POINT (-38.46597 -3.64888)'))) / (select extract(epoch from '2026-06-09 16:54:22'::timestamp) - extract(epoch from '2026-06-09 16:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466014 -3.648987)', '2026-06-09 16:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46597 -3.64888)'), GeomFromEWKT('SRID=4674;POINT (-38.466014 -3.648987)'))) / (select extract(epoch from '2026-06-09 16:54:27'::timestamp) - extract(epoch from '2026-06-09 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46597 -3.64888)'), GeomFromEWKT('SRID=4674;POINT (-38.466014 -3.648987)'))) / (select extract(epoch from '2026-06-09 16:54:27'::timestamp) - extract(epoch from '2026-06-09 16:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466056 -3.649123)', '2026-06-09 16:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466014 -3.648987)'), GeomFromEWKT('SRID=4674;POINT (-38.466056 -3.649123)'))) / (select extract(epoch from '2026-06-09 16:54:33'::timestamp) - extract(epoch from '2026-06-09 16:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466014 -3.648987)'), GeomFromEWKT('SRID=4674;POINT (-38.466056 -3.649123)'))) / (select extract(epoch from '2026-06-09 16:54:33'::timestamp) - extract(epoch from '2026-06-09 16:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466091 -3.649206)', '2026-06-09 16:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466056 -3.649123)'), GeomFromEWKT('SRID=4674;POINT (-38.466091 -3.649206)'))) / (select extract(epoch from '2026-06-09 16:54:37'::timestamp) - extract(epoch from '2026-06-09 16:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466056 -3.649123)'), GeomFromEWKT('SRID=4674;POINT (-38.466091 -3.649206)'))) / (select extract(epoch from '2026-06-09 16:54:37'::timestamp) - extract(epoch from '2026-06-09 16:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466142 -3.649296)', '2026-06-09 16:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466091 -3.649206)'), GeomFromEWKT('SRID=4674;POINT (-38.466142 -3.649296)'))) / (select extract(epoch from '2026-06-09 16:54:41'::timestamp) - extract(epoch from '2026-06-09 16:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466091 -3.649206)'), GeomFromEWKT('SRID=4674;POINT (-38.466142 -3.649296)'))) / (select extract(epoch from '2026-06-09 16:54:41'::timestamp) - extract(epoch from '2026-06-09 16:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466214 -3.649447)', '2026-06-09 16:54:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466142 -3.649296)'), GeomFromEWKT('SRID=4674;POINT (-38.466214 -3.649447)'))) / (select extract(epoch from '2026-06-09 16:54:48'::timestamp) - extract(epoch from '2026-06-09 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466142 -3.649296)'), GeomFromEWKT('SRID=4674;POINT (-38.466214 -3.649447)'))) / (select extract(epoch from '2026-06-09 16:54:48'::timestamp) - extract(epoch from '2026-06-09 16:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466265 -3.649576)', '2026-06-09 16:54:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466214 -3.649447)'), GeomFromEWKT('SRID=4674;POINT (-38.466265 -3.649576)'))) / (select extract(epoch from '2026-06-09 16:54:54'::timestamp) - extract(epoch from '2026-06-09 16:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466214 -3.649447)'), GeomFromEWKT('SRID=4674;POINT (-38.466265 -3.649576)'))) / (select extract(epoch from '2026-06-09 16:54:54'::timestamp) - extract(epoch from '2026-06-09 16:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466299 -3.649685)', '2026-06-09 16:54:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466265 -3.649576)'), GeomFromEWKT('SRID=4674;POINT (-38.466299 -3.649685)'))) / (select extract(epoch from '2026-06-09 16:54:59'::timestamp) - extract(epoch from '2026-06-09 16:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466265 -3.649576)'), GeomFromEWKT('SRID=4674;POINT (-38.466299 -3.649685)'))) / (select extract(epoch from '2026-06-09 16:54:59'::timestamp) - extract(epoch from '2026-06-09 16:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466339 -3.649816)', '2026-06-09 16:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466299 -3.649685)'), GeomFromEWKT('SRID=4674;POINT (-38.466339 -3.649816)'))) / (select extract(epoch from '2026-06-09 16:55:05'::timestamp) - extract(epoch from '2026-06-09 16:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466299 -3.649685)'), GeomFromEWKT('SRID=4674;POINT (-38.466339 -3.649816)'))) / (select extract(epoch from '2026-06-09 16:55:05'::timestamp) - extract(epoch from '2026-06-09 16:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466373 -3.649926)', '2026-06-09 16:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466339 -3.649816)'), GeomFromEWKT('SRID=4674;POINT (-38.466373 -3.649926)'))) / (select extract(epoch from '2026-06-09 16:55:10'::timestamp) - extract(epoch from '2026-06-09 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466339 -3.649816)'), GeomFromEWKT('SRID=4674;POINT (-38.466373 -3.649926)'))) / (select extract(epoch from '2026-06-09 16:55:10'::timestamp) - extract(epoch from '2026-06-09 16:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466418 -3.650086)', '2026-06-09 16:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466373 -3.649926)'), GeomFromEWKT('SRID=4674;POINT (-38.466418 -3.650086)'))) / (select extract(epoch from '2026-06-09 16:55:17'::timestamp) - extract(epoch from '2026-06-09 16:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466373 -3.649926)'), GeomFromEWKT('SRID=4674;POINT (-38.466418 -3.650086)'))) / (select extract(epoch from '2026-06-09 16:55:17'::timestamp) - extract(epoch from '2026-06-09 16:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466457 -3.650221)', '2026-06-09 16:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466418 -3.650086)'), GeomFromEWKT('SRID=4674;POINT (-38.466457 -3.650221)'))) / (select extract(epoch from '2026-06-09 16:55:23'::timestamp) - extract(epoch from '2026-06-09 16:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466418 -3.650086)'), GeomFromEWKT('SRID=4674;POINT (-38.466457 -3.650221)'))) / (select extract(epoch from '2026-06-09 16:55:23'::timestamp) - extract(epoch from '2026-06-09 16:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46649 -3.650337)', '2026-06-09 16:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466457 -3.650221)'), GeomFromEWKT('SRID=4674;POINT (-38.46649 -3.650337)'))) / (select extract(epoch from '2026-06-09 16:55:28'::timestamp) - extract(epoch from '2026-06-09 16:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466457 -3.650221)'), GeomFromEWKT('SRID=4674;POINT (-38.46649 -3.650337)'))) / (select extract(epoch from '2026-06-09 16:55:28'::timestamp) - extract(epoch from '2026-06-09 16:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466544 -3.650468)', '2026-06-09 16:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46649 -3.650337)'), GeomFromEWKT('SRID=4674;POINT (-38.466544 -3.650468)'))) / (select extract(epoch from '2026-06-09 16:55:34'::timestamp) - extract(epoch from '2026-06-09 16:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46649 -3.650337)'), GeomFromEWKT('SRID=4674;POINT (-38.466544 -3.650468)'))) / (select extract(epoch from '2026-06-09 16:55:34'::timestamp) - extract(epoch from '2026-06-09 16:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466594 -3.650599)', '2026-06-09 16:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466544 -3.650468)'), GeomFromEWKT('SRID=4674;POINT (-38.466594 -3.650599)'))) / (select extract(epoch from '2026-06-09 16:55:40'::timestamp) - extract(epoch from '2026-06-09 16:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466544 -3.650468)'), GeomFromEWKT('SRID=4674;POINT (-38.466594 -3.650599)'))) / (select extract(epoch from '2026-06-09 16:55:40'::timestamp) - extract(epoch from '2026-06-09 16:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466648 -3.650735)', '2026-06-09 16:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466594 -3.650599)'), GeomFromEWKT('SRID=4674;POINT (-38.466648 -3.650735)'))) / (select extract(epoch from '2026-06-09 16:55:47'::timestamp) - extract(epoch from '2026-06-09 16:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466594 -3.650599)'), GeomFromEWKT('SRID=4674;POINT (-38.466648 -3.650735)'))) / (select extract(epoch from '2026-06-09 16:55:47'::timestamp) - extract(epoch from '2026-06-09 16:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466686 -3.650839)', '2026-06-09 16:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466648 -3.650735)'), GeomFromEWKT('SRID=4674;POINT (-38.466686 -3.650839)'))) / (select extract(epoch from '2026-06-09 16:55:52'::timestamp) - extract(epoch from '2026-06-09 16:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466648 -3.650735)'), GeomFromEWKT('SRID=4674;POINT (-38.466686 -3.650839)'))) / (select extract(epoch from '2026-06-09 16:55:52'::timestamp) - extract(epoch from '2026-06-09 16:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466729 -3.650966)', '2026-06-09 16:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466686 -3.650839)'), GeomFromEWKT('SRID=4674;POINT (-38.466729 -3.650966)'))) / (select extract(epoch from '2026-06-09 16:55:58'::timestamp) - extract(epoch from '2026-06-09 16:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466686 -3.650839)'), GeomFromEWKT('SRID=4674;POINT (-38.466729 -3.650966)'))) / (select extract(epoch from '2026-06-09 16:55:58'::timestamp) - extract(epoch from '2026-06-09 16:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466772 -3.651069)', '2026-06-09 16:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466729 -3.650966)'), GeomFromEWKT('SRID=4674;POINT (-38.466772 -3.651069)'))) / (select extract(epoch from '2026-06-09 16:56:03'::timestamp) - extract(epoch from '2026-06-09 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466729 -3.650966)'), GeomFromEWKT('SRID=4674;POINT (-38.466772 -3.651069)'))) / (select extract(epoch from '2026-06-09 16:56:03'::timestamp) - extract(epoch from '2026-06-09 16:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466811 -3.651166)', '2026-06-09 16:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466772 -3.651069)'), GeomFromEWKT('SRID=4674;POINT (-38.466811 -3.651166)'))) / (select extract(epoch from '2026-06-09 16:56:08'::timestamp) - extract(epoch from '2026-06-09 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466772 -3.651069)'), GeomFromEWKT('SRID=4674;POINT (-38.466811 -3.651166)'))) / (select extract(epoch from '2026-06-09 16:56:08'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.466849 -3.651335)', '2026-06-09 16:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466811 -3.651166)'), GeomFromEWKT('SRID=4674;POINT (-38.466849 -3.651335)'))) / (select extract(epoch from '2026-06-09 16:56:16'::timestamp) - extract(epoch from '2026-06-09 16:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466811 -3.651166)'), GeomFromEWKT('SRID=4674;POINT (-38.466849 -3.651335)'))) / (select extract(epoch from '2026-06-09 16:56:16'::timestamp) - extract(epoch from '2026-06-09 16:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46688 -3.651444)', '2026-06-09 16:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466849 -3.651335)'), GeomFromEWKT('SRID=4674;POINT (-38.46688 -3.651444)'))) / (select extract(epoch from '2026-06-09 16:56:21'::timestamp) - extract(epoch from '2026-06-09 16:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466849 -3.651335)'), GeomFromEWKT('SRID=4674;POINT (-38.46688 -3.651444)'))) / (select extract(epoch from '2026-06-09 16:56:21'::timestamp) - extract(epoch from '2026-06-09 16:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466911 -3.651545)', '2026-06-09 16:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46688 -3.651444)'), GeomFromEWKT('SRID=4674;POINT (-38.466911 -3.651545)'))) / (select extract(epoch from '2026-06-09 16:56:26'::timestamp) - extract(epoch from '2026-06-09 16:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46688 -3.651444)'), GeomFromEWKT('SRID=4674;POINT (-38.466911 -3.651545)'))) / (select extract(epoch from '2026-06-09 16:56:26'::timestamp) - extract(epoch from '2026-06-09 16:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.466968 -3.651696)', '2026-06-09 16:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466911 -3.651545)'), GeomFromEWKT('SRID=4674;POINT (-38.466968 -3.651696)'))) / (select extract(epoch from '2026-06-09 16:56:33'::timestamp) - extract(epoch from '2026-06-09 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466911 -3.651545)'), GeomFromEWKT('SRID=4674;POINT (-38.466968 -3.651696)'))) / (select extract(epoch from '2026-06-09 16:56:33'::timestamp) - extract(epoch from '2026-06-09 16:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467007 -3.65181)', '2026-06-09 16:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466968 -3.651696)'), GeomFromEWKT('SRID=4674;POINT (-38.467007 -3.65181)'))) / (select extract(epoch from '2026-06-09 16:56:38'::timestamp) - extract(epoch from '2026-06-09 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466968 -3.651696)'), GeomFromEWKT('SRID=4674;POINT (-38.467007 -3.65181)'))) / (select extract(epoch from '2026-06-09 16:56:38'::timestamp) - extract(epoch from '2026-06-09 16:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467061 -3.651921)', '2026-06-09 16:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467007 -3.65181)'), GeomFromEWKT('SRID=4674;POINT (-38.467061 -3.651921)'))) / (select extract(epoch from '2026-06-09 16:56:43'::timestamp) - extract(epoch from '2026-06-09 16:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467007 -3.65181)'), GeomFromEWKT('SRID=4674;POINT (-38.467061 -3.651921)'))) / (select extract(epoch from '2026-06-09 16:56:43'::timestamp) - extract(epoch from '2026-06-09 16:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46709 -3.652004)', '2026-06-09 16:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467061 -3.651921)'), GeomFromEWKT('SRID=4674;POINT (-38.46709 -3.652004)'))) / (select extract(epoch from '2026-06-09 16:56:47'::timestamp) - extract(epoch from '2026-06-09 16:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467061 -3.651921)'), GeomFromEWKT('SRID=4674;POINT (-38.46709 -3.652004)'))) / (select extract(epoch from '2026-06-09 16:56:47'::timestamp) - extract(epoch from '2026-06-09 16:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467114 -3.652129)', '2026-06-09 16:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46709 -3.652004)'), GeomFromEWKT('SRID=4674;POINT (-38.467114 -3.652129)'))) / (select extract(epoch from '2026-06-09 16:56:53'::timestamp) - extract(epoch from '2026-06-09 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46709 -3.652004)'), GeomFromEWKT('SRID=4674;POINT (-38.467114 -3.652129)'))) / (select extract(epoch from '2026-06-09 16:56:53'::timestamp) - extract(epoch from '2026-06-09 16:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467157 -3.652265)', '2026-06-09 16:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467114 -3.652129)'), GeomFromEWKT('SRID=4674;POINT (-38.467157 -3.652265)'))) / (select extract(epoch from '2026-06-09 16:57:00'::timestamp) - extract(epoch from '2026-06-09 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467114 -3.652129)'), GeomFromEWKT('SRID=4674;POINT (-38.467157 -3.652265)'))) / (select extract(epoch from '2026-06-09 16:57:00'::timestamp) - extract(epoch from '2026-06-09 16:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467213 -3.652413)', '2026-06-09 16:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467157 -3.652265)'), GeomFromEWKT('SRID=4674;POINT (-38.467213 -3.652413)'))) / (select extract(epoch from '2026-06-09 16:57:07'::timestamp) - extract(epoch from '2026-06-09 16:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467157 -3.652265)'), GeomFromEWKT('SRID=4674;POINT (-38.467213 -3.652413)'))) / (select extract(epoch from '2026-06-09 16:57:07'::timestamp) - extract(epoch from '2026-06-09 16:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467258 -3.652518)', '2026-06-09 16:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467213 -3.652413)'), GeomFromEWKT('SRID=4674;POINT (-38.467258 -3.652518)'))) / (select extract(epoch from '2026-06-09 16:57:12'::timestamp) - extract(epoch from '2026-06-09 16:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467213 -3.652413)'), GeomFromEWKT('SRID=4674;POINT (-38.467258 -3.652518)'))) / (select extract(epoch from '2026-06-09 16:57:12'::timestamp) - extract(epoch from '2026-06-09 16:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467304 -3.652624)', '2026-06-09 16:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467258 -3.652518)'), GeomFromEWKT('SRID=4674;POINT (-38.467304 -3.652624)'))) / (select extract(epoch from '2026-06-09 16:57:17'::timestamp) - extract(epoch from '2026-06-09 16:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467258 -3.652518)'), GeomFromEWKT('SRID=4674;POINT (-38.467304 -3.652624)'))) / (select extract(epoch from '2026-06-09 16:57:17'::timestamp) - extract(epoch from '2026-06-09 16:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467364 -3.652766)', '2026-06-09 16:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467304 -3.652624)'), GeomFromEWKT('SRID=4674;POINT (-38.467364 -3.652766)'))) / (select extract(epoch from '2026-06-09 16:57:24'::timestamp) - extract(epoch from '2026-06-09 16:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467304 -3.652624)'), GeomFromEWKT('SRID=4674;POINT (-38.467364 -3.652766)'))) / (select extract(epoch from '2026-06-09 16:57:24'::timestamp) - extract(epoch from '2026-06-09 16:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467407 -3.652856)', '2026-06-09 16:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467364 -3.652766)'), GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.652856)'))) / (select extract(epoch from '2026-06-09 16:57:29'::timestamp) - extract(epoch from '2026-06-09 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467364 -3.652766)'), GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.652856)'))) / (select extract(epoch from '2026-06-09 16:57:29'::timestamp) - extract(epoch from '2026-06-09 16:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467456 -3.652983)', '2026-06-09 16:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.652856)'), GeomFromEWKT('SRID=4674;POINT (-38.467456 -3.652983)'))) / (select extract(epoch from '2026-06-09 16:57:35'::timestamp) - extract(epoch from '2026-06-09 16:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.652856)'), GeomFromEWKT('SRID=4674;POINT (-38.467456 -3.652983)'))) / (select extract(epoch from '2026-06-09 16:57:35'::timestamp) - extract(epoch from '2026-06-09 16:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467504 -3.653127)', '2026-06-09 16:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467456 -3.652983)'), GeomFromEWKT('SRID=4674;POINT (-38.467504 -3.653127)'))) / (select extract(epoch from '2026-06-09 16:57:42'::timestamp) - extract(epoch from '2026-06-09 16:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467456 -3.652983)'), GeomFromEWKT('SRID=4674;POINT (-38.467504 -3.653127)'))) / (select extract(epoch from '2026-06-09 16:57:42'::timestamp) - extract(epoch from '2026-06-09 16:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467553 -3.653262)', '2026-06-09 16:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467504 -3.653127)'), GeomFromEWKT('SRID=4674;POINT (-38.467553 -3.653262)'))) / (select extract(epoch from '2026-06-09 16:57:48'::timestamp) - extract(epoch from '2026-06-09 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467504 -3.653127)'), GeomFromEWKT('SRID=4674;POINT (-38.467553 -3.653262)'))) / (select extract(epoch from '2026-06-09 16:57:48'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.467627 -3.653412)', '2026-06-09 16:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467553 -3.653262)'), GeomFromEWKT('SRID=4674;POINT (-38.467627 -3.653412)'))) / (select extract(epoch from '2026-06-09 16:57:55'::timestamp) - extract(epoch from '2026-06-09 16:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467553 -3.653262)'), GeomFromEWKT('SRID=4674;POINT (-38.467627 -3.653412)'))) / (select extract(epoch from '2026-06-09 16:57:55'::timestamp) - extract(epoch from '2026-06-09 16:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46768 -3.653526)', '2026-06-09 16:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467627 -3.653412)'), GeomFromEWKT('SRID=4674;POINT (-38.46768 -3.653526)'))) / (select extract(epoch from '2026-06-09 16:58:00'::timestamp) - extract(epoch from '2026-06-09 16:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467627 -3.653412)'), GeomFromEWKT('SRID=4674;POINT (-38.46768 -3.653526)'))) / (select extract(epoch from '2026-06-09 16:58:00'::timestamp) - extract(epoch from '2026-06-09 16:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467744 -3.653676)', '2026-06-09 16:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46768 -3.653526)'), GeomFromEWKT('SRID=4674;POINT (-38.467744 -3.653676)'))) / (select extract(epoch from '2026-06-09 16:58:07'::timestamp) - extract(epoch from '2026-06-09 16:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46768 -3.653526)'), GeomFromEWKT('SRID=4674;POINT (-38.467744 -3.653676)'))) / (select extract(epoch from '2026-06-09 16:58:07'::timestamp) - extract(epoch from '2026-06-09 16:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467793 -3.653759)', '2026-06-09 16:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467744 -3.653676)'), GeomFromEWKT('SRID=4674;POINT (-38.467793 -3.653759)'))) / (select extract(epoch from '2026-06-09 16:58:11'::timestamp) - extract(epoch from '2026-06-09 16:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467744 -3.653676)'), GeomFromEWKT('SRID=4674;POINT (-38.467793 -3.653759)'))) / (select extract(epoch from '2026-06-09 16:58:11'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.467848 -3.653868)', '2026-06-09 16:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467793 -3.653759)'), GeomFromEWKT('SRID=4674;POINT (-38.467848 -3.653868)'))) / (select extract(epoch from '2026-06-09 16:58:16'::timestamp) - extract(epoch from '2026-06-09 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467793 -3.653759)'), GeomFromEWKT('SRID=4674;POINT (-38.467848 -3.653868)'))) / (select extract(epoch from '2026-06-09 16:58:16'::timestamp) - extract(epoch from '2026-06-09 16:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467907 -3.654006)', '2026-06-09 16:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467848 -3.653868)'), GeomFromEWKT('SRID=4674;POINT (-38.467907 -3.654006)'))) / (select extract(epoch from '2026-06-09 16:58:22'::timestamp) - extract(epoch from '2026-06-09 16:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467848 -3.653868)'), GeomFromEWKT('SRID=4674;POINT (-38.467907 -3.654006)'))) / (select extract(epoch from '2026-06-09 16:58:22'::timestamp) - extract(epoch from '2026-06-09 16:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467944 -3.654113)', '2026-06-09 16:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467907 -3.654006)'), GeomFromEWKT('SRID=4674;POINT (-38.467944 -3.654113)'))) / (select extract(epoch from '2026-06-09 16:58:27'::timestamp) - extract(epoch from '2026-06-09 16:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467907 -3.654006)'), GeomFromEWKT('SRID=4674;POINT (-38.467944 -3.654113)'))) / (select extract(epoch from '2026-06-09 16:58:27'::timestamp) - extract(epoch from '2026-06-09 16:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.467992 -3.654274)', '2026-06-09 16:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467944 -3.654113)'), GeomFromEWKT('SRID=4674;POINT (-38.467992 -3.654274)'))) / (select extract(epoch from '2026-06-09 16:58:34'::timestamp) - extract(epoch from '2026-06-09 16:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467944 -3.654113)'), GeomFromEWKT('SRID=4674;POINT (-38.467992 -3.654274)'))) / (select extract(epoch from '2026-06-09 16:58:34'::timestamp) - extract(epoch from '2026-06-09 16:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468025 -3.654391)', '2026-06-09 16:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467992 -3.654274)'), GeomFromEWKT('SRID=4674;POINT (-38.468025 -3.654391)'))) / (select extract(epoch from '2026-06-09 16:58:39'::timestamp) - extract(epoch from '2026-06-09 16:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467992 -3.654274)'), GeomFromEWKT('SRID=4674;POINT (-38.468025 -3.654391)'))) / (select extract(epoch from '2026-06-09 16:58:39'::timestamp) - extract(epoch from '2026-06-09 16:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468054 -3.654508)', '2026-06-09 16:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468025 -3.654391)'), GeomFromEWKT('SRID=4674;POINT (-38.468054 -3.654508)'))) / (select extract(epoch from '2026-06-09 16:58:44'::timestamp) - extract(epoch from '2026-06-09 16:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468025 -3.654391)'), GeomFromEWKT('SRID=4674;POINT (-38.468054 -3.654508)'))) / (select extract(epoch from '2026-06-09 16:58:44'::timestamp) - extract(epoch from '2026-06-09 16:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468104 -3.654666)', '2026-06-09 16:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468054 -3.654508)'), GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.654666)'))) / (select extract(epoch from '2026-06-09 16:58:51'::timestamp) - extract(epoch from '2026-06-09 16:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468054 -3.654508)'), GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.654666)'))) / (select extract(epoch from '2026-06-09 16:58:51'::timestamp) - extract(epoch from '2026-06-09 16:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468137 -3.654789)', '2026-06-09 16:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.654666)'), GeomFromEWKT('SRID=4674;POINT (-38.468137 -3.654789)'))) / (select extract(epoch from '2026-06-09 16:58:57'::timestamp) - extract(epoch from '2026-06-09 16:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.654666)'), GeomFromEWKT('SRID=4674;POINT (-38.468137 -3.654789)'))) / (select extract(epoch from '2026-06-09 16:58:57'::timestamp) - extract(epoch from '2026-06-09 16:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46817 -3.654875)', '2026-06-09 16:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468137 -3.654789)'), GeomFromEWKT('SRID=4674;POINT (-38.46817 -3.654875)'))) / (select extract(epoch from '2026-06-09 16:59:01'::timestamp) - extract(epoch from '2026-06-09 16:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468137 -3.654789)'), GeomFromEWKT('SRID=4674;POINT (-38.46817 -3.654875)'))) / (select extract(epoch from '2026-06-09 16:59:01'::timestamp) - extract(epoch from '2026-06-09 16:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468171 -3.654903)', '2026-06-09 16:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46817 -3.654875)'), GeomFromEWKT('SRID=4674;POINT (-38.468171 -3.654903)'))) / (select extract(epoch from '2026-06-09 16:59:03'::timestamp) - extract(epoch from '2026-06-09 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46817 -3.654875)'), GeomFromEWKT('SRID=4674;POINT (-38.468171 -3.654903)'))) / (select extract(epoch from '2026-06-09 16:59:03'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.468192 -3.654939)', '2026-06-09 16:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468171 -3.654903)'), GeomFromEWKT('SRID=4674;POINT (-38.468192 -3.654939)'))) / (select extract(epoch from '2026-06-09 16:59:05'::timestamp) - extract(epoch from '2026-06-09 16:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468171 -3.654903)'), GeomFromEWKT('SRID=4674;POINT (-38.468192 -3.654939)'))) / (select extract(epoch from '2026-06-09 16:59:05'::timestamp) - extract(epoch from '2026-06-09 16:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468242 -3.655072)', '2026-06-09 16:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468192 -3.654939)'), GeomFromEWKT('SRID=4674;POINT (-38.468242 -3.655072)'))) / (select extract(epoch from '2026-06-09 16:59:11'::timestamp) - extract(epoch from '2026-06-09 16:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468192 -3.654939)'), GeomFromEWKT('SRID=4674;POINT (-38.468242 -3.655072)'))) / (select extract(epoch from '2026-06-09 16:59:11'::timestamp) - extract(epoch from '2026-06-09 16:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468303 -3.655194)', '2026-06-09 16:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468242 -3.655072)'), GeomFromEWKT('SRID=4674;POINT (-38.468303 -3.655194)'))) / (select extract(epoch from '2026-06-09 16:59:17'::timestamp) - extract(epoch from '2026-06-09 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468242 -3.655072)'), GeomFromEWKT('SRID=4674;POINT (-38.468303 -3.655194)'))) / (select extract(epoch from '2026-06-09 16:59:17'::timestamp) - extract(epoch from '2026-06-09 16:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468349 -3.655334)', '2026-06-09 16:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468303 -3.655194)'), GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.655334)'))) / (select extract(epoch from '2026-06-09 16:59:23'::timestamp) - extract(epoch from '2026-06-09 16:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468303 -3.655194)'), GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.655334)'))) / (select extract(epoch from '2026-06-09 16:59:23'::timestamp) - extract(epoch from '2026-06-09 16:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46839 -3.655468)', '2026-06-09 16:59:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.655334)'), GeomFromEWKT('SRID=4674;POINT (-38.46839 -3.655468)'))) / (select extract(epoch from '2026-06-09 16:59:29'::timestamp) - extract(epoch from '2026-06-09 16:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.655334)'), GeomFromEWKT('SRID=4674;POINT (-38.46839 -3.655468)'))) / (select extract(epoch from '2026-06-09 16:59:29'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.468432 -3.65558)', '2026-06-09 16:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46839 -3.655468)'), GeomFromEWKT('SRID=4674;POINT (-38.468432 -3.65558)'))) / (select extract(epoch from '2026-06-09 16:59:34'::timestamp) - extract(epoch from '2026-06-09 16:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46839 -3.655468)'), GeomFromEWKT('SRID=4674;POINT (-38.468432 -3.65558)'))) / (select extract(epoch from '2026-06-09 16:59:34'::timestamp) - extract(epoch from '2026-06-09 16:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468484 -3.655711)', '2026-06-09 16:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468432 -3.65558)'), GeomFromEWKT('SRID=4674;POINT (-38.468484 -3.655711)'))) / (select extract(epoch from '2026-06-09 16:59:40'::timestamp) - extract(epoch from '2026-06-09 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468432 -3.65558)'), GeomFromEWKT('SRID=4674;POINT (-38.468484 -3.655711)'))) / (select extract(epoch from '2026-06-09 16:59:40'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.46855 -3.655836)', '2026-06-09 16:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468484 -3.655711)'), GeomFromEWKT('SRID=4674;POINT (-38.46855 -3.655836)'))) / (select extract(epoch from '2026-06-09 16:59:46'::timestamp) - extract(epoch from '2026-06-09 16:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468484 -3.655711)'), GeomFromEWKT('SRID=4674;POINT (-38.46855 -3.655836)'))) / (select extract(epoch from '2026-06-09 16:59:46'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.468627 -3.655975)', '2026-06-09 16:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46855 -3.655836)'), GeomFromEWKT('SRID=4674;POINT (-38.468627 -3.655975)'))) / (select extract(epoch from '2026-06-09 16:59:53'::timestamp) - extract(epoch from '2026-06-09 16:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46855 -3.655836)'), GeomFromEWKT('SRID=4674;POINT (-38.468627 -3.655975)'))) / (select extract(epoch from '2026-06-09 16:59:53'::timestamp) - extract(epoch from '2026-06-09 16:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468696 -3.656107)', '2026-06-09 17:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468627 -3.655975)'), GeomFromEWKT('SRID=4674;POINT (-38.468696 -3.656107)'))) / (select extract(epoch from '2026-06-09 17:00:00'::timestamp) - extract(epoch from '2026-06-09 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468627 -3.655975)'), GeomFromEWKT('SRID=4674;POINT (-38.468696 -3.656107)'))) / (select extract(epoch from '2026-06-09 17:00:00'::timestamp) - extract(epoch from '2026-06-09 16:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468738 -3.656207)', '2026-06-09 17:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468696 -3.656107)'), GeomFromEWKT('SRID=4674;POINT (-38.468738 -3.656207)'))) / (select extract(epoch from '2026-06-09 17:00:05'::timestamp) - extract(epoch from '2026-06-09 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468696 -3.656107)'), GeomFromEWKT('SRID=4674;POINT (-38.468738 -3.656207)'))) / (select extract(epoch from '2026-06-09 17:00:05'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.468802 -3.656341)', '2026-06-09 17:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468738 -3.656207)'), GeomFromEWKT('SRID=4674;POINT (-38.468802 -3.656341)'))) / (select extract(epoch from '2026-06-09 17:00:12'::timestamp) - extract(epoch from '2026-06-09 17:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468738 -3.656207)'), GeomFromEWKT('SRID=4674;POINT (-38.468802 -3.656341)'))) / (select extract(epoch from '2026-06-09 17:00:12'::timestamp) - extract(epoch from '2026-06-09 17:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468846 -3.656428)', '2026-06-09 17:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468802 -3.656341)'), GeomFromEWKT('SRID=4674;POINT (-38.468846 -3.656428)'))) / (select extract(epoch from '2026-06-09 17:00:17'::timestamp) - extract(epoch from '2026-06-09 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468802 -3.656341)'), GeomFromEWKT('SRID=4674;POINT (-38.468846 -3.656428)'))) / (select extract(epoch from '2026-06-09 17:00:17'::timestamp) - extract(epoch from '2026-06-09 17:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468901 -3.656546)', '2026-06-09 17:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468846 -3.656428)'), GeomFromEWKT('SRID=4674;POINT (-38.468901 -3.656546)'))) / (select extract(epoch from '2026-06-09 17:00:23'::timestamp) - extract(epoch from '2026-06-09 17:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468846 -3.656428)'), GeomFromEWKT('SRID=4674;POINT (-38.468901 -3.656546)'))) / (select extract(epoch from '2026-06-09 17:00:23'::timestamp) - extract(epoch from '2026-06-09 17:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.468958 -3.656702)', '2026-06-09 17:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468901 -3.656546)'), GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.656702)'))) / (select extract(epoch from '2026-06-09 17:00:30'::timestamp) - extract(epoch from '2026-06-09 17:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468901 -3.656546)'), GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.656702)'))) / (select extract(epoch from '2026-06-09 17:00:30'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.469016 -3.656856)', '2026-06-09 17:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.656702)'), GeomFromEWKT('SRID=4674;POINT (-38.469016 -3.656856)'))) / (select extract(epoch from '2026-06-09 17:00:37'::timestamp) - extract(epoch from '2026-06-09 17:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.656702)'), GeomFromEWKT('SRID=4674;POINT (-38.469016 -3.656856)'))) / (select extract(epoch from '2026-06-09 17:00:37'::timestamp) - extract(epoch from '2026-06-09 17:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469084 -3.657)', '2026-06-09 17:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469016 -3.656856)'), GeomFromEWKT('SRID=4674;POINT (-38.469084 -3.657)'))) / (select extract(epoch from '2026-06-09 17:00:44'::timestamp) - extract(epoch from '2026-06-09 17:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469016 -3.656856)'), GeomFromEWKT('SRID=4674;POINT (-38.469084 -3.657)'))) / (select extract(epoch from '2026-06-09 17:00:44'::timestamp) - extract(epoch from '2026-06-09 17:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469137 -3.657103)', '2026-06-09 17:00:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469084 -3.657)'), GeomFromEWKT('SRID=4674;POINT (-38.469137 -3.657103)'))) / (select extract(epoch from '2026-06-09 17:00:49'::timestamp) - extract(epoch from '2026-06-09 17:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469084 -3.657)'), GeomFromEWKT('SRID=4674;POINT (-38.469137 -3.657103)'))) / (select extract(epoch from '2026-06-09 17:00:49'::timestamp) - extract(epoch from '2026-06-09 17:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469195 -3.657238)', '2026-06-09 17:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469137 -3.657103)'), GeomFromEWKT('SRID=4674;POINT (-38.469195 -3.657238)'))) / (select extract(epoch from '2026-06-09 17:00:55'::timestamp) - extract(epoch from '2026-06-09 17:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469137 -3.657103)'), GeomFromEWKT('SRID=4674;POINT (-38.469195 -3.657238)'))) / (select extract(epoch from '2026-06-09 17:00:55'::timestamp) - extract(epoch from '2026-06-09 17:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469283 -3.657433)', '2026-06-09 17:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469195 -3.657238)'), GeomFromEWKT('SRID=4674;POINT (-38.469283 -3.657433)'))) / (select extract(epoch from '2026-06-09 17:01:04'::timestamp) - extract(epoch from '2026-06-09 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469195 -3.657238)'), GeomFromEWKT('SRID=4674;POINT (-38.469283 -3.657433)'))) / (select extract(epoch from '2026-06-09 17:01:04'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.469358 -3.657576)', '2026-06-09 17:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469283 -3.657433)'), GeomFromEWKT('SRID=4674;POINT (-38.469358 -3.657576)'))) / (select extract(epoch from '2026-06-09 17:01:10'::timestamp) - extract(epoch from '2026-06-09 17:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469283 -3.657433)'), GeomFromEWKT('SRID=4674;POINT (-38.469358 -3.657576)'))) / (select extract(epoch from '2026-06-09 17:01:10'::timestamp) - extract(epoch from '2026-06-09 17:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469411 -3.657682)', '2026-06-09 17:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469358 -3.657576)'), GeomFromEWKT('SRID=4674;POINT (-38.469411 -3.657682)'))) / (select extract(epoch from '2026-06-09 17:01:15'::timestamp) - extract(epoch from '2026-06-09 17:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469358 -3.657576)'), GeomFromEWKT('SRID=4674;POINT (-38.469411 -3.657682)'))) / (select extract(epoch from '2026-06-09 17:01:15'::timestamp) - extract(epoch from '2026-06-09 17:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469461 -3.657794)', '2026-06-09 17:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469411 -3.657682)'), GeomFromEWKT('SRID=4674;POINT (-38.469461 -3.657794)'))) / (select extract(epoch from '2026-06-09 17:01:20'::timestamp) - extract(epoch from '2026-06-09 17:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469411 -3.657682)'), GeomFromEWKT('SRID=4674;POINT (-38.469461 -3.657794)'))) / (select extract(epoch from '2026-06-09 17:01:20'::timestamp) - extract(epoch from '2026-06-09 17:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469509 -3.657929)', '2026-06-09 17:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469461 -3.657794)'), GeomFromEWKT('SRID=4674;POINT (-38.469509 -3.657929)'))) / (select extract(epoch from '2026-06-09 17:01:26'::timestamp) - extract(epoch from '2026-06-09 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469461 -3.657794)'), GeomFromEWKT('SRID=4674;POINT (-38.469509 -3.657929)'))) / (select extract(epoch from '2026-06-09 17:01:26'::timestamp) - extract(epoch from '2026-06-09 17:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469519 -3.657951)', '2026-06-09 17:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469509 -3.657929)'), GeomFromEWKT('SRID=4674;POINT (-38.469519 -3.657951)'))) / (select extract(epoch from '2026-06-09 17:01:27'::timestamp) - extract(epoch from '2026-06-09 17:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469509 -3.657929)'), GeomFromEWKT('SRID=4674;POINT (-38.469519 -3.657951)'))) / (select extract(epoch from '2026-06-09 17:01:27'::timestamp) - extract(epoch from '2026-06-09 17:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46953 -3.65801)', '2026-06-09 17:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469519 -3.657951)'), GeomFromEWKT('SRID=4674;POINT (-38.46953 -3.65801)'))) / (select extract(epoch from '2026-06-09 17:01:30'::timestamp) - extract(epoch from '2026-06-09 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469519 -3.657951)'), GeomFromEWKT('SRID=4674;POINT (-38.46953 -3.65801)'))) / (select extract(epoch from '2026-06-09 17:01:30'::timestamp) - extract(epoch from '2026-06-09 17:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469589 -3.65818)', '2026-06-09 17:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46953 -3.65801)'), GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.65818)'))) / (select extract(epoch from '2026-06-09 17:01:38'::timestamp) - extract(epoch from '2026-06-09 17:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46953 -3.65801)'), GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.65818)'))) / (select extract(epoch from '2026-06-09 17:01:38'::timestamp) - extract(epoch from '2026-06-09 17:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469641 -3.658298)', '2026-06-09 17:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.65818)'), GeomFromEWKT('SRID=4674;POINT (-38.469641 -3.658298)'))) / (select extract(epoch from '2026-06-09 17:01:44'::timestamp) - extract(epoch from '2026-06-09 17:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.65818)'), GeomFromEWKT('SRID=4674;POINT (-38.469641 -3.658298)'))) / (select extract(epoch from '2026-06-09 17:01:44'::timestamp) - extract(epoch from '2026-06-09 17:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469682 -3.658398)', '2026-06-09 17:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469641 -3.658298)'), GeomFromEWKT('SRID=4674;POINT (-38.469682 -3.658398)'))) / (select extract(epoch from '2026-06-09 17:01:49'::timestamp) - extract(epoch from '2026-06-09 17:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469641 -3.658298)'), GeomFromEWKT('SRID=4674;POINT (-38.469682 -3.658398)'))) / (select extract(epoch from '2026-06-09 17:01:49'::timestamp) - extract(epoch from '2026-06-09 17:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469713 -3.658474)', '2026-06-09 17:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469682 -3.658398)'), GeomFromEWKT('SRID=4674;POINT (-38.469713 -3.658474)'))) / (select extract(epoch from '2026-06-09 17:01:53'::timestamp) - extract(epoch from '2026-06-09 17:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469682 -3.658398)'), GeomFromEWKT('SRID=4674;POINT (-38.469713 -3.658474)'))) / (select extract(epoch from '2026-06-09 17:01:53'::timestamp) - extract(epoch from '2026-06-09 17:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469722 -3.658491)', '2026-06-09 17:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469713 -3.658474)'), GeomFromEWKT('SRID=4674;POINT (-38.469722 -3.658491)'))) / (select extract(epoch from '2026-06-09 17:01:54'::timestamp) - extract(epoch from '2026-06-09 17:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469713 -3.658474)'), GeomFromEWKT('SRID=4674;POINT (-38.469722 -3.658491)'))) / (select extract(epoch from '2026-06-09 17:01:54'::timestamp) - extract(epoch from '2026-06-09 17:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469763 -3.658596)', '2026-06-09 17:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469722 -3.658491)'), GeomFromEWKT('SRID=4674;POINT (-38.469763 -3.658596)'))) / (select extract(epoch from '2026-06-09 17:01:59'::timestamp) - extract(epoch from '2026-06-09 17:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469722 -3.658491)'), GeomFromEWKT('SRID=4674;POINT (-38.469763 -3.658596)'))) / (select extract(epoch from '2026-06-09 17:01:59'::timestamp) - extract(epoch from '2026-06-09 17:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469811 -3.658749)', '2026-06-09 17:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469763 -3.658596)'), GeomFromEWKT('SRID=4674;POINT (-38.469811 -3.658749)'))) / (select extract(epoch from '2026-06-09 17:02:06'::timestamp) - extract(epoch from '2026-06-09 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469763 -3.658596)'), GeomFromEWKT('SRID=4674;POINT (-38.469811 -3.658749)'))) / (select extract(epoch from '2026-06-09 17:02:06'::timestamp) - extract(epoch from '2026-06-09 17:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469859 -3.658879)', '2026-06-09 17:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469811 -3.658749)'), GeomFromEWKT('SRID=4674;POINT (-38.469859 -3.658879)'))) / (select extract(epoch from '2026-06-09 17:02:12'::timestamp) - extract(epoch from '2026-06-09 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469811 -3.658749)'), GeomFromEWKT('SRID=4674;POINT (-38.469859 -3.658879)'))) / (select extract(epoch from '2026-06-09 17:02:12'::timestamp) - extract(epoch from '2026-06-09 17:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469897 -3.658992)', '2026-06-09 17:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469859 -3.658879)'), GeomFromEWKT('SRID=4674;POINT (-38.469897 -3.658992)'))) / (select extract(epoch from '2026-06-09 17:02:17'::timestamp) - extract(epoch from '2026-06-09 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469859 -3.658879)'), GeomFromEWKT('SRID=4674;POINT (-38.469897 -3.658992)'))) / (select extract(epoch from '2026-06-09 17:02:17'::timestamp) - extract(epoch from '2026-06-09 17:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.46995 -3.659143)', '2026-06-09 17:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469897 -3.658992)'), GeomFromEWKT('SRID=4674;POINT (-38.46995 -3.659143)'))) / (select extract(epoch from '2026-06-09 17:02:24'::timestamp) - extract(epoch from '2026-06-09 17:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469897 -3.658992)'), GeomFromEWKT('SRID=4674;POINT (-38.46995 -3.659143)'))) / (select extract(epoch from '2026-06-09 17:02:24'::timestamp) - extract(epoch from '2026-06-09 17:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.469996 -3.659255)', '2026-06-09 17:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46995 -3.659143)'), GeomFromEWKT('SRID=4674;POINT (-38.469996 -3.659255)'))) / (select extract(epoch from '2026-06-09 17:02:29'::timestamp) - extract(epoch from '2026-06-09 17:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46995 -3.659143)'), GeomFromEWKT('SRID=4674;POINT (-38.469996 -3.659255)'))) / (select extract(epoch from '2026-06-09 17:02:29'::timestamp) - extract(epoch from '2026-06-09 17:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470043 -3.659369)', '2026-06-09 17:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469996 -3.659255)'), GeomFromEWKT('SRID=4674;POINT (-38.470043 -3.659369)'))) / (select extract(epoch from '2026-06-09 17:02:34'::timestamp) - extract(epoch from '2026-06-09 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469996 -3.659255)'), GeomFromEWKT('SRID=4674;POINT (-38.470043 -3.659369)'))) / (select extract(epoch from '2026-06-09 17:02:34'::timestamp) - extract(epoch from '2026-06-09 17:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470071 -3.659446)', '2026-06-09 17:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470043 -3.659369)'), GeomFromEWKT('SRID=4674;POINT (-38.470071 -3.659446)'))) / (select extract(epoch from '2026-06-09 17:02:38'::timestamp) - extract(epoch from '2026-06-09 17:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470043 -3.659369)'), GeomFromEWKT('SRID=4674;POINT (-38.470071 -3.659446)'))) / (select extract(epoch from '2026-06-09 17:02:38'::timestamp) - extract(epoch from '2026-06-09 17:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470086 -3.659471)', '2026-06-09 17:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470071 -3.659446)'), GeomFromEWKT('SRID=4674;POINT (-38.470086 -3.659471)'))) / (select extract(epoch from '2026-06-09 17:02:39'::timestamp) - extract(epoch from '2026-06-09 17:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470071 -3.659446)'), GeomFromEWKT('SRID=4674;POINT (-38.470086 -3.659471)'))) / (select extract(epoch from '2026-06-09 17:02:39'::timestamp) - extract(epoch from '2026-06-09 17:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47013 -3.659595)', '2026-06-09 17:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470086 -3.659471)'), GeomFromEWKT('SRID=4674;POINT (-38.47013 -3.659595)'))) / (select extract(epoch from '2026-06-09 17:02:44'::timestamp) - extract(epoch from '2026-06-09 17:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470086 -3.659471)'), GeomFromEWKT('SRID=4674;POINT (-38.47013 -3.659595)'))) / (select extract(epoch from '2026-06-09 17:02:44'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470175 -3.659741)', '2026-06-09 17:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47013 -3.659595)'), GeomFromEWKT('SRID=4674;POINT (-38.470175 -3.659741)'))) / (select extract(epoch from '2026-06-09 17:02:50'::timestamp) - extract(epoch from '2026-06-09 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47013 -3.659595)'), GeomFromEWKT('SRID=4674;POINT (-38.470175 -3.659741)'))) / (select extract(epoch from '2026-06-09 17:02:50'::timestamp) - extract(epoch from '2026-06-09 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470226 -3.659884)', '2026-06-09 17:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470175 -3.659741)'), GeomFromEWKT('SRID=4674;POINT (-38.470226 -3.659884)'))) / (select extract(epoch from '2026-06-09 17:02:56'::timestamp) - extract(epoch from '2026-06-09 17:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470175 -3.659741)'), GeomFromEWKT('SRID=4674;POINT (-38.470226 -3.659884)'))) / (select extract(epoch from '2026-06-09 17:02:56'::timestamp) - extract(epoch from '2026-06-09 17:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470272 -3.659997)', '2026-06-09 17:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470226 -3.659884)'), GeomFromEWKT('SRID=4674;POINT (-38.470272 -3.659997)'))) / (select extract(epoch from '2026-06-09 17:03:01'::timestamp) - extract(epoch from '2026-06-09 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470226 -3.659884)'), GeomFromEWKT('SRID=4674;POINT (-38.470272 -3.659997)'))) / (select extract(epoch from '2026-06-09 17:03:01'::timestamp) - extract(epoch from '2026-06-09 17:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47033 -3.660134)', '2026-06-09 17:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470272 -3.659997)'), GeomFromEWKT('SRID=4674;POINT (-38.47033 -3.660134)'))) / (select extract(epoch from '2026-06-09 17:03:07'::timestamp) - extract(epoch from '2026-06-09 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470272 -3.659997)'), GeomFromEWKT('SRID=4674;POINT (-38.47033 -3.660134)'))) / (select extract(epoch from '2026-06-09 17:03:07'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470373 -3.660248)', '2026-06-09 17:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47033 -3.660134)'), GeomFromEWKT('SRID=4674;POINT (-38.470373 -3.660248)'))) / (select extract(epoch from '2026-06-09 17:03:12'::timestamp) - extract(epoch from '2026-06-09 17:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47033 -3.660134)'), GeomFromEWKT('SRID=4674;POINT (-38.470373 -3.660248)'))) / (select extract(epoch from '2026-06-09 17:03:12'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470405 -3.660363)', '2026-06-09 17:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470373 -3.660248)'), GeomFromEWKT('SRID=4674;POINT (-38.470405 -3.660363)'))) / (select extract(epoch from '2026-06-09 17:03:17'::timestamp) - extract(epoch from '2026-06-09 17:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470373 -3.660248)'), GeomFromEWKT('SRID=4674;POINT (-38.470405 -3.660363)'))) / (select extract(epoch from '2026-06-09 17:03:17'::timestamp) - extract(epoch from '2026-06-09 17:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470435 -3.660474)', '2026-06-09 17:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470405 -3.660363)'), GeomFromEWKT('SRID=4674;POINT (-38.470435 -3.660474)'))) / (select extract(epoch from '2026-06-09 17:03:22'::timestamp) - extract(epoch from '2026-06-09 17:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470405 -3.660363)'), GeomFromEWKT('SRID=4674;POINT (-38.470435 -3.660474)'))) / (select extract(epoch from '2026-06-09 17:03:22'::timestamp) - extract(epoch from '2026-06-09 17:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47047 -3.660603)', '2026-06-09 17:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470435 -3.660474)'), GeomFromEWKT('SRID=4674;POINT (-38.47047 -3.660603)'))) / (select extract(epoch from '2026-06-09 17:03:28'::timestamp) - extract(epoch from '2026-06-09 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470435 -3.660474)'), GeomFromEWKT('SRID=4674;POINT (-38.47047 -3.660603)'))) / (select extract(epoch from '2026-06-09 17:03:28'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470529 -3.660779)', '2026-06-09 17:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47047 -3.660603)'), GeomFromEWKT('SRID=4674;POINT (-38.470529 -3.660779)'))) / (select extract(epoch from '2026-06-09 17:03:36'::timestamp) - extract(epoch from '2026-06-09 17:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47047 -3.660603)'), GeomFromEWKT('SRID=4674;POINT (-38.470529 -3.660779)'))) / (select extract(epoch from '2026-06-09 17:03:36'::timestamp) - extract(epoch from '2026-06-09 17:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470577 -3.660934)', '2026-06-09 17:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470529 -3.660779)'), GeomFromEWKT('SRID=4674;POINT (-38.470577 -3.660934)'))) / (select extract(epoch from '2026-06-09 17:03:43'::timestamp) - extract(epoch from '2026-06-09 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470529 -3.660779)'), GeomFromEWKT('SRID=4674;POINT (-38.470577 -3.660934)'))) / (select extract(epoch from '2026-06-09 17:03:43'::timestamp) - extract(epoch from '2026-06-09 17:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470632 -3.661075)', '2026-06-09 17:03:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470577 -3.660934)'), GeomFromEWKT('SRID=4674;POINT (-38.470632 -3.661075)'))) / (select extract(epoch from '2026-06-09 17:03:49'::timestamp) - extract(epoch from '2026-06-09 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470577 -3.660934)'), GeomFromEWKT('SRID=4674;POINT (-38.470632 -3.661075)'))) / (select extract(epoch from '2026-06-09 17:03:49'::timestamp) - extract(epoch from '2026-06-09 17:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470664 -3.661187)', '2026-06-09 17:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470632 -3.661075)'), GeomFromEWKT('SRID=4674;POINT (-38.470664 -3.661187)'))) / (select extract(epoch from '2026-06-09 17:03:54'::timestamp) - extract(epoch from '2026-06-09 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470632 -3.661075)'), GeomFromEWKT('SRID=4674;POINT (-38.470664 -3.661187)'))) / (select extract(epoch from '2026-06-09 17:03:54'::timestamp) - extract(epoch from '2026-06-09 17:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470707 -3.661323)', '2026-06-09 17:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470664 -3.661187)'), GeomFromEWKT('SRID=4674;POINT (-38.470707 -3.661323)'))) / (select extract(epoch from '2026-06-09 17:04:00'::timestamp) - extract(epoch from '2026-06-09 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470664 -3.661187)'), GeomFromEWKT('SRID=4674;POINT (-38.470707 -3.661323)'))) / (select extract(epoch from '2026-06-09 17:04:00'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470764 -3.661462)', '2026-06-09 17:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470707 -3.661323)'), GeomFromEWKT('SRID=4674;POINT (-38.470764 -3.661462)'))) / (select extract(epoch from '2026-06-09 17:04:06'::timestamp) - extract(epoch from '2026-06-09 17:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470707 -3.661323)'), GeomFromEWKT('SRID=4674;POINT (-38.470764 -3.661462)'))) / (select extract(epoch from '2026-06-09 17:04:06'::timestamp) - extract(epoch from '2026-06-09 17:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470816 -3.661582)', '2026-06-09 17:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470764 -3.661462)'), GeomFromEWKT('SRID=4674;POINT (-38.470816 -3.661582)'))) / (select extract(epoch from '2026-06-09 17:04:12'::timestamp) - extract(epoch from '2026-06-09 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470764 -3.661462)'), GeomFromEWKT('SRID=4674;POINT (-38.470816 -3.661582)'))) / (select extract(epoch from '2026-06-09 17:04:12'::timestamp) - extract(epoch from '2026-06-09 17:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470857 -3.661659)', '2026-06-09 17:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470816 -3.661582)'), GeomFromEWKT('SRID=4674;POINT (-38.470857 -3.661659)'))) / (select extract(epoch from '2026-06-09 17:04:16'::timestamp) - extract(epoch from '2026-06-09 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470816 -3.661582)'), GeomFromEWKT('SRID=4674;POINT (-38.470857 -3.661659)'))) / (select extract(epoch from '2026-06-09 17:04:16'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.470902 -3.661767)', '2026-06-09 17:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470857 -3.661659)'), GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.661767)'))) / (select extract(epoch from '2026-06-09 17:04:21'::timestamp) - extract(epoch from '2026-06-09 17:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470857 -3.661659)'), GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.661767)'))) / (select extract(epoch from '2026-06-09 17:04:21'::timestamp) - extract(epoch from '2026-06-09 17:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.470963 -3.661954)', '2026-06-09 17:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.661767)'), GeomFromEWKT('SRID=4674;POINT (-38.470963 -3.661954)'))) / (select extract(epoch from '2026-06-09 17:04:29'::timestamp) - extract(epoch from '2026-06-09 17:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.661767)'), GeomFromEWKT('SRID=4674;POINT (-38.470963 -3.661954)'))) / (select extract(epoch from '2026-06-09 17:04:29'::timestamp) - extract(epoch from '2026-06-09 17:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471003 -3.662073)', '2026-06-09 17:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470963 -3.661954)'), GeomFromEWKT('SRID=4674;POINT (-38.471003 -3.662073)'))) / (select extract(epoch from '2026-06-09 17:04:34'::timestamp) - extract(epoch from '2026-06-09 17:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470963 -3.661954)'), GeomFromEWKT('SRID=4674;POINT (-38.471003 -3.662073)'))) / (select extract(epoch from '2026-06-09 17:04:34'::timestamp) - extract(epoch from '2026-06-09 17:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471007 -3.6621)', '2026-06-09 17:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471003 -3.662073)'), GeomFromEWKT('SRID=4674;POINT (-38.471007 -3.6621)'))) / (select extract(epoch from '2026-06-09 17:04:35'::timestamp) - extract(epoch from '2026-06-09 17:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471003 -3.662073)'), GeomFromEWKT('SRID=4674;POINT (-38.471007 -3.6621)'))) / (select extract(epoch from '2026-06-09 17:04:35'::timestamp) - extract(epoch from '2026-06-09 17:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471043 -3.662217)', '2026-06-09 17:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471007 -3.6621)'), GeomFromEWKT('SRID=4674;POINT (-38.471043 -3.662217)'))) / (select extract(epoch from '2026-06-09 17:04:40'::timestamp) - extract(epoch from '2026-06-09 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471007 -3.6621)'), GeomFromEWKT('SRID=4674;POINT (-38.471043 -3.662217)'))) / (select extract(epoch from '2026-06-09 17:04:40'::timestamp) - extract(epoch from '2026-06-09 17:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471106 -3.662383)', '2026-06-09 17:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471043 -3.662217)'), GeomFromEWKT('SRID=4674;POINT (-38.471106 -3.662383)'))) / (select extract(epoch from '2026-06-09 17:04:47'::timestamp) - extract(epoch from '2026-06-09 17:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471043 -3.662217)'), GeomFromEWKT('SRID=4674;POINT (-38.471106 -3.662383)'))) / (select extract(epoch from '2026-06-09 17:04:47'::timestamp) - extract(epoch from '2026-06-09 17:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471148 -3.662534)', '2026-06-09 17:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471106 -3.662383)'), GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.662534)'))) / (select extract(epoch from '2026-06-09 17:04:54'::timestamp) - extract(epoch from '2026-06-09 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471106 -3.662383)'), GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.662534)'))) / (select extract(epoch from '2026-06-09 17:04:54'::timestamp) - extract(epoch from '2026-06-09 17:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471189 -3.662675)', '2026-06-09 17:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.662534)'), GeomFromEWKT('SRID=4674;POINT (-38.471189 -3.662675)'))) / (select extract(epoch from '2026-06-09 17:05:00'::timestamp) - extract(epoch from '2026-06-09 17:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.662534)'), GeomFromEWKT('SRID=4674;POINT (-38.471189 -3.662675)'))) / (select extract(epoch from '2026-06-09 17:05:00'::timestamp) - extract(epoch from '2026-06-09 17:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471205 -3.662717)', '2026-06-09 17:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471189 -3.662675)'), GeomFromEWKT('SRID=4674;POINT (-38.471205 -3.662717)'))) / (select extract(epoch from '2026-06-09 17:05:02'::timestamp) - extract(epoch from '2026-06-09 17:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471189 -3.662675)'), GeomFromEWKT('SRID=4674;POINT (-38.471205 -3.662717)'))) / (select extract(epoch from '2026-06-09 17:05:02'::timestamp) - extract(epoch from '2026-06-09 17:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471212 -3.66276)', '2026-06-09 17:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471205 -3.662717)'), GeomFromEWKT('SRID=4674;POINT (-38.471212 -3.66276)'))) / (select extract(epoch from '2026-06-09 17:05:04'::timestamp) - extract(epoch from '2026-06-09 17:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471205 -3.662717)'), GeomFromEWKT('SRID=4674;POINT (-38.471212 -3.66276)'))) / (select extract(epoch from '2026-06-09 17:05:04'::timestamp) - extract(epoch from '2026-06-09 17:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471244 -3.662883)', '2026-06-09 17:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471212 -3.66276)'), GeomFromEWKT('SRID=4674;POINT (-38.471244 -3.662883)'))) / (select extract(epoch from '2026-06-09 17:05:10'::timestamp) - extract(epoch from '2026-06-09 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471212 -3.66276)'), GeomFromEWKT('SRID=4674;POINT (-38.471244 -3.662883)'))) / (select extract(epoch from '2026-06-09 17:05:10'::timestamp) - extract(epoch from '2026-06-09 17:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471295 -3.663041)', '2026-06-09 17:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471244 -3.662883)'), GeomFromEWKT('SRID=4674;POINT (-38.471295 -3.663041)'))) / (select extract(epoch from '2026-06-09 17:05:16'::timestamp) - extract(epoch from '2026-06-09 17:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471244 -3.662883)'), GeomFromEWKT('SRID=4674;POINT (-38.471295 -3.663041)'))) / (select extract(epoch from '2026-06-09 17:05:16'::timestamp) - extract(epoch from '2026-06-09 17:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471341 -3.663134)', '2026-06-09 17:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471295 -3.663041)'), GeomFromEWKT('SRID=4674;POINT (-38.471341 -3.663134)'))) / (select extract(epoch from '2026-06-09 17:05:20'::timestamp) - extract(epoch from '2026-06-09 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471295 -3.663041)'), GeomFromEWKT('SRID=4674;POINT (-38.471341 -3.663134)'))) / (select extract(epoch from '2026-06-09 17:05:20'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.471384 -3.663258)', '2026-06-09 17:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471341 -3.663134)'), GeomFromEWKT('SRID=4674;POINT (-38.471384 -3.663258)'))) / (select extract(epoch from '2026-06-09 17:05:25'::timestamp) - extract(epoch from '2026-06-09 17:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471341 -3.663134)'), GeomFromEWKT('SRID=4674;POINT (-38.471384 -3.663258)'))) / (select extract(epoch from '2026-06-09 17:05:25'::timestamp) - extract(epoch from '2026-06-09 17:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471426 -3.663387)', '2026-06-09 17:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471384 -3.663258)'), GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.663387)'))) / (select extract(epoch from '2026-06-09 17:05:31'::timestamp) - extract(epoch from '2026-06-09 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471384 -3.663258)'), GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.663387)'))) / (select extract(epoch from '2026-06-09 17:05:31'::timestamp) - extract(epoch from '2026-06-09 17:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471461 -3.663526)', '2026-06-09 17:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.663387)'), GeomFromEWKT('SRID=4674;POINT (-38.471461 -3.663526)'))) / (select extract(epoch from '2026-06-09 17:05:37'::timestamp) - extract(epoch from '2026-06-09 17:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.663387)'), GeomFromEWKT('SRID=4674;POINT (-38.471461 -3.663526)'))) / (select extract(epoch from '2026-06-09 17:05:37'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.471465 -3.663631)', '2026-06-09 17:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471461 -3.663526)'), GeomFromEWKT('SRID=4674;POINT (-38.471465 -3.663631)'))) / (select extract(epoch from '2026-06-09 17:05:42'::timestamp) - extract(epoch from '2026-06-09 17:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471461 -3.663526)'), GeomFromEWKT('SRID=4674;POINT (-38.471465 -3.663631)'))) / (select extract(epoch from '2026-06-09 17:05:42'::timestamp) - extract(epoch from '2026-06-09 17:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471477 -3.663751)', '2026-06-09 17:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471465 -3.663631)'), GeomFromEWKT('SRID=4674;POINT (-38.471477 -3.663751)'))) / (select extract(epoch from '2026-06-09 17:05:47'::timestamp) - extract(epoch from '2026-06-09 17:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471465 -3.663631)'), GeomFromEWKT('SRID=4674;POINT (-38.471477 -3.663751)'))) / (select extract(epoch from '2026-06-09 17:05:47'::timestamp) - extract(epoch from '2026-06-09 17:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471504 -3.663915)', '2026-06-09 17:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471477 -3.663751)'), GeomFromEWKT('SRID=4674;POINT (-38.471504 -3.663915)'))) / (select extract(epoch from '2026-06-09 17:05:54'::timestamp) - extract(epoch from '2026-06-09 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471477 -3.663751)'), GeomFromEWKT('SRID=4674;POINT (-38.471504 -3.663915)'))) / (select extract(epoch from '2026-06-09 17:05:54'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.471535 -3.66403)', '2026-06-09 17:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471504 -3.663915)'), GeomFromEWKT('SRID=4674;POINT (-38.471535 -3.66403)'))) / (select extract(epoch from '2026-06-09 17:05:59'::timestamp) - extract(epoch from '2026-06-09 17:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471504 -3.663915)'), GeomFromEWKT('SRID=4674;POINT (-38.471535 -3.66403)'))) / (select extract(epoch from '2026-06-09 17:05:59'::timestamp) - extract(epoch from '2026-06-09 17:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471578 -3.664177)', '2026-06-09 17:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471535 -3.66403)'), GeomFromEWKT('SRID=4674;POINT (-38.471578 -3.664177)'))) / (select extract(epoch from '2026-06-09 17:06:05'::timestamp) - extract(epoch from '2026-06-09 17:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471535 -3.66403)'), GeomFromEWKT('SRID=4674;POINT (-38.471578 -3.664177)'))) / (select extract(epoch from '2026-06-09 17:06:05'::timestamp) - extract(epoch from '2026-06-09 17:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471637 -3.664316)', '2026-06-09 17:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471578 -3.664177)'), GeomFromEWKT('SRID=4674;POINT (-38.471637 -3.664316)'))) / (select extract(epoch from '2026-06-09 17:06:11'::timestamp) - extract(epoch from '2026-06-09 17:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471578 -3.664177)'), GeomFromEWKT('SRID=4674;POINT (-38.471637 -3.664316)'))) / (select extract(epoch from '2026-06-09 17:06:11'::timestamp) - extract(epoch from '2026-06-09 17:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471688 -3.664474)', '2026-06-09 17:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471637 -3.664316)'), GeomFromEWKT('SRID=4674;POINT (-38.471688 -3.664474)'))) / (select extract(epoch from '2026-06-09 17:06:18'::timestamp) - extract(epoch from '2026-06-09 17:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471637 -3.664316)'), GeomFromEWKT('SRID=4674;POINT (-38.471688 -3.664474)'))) / (select extract(epoch from '2026-06-09 17:06:18'::timestamp) - extract(epoch from '2026-06-09 17:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471729 -3.664645)', '2026-06-09 17:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471688 -3.664474)'), GeomFromEWKT('SRID=4674;POINT (-38.471729 -3.664645)'))) / (select extract(epoch from '2026-06-09 17:06:25'::timestamp) - extract(epoch from '2026-06-09 17:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471688 -3.664474)'), GeomFromEWKT('SRID=4674;POINT (-38.471729 -3.664645)'))) / (select extract(epoch from '2026-06-09 17:06:25'::timestamp) - extract(epoch from '2026-06-09 17:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471762 -3.664793)', '2026-06-09 17:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471729 -3.664645)'), GeomFromEWKT('SRID=4674;POINT (-38.471762 -3.664793)'))) / (select extract(epoch from '2026-06-09 17:06:31'::timestamp) - extract(epoch from '2026-06-09 17:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471729 -3.664645)'), GeomFromEWKT('SRID=4674;POINT (-38.471762 -3.664793)'))) / (select extract(epoch from '2026-06-09 17:06:31'::timestamp) - extract(epoch from '2026-06-09 17:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471799 -3.664915)', '2026-06-09 17:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471762 -3.664793)'), GeomFromEWKT('SRID=4674;POINT (-38.471799 -3.664915)'))) / (select extract(epoch from '2026-06-09 17:06:36'::timestamp) - extract(epoch from '2026-06-09 17:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471762 -3.664793)'), GeomFromEWKT('SRID=4674;POINT (-38.471799 -3.664915)'))) / (select extract(epoch from '2026-06-09 17:06:36'::timestamp) - extract(epoch from '2026-06-09 17:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471846 -3.665018)', '2026-06-09 17:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471799 -3.664915)'), GeomFromEWKT('SRID=4674;POINT (-38.471846 -3.665018)'))) / (select extract(epoch from '2026-06-09 17:06:41'::timestamp) - extract(epoch from '2026-06-09 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471799 -3.664915)'), GeomFromEWKT('SRID=4674;POINT (-38.471846 -3.665018)'))) / (select extract(epoch from '2026-06-09 17:06:41'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.471854 -3.66504)', '2026-06-09 17:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471846 -3.665018)'), GeomFromEWKT('SRID=4674;POINT (-38.471854 -3.66504)'))) / (select extract(epoch from '2026-06-09 17:06:42'::timestamp) - extract(epoch from '2026-06-09 17:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471846 -3.665018)'), GeomFromEWKT('SRID=4674;POINT (-38.471854 -3.66504)'))) / (select extract(epoch from '2026-06-09 17:06:42'::timestamp) - extract(epoch from '2026-06-09 17:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471907 -3.665168)', '2026-06-09 17:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471854 -3.66504)'), GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.665168)'))) / (select extract(epoch from '2026-06-09 17:06:48'::timestamp) - extract(epoch from '2026-06-09 17:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471854 -3.66504)'), GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.665168)'))) / (select extract(epoch from '2026-06-09 17:06:48'::timestamp) - extract(epoch from '2026-06-09 17:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.471957 -3.665291)', '2026-06-09 17:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.665168)'), GeomFromEWKT('SRID=4674;POINT (-38.471957 -3.665291)'))) / (select extract(epoch from '2026-06-09 17:06:54'::timestamp) - extract(epoch from '2026-06-09 17:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.665168)'), GeomFromEWKT('SRID=4674;POINT (-38.471957 -3.665291)'))) / (select extract(epoch from '2026-06-09 17:06:54'::timestamp) - extract(epoch from '2026-06-09 17:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472003 -3.665429)', '2026-06-09 17:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471957 -3.665291)'), GeomFromEWKT('SRID=4674;POINT (-38.472003 -3.665429)'))) / (select extract(epoch from '2026-06-09 17:07:00'::timestamp) - extract(epoch from '2026-06-09 17:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471957 -3.665291)'), GeomFromEWKT('SRID=4674;POINT (-38.472003 -3.665429)'))) / (select extract(epoch from '2026-06-09 17:07:00'::timestamp) - extract(epoch from '2026-06-09 17:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472039 -3.665561)', '2026-06-09 17:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472003 -3.665429)'), GeomFromEWKT('SRID=4674;POINT (-38.472039 -3.665561)'))) / (select extract(epoch from '2026-06-09 17:07:06'::timestamp) - extract(epoch from '2026-06-09 17:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472003 -3.665429)'), GeomFromEWKT('SRID=4674;POINT (-38.472039 -3.665561)'))) / (select extract(epoch from '2026-06-09 17:07:06'::timestamp) - extract(epoch from '2026-06-09 17:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472079 -3.665723)', '2026-06-09 17:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472039 -3.665561)'), GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.665723)'))) / (select extract(epoch from '2026-06-09 17:07:13'::timestamp) - extract(epoch from '2026-06-09 17:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472039 -3.665561)'), GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.665723)'))) / (select extract(epoch from '2026-06-09 17:07:13'::timestamp) - extract(epoch from '2026-06-09 17:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472098 -3.665856)', '2026-06-09 17:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.665723)'), GeomFromEWKT('SRID=4674;POINT (-38.472098 -3.665856)'))) / (select extract(epoch from '2026-06-09 17:07:19'::timestamp) - extract(epoch from '2026-06-09 17:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.665723)'), GeomFromEWKT('SRID=4674;POINT (-38.472098 -3.665856)'))) / (select extract(epoch from '2026-06-09 17:07:19'::timestamp) - extract(epoch from '2026-06-09 17:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472164 -3.666038)', '2026-06-09 17:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472098 -3.665856)'), GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.666038)'))) / (select extract(epoch from '2026-06-09 17:07:27'::timestamp) - extract(epoch from '2026-06-09 17:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472098 -3.665856)'), GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.666038)'))) / (select extract(epoch from '2026-06-09 17:07:27'::timestamp) - extract(epoch from '2026-06-09 17:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472248 -3.666233)', '2026-06-09 17:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.666038)'), GeomFromEWKT('SRID=4674;POINT (-38.472248 -3.666233)'))) / (select extract(epoch from '2026-06-09 17:07:36'::timestamp) - extract(epoch from '2026-06-09 17:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.666038)'), GeomFromEWKT('SRID=4674;POINT (-38.472248 -3.666233)'))) / (select extract(epoch from '2026-06-09 17:07:36'::timestamp) - extract(epoch from '2026-06-09 17:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47229 -3.666339)', '2026-06-09 17:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472248 -3.666233)'), GeomFromEWKT('SRID=4674;POINT (-38.47229 -3.666339)'))) / (select extract(epoch from '2026-06-09 17:07:41'::timestamp) - extract(epoch from '2026-06-09 17:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472248 -3.666233)'), GeomFromEWKT('SRID=4674;POINT (-38.47229 -3.666339)'))) / (select extract(epoch from '2026-06-09 17:07:41'::timestamp) - extract(epoch from '2026-06-09 17:07:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472341 -3.666476)', '2026-06-09 17:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47229 -3.666339)'), GeomFromEWKT('SRID=4674;POINT (-38.472341 -3.666476)'))) / (select extract(epoch from '2026-06-09 17:07:47'::timestamp) - extract(epoch from '2026-06-09 17:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47229 -3.666339)'), GeomFromEWKT('SRID=4674;POINT (-38.472341 -3.666476)'))) / (select extract(epoch from '2026-06-09 17:07:47'::timestamp) - extract(epoch from '2026-06-09 17:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472371 -3.666606)', '2026-06-09 17:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472341 -3.666476)'), GeomFromEWKT('SRID=4674;POINT (-38.472371 -3.666606)'))) / (select extract(epoch from '2026-06-09 17:07:53'::timestamp) - extract(epoch from '2026-06-09 17:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472341 -3.666476)'), GeomFromEWKT('SRID=4674;POINT (-38.472371 -3.666606)'))) / (select extract(epoch from '2026-06-09 17:07:53'::timestamp) - extract(epoch from '2026-06-09 17:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472402 -3.666732)', '2026-06-09 17:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472371 -3.666606)'), GeomFromEWKT('SRID=4674;POINT (-38.472402 -3.666732)'))) / (select extract(epoch from '2026-06-09 17:07:59'::timestamp) - extract(epoch from '2026-06-09 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472371 -3.666606)'), GeomFromEWKT('SRID=4674;POINT (-38.472402 -3.666732)'))) / (select extract(epoch from '2026-06-09 17:07:59'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.472451 -3.666859)', '2026-06-09 17:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472402 -3.666732)'), GeomFromEWKT('SRID=4674;POINT (-38.472451 -3.666859)'))) / (select extract(epoch from '2026-06-09 17:08:05'::timestamp) - extract(epoch from '2026-06-09 17:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472402 -3.666732)'), GeomFromEWKT('SRID=4674;POINT (-38.472451 -3.666859)'))) / (select extract(epoch from '2026-06-09 17:08:05'::timestamp) - extract(epoch from '2026-06-09 17:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472533 -3.667051)', '2026-06-09 17:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472451 -3.666859)'), GeomFromEWKT('SRID=4674;POINT (-38.472533 -3.667051)'))) / (select extract(epoch from '2026-06-09 17:08:14'::timestamp) - extract(epoch from '2026-06-09 17:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472451 -3.666859)'), GeomFromEWKT('SRID=4674;POINT (-38.472533 -3.667051)'))) / (select extract(epoch from '2026-06-09 17:08:14'::timestamp) - extract(epoch from '2026-06-09 17:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472571 -3.667174)', '2026-06-09 17:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472533 -3.667051)'), GeomFromEWKT('SRID=4674;POINT (-38.472571 -3.667174)'))) / (select extract(epoch from '2026-06-09 17:08:20'::timestamp) - extract(epoch from '2026-06-09 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472533 -3.667051)'), GeomFromEWKT('SRID=4674;POINT (-38.472571 -3.667174)'))) / (select extract(epoch from '2026-06-09 17:08:20'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.472605 -3.667279)', '2026-06-09 17:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472571 -3.667174)'), GeomFromEWKT('SRID=4674;POINT (-38.472605 -3.667279)'))) / (select extract(epoch from '2026-06-09 17:08:25'::timestamp) - extract(epoch from '2026-06-09 17:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472571 -3.667174)'), GeomFromEWKT('SRID=4674;POINT (-38.472605 -3.667279)'))) / (select extract(epoch from '2026-06-09 17:08:25'::timestamp) - extract(epoch from '2026-06-09 17:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472638 -3.667394)', '2026-06-09 17:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472605 -3.667279)'), GeomFromEWKT('SRID=4674;POINT (-38.472638 -3.667394)'))) / (select extract(epoch from '2026-06-09 17:08:30'::timestamp) - extract(epoch from '2026-06-09 17:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472605 -3.667279)'), GeomFromEWKT('SRID=4674;POINT (-38.472638 -3.667394)'))) / (select extract(epoch from '2026-06-09 17:08:30'::timestamp) - extract(epoch from '2026-06-09 17:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472692 -3.667549)', '2026-06-09 17:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472638 -3.667394)'), GeomFromEWKT('SRID=4674;POINT (-38.472692 -3.667549)'))) / (select extract(epoch from '2026-06-09 17:08:37'::timestamp) - extract(epoch from '2026-06-09 17:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472638 -3.667394)'), GeomFromEWKT('SRID=4674;POINT (-38.472692 -3.667549)'))) / (select extract(epoch from '2026-06-09 17:08:37'::timestamp) - extract(epoch from '2026-06-09 17:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472744 -3.667659)', '2026-06-09 17:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472692 -3.667549)'), GeomFromEWKT('SRID=4674;POINT (-38.472744 -3.667659)'))) / (select extract(epoch from '2026-06-09 17:08:42'::timestamp) - extract(epoch from '2026-06-09 17:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472692 -3.667549)'), GeomFromEWKT('SRID=4674;POINT (-38.472744 -3.667659)'))) / (select extract(epoch from '2026-06-09 17:08:42'::timestamp) - extract(epoch from '2026-06-09 17:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47284 -3.66788)', '2026-06-09 17:08:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472744 -3.667659)'), GeomFromEWKT('SRID=4674;POINT (-38.47284 -3.66788)'))) / (select extract(epoch from '2026-06-09 17:08:52'::timestamp) - extract(epoch from '2026-06-09 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472744 -3.667659)'), GeomFromEWKT('SRID=4674;POINT (-38.47284 -3.66788)'))) / (select extract(epoch from '2026-06-09 17:08:52'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.472884 -3.667998)', '2026-06-09 17:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47284 -3.66788)'), GeomFromEWKT('SRID=4674;POINT (-38.472884 -3.667998)'))) / (select extract(epoch from '2026-06-09 17:08:57'::timestamp) - extract(epoch from '2026-06-09 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47284 -3.66788)'), GeomFromEWKT('SRID=4674;POINT (-38.472884 -3.667998)'))) / (select extract(epoch from '2026-06-09 17:08:57'::timestamp) - extract(epoch from '2026-06-09 17:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472908 -3.668092)', '2026-06-09 17:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472884 -3.667998)'), GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.668092)'))) / (select extract(epoch from '2026-06-09 17:09:01'::timestamp) - extract(epoch from '2026-06-09 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472884 -3.667998)'), GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.668092)'))) / (select extract(epoch from '2026-06-09 17:09:01'::timestamp) - extract(epoch from '2026-06-09 17:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472937 -3.668215)', '2026-06-09 17:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.668092)'), GeomFromEWKT('SRID=4674;POINT (-38.472937 -3.668215)'))) / (select extract(epoch from '2026-06-09 17:09:06'::timestamp) - extract(epoch from '2026-06-09 17:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.668092)'), GeomFromEWKT('SRID=4674;POINT (-38.472937 -3.668215)'))) / (select extract(epoch from '2026-06-09 17:09:06'::timestamp) - extract(epoch from '2026-06-09 17:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.472984 -3.668356)', '2026-06-09 17:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472937 -3.668215)'), GeomFromEWKT('SRID=4674;POINT (-38.472984 -3.668356)'))) / (select extract(epoch from '2026-06-09 17:09:12'::timestamp) - extract(epoch from '2026-06-09 17:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472937 -3.668215)'), GeomFromEWKT('SRID=4674;POINT (-38.472984 -3.668356)'))) / (select extract(epoch from '2026-06-09 17:09:12'::timestamp) - extract(epoch from '2026-06-09 17:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473037 -3.668494)', '2026-06-09 17:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472984 -3.668356)'), GeomFromEWKT('SRID=4674;POINT (-38.473037 -3.668494)'))) / (select extract(epoch from '2026-06-09 17:09:18'::timestamp) - extract(epoch from '2026-06-09 17:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472984 -3.668356)'), GeomFromEWKT('SRID=4674;POINT (-38.473037 -3.668494)'))) / (select extract(epoch from '2026-06-09 17:09:18'::timestamp) - extract(epoch from '2026-06-09 17:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473132 -3.668687)', '2026-06-09 17:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473037 -3.668494)'), GeomFromEWKT('SRID=4674;POINT (-38.473132 -3.668687)'))) / (select extract(epoch from '2026-06-09 17:09:27'::timestamp) - extract(epoch from '2026-06-09 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473037 -3.668494)'), GeomFromEWKT('SRID=4674;POINT (-38.473132 -3.668687)'))) / (select extract(epoch from '2026-06-09 17:09:27'::timestamp) - extract(epoch from '2026-06-09 17:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473201 -3.668843)', '2026-06-09 17:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473132 -3.668687)'), GeomFromEWKT('SRID=4674;POINT (-38.473201 -3.668843)'))) / (select extract(epoch from '2026-06-09 17:09:34'::timestamp) - extract(epoch from '2026-06-09 17:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473132 -3.668687)'), GeomFromEWKT('SRID=4674;POINT (-38.473201 -3.668843)'))) / (select extract(epoch from '2026-06-09 17:09:34'::timestamp) - extract(epoch from '2026-06-09 17:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473241 -3.668957)', '2026-06-09 17:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473201 -3.668843)'), GeomFromEWKT('SRID=4674;POINT (-38.473241 -3.668957)'))) / (select extract(epoch from '2026-06-09 17:09:39'::timestamp) - extract(epoch from '2026-06-09 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473201 -3.668843)'), GeomFromEWKT('SRID=4674;POINT (-38.473241 -3.668957)'))) / (select extract(epoch from '2026-06-09 17:09:39'::timestamp) - extract(epoch from '2026-06-09 17:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473278 -3.669067)', '2026-06-09 17:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473241 -3.668957)'), GeomFromEWKT('SRID=4674;POINT (-38.473278 -3.669067)'))) / (select extract(epoch from '2026-06-09 17:09:44'::timestamp) - extract(epoch from '2026-06-09 17:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473241 -3.668957)'), GeomFromEWKT('SRID=4674;POINT (-38.473278 -3.669067)'))) / (select extract(epoch from '2026-06-09 17:09:44'::timestamp) - extract(epoch from '2026-06-09 17:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473327 -3.669178)', '2026-06-09 17:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473278 -3.669067)'), GeomFromEWKT('SRID=4674;POINT (-38.473327 -3.669178)'))) / (select extract(epoch from '2026-06-09 17:09:49'::timestamp) - extract(epoch from '2026-06-09 17:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473278 -3.669067)'), GeomFromEWKT('SRID=4674;POINT (-38.473327 -3.669178)'))) / (select extract(epoch from '2026-06-09 17:09:49'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.473398 -3.669354)', '2026-06-09 17:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473327 -3.669178)'), GeomFromEWKT('SRID=4674;POINT (-38.473398 -3.669354)'))) / (select extract(epoch from '2026-06-09 17:09:57'::timestamp) - extract(epoch from '2026-06-09 17:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473327 -3.669178)'), GeomFromEWKT('SRID=4674;POINT (-38.473398 -3.669354)'))) / (select extract(epoch from '2026-06-09 17:09:57'::timestamp) - extract(epoch from '2026-06-09 17:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473429 -3.669514)', '2026-06-09 17:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473398 -3.669354)'), GeomFromEWKT('SRID=4674;POINT (-38.473429 -3.669514)'))) / (select extract(epoch from '2026-06-09 17:10:04'::timestamp) - extract(epoch from '2026-06-09 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473398 -3.669354)'), GeomFromEWKT('SRID=4674;POINT (-38.473429 -3.669514)'))) / (select extract(epoch from '2026-06-09 17:10:04'::timestamp) - extract(epoch from '2026-06-09 17:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473466 -3.669626)', '2026-06-09 17:10:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473429 -3.669514)'), GeomFromEWKT('SRID=4674;POINT (-38.473466 -3.669626)'))) / (select extract(epoch from '2026-06-09 17:10:09'::timestamp) - extract(epoch from '2026-06-09 17:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473429 -3.669514)'), GeomFromEWKT('SRID=4674;POINT (-38.473466 -3.669626)'))) / (select extract(epoch from '2026-06-09 17:10:09'::timestamp) - extract(epoch from '2026-06-09 17:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47348 -3.669652)', '2026-06-09 17:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473466 -3.669626)'), GeomFromEWKT('SRID=4674;POINT (-38.47348 -3.669652)'))) / (select extract(epoch from '2026-06-09 17:10:10'::timestamp) - extract(epoch from '2026-06-09 17:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473466 -3.669626)'), GeomFromEWKT('SRID=4674;POINT (-38.47348 -3.669652)'))) / (select extract(epoch from '2026-06-09 17:10:10'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.473493 -3.669701)', '2026-06-09 17:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47348 -3.669652)'), GeomFromEWKT('SRID=4674;POINT (-38.473493 -3.669701)'))) / (select extract(epoch from '2026-06-09 17:10:12'::timestamp) - extract(epoch from '2026-06-09 17:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47348 -3.669652)'), GeomFromEWKT('SRID=4674;POINT (-38.473493 -3.669701)'))) / (select extract(epoch from '2026-06-09 17:10:12'::timestamp) - extract(epoch from '2026-06-09 17:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473513 -3.669774)', '2026-06-09 17:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473493 -3.669701)'), GeomFromEWKT('SRID=4674;POINT (-38.473513 -3.669774)'))) / (select extract(epoch from '2026-06-09 17:10:15'::timestamp) - extract(epoch from '2026-06-09 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473493 -3.669701)'), GeomFromEWKT('SRID=4674;POINT (-38.473513 -3.669774)'))) / (select extract(epoch from '2026-06-09 17:10:15'::timestamp) - extract(epoch from '2026-06-09 17:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473545 -3.669915)', '2026-06-09 17:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473513 -3.669774)'), GeomFromEWKT('SRID=4674;POINT (-38.473545 -3.669915)'))) / (select extract(epoch from '2026-06-09 17:10:21'::timestamp) - extract(epoch from '2026-06-09 17:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473513 -3.669774)'), GeomFromEWKT('SRID=4674;POINT (-38.473545 -3.669915)'))) / (select extract(epoch from '2026-06-09 17:10:21'::timestamp) - extract(epoch from '2026-06-09 17:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473566 -3.670016)', '2026-06-09 17:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473545 -3.669915)'), GeomFromEWKT('SRID=4674;POINT (-38.473566 -3.670016)'))) / (select extract(epoch from '2026-06-09 17:10:25'::timestamp) - extract(epoch from '2026-06-09 17:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473545 -3.669915)'), GeomFromEWKT('SRID=4674;POINT (-38.473566 -3.670016)'))) / (select extract(epoch from '2026-06-09 17:10:25'::timestamp) - extract(epoch from '2026-06-09 17:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473583 -3.670042)', '2026-06-09 17:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473566 -3.670016)'), GeomFromEWKT('SRID=4674;POINT (-38.473583 -3.670042)'))) / (select extract(epoch from '2026-06-09 17:10:26'::timestamp) - extract(epoch from '2026-06-09 17:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473566 -3.670016)'), GeomFromEWKT('SRID=4674;POINT (-38.473583 -3.670042)'))) / (select extract(epoch from '2026-06-09 17:10:26'::timestamp) - extract(epoch from '2026-06-09 17:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473616 -3.670146)', '2026-06-09 17:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473583 -3.670042)'), GeomFromEWKT('SRID=4674;POINT (-38.473616 -3.670146)'))) / (select extract(epoch from '2026-06-09 17:10:30'::timestamp) - extract(epoch from '2026-06-09 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473583 -3.670042)'), GeomFromEWKT('SRID=4674;POINT (-38.473616 -3.670146)'))) / (select extract(epoch from '2026-06-09 17:10:30'::timestamp) - extract(epoch from '2026-06-09 17:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473651 -3.670252)', '2026-06-09 17:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473616 -3.670146)'), GeomFromEWKT('SRID=4674;POINT (-38.473651 -3.670252)'))) / (select extract(epoch from '2026-06-09 17:10:34'::timestamp) - extract(epoch from '2026-06-09 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473616 -3.670146)'), GeomFromEWKT('SRID=4674;POINT (-38.473651 -3.670252)'))) / (select extract(epoch from '2026-06-09 17:10:34'::timestamp) - extract(epoch from '2026-06-09 17:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473685 -3.670367)', '2026-06-09 17:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473651 -3.670252)'), GeomFromEWKT('SRID=4674;POINT (-38.473685 -3.670367)'))) / (select extract(epoch from '2026-06-09 17:10:39'::timestamp) - extract(epoch from '2026-06-09 17:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473651 -3.670252)'), GeomFromEWKT('SRID=4674;POINT (-38.473685 -3.670367)'))) / (select extract(epoch from '2026-06-09 17:10:39'::timestamp) - extract(epoch from '2026-06-09 17:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473731 -3.670516)', '2026-06-09 17:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473685 -3.670367)'), GeomFromEWKT('SRID=4674;POINT (-38.473731 -3.670516)'))) / (select extract(epoch from '2026-06-09 17:10:45'::timestamp) - extract(epoch from '2026-06-09 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473685 -3.670367)'), GeomFromEWKT('SRID=4674;POINT (-38.473731 -3.670516)'))) / (select extract(epoch from '2026-06-09 17:10:45'::timestamp) - extract(epoch from '2026-06-09 17:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473768 -3.670588)', '2026-06-09 17:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473731 -3.670516)'), GeomFromEWKT('SRID=4674;POINT (-38.473768 -3.670588)'))) / (select extract(epoch from '2026-06-09 17:10:48'::timestamp) - extract(epoch from '2026-06-09 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473731 -3.670516)'), GeomFromEWKT('SRID=4674;POINT (-38.473768 -3.670588)'))) / (select extract(epoch from '2026-06-09 17:10:48'::timestamp) - extract(epoch from '2026-06-09 17:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473801 -3.670632)', '2026-06-09 17:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473768 -3.670588)'), GeomFromEWKT('SRID=4674;POINT (-38.473801 -3.670632)'))) / (select extract(epoch from '2026-06-09 17:10:50'::timestamp) - extract(epoch from '2026-06-09 17:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473768 -3.670588)'), GeomFromEWKT('SRID=4674;POINT (-38.473801 -3.670632)'))) / (select extract(epoch from '2026-06-09 17:10:50'::timestamp) - extract(epoch from '2026-06-09 17:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473852 -3.670744)', '2026-06-09 17:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473801 -3.670632)'), GeomFromEWKT('SRID=4674;POINT (-38.473852 -3.670744)'))) / (select extract(epoch from '2026-06-09 17:10:55'::timestamp) - extract(epoch from '2026-06-09 17:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473801 -3.670632)'), GeomFromEWKT('SRID=4674;POINT (-38.473852 -3.670744)'))) / (select extract(epoch from '2026-06-09 17:10:55'::timestamp) - extract(epoch from '2026-06-09 17:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.473915 -3.670886)', '2026-06-09 17:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473852 -3.670744)'), GeomFromEWKT('SRID=4674;POINT (-38.473915 -3.670886)'))) / (select extract(epoch from '2026-06-09 17:11:01'::timestamp) - extract(epoch from '2026-06-09 17:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473852 -3.670744)'), GeomFromEWKT('SRID=4674;POINT (-38.473915 -3.670886)'))) / (select extract(epoch from '2026-06-09 17:11:01'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.473975 -3.671014)', '2026-06-09 17:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473915 -3.670886)'), GeomFromEWKT('SRID=4674;POINT (-38.473975 -3.671014)'))) / (select extract(epoch from '2026-06-09 17:11:07'::timestamp) - extract(epoch from '2026-06-09 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473915 -3.670886)'), GeomFromEWKT('SRID=4674;POINT (-38.473975 -3.671014)'))) / (select extract(epoch from '2026-06-09 17:11:07'::timestamp) - extract(epoch from '2026-06-09 17:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474027 -3.671142)', '2026-06-09 17:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473975 -3.671014)'), GeomFromEWKT('SRID=4674;POINT (-38.474027 -3.671142)'))) / (select extract(epoch from '2026-06-09 17:11:13'::timestamp) - extract(epoch from '2026-06-09 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473975 -3.671014)'), GeomFromEWKT('SRID=4674;POINT (-38.474027 -3.671142)'))) / (select extract(epoch from '2026-06-09 17:11:13'::timestamp) - extract(epoch from '2026-06-09 17:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474087 -3.671281)', '2026-06-09 17:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474027 -3.671142)'), GeomFromEWKT('SRID=4674;POINT (-38.474087 -3.671281)'))) / (select extract(epoch from '2026-06-09 17:11:19'::timestamp) - extract(epoch from '2026-06-09 17:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474027 -3.671142)'), GeomFromEWKT('SRID=4674;POINT (-38.474087 -3.671281)'))) / (select extract(epoch from '2026-06-09 17:11:19'::timestamp) - extract(epoch from '2026-06-09 17:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47415 -3.671482)', '2026-06-09 17:11:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474087 -3.671281)'), GeomFromEWKT('SRID=4674;POINT (-38.47415 -3.671482)'))) / (select extract(epoch from '2026-06-09 17:11:27'::timestamp) - extract(epoch from '2026-06-09 17:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474087 -3.671281)'), GeomFromEWKT('SRID=4674;POINT (-38.47415 -3.671482)'))) / (select extract(epoch from '2026-06-09 17:11:27'::timestamp) - extract(epoch from '2026-06-09 17:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474192 -3.671627)', '2026-06-09 17:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47415 -3.671482)'), GeomFromEWKT('SRID=4674;POINT (-38.474192 -3.671627)'))) / (select extract(epoch from '2026-06-09 17:11:33'::timestamp) - extract(epoch from '2026-06-09 17:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47415 -3.671482)'), GeomFromEWKT('SRID=4674;POINT (-38.474192 -3.671627)'))) / (select extract(epoch from '2026-06-09 17:11:33'::timestamp) - extract(epoch from '2026-06-09 17:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474211 -3.67168)', '2026-06-09 17:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474192 -3.671627)'), GeomFromEWKT('SRID=4674;POINT (-38.474211 -3.67168)'))) / (select extract(epoch from '2026-06-09 17:11:35'::timestamp) - extract(epoch from '2026-06-09 17:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474192 -3.671627)'), GeomFromEWKT('SRID=4674;POINT (-38.474211 -3.67168)'))) / (select extract(epoch from '2026-06-09 17:11:35'::timestamp) - extract(epoch from '2026-06-09 17:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47422 -3.671727)', '2026-06-09 17:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474211 -3.67168)'), GeomFromEWKT('SRID=4674;POINT (-38.47422 -3.671727)'))) / (select extract(epoch from '2026-06-09 17:11:37'::timestamp) - extract(epoch from '2026-06-09 17:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474211 -3.67168)'), GeomFromEWKT('SRID=4674;POINT (-38.47422 -3.671727)'))) / (select extract(epoch from '2026-06-09 17:11:37'::timestamp) - extract(epoch from '2026-06-09 17:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474245 -3.671827)', '2026-06-09 17:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47422 -3.671727)'), GeomFromEWKT('SRID=4674;POINT (-38.474245 -3.671827)'))) / (select extract(epoch from '2026-06-09 17:11:41'::timestamp) - extract(epoch from '2026-06-09 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47422 -3.671727)'), GeomFromEWKT('SRID=4674;POINT (-38.474245 -3.671827)'))) / (select extract(epoch from '2026-06-09 17:11:41'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.474304 -3.671986)', '2026-06-09 17:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474245 -3.671827)'), GeomFromEWKT('SRID=4674;POINT (-38.474304 -3.671986)'))) / (select extract(epoch from '2026-06-09 17:11:48'::timestamp) - extract(epoch from '2026-06-09 17:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474245 -3.671827)'), GeomFromEWKT('SRID=4674;POINT (-38.474304 -3.671986)'))) / (select extract(epoch from '2026-06-09 17:11:48'::timestamp) - extract(epoch from '2026-06-09 17:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474359 -3.672113)', '2026-06-09 17:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474304 -3.671986)'), GeomFromEWKT('SRID=4674;POINT (-38.474359 -3.672113)'))) / (select extract(epoch from '2026-06-09 17:11:53'::timestamp) - extract(epoch from '2026-06-09 17:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474304 -3.671986)'), GeomFromEWKT('SRID=4674;POINT (-38.474359 -3.672113)'))) / (select extract(epoch from '2026-06-09 17:11:53'::timestamp) - extract(epoch from '2026-06-09 17:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474407 -3.672233)', '2026-06-09 17:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474359 -3.672113)'), GeomFromEWKT('SRID=4674;POINT (-38.474407 -3.672233)'))) / (select extract(epoch from '2026-06-09 17:11:58'::timestamp) - extract(epoch from '2026-06-09 17:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474359 -3.672113)'), GeomFromEWKT('SRID=4674;POINT (-38.474407 -3.672233)'))) / (select extract(epoch from '2026-06-09 17:11:58'::timestamp) - extract(epoch from '2026-06-09 17:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474458 -3.672352)', '2026-06-09 17:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474407 -3.672233)'), GeomFromEWKT('SRID=4674;POINT (-38.474458 -3.672352)'))) / (select extract(epoch from '2026-06-09 17:12:03'::timestamp) - extract(epoch from '2026-06-09 17:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474407 -3.672233)'), GeomFromEWKT('SRID=4674;POINT (-38.474458 -3.672352)'))) / (select extract(epoch from '2026-06-09 17:12:03'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.474498 -3.672463)', '2026-06-09 17:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474458 -3.672352)'), GeomFromEWKT('SRID=4674;POINT (-38.474498 -3.672463)'))) / (select extract(epoch from '2026-06-09 17:12:08'::timestamp) - extract(epoch from '2026-06-09 17:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474458 -3.672352)'), GeomFromEWKT('SRID=4674;POINT (-38.474498 -3.672463)'))) / (select extract(epoch from '2026-06-09 17:12:08'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.474538 -3.672582)', '2026-06-09 17:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474498 -3.672463)'), GeomFromEWKT('SRID=4674;POINT (-38.474538 -3.672582)'))) / (select extract(epoch from '2026-06-09 17:12:13'::timestamp) - extract(epoch from '2026-06-09 17:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474498 -3.672463)'), GeomFromEWKT('SRID=4674;POINT (-38.474538 -3.672582)'))) / (select extract(epoch from '2026-06-09 17:12:13'::timestamp) - extract(epoch from '2026-06-09 17:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474573 -3.672692)', '2026-06-09 17:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474538 -3.672582)'), GeomFromEWKT('SRID=4674;POINT (-38.474573 -3.672692)'))) / (select extract(epoch from '2026-06-09 17:12:18'::timestamp) - extract(epoch from '2026-06-09 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474538 -3.672582)'), GeomFromEWKT('SRID=4674;POINT (-38.474573 -3.672692)'))) / (select extract(epoch from '2026-06-09 17:12:18'::timestamp) - extract(epoch from '2026-06-09 17:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474626 -3.672821)', '2026-06-09 17:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474573 -3.672692)'), GeomFromEWKT('SRID=4674;POINT (-38.474626 -3.672821)'))) / (select extract(epoch from '2026-06-09 17:12:24'::timestamp) - extract(epoch from '2026-06-09 17:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474573 -3.672692)'), GeomFromEWKT('SRID=4674;POINT (-38.474626 -3.672821)'))) / (select extract(epoch from '2026-06-09 17:12:24'::timestamp) - extract(epoch from '2026-06-09 17:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474678 -3.672937)', '2026-06-09 17:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474626 -3.672821)'), GeomFromEWKT('SRID=4674;POINT (-38.474678 -3.672937)'))) / (select extract(epoch from '2026-06-09 17:12:29'::timestamp) - extract(epoch from '2026-06-09 17:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474626 -3.672821)'), GeomFromEWKT('SRID=4674;POINT (-38.474678 -3.672937)'))) / (select extract(epoch from '2026-06-09 17:12:29'::timestamp) - extract(epoch from '2026-06-09 17:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474731 -3.673061)', '2026-06-09 17:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474678 -3.672937)'), GeomFromEWKT('SRID=4674;POINT (-38.474731 -3.673061)'))) / (select extract(epoch from '2026-06-09 17:12:34'::timestamp) - extract(epoch from '2026-06-09 17:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474678 -3.672937)'), GeomFromEWKT('SRID=4674;POINT (-38.474731 -3.673061)'))) / (select extract(epoch from '2026-06-09 17:12:34'::timestamp) - extract(epoch from '2026-06-09 17:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474789 -3.673202)', '2026-06-09 17:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474731 -3.673061)'), GeomFromEWKT('SRID=4674;POINT (-38.474789 -3.673202)'))) / (select extract(epoch from '2026-06-09 17:12:40'::timestamp) - extract(epoch from '2026-06-09 17:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474731 -3.673061)'), GeomFromEWKT('SRID=4674;POINT (-38.474789 -3.673202)'))) / (select extract(epoch from '2026-06-09 17:12:40'::timestamp) - extract(epoch from '2026-06-09 17:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474838 -3.673335)', '2026-06-09 17:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474789 -3.673202)'), GeomFromEWKT('SRID=4674;POINT (-38.474838 -3.673335)'))) / (select extract(epoch from '2026-06-09 17:12:46'::timestamp) - extract(epoch from '2026-06-09 17:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474789 -3.673202)'), GeomFromEWKT('SRID=4674;POINT (-38.474838 -3.673335)'))) / (select extract(epoch from '2026-06-09 17:12:46'::timestamp) - extract(epoch from '2026-06-09 17:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474897 -3.673503)', '2026-06-09 17:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474838 -3.673335)'), GeomFromEWKT('SRID=4674;POINT (-38.474897 -3.673503)'))) / (select extract(epoch from '2026-06-09 17:12:53'::timestamp) - extract(epoch from '2026-06-09 17:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474838 -3.673335)'), GeomFromEWKT('SRID=4674;POINT (-38.474897 -3.673503)'))) / (select extract(epoch from '2026-06-09 17:12:53'::timestamp) - extract(epoch from '2026-06-09 17:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.474956 -3.673652)', '2026-06-09 17:12:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474897 -3.673503)'), GeomFromEWKT('SRID=4674;POINT (-38.474956 -3.673652)'))) / (select extract(epoch from '2026-06-09 17:12:59'::timestamp) - extract(epoch from '2026-06-09 17:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474897 -3.673503)'), GeomFromEWKT('SRID=4674;POINT (-38.474956 -3.673652)'))) / (select extract(epoch from '2026-06-09 17:12:59'::timestamp) - extract(epoch from '2026-06-09 17:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475016 -3.673791)', '2026-06-09 17:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474956 -3.673652)'), GeomFromEWKT('SRID=4674;POINT (-38.475016 -3.673791)'))) / (select extract(epoch from '2026-06-09 17:13:05'::timestamp) - extract(epoch from '2026-06-09 17:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474956 -3.673652)'), GeomFromEWKT('SRID=4674;POINT (-38.475016 -3.673791)'))) / (select extract(epoch from '2026-06-09 17:13:05'::timestamp) - extract(epoch from '2026-06-09 17:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475078 -3.673939)', '2026-06-09 17:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475016 -3.673791)'), GeomFromEWKT('SRID=4674;POINT (-38.475078 -3.673939)'))) / (select extract(epoch from '2026-06-09 17:13:11'::timestamp) - extract(epoch from '2026-06-09 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475016 -3.673791)'), GeomFromEWKT('SRID=4674;POINT (-38.475078 -3.673939)'))) / (select extract(epoch from '2026-06-09 17:13:11'::timestamp) - extract(epoch from '2026-06-09 17:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475127 -3.674066)', '2026-06-09 17:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475078 -3.673939)'), GeomFromEWKT('SRID=4674;POINT (-38.475127 -3.674066)'))) / (select extract(epoch from '2026-06-09 17:13:16'::timestamp) - extract(epoch from '2026-06-09 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475078 -3.673939)'), GeomFromEWKT('SRID=4674;POINT (-38.475127 -3.674066)'))) / (select extract(epoch from '2026-06-09 17:13:16'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.475179 -3.674199)', '2026-06-09 17:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475127 -3.674066)'), GeomFromEWKT('SRID=4674;POINT (-38.475179 -3.674199)'))) / (select extract(epoch from '2026-06-09 17:13:22'::timestamp) - extract(epoch from '2026-06-09 17:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475127 -3.674066)'), GeomFromEWKT('SRID=4674;POINT (-38.475179 -3.674199)'))) / (select extract(epoch from '2026-06-09 17:13:22'::timestamp) - extract(epoch from '2026-06-09 17:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47525 -3.67436)', '2026-06-09 17:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475179 -3.674199)'), GeomFromEWKT('SRID=4674;POINT (-38.47525 -3.67436)'))) / (select extract(epoch from '2026-06-09 17:13:29'::timestamp) - extract(epoch from '2026-06-09 17:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475179 -3.674199)'), GeomFromEWKT('SRID=4674;POINT (-38.47525 -3.67436)'))) / (select extract(epoch from '2026-06-09 17:13:29'::timestamp) - extract(epoch from '2026-06-09 17:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475289 -3.67445)', '2026-06-09 17:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47525 -3.67436)'), GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.67445)'))) / (select extract(epoch from '2026-06-09 17:13:33'::timestamp) - extract(epoch from '2026-06-09 17:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47525 -3.67436)'), GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.67445)'))) / (select extract(epoch from '2026-06-09 17:13:33'::timestamp) - extract(epoch from '2026-06-09 17:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47534 -3.674586)', '2026-06-09 17:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.67445)'), GeomFromEWKT('SRID=4674;POINT (-38.47534 -3.674586)'))) / (select extract(epoch from '2026-06-09 17:13:39'::timestamp) - extract(epoch from '2026-06-09 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.67445)'), GeomFromEWKT('SRID=4674;POINT (-38.47534 -3.674586)'))) / (select extract(epoch from '2026-06-09 17:13:39'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.47539 -3.674733)', '2026-06-09 17:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47534 -3.674586)'), GeomFromEWKT('SRID=4674;POINT (-38.47539 -3.674733)'))) / (select extract(epoch from '2026-06-09 17:13:45'::timestamp) - extract(epoch from '2026-06-09 17:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47534 -3.674586)'), GeomFromEWKT('SRID=4674;POINT (-38.47539 -3.674733)'))) / (select extract(epoch from '2026-06-09 17:13:45'::timestamp) - extract(epoch from '2026-06-09 17:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475447 -3.674892)', '2026-06-09 17:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47539 -3.674733)'), GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.674892)'))) / (select extract(epoch from '2026-06-09 17:13:52'::timestamp) - extract(epoch from '2026-06-09 17:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47539 -3.674733)'), GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.674892)'))) / (select extract(epoch from '2026-06-09 17:13:52'::timestamp) - extract(epoch from '2026-06-09 17:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475483 -3.675009)', '2026-06-09 17:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.674892)'), GeomFromEWKT('SRID=4674;POINT (-38.475483 -3.675009)'))) / (select extract(epoch from '2026-06-09 17:13:57'::timestamp) - extract(epoch from '2026-06-09 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.674892)'), GeomFromEWKT('SRID=4674;POINT (-38.475483 -3.675009)'))) / (select extract(epoch from '2026-06-09 17:13:57'::timestamp) - extract(epoch from '2026-06-09 17:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475512 -3.675087)', '2026-06-09 17:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475483 -3.675009)'), GeomFromEWKT('SRID=4674;POINT (-38.475512 -3.675087)'))) / (select extract(epoch from '2026-06-09 17:14:01'::timestamp) - extract(epoch from '2026-06-09 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475483 -3.675009)'), GeomFromEWKT('SRID=4674;POINT (-38.475512 -3.675087)'))) / (select extract(epoch from '2026-06-09 17:14:01'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.475557 -3.675197)', '2026-06-09 17:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475512 -3.675087)'), GeomFromEWKT('SRID=4674;POINT (-38.475557 -3.675197)'))) / (select extract(epoch from '2026-06-09 17:14:06'::timestamp) - extract(epoch from '2026-06-09 17:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475512 -3.675087)'), GeomFromEWKT('SRID=4674;POINT (-38.475557 -3.675197)'))) / (select extract(epoch from '2026-06-09 17:14:06'::timestamp) - extract(epoch from '2026-06-09 17:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475602 -3.67536)', '2026-06-09 17:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475557 -3.675197)'), GeomFromEWKT('SRID=4674;POINT (-38.475602 -3.67536)'))) / (select extract(epoch from '2026-06-09 17:14:13'::timestamp) - extract(epoch from '2026-06-09 17:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475557 -3.675197)'), GeomFromEWKT('SRID=4674;POINT (-38.475602 -3.67536)'))) / (select extract(epoch from '2026-06-09 17:14:13'::timestamp) - extract(epoch from '2026-06-09 17:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475629 -3.675484)', '2026-06-09 17:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475602 -3.67536)'), GeomFromEWKT('SRID=4674;POINT (-38.475629 -3.675484)'))) / (select extract(epoch from '2026-06-09 17:14:18'::timestamp) - extract(epoch from '2026-06-09 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475602 -3.67536)'), GeomFromEWKT('SRID=4674;POINT (-38.475629 -3.675484)'))) / (select extract(epoch from '2026-06-09 17:14:18'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.475661 -3.675627)', '2026-06-09 17:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475629 -3.675484)'), GeomFromEWKT('SRID=4674;POINT (-38.475661 -3.675627)'))) / (select extract(epoch from '2026-06-09 17:14:24'::timestamp) - extract(epoch from '2026-06-09 17:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475629 -3.675484)'), GeomFromEWKT('SRID=4674;POINT (-38.475661 -3.675627)'))) / (select extract(epoch from '2026-06-09 17:14:24'::timestamp) - extract(epoch from '2026-06-09 17:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475713 -3.675832)', '2026-06-09 17:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475661 -3.675627)'), GeomFromEWKT('SRID=4674;POINT (-38.475713 -3.675832)'))) / (select extract(epoch from '2026-06-09 17:14:32'::timestamp) - extract(epoch from '2026-06-09 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475661 -3.675627)'), GeomFromEWKT('SRID=4674;POINT (-38.475713 -3.675832)'))) / (select extract(epoch from '2026-06-09 17:14:32'::timestamp) - extract(epoch from '2026-06-09 17:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475749 -3.675945)', '2026-06-09 17:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475713 -3.675832)'), GeomFromEWKT('SRID=4674;POINT (-38.475749 -3.675945)'))) / (select extract(epoch from '2026-06-09 17:14:37'::timestamp) - extract(epoch from '2026-06-09 17:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475713 -3.675832)'), GeomFromEWKT('SRID=4674;POINT (-38.475749 -3.675945)'))) / (select extract(epoch from '2026-06-09 17:14:37'::timestamp) - extract(epoch from '2026-06-09 17:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475824 -3.676135)', '2026-06-09 17:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475749 -3.675945)'), GeomFromEWKT('SRID=4674;POINT (-38.475824 -3.676135)'))) / (select extract(epoch from '2026-06-09 17:14:45'::timestamp) - extract(epoch from '2026-06-09 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475749 -3.675945)'), GeomFromEWKT('SRID=4674;POINT (-38.475824 -3.676135)'))) / (select extract(epoch from '2026-06-09 17:14:45'::timestamp) - extract(epoch from '2026-06-09 17:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475882 -3.676327)', '2026-06-09 17:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475824 -3.676135)'), GeomFromEWKT('SRID=4674;POINT (-38.475882 -3.676327)'))) / (select extract(epoch from '2026-06-09 17:14:53'::timestamp) - extract(epoch from '2026-06-09 17:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475824 -3.676135)'), GeomFromEWKT('SRID=4674;POINT (-38.475882 -3.676327)'))) / (select extract(epoch from '2026-06-09 17:14:53'::timestamp) - extract(epoch from '2026-06-09 17:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475932 -3.676458)', '2026-06-09 17:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475882 -3.676327)'), GeomFromEWKT('SRID=4674;POINT (-38.475932 -3.676458)'))) / (select extract(epoch from '2026-06-09 17:14:59'::timestamp) - extract(epoch from '2026-06-09 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475882 -3.676327)'), GeomFromEWKT('SRID=4674;POINT (-38.475932 -3.676458)'))) / (select extract(epoch from '2026-06-09 17:14:59'::timestamp) - extract(epoch from '2026-06-09 17:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.475972 -3.676612)', '2026-06-09 17:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475932 -3.676458)'), GeomFromEWKT('SRID=4674;POINT (-38.475972 -3.676612)'))) / (select extract(epoch from '2026-06-09 17:15:05'::timestamp) - extract(epoch from '2026-06-09 17:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475932 -3.676458)'), GeomFromEWKT('SRID=4674;POINT (-38.475972 -3.676612)'))) / (select extract(epoch from '2026-06-09 17:15:05'::timestamp) - extract(epoch from '2026-06-09 17:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476002 -3.676752)', '2026-06-09 17:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475972 -3.676612)'), GeomFromEWKT('SRID=4674;POINT (-38.476002 -3.676752)'))) / (select extract(epoch from '2026-06-09 17:15:11'::timestamp) - extract(epoch from '2026-06-09 17:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475972 -3.676612)'), GeomFromEWKT('SRID=4674;POINT (-38.476002 -3.676752)'))) / (select extract(epoch from '2026-06-09 17:15:11'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.476046 -3.676874)', '2026-06-09 17:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476002 -3.676752)'), GeomFromEWKT('SRID=4674;POINT (-38.476046 -3.676874)'))) / (select extract(epoch from '2026-06-09 17:15:16'::timestamp) - extract(epoch from '2026-06-09 17:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476002 -3.676752)'), GeomFromEWKT('SRID=4674;POINT (-38.476046 -3.676874)'))) / (select extract(epoch from '2026-06-09 17:15:16'::timestamp) - extract(epoch from '2026-06-09 17:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476105 -3.677027)', '2026-06-09 17:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476046 -3.676874)'), GeomFromEWKT('SRID=4674;POINT (-38.476105 -3.677027)'))) / (select extract(epoch from '2026-06-09 17:15:23'::timestamp) - extract(epoch from '2026-06-09 17:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476046 -3.676874)'), GeomFromEWKT('SRID=4674;POINT (-38.476105 -3.677027)'))) / (select extract(epoch from '2026-06-09 17:15:23'::timestamp) - extract(epoch from '2026-06-09 17:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476154 -3.677166)', '2026-06-09 17:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476105 -3.677027)'), GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.677166)'))) / (select extract(epoch from '2026-06-09 17:15:29'::timestamp) - extract(epoch from '2026-06-09 17:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476105 -3.677027)'), GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.677166)'))) / (select extract(epoch from '2026-06-09 17:15:29'::timestamp) - extract(epoch from '2026-06-09 17:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476198 -3.677258)', '2026-06-09 17:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.677166)'), GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.677258)'))) / (select extract(epoch from '2026-06-09 17:15:33'::timestamp) - extract(epoch from '2026-06-09 17:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.677166)'), GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.677258)'))) / (select extract(epoch from '2026-06-09 17:15:33'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.476204 -3.677278)', '2026-06-09 17:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.677258)'), GeomFromEWKT('SRID=4674;POINT (-38.476204 -3.677278)'))) / (select extract(epoch from '2026-06-09 17:15:34'::timestamp) - extract(epoch from '2026-06-09 17:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.677258)'), GeomFromEWKT('SRID=4674;POINT (-38.476204 -3.677278)'))) / (select extract(epoch from '2026-06-09 17:15:34'::timestamp) - extract(epoch from '2026-06-09 17:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47623 -3.677355)', '2026-06-09 17:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476204 -3.677278)'), GeomFromEWKT('SRID=4674;POINT (-38.47623 -3.677355)'))) / (select extract(epoch from '2026-06-09 17:15:37'::timestamp) - extract(epoch from '2026-06-09 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476204 -3.677278)'), GeomFromEWKT('SRID=4674;POINT (-38.47623 -3.677355)'))) / (select extract(epoch from '2026-06-09 17:15:37'::timestamp) - extract(epoch from '2026-06-09 17:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47626 -3.677511)', '2026-06-09 17:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47623 -3.677355)'), GeomFromEWKT('SRID=4674;POINT (-38.47626 -3.677511)'))) / (select extract(epoch from '2026-06-09 17:15:43'::timestamp) - extract(epoch from '2026-06-09 17:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47623 -3.677355)'), GeomFromEWKT('SRID=4674;POINT (-38.47626 -3.677511)'))) / (select extract(epoch from '2026-06-09 17:15:43'::timestamp) - extract(epoch from '2026-06-09 17:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476302 -3.677659)', '2026-06-09 17:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47626 -3.677511)'), GeomFromEWKT('SRID=4674;POINT (-38.476302 -3.677659)'))) / (select extract(epoch from '2026-06-09 17:15:49'::timestamp) - extract(epoch from '2026-06-09 17:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47626 -3.677511)'), GeomFromEWKT('SRID=4674;POINT (-38.476302 -3.677659)'))) / (select extract(epoch from '2026-06-09 17:15:49'::timestamp) - extract(epoch from '2026-06-09 17:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476354 -3.677806)', '2026-06-09 17:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476302 -3.677659)'), GeomFromEWKT('SRID=4674;POINT (-38.476354 -3.677806)'))) / (select extract(epoch from '2026-06-09 17:15:55'::timestamp) - extract(epoch from '2026-06-09 17:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476302 -3.677659)'), GeomFromEWKT('SRID=4674;POINT (-38.476354 -3.677806)'))) / (select extract(epoch from '2026-06-09 17:15:55'::timestamp) - extract(epoch from '2026-06-09 17:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476394 -3.677931)', '2026-06-09 17:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476354 -3.677806)'), GeomFromEWKT('SRID=4674;POINT (-38.476394 -3.677931)'))) / (select extract(epoch from '2026-06-09 17:16:00'::timestamp) - extract(epoch from '2026-06-09 17:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476354 -3.677806)'), GeomFromEWKT('SRID=4674;POINT (-38.476394 -3.677931)'))) / (select extract(epoch from '2026-06-09 17:16:00'::timestamp) - extract(epoch from '2026-06-09 17:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476434 -3.678088)', '2026-06-09 17:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476394 -3.677931)'), GeomFromEWKT('SRID=4674;POINT (-38.476434 -3.678088)'))) / (select extract(epoch from '2026-06-09 17:16:06'::timestamp) - extract(epoch from '2026-06-09 17:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476394 -3.677931)'), GeomFromEWKT('SRID=4674;POINT (-38.476434 -3.678088)'))) / (select extract(epoch from '2026-06-09 17:16:06'::timestamp) - extract(epoch from '2026-06-09 17:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476475 -3.678181)', '2026-06-09 17:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476434 -3.678088)'), GeomFromEWKT('SRID=4674;POINT (-38.476475 -3.678181)'))) / (select extract(epoch from '2026-06-09 17:16:10'::timestamp) - extract(epoch from '2026-06-09 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476434 -3.678088)'), GeomFromEWKT('SRID=4674;POINT (-38.476475 -3.678181)'))) / (select extract(epoch from '2026-06-09 17:16:10'::timestamp) - extract(epoch from '2026-06-09 17:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476521 -3.678308)', '2026-06-09 17:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476475 -3.678181)'), GeomFromEWKT('SRID=4674;POINT (-38.476521 -3.678308)'))) / (select extract(epoch from '2026-06-09 17:16:15'::timestamp) - extract(epoch from '2026-06-09 17:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476475 -3.678181)'), GeomFromEWKT('SRID=4674;POINT (-38.476521 -3.678308)'))) / (select extract(epoch from '2026-06-09 17:16:15'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.47657 -3.678452)', '2026-06-09 17:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476521 -3.678308)'), GeomFromEWKT('SRID=4674;POINT (-38.47657 -3.678452)'))) / (select extract(epoch from '2026-06-09 17:16:21'::timestamp) - extract(epoch from '2026-06-09 17:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476521 -3.678308)'), GeomFromEWKT('SRID=4674;POINT (-38.47657 -3.678452)'))) / (select extract(epoch from '2026-06-09 17:16:21'::timestamp) - extract(epoch from '2026-06-09 17:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476617 -3.678581)', '2026-06-09 17:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47657 -3.678452)'), GeomFromEWKT('SRID=4674;POINT (-38.476617 -3.678581)'))) / (select extract(epoch from '2026-06-09 17:16:26'::timestamp) - extract(epoch from '2026-06-09 17:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47657 -3.678452)'), GeomFromEWKT('SRID=4674;POINT (-38.476617 -3.678581)'))) / (select extract(epoch from '2026-06-09 17:16:26'::timestamp) - extract(epoch from '2026-06-09 17:16:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476681 -3.678739)', '2026-06-09 17:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476617 -3.678581)'), GeomFromEWKT('SRID=4674;POINT (-38.476681 -3.678739)'))) / (select extract(epoch from '2026-06-09 17:16:32'::timestamp) - extract(epoch from '2026-06-09 17:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476617 -3.678581)'), GeomFromEWKT('SRID=4674;POINT (-38.476681 -3.678739)'))) / (select extract(epoch from '2026-06-09 17:16:32'::timestamp) - extract(epoch from '2026-06-09 17:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476743 -3.678916)', '2026-06-09 17:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476681 -3.678739)'), GeomFromEWKT('SRID=4674;POINT (-38.476743 -3.678916)'))) / (select extract(epoch from '2026-06-09 17:16:39'::timestamp) - extract(epoch from '2026-06-09 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476681 -3.678739)'), GeomFromEWKT('SRID=4674;POINT (-38.476743 -3.678916)'))) / (select extract(epoch from '2026-06-09 17:16:39'::timestamp) - extract(epoch from '2026-06-09 17:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.476805 -3.679091)', '2026-06-09 17:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476743 -3.678916)'), GeomFromEWKT('SRID=4674;POINT (-38.476805 -3.679091)'))) / (select extract(epoch from '2026-06-09 17:16:46'::timestamp) - extract(epoch from '2026-06-09 17:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476743 -3.678916)'), GeomFromEWKT('SRID=4674;POINT (-38.476805 -3.679091)'))) / (select extract(epoch from '2026-06-09 17:16:46'::timestamp) - extract(epoch from '2026-06-09 17:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47687 -3.679237)', '2026-06-09 17:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476805 -3.679091)'), GeomFromEWKT('SRID=4674;POINT (-38.47687 -3.679237)'))) / (select extract(epoch from '2026-06-09 17:16:52'::timestamp) - extract(epoch from '2026-06-09 17:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476805 -3.679091)'), GeomFromEWKT('SRID=4674;POINT (-38.47687 -3.679237)'))) / (select extract(epoch from '2026-06-09 17:16:52'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.476926 -3.679357)', '2026-06-09 17:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47687 -3.679237)'), GeomFromEWKT('SRID=4674;POINT (-38.476926 -3.679357)'))) / (select extract(epoch from '2026-06-09 17:16:57'::timestamp) - extract(epoch from '2026-06-09 17:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47687 -3.679237)'), GeomFromEWKT('SRID=4674;POINT (-38.476926 -3.679357)'))) / (select extract(epoch from '2026-06-09 17:16:57'::timestamp) - extract(epoch from '2026-06-09 17:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47698 -3.679538)', '2026-06-09 17:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476926 -3.679357)'), GeomFromEWKT('SRID=4674;POINT (-38.47698 -3.679538)'))) / (select extract(epoch from '2026-06-09 17:17:04'::timestamp) - extract(epoch from '2026-06-09 17:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476926 -3.679357)'), GeomFromEWKT('SRID=4674;POINT (-38.47698 -3.679538)'))) / (select extract(epoch from '2026-06-09 17:17:04'::timestamp) - extract(epoch from '2026-06-09 17:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477019 -3.679692)', '2026-06-09 17:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47698 -3.679538)'), GeomFromEWKT('SRID=4674;POINT (-38.477019 -3.679692)'))) / (select extract(epoch from '2026-06-09 17:17:10'::timestamp) - extract(epoch from '2026-06-09 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47698 -3.679538)'), GeomFromEWKT('SRID=4674;POINT (-38.477019 -3.679692)'))) / (select extract(epoch from '2026-06-09 17:17:10'::timestamp) - extract(epoch from '2026-06-09 17:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477078 -3.679867)', '2026-06-09 17:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477019 -3.679692)'), GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.679867)'))) / (select extract(epoch from '2026-06-09 17:17:17'::timestamp) - extract(epoch from '2026-06-09 17:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477019 -3.679692)'), GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.679867)'))) / (select extract(epoch from '2026-06-09 17:17:17'::timestamp) - extract(epoch from '2026-06-09 17:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477118 -3.679964)', '2026-06-09 17:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.679867)'), GeomFromEWKT('SRID=4674;POINT (-38.477118 -3.679964)'))) / (select extract(epoch from '2026-06-09 17:17:21'::timestamp) - extract(epoch from '2026-06-09 17:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.679867)'), GeomFromEWKT('SRID=4674;POINT (-38.477118 -3.679964)'))) / (select extract(epoch from '2026-06-09 17:17:21'::timestamp) - extract(epoch from '2026-06-09 17:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477186 -3.680107)', '2026-06-09 17:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477118 -3.679964)'), GeomFromEWKT('SRID=4674;POINT (-38.477186 -3.680107)'))) / (select extract(epoch from '2026-06-09 17:17:27'::timestamp) - extract(epoch from '2026-06-09 17:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477118 -3.679964)'), GeomFromEWKT('SRID=4674;POINT (-38.477186 -3.680107)'))) / (select extract(epoch from '2026-06-09 17:17:27'::timestamp) - extract(epoch from '2026-06-09 17:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477234 -3.680259)', '2026-06-09 17:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477186 -3.680107)'), GeomFromEWKT('SRID=4674;POINT (-38.477234 -3.680259)'))) / (select extract(epoch from '2026-06-09 17:17:33'::timestamp) - extract(epoch from '2026-06-09 17:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477186 -3.680107)'), GeomFromEWKT('SRID=4674;POINT (-38.477234 -3.680259)'))) / (select extract(epoch from '2026-06-09 17:17:33'::timestamp) - extract(epoch from '2026-06-09 17:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477275 -3.680388)', '2026-06-09 17:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477234 -3.680259)'), GeomFromEWKT('SRID=4674;POINT (-38.477275 -3.680388)'))) / (select extract(epoch from '2026-06-09 17:17:38'::timestamp) - extract(epoch from '2026-06-09 17:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477234 -3.680259)'), GeomFromEWKT('SRID=4674;POINT (-38.477275 -3.680388)'))) / (select extract(epoch from '2026-06-09 17:17:38'::timestamp) - extract(epoch from '2026-06-09 17:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477334 -3.680532)', '2026-06-09 17:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477275 -3.680388)'), GeomFromEWKT('SRID=4674;POINT (-38.477334 -3.680532)'))) / (select extract(epoch from '2026-06-09 17:17:44'::timestamp) - extract(epoch from '2026-06-09 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477275 -3.680388)'), GeomFromEWKT('SRID=4674;POINT (-38.477334 -3.680532)'))) / (select extract(epoch from '2026-06-09 17:17:44'::timestamp) - extract(epoch from '2026-06-09 17:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477378 -3.680653)', '2026-06-09 17:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477334 -3.680532)'), GeomFromEWKT('SRID=4674;POINT (-38.477378 -3.680653)'))) / (select extract(epoch from '2026-06-09 17:17:49'::timestamp) - extract(epoch from '2026-06-09 17:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477334 -3.680532)'), GeomFromEWKT('SRID=4674;POINT (-38.477378 -3.680653)'))) / (select extract(epoch from '2026-06-09 17:17:49'::timestamp) - extract(epoch from '2026-06-09 17:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477426 -3.680772)', '2026-06-09 17:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477378 -3.680653)'), GeomFromEWKT('SRID=4674;POINT (-38.477426 -3.680772)'))) / (select extract(epoch from '2026-06-09 17:17:54'::timestamp) - extract(epoch from '2026-06-09 17:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477378 -3.680653)'), GeomFromEWKT('SRID=4674;POINT (-38.477426 -3.680772)'))) / (select extract(epoch from '2026-06-09 17:17:54'::timestamp) - extract(epoch from '2026-06-09 17:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477488 -3.680915)', '2026-06-09 17:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477426 -3.680772)'), GeomFromEWKT('SRID=4674;POINT (-38.477488 -3.680915)'))) / (select extract(epoch from '2026-06-09 17:18:00'::timestamp) - extract(epoch from '2026-06-09 17:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477426 -3.680772)'), GeomFromEWKT('SRID=4674;POINT (-38.477488 -3.680915)'))) / (select extract(epoch from '2026-06-09 17:18:00'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.477539 -3.681028)', '2026-06-09 17:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477488 -3.680915)'), GeomFromEWKT('SRID=4674;POINT (-38.477539 -3.681028)'))) / (select extract(epoch from '2026-06-09 17:18:05'::timestamp) - extract(epoch from '2026-06-09 17:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477488 -3.680915)'), GeomFromEWKT('SRID=4674;POINT (-38.477539 -3.681028)'))) / (select extract(epoch from '2026-06-09 17:18:05'::timestamp) - extract(epoch from '2026-06-09 17:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477575 -3.681174)', '2026-06-09 17:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477539 -3.681028)'), GeomFromEWKT('SRID=4674;POINT (-38.477575 -3.681174)'))) / (select extract(epoch from '2026-06-09 17:18:11'::timestamp) - extract(epoch from '2026-06-09 17:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477539 -3.681028)'), GeomFromEWKT('SRID=4674;POINT (-38.477575 -3.681174)'))) / (select extract(epoch from '2026-06-09 17:18:11'::timestamp) - extract(epoch from '2026-06-09 17:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477603 -3.681298)', '2026-06-09 17:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477575 -3.681174)'), GeomFromEWKT('SRID=4674;POINT (-38.477603 -3.681298)'))) / (select extract(epoch from '2026-06-09 17:18:16'::timestamp) - extract(epoch from '2026-06-09 17:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477575 -3.681174)'), GeomFromEWKT('SRID=4674;POINT (-38.477603 -3.681298)'))) / (select extract(epoch from '2026-06-09 17:18:16'::timestamp) - extract(epoch from '2026-06-09 17:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477625 -3.681419)', '2026-06-09 17:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477603 -3.681298)'), GeomFromEWKT('SRID=4674;POINT (-38.477625 -3.681419)'))) / (select extract(epoch from '2026-06-09 17:18:21'::timestamp) - extract(epoch from '2026-06-09 17:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477603 -3.681298)'), GeomFromEWKT('SRID=4674;POINT (-38.477625 -3.681419)'))) / (select extract(epoch from '2026-06-09 17:18:21'::timestamp) - extract(epoch from '2026-06-09 17:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47768 -3.681598)', '2026-06-09 17:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477625 -3.681419)'), GeomFromEWKT('SRID=4674;POINT (-38.47768 -3.681598)'))) / (select extract(epoch from '2026-06-09 17:18:28'::timestamp) - extract(epoch from '2026-06-09 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477625 -3.681419)'), GeomFromEWKT('SRID=4674;POINT (-38.47768 -3.681598)'))) / (select extract(epoch from '2026-06-09 17:18:28'::timestamp) - extract(epoch from '2026-06-09 17:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47773 -3.681763)', '2026-06-09 17:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47768 -3.681598)'), GeomFromEWKT('SRID=4674;POINT (-38.47773 -3.681763)'))) / (select extract(epoch from '2026-06-09 17:18:35'::timestamp) - extract(epoch from '2026-06-09 17:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47768 -3.681598)'), GeomFromEWKT('SRID=4674;POINT (-38.47773 -3.681763)'))) / (select extract(epoch from '2026-06-09 17:18:35'::timestamp) - extract(epoch from '2026-06-09 17:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477779 -3.681899)', '2026-06-09 17:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47773 -3.681763)'), GeomFromEWKT('SRID=4674;POINT (-38.477779 -3.681899)'))) / (select extract(epoch from '2026-06-09 17:18:41'::timestamp) - extract(epoch from '2026-06-09 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47773 -3.681763)'), GeomFromEWKT('SRID=4674;POINT (-38.477779 -3.681899)'))) / (select extract(epoch from '2026-06-09 17:18:41'::timestamp) - extract(epoch from '2026-06-09 17:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477803 -3.682022)', '2026-06-09 17:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477779 -3.681899)'), GeomFromEWKT('SRID=4674;POINT (-38.477803 -3.682022)'))) / (select extract(epoch from '2026-06-09 17:18:46'::timestamp) - extract(epoch from '2026-06-09 17:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477779 -3.681899)'), GeomFromEWKT('SRID=4674;POINT (-38.477803 -3.682022)'))) / (select extract(epoch from '2026-06-09 17:18:46'::timestamp) - extract(epoch from '2026-06-09 17:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477843 -3.682187)', '2026-06-09 17:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477803 -3.682022)'), GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.682187)'))) / (select extract(epoch from '2026-06-09 17:18:53'::timestamp) - extract(epoch from '2026-06-09 17:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477803 -3.682022)'), GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.682187)'))) / (select extract(epoch from '2026-06-09 17:18:53'::timestamp) - extract(epoch from '2026-06-09 17:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.477902 -3.682322)', '2026-06-09 17:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.682187)'), GeomFromEWKT('SRID=4674;POINT (-38.477902 -3.682322)'))) / (select extract(epoch from '2026-06-09 17:18:59'::timestamp) - extract(epoch from '2026-06-09 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.682187)'), GeomFromEWKT('SRID=4674;POINT (-38.477902 -3.682322)'))) / (select extract(epoch from '2026-06-09 17:18:59'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.47796 -3.682453)', '2026-06-09 17:19:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477902 -3.682322)'), GeomFromEWKT('SRID=4674;POINT (-38.47796 -3.682453)'))) / (select extract(epoch from '2026-06-09 17:19:05'::timestamp) - extract(epoch from '2026-06-09 17:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477902 -3.682322)'), GeomFromEWKT('SRID=4674;POINT (-38.47796 -3.682453)'))) / (select extract(epoch from '2026-06-09 17:19:05'::timestamp) - extract(epoch from '2026-06-09 17:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478005 -3.682554)', '2026-06-09 17:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47796 -3.682453)'), GeomFromEWKT('SRID=4674;POINT (-38.478005 -3.682554)'))) / (select extract(epoch from '2026-06-09 17:19:10'::timestamp) - extract(epoch from '2026-06-09 17:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47796 -3.682453)'), GeomFromEWKT('SRID=4674;POINT (-38.478005 -3.682554)'))) / (select extract(epoch from '2026-06-09 17:19:10'::timestamp) - extract(epoch from '2026-06-09 17:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478048 -3.682671)', '2026-06-09 17:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478005 -3.682554)'), GeomFromEWKT('SRID=4674;POINT (-38.478048 -3.682671)'))) / (select extract(epoch from '2026-06-09 17:19:15'::timestamp) - extract(epoch from '2026-06-09 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478005 -3.682554)'), GeomFromEWKT('SRID=4674;POINT (-38.478048 -3.682671)'))) / (select extract(epoch from '2026-06-09 17:19:15'::timestamp) - extract(epoch from '2026-06-09 17:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47809 -3.682783)', '2026-06-09 17:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478048 -3.682671)'), GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.682783)'))) / (select extract(epoch from '2026-06-09 17:19:20'::timestamp) - extract(epoch from '2026-06-09 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478048 -3.682671)'), GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.682783)'))) / (select extract(epoch from '2026-06-09 17:19:20'::timestamp) - extract(epoch from '2026-06-09 17:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478139 -3.682903)', '2026-06-09 17:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.682783)'), GeomFromEWKT('SRID=4674;POINT (-38.478139 -3.682903)'))) / (select extract(epoch from '2026-06-09 17:19:25'::timestamp) - extract(epoch from '2026-06-09 17:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.682783)'), GeomFromEWKT('SRID=4674;POINT (-38.478139 -3.682903)'))) / (select extract(epoch from '2026-06-09 17:19:25'::timestamp) - extract(epoch from '2026-06-09 17:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47819 -3.68302)', '2026-06-09 17:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478139 -3.682903)'), GeomFromEWKT('SRID=4674;POINT (-38.47819 -3.68302)'))) / (select extract(epoch from '2026-06-09 17:19:30'::timestamp) - extract(epoch from '2026-06-09 17:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478139 -3.682903)'), GeomFromEWKT('SRID=4674;POINT (-38.47819 -3.68302)'))) / (select extract(epoch from '2026-06-09 17:19:30'::timestamp) - extract(epoch from '2026-06-09 17:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47825 -3.683163)', '2026-06-09 17:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47819 -3.68302)'), GeomFromEWKT('SRID=4674;POINT (-38.47825 -3.683163)'))) / (select extract(epoch from '2026-06-09 17:19:36'::timestamp) - extract(epoch from '2026-06-09 17:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47819 -3.68302)'), GeomFromEWKT('SRID=4674;POINT (-38.47825 -3.683163)'))) / (select extract(epoch from '2026-06-09 17:19:36'::timestamp) - extract(epoch from '2026-06-09 17:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478313 -3.683284)', '2026-06-09 17:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47825 -3.683163)'), GeomFromEWKT('SRID=4674;POINT (-38.478313 -3.683284)'))) / (select extract(epoch from '2026-06-09 17:19:41'::timestamp) - extract(epoch from '2026-06-09 17:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47825 -3.683163)'), GeomFromEWKT('SRID=4674;POINT (-38.478313 -3.683284)'))) / (select extract(epoch from '2026-06-09 17:19:41'::timestamp) - extract(epoch from '2026-06-09 17:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478379 -3.68343)', '2026-06-09 17:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478313 -3.683284)'), GeomFromEWKT('SRID=4674;POINT (-38.478379 -3.68343)'))) / (select extract(epoch from '2026-06-09 17:19:47'::timestamp) - extract(epoch from '2026-06-09 17:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478313 -3.683284)'), GeomFromEWKT('SRID=4674;POINT (-38.478379 -3.68343)'))) / (select extract(epoch from '2026-06-09 17:19:47'::timestamp) - extract(epoch from '2026-06-09 17:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478432 -3.683585)', '2026-06-09 17:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478379 -3.68343)'), GeomFromEWKT('SRID=4674;POINT (-38.478432 -3.683585)'))) / (select extract(epoch from '2026-06-09 17:19:53'::timestamp) - extract(epoch from '2026-06-09 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478379 -3.68343)'), GeomFromEWKT('SRID=4674;POINT (-38.478432 -3.683585)'))) / (select extract(epoch from '2026-06-09 17:19:53'::timestamp) - extract(epoch from '2026-06-09 17:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47846 -3.68374)', '2026-06-09 17:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478432 -3.683585)'), GeomFromEWKT('SRID=4674;POINT (-38.47846 -3.68374)'))) / (select extract(epoch from '2026-06-09 17:19:59'::timestamp) - extract(epoch from '2026-06-09 17:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478432 -3.683585)'), GeomFromEWKT('SRID=4674;POINT (-38.47846 -3.68374)'))) / (select extract(epoch from '2026-06-09 17:19:59'::timestamp) - extract(epoch from '2026-06-09 17:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478475 -3.68389)', '2026-06-09 17:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47846 -3.68374)'), GeomFromEWKT('SRID=4674;POINT (-38.478475 -3.68389)'))) / (select extract(epoch from '2026-06-09 17:20:05'::timestamp) - extract(epoch from '2026-06-09 17:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47846 -3.68374)'), GeomFromEWKT('SRID=4674;POINT (-38.478475 -3.68389)'))) / (select extract(epoch from '2026-06-09 17:20:05'::timestamp) - extract(epoch from '2026-06-09 17:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478503 -3.684023)', '2026-06-09 17:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478475 -3.68389)'), GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.684023)'))) / (select extract(epoch from '2026-06-09 17:20:10'::timestamp) - extract(epoch from '2026-06-09 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478475 -3.68389)'), GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.684023)'))) / (select extract(epoch from '2026-06-09 17:20:10'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.478573 -3.684241)', '2026-06-09 17:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.684023)'), GeomFromEWKT('SRID=4674;POINT (-38.478573 -3.684241)'))) / (select extract(epoch from '2026-06-09 17:20:18'::timestamp) - extract(epoch from '2026-06-09 17:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.684023)'), GeomFromEWKT('SRID=4674;POINT (-38.478573 -3.684241)'))) / (select extract(epoch from '2026-06-09 17:20:18'::timestamp) - extract(epoch from '2026-06-09 17:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478622 -3.684396)', '2026-06-09 17:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478573 -3.684241)'), GeomFromEWKT('SRID=4674;POINT (-38.478622 -3.684396)'))) / (select extract(epoch from '2026-06-09 17:20:24'::timestamp) - extract(epoch from '2026-06-09 17:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478573 -3.684241)'), GeomFromEWKT('SRID=4674;POINT (-38.478622 -3.684396)'))) / (select extract(epoch from '2026-06-09 17:20:24'::timestamp) - extract(epoch from '2026-06-09 17:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478671 -3.684565)', '2026-06-09 17:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478622 -3.684396)'), GeomFromEWKT('SRID=4674;POINT (-38.478671 -3.684565)'))) / (select extract(epoch from '2026-06-09 17:20:31'::timestamp) - extract(epoch from '2026-06-09 17:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478622 -3.684396)'), GeomFromEWKT('SRID=4674;POINT (-38.478671 -3.684565)'))) / (select extract(epoch from '2026-06-09 17:20:31'::timestamp) - extract(epoch from '2026-06-09 17:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478705 -3.684719)', '2026-06-09 17:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478671 -3.684565)'), GeomFromEWKT('SRID=4674;POINT (-38.478705 -3.684719)'))) / (select extract(epoch from '2026-06-09 17:20:37'::timestamp) - extract(epoch from '2026-06-09 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478671 -3.684565)'), GeomFromEWKT('SRID=4674;POINT (-38.478705 -3.684719)'))) / (select extract(epoch from '2026-06-09 17:20:37'::timestamp) - extract(epoch from '2026-06-09 17:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478725 -3.684819)', '2026-06-09 17:20:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478705 -3.684719)'), GeomFromEWKT('SRID=4674;POINT (-38.478725 -3.684819)'))) / (select extract(epoch from '2026-06-09 17:20:41'::timestamp) - extract(epoch from '2026-06-09 17:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478705 -3.684719)'), GeomFromEWKT('SRID=4674;POINT (-38.478725 -3.684819)'))) / (select extract(epoch from '2026-06-09 17:20:41'::timestamp) - extract(epoch from '2026-06-09 17:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478769 -3.684943)', '2026-06-09 17:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478725 -3.684819)'), GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.684943)'))) / (select extract(epoch from '2026-06-09 17:20:46'::timestamp) - extract(epoch from '2026-06-09 17:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478725 -3.684819)'), GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.684943)'))) / (select extract(epoch from '2026-06-09 17:20:46'::timestamp) - extract(epoch from '2026-06-09 17:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47883 -3.685156)', '2026-06-09 17:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.684943)'), GeomFromEWKT('SRID=4674;POINT (-38.47883 -3.685156)'))) / (select extract(epoch from '2026-06-09 17:20:54'::timestamp) - extract(epoch from '2026-06-09 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.684943)'), GeomFromEWKT('SRID=4674;POINT (-38.47883 -3.685156)'))) / (select extract(epoch from '2026-06-09 17:20:54'::timestamp) - extract(epoch from '2026-06-09 17:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.478899 -3.685332)', '2026-06-09 17:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47883 -3.685156)'), GeomFromEWKT('SRID=4674;POINT (-38.478899 -3.685332)'))) / (select extract(epoch from '2026-06-09 17:21:01'::timestamp) - extract(epoch from '2026-06-09 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47883 -3.685156)'), GeomFromEWKT('SRID=4674;POINT (-38.478899 -3.685332)'))) / (select extract(epoch from '2026-06-09 17:21:01'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.478964 -3.685504)', '2026-06-09 17:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478899 -3.685332)'), GeomFromEWKT('SRID=4674;POINT (-38.478964 -3.685504)'))) / (select extract(epoch from '2026-06-09 17:21:08'::timestamp) - extract(epoch from '2026-06-09 17:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478899 -3.685332)'), GeomFromEWKT('SRID=4674;POINT (-38.478964 -3.685504)'))) / (select extract(epoch from '2026-06-09 17:21:08'::timestamp) - extract(epoch from '2026-06-09 17:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479001 -3.685606)', '2026-06-09 17:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478964 -3.685504)'), GeomFromEWKT('SRID=4674;POINT (-38.479001 -3.685606)'))) / (select extract(epoch from '2026-06-09 17:21:12'::timestamp) - extract(epoch from '2026-06-09 17:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478964 -3.685504)'), GeomFromEWKT('SRID=4674;POINT (-38.479001 -3.685606)'))) / (select extract(epoch from '2026-06-09 17:21:12'::timestamp) - extract(epoch from '2026-06-09 17:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479022 -3.685692)', '2026-06-09 17:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479001 -3.685606)'), GeomFromEWKT('SRID=4674;POINT (-38.479022 -3.685692)'))) / (select extract(epoch from '2026-06-09 17:21:16'::timestamp) - extract(epoch from '2026-06-09 17:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479001 -3.685606)'), GeomFromEWKT('SRID=4674;POINT (-38.479022 -3.685692)'))) / (select extract(epoch from '2026-06-09 17:21:16'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.479056 -3.685821)', '2026-06-09 17:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479022 -3.685692)'), GeomFromEWKT('SRID=4674;POINT (-38.479056 -3.685821)'))) / (select extract(epoch from '2026-06-09 17:21:21'::timestamp) - extract(epoch from '2026-06-09 17:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479022 -3.685692)'), GeomFromEWKT('SRID=4674;POINT (-38.479056 -3.685821)'))) / (select extract(epoch from '2026-06-09 17:21:21'::timestamp) - extract(epoch from '2026-06-09 17:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479101 -3.685947)', '2026-06-09 17:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479056 -3.685821)'), GeomFromEWKT('SRID=4674;POINT (-38.479101 -3.685947)'))) / (select extract(epoch from '2026-06-09 17:21:26'::timestamp) - extract(epoch from '2026-06-09 17:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479056 -3.685821)'), GeomFromEWKT('SRID=4674;POINT (-38.479101 -3.685947)'))) / (select extract(epoch from '2026-06-09 17:21:26'::timestamp) - extract(epoch from '2026-06-09 17:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479191 -3.68615)', '2026-06-09 17:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479101 -3.685947)'), GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.68615)'))) / (select extract(epoch from '2026-06-09 17:21:34'::timestamp) - extract(epoch from '2026-06-09 17:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479101 -3.685947)'), GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.68615)'))) / (select extract(epoch from '2026-06-09 17:21:34'::timestamp) - extract(epoch from '2026-06-09 17:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479276 -3.686345)', '2026-06-09 17:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.68615)'), GeomFromEWKT('SRID=4674;POINT (-38.479276 -3.686345)'))) / (select extract(epoch from '2026-06-09 17:21:42'::timestamp) - extract(epoch from '2026-06-09 17:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.68615)'), GeomFromEWKT('SRID=4674;POINT (-38.479276 -3.686345)'))) / (select extract(epoch from '2026-06-09 17:21:42'::timestamp) - extract(epoch from '2026-06-09 17:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479325 -3.686442)', '2026-06-09 17:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479276 -3.686345)'), GeomFromEWKT('SRID=4674;POINT (-38.479325 -3.686442)'))) / (select extract(epoch from '2026-06-09 17:21:46'::timestamp) - extract(epoch from '2026-06-09 17:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479276 -3.686345)'), GeomFromEWKT('SRID=4674;POINT (-38.479325 -3.686442)'))) / (select extract(epoch from '2026-06-09 17:21:46'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.479384 -3.686567)', '2026-06-09 17:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479325 -3.686442)'), GeomFromEWKT('SRID=4674;POINT (-38.479384 -3.686567)'))) / (select extract(epoch from '2026-06-09 17:21:51'::timestamp) - extract(epoch from '2026-06-09 17:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479325 -3.686442)'), GeomFromEWKT('SRID=4674;POINT (-38.479384 -3.686567)'))) / (select extract(epoch from '2026-06-09 17:21:51'::timestamp) - extract(epoch from '2026-06-09 17:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479445 -3.686703)', '2026-06-09 17:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479384 -3.686567)'), GeomFromEWKT('SRID=4674;POINT (-38.479445 -3.686703)'))) / (select extract(epoch from '2026-06-09 17:21:57'::timestamp) - extract(epoch from '2026-06-09 17:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479384 -3.686567)'), GeomFromEWKT('SRID=4674;POINT (-38.479445 -3.686703)'))) / (select extract(epoch from '2026-06-09 17:21:57'::timestamp) - extract(epoch from '2026-06-09 17:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479523 -3.686844)', '2026-06-09 17:22:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479445 -3.686703)'), GeomFromEWKT('SRID=4674;POINT (-38.479523 -3.686844)'))) / (select extract(epoch from '2026-06-09 17:22:03'::timestamp) - extract(epoch from '2026-06-09 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479445 -3.686703)'), GeomFromEWKT('SRID=4674;POINT (-38.479523 -3.686844)'))) / (select extract(epoch from '2026-06-09 17:22:03'::timestamp) - extract(epoch from '2026-06-09 17:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479573 -3.68698)', '2026-06-09 17:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479523 -3.686844)'), GeomFromEWKT('SRID=4674;POINT (-38.479573 -3.68698)'))) / (select extract(epoch from '2026-06-09 17:22:08'::timestamp) - extract(epoch from '2026-06-09 17:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479523 -3.686844)'), GeomFromEWKT('SRID=4674;POINT (-38.479573 -3.68698)'))) / (select extract(epoch from '2026-06-09 17:22:08'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.479629 -3.687115)', '2026-06-09 17:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479573 -3.68698)'), GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.687115)'))) / (select extract(epoch from '2026-06-09 17:22:13'::timestamp) - extract(epoch from '2026-06-09 17:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479573 -3.68698)'), GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.687115)'))) / (select extract(epoch from '2026-06-09 17:22:13'::timestamp) - extract(epoch from '2026-06-09 17:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479694 -3.687247)', '2026-06-09 17:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.687115)'), GeomFromEWKT('SRID=4674;POINT (-38.479694 -3.687247)'))) / (select extract(epoch from '2026-06-09 17:22:18'::timestamp) - extract(epoch from '2026-06-09 17:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.687115)'), GeomFromEWKT('SRID=4674;POINT (-38.479694 -3.687247)'))) / (select extract(epoch from '2026-06-09 17:22:18'::timestamp) - extract(epoch from '2026-06-09 17:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479748 -3.68737)', '2026-06-09 17:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479694 -3.687247)'), GeomFromEWKT('SRID=4674;POINT (-38.479748 -3.68737)'))) / (select extract(epoch from '2026-06-09 17:22:23'::timestamp) - extract(epoch from '2026-06-09 17:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479694 -3.687247)'), GeomFromEWKT('SRID=4674;POINT (-38.479748 -3.68737)'))) / (select extract(epoch from '2026-06-09 17:22:23'::timestamp) - extract(epoch from '2026-06-09 17:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479804 -3.687491)', '2026-06-09 17:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479748 -3.68737)'), GeomFromEWKT('SRID=4674;POINT (-38.479804 -3.687491)'))) / (select extract(epoch from '2026-06-09 17:22:28'::timestamp) - extract(epoch from '2026-06-09 17:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479748 -3.68737)'), GeomFromEWKT('SRID=4674;POINT (-38.479804 -3.687491)'))) / (select extract(epoch from '2026-06-09 17:22:28'::timestamp) - extract(epoch from '2026-06-09 17:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.479887 -3.687678)', '2026-06-09 17:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479804 -3.687491)'), GeomFromEWKT('SRID=4674;POINT (-38.479887 -3.687678)'))) / (select extract(epoch from '2026-06-09 17:22:36'::timestamp) - extract(epoch from '2026-06-09 17:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479804 -3.687491)'), GeomFromEWKT('SRID=4674;POINT (-38.479887 -3.687678)'))) / (select extract(epoch from '2026-06-09 17:22:36'::timestamp) - extract(epoch from '2026-06-09 17:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.47995 -3.687833)', '2026-06-09 17:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479887 -3.687678)'), GeomFromEWKT('SRID=4674;POINT (-38.47995 -3.687833)'))) / (select extract(epoch from '2026-06-09 17:22:42'::timestamp) - extract(epoch from '2026-06-09 17:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479887 -3.687678)'), GeomFromEWKT('SRID=4674;POINT (-38.47995 -3.687833)'))) / (select extract(epoch from '2026-06-09 17:22:42'::timestamp) - extract(epoch from '2026-06-09 17:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480018 -3.688)', '2026-06-09 17:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47995 -3.687833)'), GeomFromEWKT('SRID=4674;POINT (-38.480018 -3.688)'))) / (select extract(epoch from '2026-06-09 17:22:49'::timestamp) - extract(epoch from '2026-06-09 17:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47995 -3.687833)'), GeomFromEWKT('SRID=4674;POINT (-38.480018 -3.688)'))) / (select extract(epoch from '2026-06-09 17:22:49'::timestamp) - extract(epoch from '2026-06-09 17:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480107 -3.688197)', '2026-06-09 17:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480018 -3.688)'), GeomFromEWKT('SRID=4674;POINT (-38.480107 -3.688197)'))) / (select extract(epoch from '2026-06-09 17:22:57'::timestamp) - extract(epoch from '2026-06-09 17:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480018 -3.688)'), GeomFromEWKT('SRID=4674;POINT (-38.480107 -3.688197)'))) / (select extract(epoch from '2026-06-09 17:22:57'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.480173 -3.68835)', '2026-06-09 17:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480107 -3.688197)'), GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.68835)'))) / (select extract(epoch from '2026-06-09 17:23:03'::timestamp) - extract(epoch from '2026-06-09 17:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480107 -3.688197)'), GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.68835)'))) / (select extract(epoch from '2026-06-09 17:23:03'::timestamp) - extract(epoch from '2026-06-09 17:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480235 -3.688527)', '2026-06-09 17:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.68835)'), GeomFromEWKT('SRID=4674;POINT (-38.480235 -3.688527)'))) / (select extract(epoch from '2026-06-09 17:23:10'::timestamp) - extract(epoch from '2026-06-09 17:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.68835)'), GeomFromEWKT('SRID=4674;POINT (-38.480235 -3.688527)'))) / (select extract(epoch from '2026-06-09 17:23:10'::timestamp) - extract(epoch from '2026-06-09 17:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480279 -3.688646)', '2026-06-09 17:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480235 -3.688527)'), GeomFromEWKT('SRID=4674;POINT (-38.480279 -3.688646)'))) / (select extract(epoch from '2026-06-09 17:23:15'::timestamp) - extract(epoch from '2026-06-09 17:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480235 -3.688527)'), GeomFromEWKT('SRID=4674;POINT (-38.480279 -3.688646)'))) / (select extract(epoch from '2026-06-09 17:23:15'::timestamp) - extract(epoch from '2026-06-09 17:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480317 -3.688773)', '2026-06-09 17:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480279 -3.688646)'), GeomFromEWKT('SRID=4674;POINT (-38.480317 -3.688773)'))) / (select extract(epoch from '2026-06-09 17:23:20'::timestamp) - extract(epoch from '2026-06-09 17:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480279 -3.688646)'), GeomFromEWKT('SRID=4674;POINT (-38.480317 -3.688773)'))) / (select extract(epoch from '2026-06-09 17:23:20'::timestamp) - extract(epoch from '2026-06-09 17:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480375 -3.688919)', '2026-06-09 17:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480317 -3.688773)'), GeomFromEWKT('SRID=4674;POINT (-38.480375 -3.688919)'))) / (select extract(epoch from '2026-06-09 17:23:26'::timestamp) - extract(epoch from '2026-06-09 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480317 -3.688773)'), GeomFromEWKT('SRID=4674;POINT (-38.480375 -3.688919)'))) / (select extract(epoch from '2026-06-09 17:23:26'::timestamp) - extract(epoch from '2026-06-09 17:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480441 -3.689096)', '2026-06-09 17:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480375 -3.688919)'), GeomFromEWKT('SRID=4674;POINT (-38.480441 -3.689096)'))) / (select extract(epoch from '2026-06-09 17:23:33'::timestamp) - extract(epoch from '2026-06-09 17:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480375 -3.688919)'), GeomFromEWKT('SRID=4674;POINT (-38.480441 -3.689096)'))) / (select extract(epoch from '2026-06-09 17:23:33'::timestamp) - extract(epoch from '2026-06-09 17:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480491 -3.689211)', '2026-06-09 17:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480441 -3.689096)'), GeomFromEWKT('SRID=4674;POINT (-38.480491 -3.689211)'))) / (select extract(epoch from '2026-06-09 17:23:38'::timestamp) - extract(epoch from '2026-06-09 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480441 -3.689096)'), GeomFromEWKT('SRID=4674;POINT (-38.480491 -3.689211)'))) / (select extract(epoch from '2026-06-09 17:23:38'::timestamp) - extract(epoch from '2026-06-09 17:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480535 -3.689361)', '2026-06-09 17:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480491 -3.689211)'), GeomFromEWKT('SRID=4674;POINT (-38.480535 -3.689361)'))) / (select extract(epoch from '2026-06-09 17:23:44'::timestamp) - extract(epoch from '2026-06-09 17:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480491 -3.689211)'), GeomFromEWKT('SRID=4674;POINT (-38.480535 -3.689361)'))) / (select extract(epoch from '2026-06-09 17:23:44'::timestamp) - extract(epoch from '2026-06-09 17:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480565 -3.689516)', '2026-06-09 17:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480535 -3.689361)'), GeomFromEWKT('SRID=4674;POINT (-38.480565 -3.689516)'))) / (select extract(epoch from '2026-06-09 17:23:50'::timestamp) - extract(epoch from '2026-06-09 17:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480535 -3.689361)'), GeomFromEWKT('SRID=4674;POINT (-38.480565 -3.689516)'))) / (select extract(epoch from '2026-06-09 17:23:50'::timestamp) - extract(epoch from '2026-06-09 17:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480607 -3.689668)', '2026-06-09 17:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480565 -3.689516)'), GeomFromEWKT('SRID=4674;POINT (-38.480607 -3.689668)'))) / (select extract(epoch from '2026-06-09 17:23:56'::timestamp) - extract(epoch from '2026-06-09 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480565 -3.689516)'), GeomFromEWKT('SRID=4674;POINT (-38.480607 -3.689668)'))) / (select extract(epoch from '2026-06-09 17:23:56'::timestamp) - extract(epoch from '2026-06-09 17:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480643 -3.6898)', '2026-06-09 17:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480607 -3.689668)'), GeomFromEWKT('SRID=4674;POINT (-38.480643 -3.6898)'))) / (select extract(epoch from '2026-06-09 17:24:01'::timestamp) - extract(epoch from '2026-06-09 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480607 -3.689668)'), GeomFromEWKT('SRID=4674;POINT (-38.480643 -3.6898)'))) / (select extract(epoch from '2026-06-09 17:24:01'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.480705 -3.690042)', '2026-06-09 17:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480643 -3.6898)'), GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.690042)'))) / (select extract(epoch from '2026-06-09 17:24:10'::timestamp) - extract(epoch from '2026-06-09 17:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480643 -3.6898)'), GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.690042)'))) / (select extract(epoch from '2026-06-09 17:24:10'::timestamp) - extract(epoch from '2026-06-09 17:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48079 -3.690296)', '2026-06-09 17:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.690042)'), GeomFromEWKT('SRID=4674;POINT (-38.48079 -3.690296)'))) / (select extract(epoch from '2026-06-09 17:24:19'::timestamp) - extract(epoch from '2026-06-09 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.690042)'), GeomFromEWKT('SRID=4674;POINT (-38.48079 -3.690296)'))) / (select extract(epoch from '2026-06-09 17:24:19'::timestamp) - extract(epoch from '2026-06-09 17:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480847 -3.690428)', '2026-06-09 17:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48079 -3.690296)'), GeomFromEWKT('SRID=4674;POINT (-38.480847 -3.690428)'))) / (select extract(epoch from '2026-06-09 17:24:24'::timestamp) - extract(epoch from '2026-06-09 17:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48079 -3.690296)'), GeomFromEWKT('SRID=4674;POINT (-38.480847 -3.690428)'))) / (select extract(epoch from '2026-06-09 17:24:24'::timestamp) - extract(epoch from '2026-06-09 17:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480902 -3.690588)', '2026-06-09 17:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480847 -3.690428)'), GeomFromEWKT('SRID=4674;POINT (-38.480902 -3.690588)'))) / (select extract(epoch from '2026-06-09 17:24:30'::timestamp) - extract(epoch from '2026-06-09 17:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480847 -3.690428)'), GeomFromEWKT('SRID=4674;POINT (-38.480902 -3.690588)'))) / (select extract(epoch from '2026-06-09 17:24:30'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.480953 -3.690753)', '2026-06-09 17:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480902 -3.690588)'), GeomFromEWKT('SRID=4674;POINT (-38.480953 -3.690753)'))) / (select extract(epoch from '2026-06-09 17:24:36'::timestamp) - extract(epoch from '2026-06-09 17:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480902 -3.690588)'), GeomFromEWKT('SRID=4674;POINT (-38.480953 -3.690753)'))) / (select extract(epoch from '2026-06-09 17:24:36'::timestamp) - extract(epoch from '2026-06-09 17:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.480986 -3.690999)', '2026-06-09 17:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480953 -3.690753)'), GeomFromEWKT('SRID=4674;POINT (-38.480986 -3.690999)'))) / (select extract(epoch from '2026-06-09 17:24:45'::timestamp) - extract(epoch from '2026-06-09 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480953 -3.690753)'), GeomFromEWKT('SRID=4674;POINT (-38.480986 -3.690999)'))) / (select extract(epoch from '2026-06-09 17:24:45'::timestamp) - extract(epoch from '2026-06-09 17:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481052 -3.691214)', '2026-06-09 17:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480986 -3.690999)'), GeomFromEWKT('SRID=4674;POINT (-38.481052 -3.691214)'))) / (select extract(epoch from '2026-06-09 17:24:53'::timestamp) - extract(epoch from '2026-06-09 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480986 -3.690999)'), GeomFromEWKT('SRID=4674;POINT (-38.481052 -3.691214)'))) / (select extract(epoch from '2026-06-09 17:24:53'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.481183 -3.69151)', '2026-06-09 17:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481052 -3.691214)'), GeomFromEWKT('SRID=4674;POINT (-38.481183 -3.69151)'))) / (select extract(epoch from '2026-06-09 17:25:04'::timestamp) - extract(epoch from '2026-06-09 17:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481052 -3.691214)'), GeomFromEWKT('SRID=4674;POINT (-38.481183 -3.69151)'))) / (select extract(epoch from '2026-06-09 17:25:04'::timestamp) - extract(epoch from '2026-06-09 17:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481235 -3.691728)', '2026-06-09 17:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481183 -3.69151)'), GeomFromEWKT('SRID=4674;POINT (-38.481235 -3.691728)'))) / (select extract(epoch from '2026-06-09 17:25:12'::timestamp) - extract(epoch from '2026-06-09 17:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481183 -3.69151)'), GeomFromEWKT('SRID=4674;POINT (-38.481235 -3.691728)'))) / (select extract(epoch from '2026-06-09 17:25:12'::timestamp) - extract(epoch from '2026-06-09 17:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481272 -3.691886)', '2026-06-09 17:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481235 -3.691728)'), GeomFromEWKT('SRID=4674;POINT (-38.481272 -3.691886)'))) / (select extract(epoch from '2026-06-09 17:25:18'::timestamp) - extract(epoch from '2026-06-09 17:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481235 -3.691728)'), GeomFromEWKT('SRID=4674;POINT (-38.481272 -3.691886)'))) / (select extract(epoch from '2026-06-09 17:25:18'::timestamp) - extract(epoch from '2026-06-09 17:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481322 -3.692084)', '2026-06-09 17:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481272 -3.691886)'), GeomFromEWKT('SRID=4674;POINT (-38.481322 -3.692084)'))) / (select extract(epoch from '2026-06-09 17:25:25'::timestamp) - extract(epoch from '2026-06-09 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481272 -3.691886)'), GeomFromEWKT('SRID=4674;POINT (-38.481322 -3.692084)'))) / (select extract(epoch from '2026-06-09 17:25:25'::timestamp) - extract(epoch from '2026-06-09 17:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481397 -3.692272)', '2026-06-09 17:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481322 -3.692084)'), GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.692272)'))) / (select extract(epoch from '2026-06-09 17:25:32'::timestamp) - extract(epoch from '2026-06-09 17:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481322 -3.692084)'), GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.692272)'))) / (select extract(epoch from '2026-06-09 17:25:32'::timestamp) - extract(epoch from '2026-06-09 17:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481465 -3.692492)', '2026-06-09 17:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.692272)'), GeomFromEWKT('SRID=4674;POINT (-38.481465 -3.692492)'))) / (select extract(epoch from '2026-06-09 17:25:40'::timestamp) - extract(epoch from '2026-06-09 17:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.692272)'), GeomFromEWKT('SRID=4674;POINT (-38.481465 -3.692492)'))) / (select extract(epoch from '2026-06-09 17:25:40'::timestamp) - extract(epoch from '2026-06-09 17:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481499 -3.692624)', '2026-06-09 17:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481465 -3.692492)'), GeomFromEWKT('SRID=4674;POINT (-38.481499 -3.692624)'))) / (select extract(epoch from '2026-06-09 17:25:45'::timestamp) - extract(epoch from '2026-06-09 17:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481465 -3.692492)'), GeomFromEWKT('SRID=4674;POINT (-38.481499 -3.692624)'))) / (select extract(epoch from '2026-06-09 17:25:45'::timestamp) - extract(epoch from '2026-06-09 17:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48155 -3.692797)', '2026-06-09 17:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481499 -3.692624)'), GeomFromEWKT('SRID=4674;POINT (-38.48155 -3.692797)'))) / (select extract(epoch from '2026-06-09 17:25:52'::timestamp) - extract(epoch from '2026-06-09 17:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481499 -3.692624)'), GeomFromEWKT('SRID=4674;POINT (-38.48155 -3.692797)'))) / (select extract(epoch from '2026-06-09 17:25:52'::timestamp) - extract(epoch from '2026-06-09 17:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481598 -3.692928)', '2026-06-09 17:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48155 -3.692797)'), GeomFromEWKT('SRID=4674;POINT (-38.481598 -3.692928)'))) / (select extract(epoch from '2026-06-09 17:25:57'::timestamp) - extract(epoch from '2026-06-09 17:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48155 -3.692797)'), GeomFromEWKT('SRID=4674;POINT (-38.481598 -3.692928)'))) / (select extract(epoch from '2026-06-09 17:25:57'::timestamp) - extract(epoch from '2026-06-09 17:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481634 -3.693084)', '2026-06-09 17:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481598 -3.692928)'), GeomFromEWKT('SRID=4674;POINT (-38.481634 -3.693084)'))) / (select extract(epoch from '2026-06-09 17:26:03'::timestamp) - extract(epoch from '2026-06-09 17:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481598 -3.692928)'), GeomFromEWKT('SRID=4674;POINT (-38.481634 -3.693084)'))) / (select extract(epoch from '2026-06-09 17:26:03'::timestamp) - extract(epoch from '2026-06-09 17:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481679 -3.693297)', '2026-06-09 17:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481634 -3.693084)'), GeomFromEWKT('SRID=4674;POINT (-38.481679 -3.693297)'))) / (select extract(epoch from '2026-06-09 17:26:11'::timestamp) - extract(epoch from '2026-06-09 17:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481634 -3.693084)'), GeomFromEWKT('SRID=4674;POINT (-38.481679 -3.693297)'))) / (select extract(epoch from '2026-06-09 17:26:11'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.481717 -3.693423)', '2026-06-09 17:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481679 -3.693297)'), GeomFromEWKT('SRID=4674;POINT (-38.481717 -3.693423)'))) / (select extract(epoch from '2026-06-09 17:26:16'::timestamp) - extract(epoch from '2026-06-09 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481679 -3.693297)'), GeomFromEWKT('SRID=4674;POINT (-38.481717 -3.693423)'))) / (select extract(epoch from '2026-06-09 17:26:16'::timestamp) - extract(epoch from '2026-06-09 17:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481769 -3.693575)', '2026-06-09 17:26:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481717 -3.693423)'), GeomFromEWKT('SRID=4674;POINT (-38.481769 -3.693575)'))) / (select extract(epoch from '2026-06-09 17:26:22'::timestamp) - extract(epoch from '2026-06-09 17:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481717 -3.693423)'), GeomFromEWKT('SRID=4674;POINT (-38.481769 -3.693575)'))) / (select extract(epoch from '2026-06-09 17:26:22'::timestamp) - extract(epoch from '2026-06-09 17:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481816 -3.693733)', '2026-06-09 17:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481769 -3.693575)'), GeomFromEWKT('SRID=4674;POINT (-38.481816 -3.693733)'))) / (select extract(epoch from '2026-06-09 17:26:28'::timestamp) - extract(epoch from '2026-06-09 17:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481769 -3.693575)'), GeomFromEWKT('SRID=4674;POINT (-38.481816 -3.693733)'))) / (select extract(epoch from '2026-06-09 17:26:28'::timestamp) - extract(epoch from '2026-06-09 17:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481835 -3.693857)', '2026-06-09 17:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481816 -3.693733)'), GeomFromEWKT('SRID=4674;POINT (-38.481835 -3.693857)'))) / (select extract(epoch from '2026-06-09 17:26:33'::timestamp) - extract(epoch from '2026-06-09 17:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481816 -3.693733)'), GeomFromEWKT('SRID=4674;POINT (-38.481835 -3.693857)'))) / (select extract(epoch from '2026-06-09 17:26:33'::timestamp) - extract(epoch from '2026-06-09 17:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481858 -3.694002)', '2026-06-09 17:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481835 -3.693857)'), GeomFromEWKT('SRID=4674;POINT (-38.481858 -3.694002)'))) / (select extract(epoch from '2026-06-09 17:26:39'::timestamp) - extract(epoch from '2026-06-09 17:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481835 -3.693857)'), GeomFromEWKT('SRID=4674;POINT (-38.481858 -3.694002)'))) / (select extract(epoch from '2026-06-09 17:26:39'::timestamp) - extract(epoch from '2026-06-09 17:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481905 -3.694178)', '2026-06-09 17:26:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481858 -3.694002)'), GeomFromEWKT('SRID=4674;POINT (-38.481905 -3.694178)'))) / (select extract(epoch from '2026-06-09 17:26:46'::timestamp) - extract(epoch from '2026-06-09 17:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481858 -3.694002)'), GeomFromEWKT('SRID=4674;POINT (-38.481905 -3.694178)'))) / (select extract(epoch from '2026-06-09 17:26:46'::timestamp) - extract(epoch from '2026-06-09 17:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481939 -3.694353)', '2026-06-09 17:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481905 -3.694178)'), GeomFromEWKT('SRID=4674;POINT (-38.481939 -3.694353)'))) / (select extract(epoch from '2026-06-09 17:26:53'::timestamp) - extract(epoch from '2026-06-09 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481905 -3.694178)'), GeomFromEWKT('SRID=4674;POINT (-38.481939 -3.694353)'))) / (select extract(epoch from '2026-06-09 17:26:53'::timestamp) - extract(epoch from '2026-06-09 17:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.481973 -3.69451)', '2026-06-09 17:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481939 -3.694353)'), GeomFromEWKT('SRID=4674;POINT (-38.481973 -3.69451)'))) / (select extract(epoch from '2026-06-09 17:26:59'::timestamp) - extract(epoch from '2026-06-09 17:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481939 -3.694353)'), GeomFromEWKT('SRID=4674;POINT (-38.481973 -3.69451)'))) / (select extract(epoch from '2026-06-09 17:26:59'::timestamp) - extract(epoch from '2026-06-09 17:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482003 -3.694643)', '2026-06-09 17:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481973 -3.69451)'), GeomFromEWKT('SRID=4674;POINT (-38.482003 -3.694643)'))) / (select extract(epoch from '2026-06-09 17:27:04'::timestamp) - extract(epoch from '2026-06-09 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481973 -3.69451)'), GeomFromEWKT('SRID=4674;POINT (-38.482003 -3.694643)'))) / (select extract(epoch from '2026-06-09 17:27:04'::timestamp) - extract(epoch from '2026-06-09 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482038 -3.694858)', '2026-06-09 17:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482003 -3.694643)'), GeomFromEWKT('SRID=4674;POINT (-38.482038 -3.694858)'))) / (select extract(epoch from '2026-06-09 17:27:12'::timestamp) - extract(epoch from '2026-06-09 17:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482003 -3.694643)'), GeomFromEWKT('SRID=4674;POINT (-38.482038 -3.694858)'))) / (select extract(epoch from '2026-06-09 17:27:12'::timestamp) - extract(epoch from '2026-06-09 17:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482069 -3.695012)', '2026-06-09 17:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482038 -3.694858)'), GeomFromEWKT('SRID=4674;POINT (-38.482069 -3.695012)'))) / (select extract(epoch from '2026-06-09 17:27:18'::timestamp) - extract(epoch from '2026-06-09 17:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482038 -3.694858)'), GeomFromEWKT('SRID=4674;POINT (-38.482069 -3.695012)'))) / (select extract(epoch from '2026-06-09 17:27:18'::timestamp) - extract(epoch from '2026-06-09 17:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482103 -3.695148)', '2026-06-09 17:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482069 -3.695012)'), GeomFromEWKT('SRID=4674;POINT (-38.482103 -3.695148)'))) / (select extract(epoch from '2026-06-09 17:27:23'::timestamp) - extract(epoch from '2026-06-09 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482069 -3.695012)'), GeomFromEWKT('SRID=4674;POINT (-38.482103 -3.695148)'))) / (select extract(epoch from '2026-06-09 17:27:23'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.482138 -3.695282)', '2026-06-09 17:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482103 -3.695148)'), GeomFromEWKT('SRID=4674;POINT (-38.482138 -3.695282)'))) / (select extract(epoch from '2026-06-09 17:27:28'::timestamp) - extract(epoch from '2026-06-09 17:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482103 -3.695148)'), GeomFromEWKT('SRID=4674;POINT (-38.482138 -3.695282)'))) / (select extract(epoch from '2026-06-09 17:27:28'::timestamp) - extract(epoch from '2026-06-09 17:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482179 -3.695453)', '2026-06-09 17:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482138 -3.695282)'), GeomFromEWKT('SRID=4674;POINT (-38.482179 -3.695453)'))) / (select extract(epoch from '2026-06-09 17:27:34'::timestamp) - extract(epoch from '2026-06-09 17:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482138 -3.695282)'), GeomFromEWKT('SRID=4674;POINT (-38.482179 -3.695453)'))) / (select extract(epoch from '2026-06-09 17:27:34'::timestamp) - extract(epoch from '2026-06-09 17:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482213 -3.695624)', '2026-06-09 17:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482179 -3.695453)'), GeomFromEWKT('SRID=4674;POINT (-38.482213 -3.695624)'))) / (select extract(epoch from '2026-06-09 17:27:40'::timestamp) - extract(epoch from '2026-06-09 17:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482179 -3.695453)'), GeomFromEWKT('SRID=4674;POINT (-38.482213 -3.695624)'))) / (select extract(epoch from '2026-06-09 17:27:40'::timestamp) - extract(epoch from '2026-06-09 17:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482219 -3.695733)', '2026-06-09 17:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482213 -3.695624)'), GeomFromEWKT('SRID=4674;POINT (-38.482219 -3.695733)'))) / (select extract(epoch from '2026-06-09 17:27:44'::timestamp) - extract(epoch from '2026-06-09 17:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482213 -3.695624)'), GeomFromEWKT('SRID=4674;POINT (-38.482219 -3.695733)'))) / (select extract(epoch from '2026-06-09 17:27:44'::timestamp) - extract(epoch from '2026-06-09 17:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482254 -3.695858)', '2026-06-09 17:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482219 -3.695733)'), GeomFromEWKT('SRID=4674;POINT (-38.482254 -3.695858)'))) / (select extract(epoch from '2026-06-09 17:27:48'::timestamp) - extract(epoch from '2026-06-09 17:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482219 -3.695733)'), GeomFromEWKT('SRID=4674;POINT (-38.482254 -3.695858)'))) / (select extract(epoch from '2026-06-09 17:27:48'::timestamp) - extract(epoch from '2026-06-09 17:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482251 -3.695957)', '2026-06-09 17:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482254 -3.695858)'), GeomFromEWKT('SRID=4674;POINT (-38.482251 -3.695957)'))) / (select extract(epoch from '2026-06-09 17:27:52'::timestamp) - extract(epoch from '2026-06-09 17:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482254 -3.695858)'), GeomFromEWKT('SRID=4674;POINT (-38.482251 -3.695957)'))) / (select extract(epoch from '2026-06-09 17:27:52'::timestamp) - extract(epoch from '2026-06-09 17:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482292 -3.696123)', '2026-06-09 17:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482251 -3.695957)'), GeomFromEWKT('SRID=4674;POINT (-38.482292 -3.696123)'))) / (select extract(epoch from '2026-06-09 17:27:58'::timestamp) - extract(epoch from '2026-06-09 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482251 -3.695957)'), GeomFromEWKT('SRID=4674;POINT (-38.482292 -3.696123)'))) / (select extract(epoch from '2026-06-09 17:27:58'::timestamp) - extract(epoch from '2026-06-09 17:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482335 -3.696262)', '2026-06-09 17:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482292 -3.696123)'), GeomFromEWKT('SRID=4674;POINT (-38.482335 -3.696262)'))) / (select extract(epoch from '2026-06-09 17:28:03'::timestamp) - extract(epoch from '2026-06-09 17:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482292 -3.696123)'), GeomFromEWKT('SRID=4674;POINT (-38.482335 -3.696262)'))) / (select extract(epoch from '2026-06-09 17:28:03'::timestamp) - extract(epoch from '2026-06-09 17:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482393 -3.69643)', '2026-06-09 17:28:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482335 -3.696262)'), GeomFromEWKT('SRID=4674;POINT (-38.482393 -3.69643)'))) / (select extract(epoch from '2026-06-09 17:28:09'::timestamp) - extract(epoch from '2026-06-09 17:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482335 -3.696262)'), GeomFromEWKT('SRID=4674;POINT (-38.482393 -3.69643)'))) / (select extract(epoch from '2026-06-09 17:28:09'::timestamp) - extract(epoch from '2026-06-09 17:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482439 -3.696606)', '2026-06-09 17:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482393 -3.69643)'), GeomFromEWKT('SRID=4674;POINT (-38.482439 -3.696606)'))) / (select extract(epoch from '2026-06-09 17:28:16'::timestamp) - extract(epoch from '2026-06-09 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482393 -3.69643)'), GeomFromEWKT('SRID=4674;POINT (-38.482439 -3.696606)'))) / (select extract(epoch from '2026-06-09 17:28:16'::timestamp) - extract(epoch from '2026-06-09 17:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482534 -3.696814)', '2026-06-09 17:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482439 -3.696606)'), GeomFromEWKT('SRID=4674;POINT (-38.482534 -3.696814)'))) / (select extract(epoch from '2026-06-09 17:28:25'::timestamp) - extract(epoch from '2026-06-09 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482439 -3.696606)'), GeomFromEWKT('SRID=4674;POINT (-38.482534 -3.696814)'))) / (select extract(epoch from '2026-06-09 17:28:25'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.482579 -3.696943)', '2026-06-09 17:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482534 -3.696814)'), GeomFromEWKT('SRID=4674;POINT (-38.482579 -3.696943)'))) / (select extract(epoch from '2026-06-09 17:28:30'::timestamp) - extract(epoch from '2026-06-09 17:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482534 -3.696814)'), GeomFromEWKT('SRID=4674;POINT (-38.482579 -3.696943)'))) / (select extract(epoch from '2026-06-09 17:28:30'::timestamp) - extract(epoch from '2026-06-09 17:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482658 -3.697123)', '2026-06-09 17:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482579 -3.696943)'), GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697123)'))) / (select extract(epoch from '2026-06-09 17:28:37'::timestamp) - extract(epoch from '2026-06-09 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482579 -3.696943)'), GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697123)'))) / (select extract(epoch from '2026-06-09 17:28:37'::timestamp) - extract(epoch from '2026-06-09 17:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482725 -3.69725)', '2026-06-09 17:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697123)'), GeomFromEWKT('SRID=4674;POINT (-38.482725 -3.69725)'))) / (select extract(epoch from '2026-06-09 17:28:43'::timestamp) - extract(epoch from '2026-06-09 17:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697123)'), GeomFromEWKT('SRID=4674;POINT (-38.482725 -3.69725)'))) / (select extract(epoch from '2026-06-09 17:28:43'::timestamp) - extract(epoch from '2026-06-09 17:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482786 -3.697394)', '2026-06-09 17:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482725 -3.69725)'), GeomFromEWKT('SRID=4674;POINT (-38.482786 -3.697394)'))) / (select extract(epoch from '2026-06-09 17:28:49'::timestamp) - extract(epoch from '2026-06-09 17:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482725 -3.69725)'), GeomFromEWKT('SRID=4674;POINT (-38.482786 -3.697394)'))) / (select extract(epoch from '2026-06-09 17:28:49'::timestamp) - extract(epoch from '2026-06-09 17:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482863 -3.697585)', '2026-06-09 17:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482786 -3.697394)'), GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.697585)'))) / (select extract(epoch from '2026-06-09 17:28:57'::timestamp) - extract(epoch from '2026-06-09 17:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482786 -3.697394)'), GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.697585)'))) / (select extract(epoch from '2026-06-09 17:28:57'::timestamp) - extract(epoch from '2026-06-09 17:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482911 -3.697754)', '2026-06-09 17:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.697585)'), GeomFromEWKT('SRID=4674;POINT (-38.482911 -3.697754)'))) / (select extract(epoch from '2026-06-09 17:29:04'::timestamp) - extract(epoch from '2026-06-09 17:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.697585)'), GeomFromEWKT('SRID=4674;POINT (-38.482911 -3.697754)'))) / (select extract(epoch from '2026-06-09 17:29:04'::timestamp) - extract(epoch from '2026-06-09 17:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.482967 -3.697926)', '2026-06-09 17:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482911 -3.697754)'), GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.697926)'))) / (select extract(epoch from '2026-06-09 17:29:11'::timestamp) - extract(epoch from '2026-06-09 17:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482911 -3.697754)'), GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.697926)'))) / (select extract(epoch from '2026-06-09 17:29:11'::timestamp) - extract(epoch from '2026-06-09 17:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48301 -3.69807)', '2026-06-09 17:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.697926)'), GeomFromEWKT('SRID=4674;POINT (-38.48301 -3.69807)'))) / (select extract(epoch from '2026-06-09 17:29:17'::timestamp) - extract(epoch from '2026-06-09 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.697926)'), GeomFromEWKT('SRID=4674;POINT (-38.48301 -3.69807)'))) / (select extract(epoch from '2026-06-09 17:29:17'::timestamp) - extract(epoch from '2026-06-09 17:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48305 -3.698215)', '2026-06-09 17:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48301 -3.69807)'), GeomFromEWKT('SRID=4674;POINT (-38.48305 -3.698215)'))) / (select extract(epoch from '2026-06-09 17:29:23'::timestamp) - extract(epoch from '2026-06-09 17:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48301 -3.69807)'), GeomFromEWKT('SRID=4674;POINT (-38.48305 -3.698215)'))) / (select extract(epoch from '2026-06-09 17:29:23'::timestamp) - extract(epoch from '2026-06-09 17:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48312 -3.698376)', '2026-06-09 17:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48305 -3.698215)'), GeomFromEWKT('SRID=4674;POINT (-38.48312 -3.698376)'))) / (select extract(epoch from '2026-06-09 17:29:29'::timestamp) - extract(epoch from '2026-06-09 17:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48305 -3.698215)'), GeomFromEWKT('SRID=4674;POINT (-38.48312 -3.698376)'))) / (select extract(epoch from '2026-06-09 17:29:29'::timestamp) - extract(epoch from '2026-06-09 17:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483171 -3.698481)', '2026-06-09 17:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48312 -3.698376)'), GeomFromEWKT('SRID=4674;POINT (-38.483171 -3.698481)'))) / (select extract(epoch from '2026-06-09 17:29:34'::timestamp) - extract(epoch from '2026-06-09 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48312 -3.698376)'), GeomFromEWKT('SRID=4674;POINT (-38.483171 -3.698481)'))) / (select extract(epoch from '2026-06-09 17:29:34'::timestamp) - extract(epoch from '2026-06-09 17:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483245 -3.698633)', '2026-06-09 17:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483171 -3.698481)'), GeomFromEWKT('SRID=4674;POINT (-38.483245 -3.698633)'))) / (select extract(epoch from '2026-06-09 17:29:40'::timestamp) - extract(epoch from '2026-06-09 17:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483171 -3.698481)'), GeomFromEWKT('SRID=4674;POINT (-38.483245 -3.698633)'))) / (select extract(epoch from '2026-06-09 17:29:40'::timestamp) - extract(epoch from '2026-06-09 17:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483293 -3.698776)', '2026-06-09 17:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483245 -3.698633)'), GeomFromEWKT('SRID=4674;POINT (-38.483293 -3.698776)'))) / (select extract(epoch from '2026-06-09 17:29:46'::timestamp) - extract(epoch from '2026-06-09 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483245 -3.698633)'), GeomFromEWKT('SRID=4674;POINT (-38.483293 -3.698776)'))) / (select extract(epoch from '2026-06-09 17:29:46'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483357 -3.698976)', '2026-06-09 17:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483293 -3.698776)'), GeomFromEWKT('SRID=4674;POINT (-38.483357 -3.698976)'))) / (select extract(epoch from '2026-06-09 17:29:55'::timestamp) - extract(epoch from '2026-06-09 17:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483293 -3.698776)'), GeomFromEWKT('SRID=4674;POINT (-38.483357 -3.698976)'))) / (select extract(epoch from '2026-06-09 17:29:55'::timestamp) - extract(epoch from '2026-06-09 17:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483422 -3.699137)', '2026-06-09 17:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483357 -3.698976)'), GeomFromEWKT('SRID=4674;POINT (-38.483422 -3.699137)'))) / (select extract(epoch from '2026-06-09 17:30:03'::timestamp) - extract(epoch from '2026-06-09 17:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483357 -3.698976)'), GeomFromEWKT('SRID=4674;POINT (-38.483422 -3.699137)'))) / (select extract(epoch from '2026-06-09 17:30:03'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483472 -3.699306)', '2026-06-09 17:30:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483422 -3.699137)'), GeomFromEWKT('SRID=4674;POINT (-38.483472 -3.699306)'))) / (select extract(epoch from '2026-06-09 17:30:10'::timestamp) - extract(epoch from '2026-06-09 17:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483422 -3.699137)'), GeomFromEWKT('SRID=4674;POINT (-38.483472 -3.699306)'))) / (select extract(epoch from '2026-06-09 17:30:10'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483512 -3.699464)', '2026-06-09 17:30:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483472 -3.699306)'), GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.699464)'))) / (select extract(epoch from '2026-06-09 17:30:17'::timestamp) - extract(epoch from '2026-06-09 17:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483472 -3.699306)'), GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.699464)'))) / (select extract(epoch from '2026-06-09 17:30:17'::timestamp) - extract(epoch from '2026-06-09 17:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483575 -3.699724)', '2026-06-09 17:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.699464)'), GeomFromEWKT('SRID=4674;POINT (-38.483575 -3.699724)'))) / (select extract(epoch from '2026-06-09 17:30:28'::timestamp) - extract(epoch from '2026-06-09 17:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.699464)'), GeomFromEWKT('SRID=4674;POINT (-38.483575 -3.699724)'))) / (select extract(epoch from '2026-06-09 17:30:28'::timestamp) - extract(epoch from '2026-06-09 17:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48362 -3.699974)', '2026-06-09 17:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483575 -3.699724)'), GeomFromEWKT('SRID=4674;POINT (-38.48362 -3.699974)'))) / (select extract(epoch from '2026-06-09 17:30:39'::timestamp) - extract(epoch from '2026-06-09 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483575 -3.699724)'), GeomFromEWKT('SRID=4674;POINT (-38.48362 -3.699974)'))) / (select extract(epoch from '2026-06-09 17:30:39'::timestamp) - extract(epoch from '2026-06-09 17:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483677 -3.70022)', '2026-06-09 17:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48362 -3.699974)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.70022)'))) / (select extract(epoch from '2026-06-09 17:30:49'::timestamp) - extract(epoch from '2026-06-09 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48362 -3.699974)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.70022)'))) / (select extract(epoch from '2026-06-09 17:30:49'::timestamp) - extract(epoch from '2026-06-09 17:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483716 -3.700452)', '2026-06-09 17:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.70022)'), GeomFromEWKT('SRID=4674;POINT (-38.483716 -3.700452)'))) / (select extract(epoch from '2026-06-09 17:30:58'::timestamp) - extract(epoch from '2026-06-09 17:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.70022)'), GeomFromEWKT('SRID=4674;POINT (-38.483716 -3.700452)'))) / (select extract(epoch from '2026-06-09 17:30:58'::timestamp) - extract(epoch from '2026-06-09 17:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483738 -3.700661)', '2026-06-09 17:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483716 -3.700452)'), GeomFromEWKT('SRID=4674;POINT (-38.483738 -3.700661)'))) / (select extract(epoch from '2026-06-09 17:31:06'::timestamp) - extract(epoch from '2026-06-09 17:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483716 -3.700452)'), GeomFromEWKT('SRID=4674;POINT (-38.483738 -3.700661)'))) / (select extract(epoch from '2026-06-09 17:31:06'::timestamp) - extract(epoch from '2026-06-09 17:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483743 -3.700877)', '2026-06-09 17:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483738 -3.700661)'), GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.700877)'))) / (select extract(epoch from '2026-06-09 17:31:14'::timestamp) - extract(epoch from '2026-06-09 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483738 -3.700661)'), GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.700877)'))) / (select extract(epoch from '2026-06-09 17:31:14'::timestamp) - extract(epoch from '2026-06-09 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483751 -3.701066)', '2026-06-09 17:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.700877)'), GeomFromEWKT('SRID=4674;POINT (-38.483751 -3.701066)'))) / (select extract(epoch from '2026-06-09 17:31:22'::timestamp) - extract(epoch from '2026-06-09 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.700877)'), GeomFromEWKT('SRID=4674;POINT (-38.483751 -3.701066)'))) / (select extract(epoch from '2026-06-09 17:31:22'::timestamp) - extract(epoch from '2026-06-09 17:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483756 -3.701336)', '2026-06-09 17:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483751 -3.701066)'), GeomFromEWKT('SRID=4674;POINT (-38.483756 -3.701336)'))) / (select extract(epoch from '2026-06-09 17:31:33'::timestamp) - extract(epoch from '2026-06-09 17:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483751 -3.701066)'), GeomFromEWKT('SRID=4674;POINT (-38.483756 -3.701336)'))) / (select extract(epoch from '2026-06-09 17:31:33'::timestamp) - extract(epoch from '2026-06-09 17:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483731 -3.701553)', '2026-06-09 17:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483756 -3.701336)'), GeomFromEWKT('SRID=4674;POINT (-38.483731 -3.701553)'))) / (select extract(epoch from '2026-06-09 17:31:42'::timestamp) - extract(epoch from '2026-06-09 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483756 -3.701336)'), GeomFromEWKT('SRID=4674;POINT (-38.483731 -3.701553)'))) / (select extract(epoch from '2026-06-09 17:31:42'::timestamp) - extract(epoch from '2026-06-09 17:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483708 -3.701778)', '2026-06-09 17:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483731 -3.701553)'), GeomFromEWKT('SRID=4674;POINT (-38.483708 -3.701778)'))) / (select extract(epoch from '2026-06-09 17:31:52'::timestamp) - extract(epoch from '2026-06-09 17:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483731 -3.701553)'), GeomFromEWKT('SRID=4674;POINT (-38.483708 -3.701778)'))) / (select extract(epoch from '2026-06-09 17:31:52'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483712 -3.702)', '2026-06-09 17:32:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483708 -3.701778)'), GeomFromEWKT('SRID=4674;POINT (-38.483712 -3.702)'))) / (select extract(epoch from '2026-06-09 17:32:02'::timestamp) - extract(epoch from '2026-06-09 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483708 -3.701778)'), GeomFromEWKT('SRID=4674;POINT (-38.483712 -3.702)'))) / (select extract(epoch from '2026-06-09 17:32:02'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483747 -3.702219)', '2026-06-09 17:32:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483712 -3.702)'), GeomFromEWKT('SRID=4674;POINT (-38.483747 -3.702219)'))) / (select extract(epoch from '2026-06-09 17:32:12'::timestamp) - extract(epoch from '2026-06-09 17:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483712 -3.702)'), GeomFromEWKT('SRID=4674;POINT (-38.483747 -3.702219)'))) / (select extract(epoch from '2026-06-09 17:32:12'::timestamp) - extract(epoch from '2026-06-09 17:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483778 -3.702456)', '2026-06-09 17:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483747 -3.702219)'), GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702456)'))) / (select extract(epoch from '2026-06-09 17:32:23'::timestamp) - extract(epoch from '2026-06-09 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483747 -3.702219)'), GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702456)'))) / (select extract(epoch from '2026-06-09 17:32:23'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.483808 -3.702739)', '2026-06-09 17:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702456)'), GeomFromEWKT('SRID=4674;POINT (-38.483808 -3.702739)'))) / (select extract(epoch from '2026-06-09 17:32:36'::timestamp) - extract(epoch from '2026-06-09 17:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702456)'), GeomFromEWKT('SRID=4674;POINT (-38.483808 -3.702739)'))) / (select extract(epoch from '2026-06-09 17:32:36'::timestamp) - extract(epoch from '2026-06-09 17:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483829 -3.702985)', '2026-06-09 17:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483808 -3.702739)'), GeomFromEWKT('SRID=4674;POINT (-38.483829 -3.702985)'))) / (select extract(epoch from '2026-06-09 17:32:46'::timestamp) - extract(epoch from '2026-06-09 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483808 -3.702739)'), GeomFromEWKT('SRID=4674;POINT (-38.483829 -3.702985)'))) / (select extract(epoch from '2026-06-09 17:32:46'::timestamp) - extract(epoch from '2026-06-09 17:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483844 -3.703198)', '2026-06-09 17:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483829 -3.702985)'), GeomFromEWKT('SRID=4674;POINT (-38.483844 -3.703198)'))) / (select extract(epoch from '2026-06-09 17:32:55'::timestamp) - extract(epoch from '2026-06-09 17:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483829 -3.702985)'), GeomFromEWKT('SRID=4674;POINT (-38.483844 -3.703198)'))) / (select extract(epoch from '2026-06-09 17:32:55'::timestamp) - extract(epoch from '2026-06-09 17:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483877 -3.703377)', '2026-06-09 17:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483844 -3.703198)'), GeomFromEWKT('SRID=4674;POINT (-38.483877 -3.703377)'))) / (select extract(epoch from '2026-06-09 17:33:03'::timestamp) - extract(epoch from '2026-06-09 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483844 -3.703198)'), GeomFromEWKT('SRID=4674;POINT (-38.483877 -3.703377)'))) / (select extract(epoch from '2026-06-09 17:33:03'::timestamp) - extract(epoch from '2026-06-09 17:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483927 -3.703661)', '2026-06-09 17:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483877 -3.703377)'), GeomFromEWKT('SRID=4674;POINT (-38.483927 -3.703661)'))) / (select extract(epoch from '2026-06-09 17:33:15'::timestamp) - extract(epoch from '2026-06-09 17:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483877 -3.703377)'), GeomFromEWKT('SRID=4674;POINT (-38.483927 -3.703661)'))) / (select extract(epoch from '2026-06-09 17:33:15'::timestamp) - extract(epoch from '2026-06-09 17:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483945 -3.703884)', '2026-06-09 17:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483927 -3.703661)'), GeomFromEWKT('SRID=4674;POINT (-38.483945 -3.703884)'))) / (select extract(epoch from '2026-06-09 17:33:24'::timestamp) - extract(epoch from '2026-06-09 17:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483927 -3.703661)'), GeomFromEWKT('SRID=4674;POINT (-38.483945 -3.703884)'))) / (select extract(epoch from '2026-06-09 17:33:24'::timestamp) - extract(epoch from '2026-06-09 17:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.483993 -3.70414)', '2026-06-09 17:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483945 -3.703884)'), GeomFromEWKT('SRID=4674;POINT (-38.483993 -3.70414)'))) / (select extract(epoch from '2026-06-09 17:33:34'::timestamp) - extract(epoch from '2026-06-09 17:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483945 -3.703884)'), GeomFromEWKT('SRID=4674;POINT (-38.483993 -3.70414)'))) / (select extract(epoch from '2026-06-09 17:33:34'::timestamp) - extract(epoch from '2026-06-09 17:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484046 -3.704343)', '2026-06-09 17:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483993 -3.70414)'), GeomFromEWKT('SRID=4674;POINT (-38.484046 -3.704343)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483993 -3.70414)'), GeomFromEWKT('SRID=4674;POINT (-38.484046 -3.704343)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484102 -3.704603)', '2026-06-09 17:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484046 -3.704343)'), GeomFromEWKT('SRID=4674;POINT (-38.484102 -3.704603)'))) / (select extract(epoch from '2026-06-09 17:33:52'::timestamp) - extract(epoch from '2026-06-09 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484046 -3.704343)'), GeomFromEWKT('SRID=4674;POINT (-38.484102 -3.704603)'))) / (select extract(epoch from '2026-06-09 17:33:52'::timestamp) - extract(epoch from '2026-06-09 17:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484156 -3.704885)', '2026-06-09 17:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484102 -3.704603)'), GeomFromEWKT('SRID=4674;POINT (-38.484156 -3.704885)'))) / (select extract(epoch from '2026-06-09 17:34:03'::timestamp) - extract(epoch from '2026-06-09 17:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484102 -3.704603)'), GeomFromEWKT('SRID=4674;POINT (-38.484156 -3.704885)'))) / (select extract(epoch from '2026-06-09 17:34:03'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484214 -3.705093)', '2026-06-09 17:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484156 -3.704885)'), GeomFromEWKT('SRID=4674;POINT (-38.484214 -3.705093)'))) / (select extract(epoch from '2026-06-09 17:34:12'::timestamp) - extract(epoch from '2026-06-09 17:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484156 -3.704885)'), GeomFromEWKT('SRID=4674;POINT (-38.484214 -3.705093)'))) / (select extract(epoch from '2026-06-09 17:34:12'::timestamp) - extract(epoch from '2026-06-09 17:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484255 -3.70533)', '2026-06-09 17:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484214 -3.705093)'), GeomFromEWKT('SRID=4674;POINT (-38.484255 -3.70533)'))) / (select extract(epoch from '2026-06-09 17:34:22'::timestamp) - extract(epoch from '2026-06-09 17:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484214 -3.705093)'), GeomFromEWKT('SRID=4674;POINT (-38.484255 -3.70533)'))) / (select extract(epoch from '2026-06-09 17:34:22'::timestamp) - extract(epoch from '2026-06-09 17:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484285 -3.705609)', '2026-06-09 17:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484255 -3.70533)'), GeomFromEWKT('SRID=4674;POINT (-38.484285 -3.705609)'))) / (select extract(epoch from '2026-06-09 17:34:34'::timestamp) - extract(epoch from '2026-06-09 17:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484255 -3.70533)'), GeomFromEWKT('SRID=4674;POINT (-38.484285 -3.705609)'))) / (select extract(epoch from '2026-06-09 17:34:34'::timestamp) - extract(epoch from '2026-06-09 17:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484331 -3.705838)', '2026-06-09 17:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484285 -3.705609)'), GeomFromEWKT('SRID=4674;POINT (-38.484331 -3.705838)'))) / (select extract(epoch from '2026-06-09 17:34:44'::timestamp) - extract(epoch from '2026-06-09 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484285 -3.705609)'), GeomFromEWKT('SRID=4674;POINT (-38.484331 -3.705838)'))) / (select extract(epoch from '2026-06-09 17:34:44'::timestamp) - extract(epoch from '2026-06-09 17:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484375 -3.706078)', '2026-06-09 17:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484331 -3.705838)'), GeomFromEWKT('SRID=4674;POINT (-38.484375 -3.706078)'))) / (select extract(epoch from '2026-06-09 17:34:54'::timestamp) - extract(epoch from '2026-06-09 17:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484331 -3.705838)'), GeomFromEWKT('SRID=4674;POINT (-38.484375 -3.706078)'))) / (select extract(epoch from '2026-06-09 17:34:54'::timestamp) - extract(epoch from '2026-06-09 17:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484404 -3.706328)', '2026-06-09 17:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484375 -3.706078)'), GeomFromEWKT('SRID=4674;POINT (-38.484404 -3.706328)'))) / (select extract(epoch from '2026-06-09 17:35:04'::timestamp) - extract(epoch from '2026-06-09 17:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484375 -3.706078)'), GeomFromEWKT('SRID=4674;POINT (-38.484404 -3.706328)'))) / (select extract(epoch from '2026-06-09 17:35:04'::timestamp) - extract(epoch from '2026-06-09 17:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484456 -3.706521)', '2026-06-09 17:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484404 -3.706328)'), GeomFromEWKT('SRID=4674;POINT (-38.484456 -3.706521)'))) / (select extract(epoch from '2026-06-09 17:35:12'::timestamp) - extract(epoch from '2026-06-09 17:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484404 -3.706328)'), GeomFromEWKT('SRID=4674;POINT (-38.484456 -3.706521)'))) / (select extract(epoch from '2026-06-09 17:35:12'::timestamp) - extract(epoch from '2026-06-09 17:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484517 -3.706764)', '2026-06-09 17:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484456 -3.706521)'), GeomFromEWKT('SRID=4674;POINT (-38.484517 -3.706764)'))) / (select extract(epoch from '2026-06-09 17:35:22'::timestamp) - extract(epoch from '2026-06-09 17:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484456 -3.706521)'), GeomFromEWKT('SRID=4674;POINT (-38.484517 -3.706764)'))) / (select extract(epoch from '2026-06-09 17:35:22'::timestamp) - extract(epoch from '2026-06-09 17:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484557 -3.707035)', '2026-06-09 17:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484517 -3.706764)'), GeomFromEWKT('SRID=4674;POINT (-38.484557 -3.707035)'))) / (select extract(epoch from '2026-06-09 17:35:33'::timestamp) - extract(epoch from '2026-06-09 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484517 -3.706764)'), GeomFromEWKT('SRID=4674;POINT (-38.484557 -3.707035)'))) / (select extract(epoch from '2026-06-09 17:35:33'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484621 -3.707322)', '2026-06-09 17:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484557 -3.707035)'), GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.707322)'))) / (select extract(epoch from '2026-06-09 17:35:45'::timestamp) - extract(epoch from '2026-06-09 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484557 -3.707035)'), GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.707322)'))) / (select extract(epoch from '2026-06-09 17:35:45'::timestamp) - extract(epoch from '2026-06-09 17:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484673 -3.707644)', '2026-06-09 17:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.707322)'), GeomFromEWKT('SRID=4674;POINT (-38.484673 -3.707644)'))) / (select extract(epoch from '2026-06-09 17:35:58'::timestamp) - extract(epoch from '2026-06-09 17:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.707322)'), GeomFromEWKT('SRID=4674;POINT (-38.484673 -3.707644)'))) / (select extract(epoch from '2026-06-09 17:35:58'::timestamp) - extract(epoch from '2026-06-09 17:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484719 -3.707954)', '2026-06-09 17:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484673 -3.707644)'), GeomFromEWKT('SRID=4674;POINT (-38.484719 -3.707954)'))) / (select extract(epoch from '2026-06-09 17:36:11'::timestamp) - extract(epoch from '2026-06-09 17:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484673 -3.707644)'), GeomFromEWKT('SRID=4674;POINT (-38.484719 -3.707954)'))) / (select extract(epoch from '2026-06-09 17:36:11'::timestamp) - extract(epoch from '2026-06-09 17:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484769 -3.708228)', '2026-06-09 17:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484719 -3.707954)'), GeomFromEWKT('SRID=4674;POINT (-38.484769 -3.708228)'))) / (select extract(epoch from '2026-06-09 17:36:23'::timestamp) - extract(epoch from '2026-06-09 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484719 -3.707954)'), GeomFromEWKT('SRID=4674;POINT (-38.484769 -3.708228)'))) / (select extract(epoch from '2026-06-09 17:36:23'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484804 -3.708472)', '2026-06-09 17:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484769 -3.708228)'), GeomFromEWKT('SRID=4674;POINT (-38.484804 -3.708472)'))) / (select extract(epoch from '2026-06-09 17:36:34'::timestamp) - extract(epoch from '2026-06-09 17:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484769 -3.708228)'), GeomFromEWKT('SRID=4674;POINT (-38.484804 -3.708472)'))) / (select extract(epoch from '2026-06-09 17:36:34'::timestamp) - extract(epoch from '2026-06-09 17:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484835 -3.708708)', '2026-06-09 17:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484804 -3.708472)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708708)'))) / (select extract(epoch from '2026-06-09 17:36:44'::timestamp) - extract(epoch from '2026-06-09 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484804 -3.708472)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708708)'))) / (select extract(epoch from '2026-06-09 17:36:44'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484853 -3.708942)', '2026-06-09 17:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708708)'), GeomFromEWKT('SRID=4674;POINT (-38.484853 -3.708942)'))) / (select extract(epoch from '2026-06-09 17:36:54'::timestamp) - extract(epoch from '2026-06-09 17:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708708)'), GeomFromEWKT('SRID=4674;POINT (-38.484853 -3.708942)'))) / (select extract(epoch from '2026-06-09 17:36:54'::timestamp) - extract(epoch from '2026-06-09 17:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484868 -3.709167)', '2026-06-09 17:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484853 -3.708942)'), GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.709167)'))) / (select extract(epoch from '2026-06-09 17:37:04'::timestamp) - extract(epoch from '2026-06-09 17:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484853 -3.708942)'), GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.709167)'))) / (select extract(epoch from '2026-06-09 17:37:04'::timestamp) - extract(epoch from '2026-06-09 17:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484898 -3.709372)', '2026-06-09 17:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.709167)'), GeomFromEWKT('SRID=4674;POINT (-38.484898 -3.709372)'))) / (select extract(epoch from '2026-06-09 17:37:15'::timestamp) - extract(epoch from '2026-06-09 17:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.709167)'), GeomFromEWKT('SRID=4674;POINT (-38.484898 -3.709372)'))) / (select extract(epoch from '2026-06-09 17:37:15'::timestamp) - extract(epoch from '2026-06-09 17:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484906 -3.709545)', '2026-06-09 17:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484898 -3.709372)'), GeomFromEWKT('SRID=4674;POINT (-38.484906 -3.709545)'))) / (select extract(epoch from '2026-06-09 17:37:25'::timestamp) - extract(epoch from '2026-06-09 17:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484898 -3.709372)'), GeomFromEWKT('SRID=4674;POINT (-38.484906 -3.709545)'))) / (select extract(epoch from '2026-06-09 17:37:25'::timestamp) - extract(epoch from '2026-06-09 17:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48491 -3.709675)', '2026-06-09 17:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484906 -3.709545)'), GeomFromEWKT('SRID=4674;POINT (-38.48491 -3.709675)'))) / (select extract(epoch from '2026-06-09 17:37:34'::timestamp) - extract(epoch from '2026-06-09 17:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484906 -3.709545)'), GeomFromEWKT('SRID=4674;POINT (-38.48491 -3.709675)'))) / (select extract(epoch from '2026-06-09 17:37:34'::timestamp) - extract(epoch from '2026-06-09 17:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484954 -3.709829)', '2026-06-09 17:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48491 -3.709675)'), GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.709829)'))) / (select extract(epoch from '2026-06-09 17:37:46'::timestamp) - extract(epoch from '2026-06-09 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48491 -3.709675)'), GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.709829)'))) / (select extract(epoch from '2026-06-09 17:37:46'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484978 -3.710026)', '2026-06-09 17:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.709829)'), GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.710026)'))) / (select extract(epoch from '2026-06-09 17:38:02'::timestamp) - extract(epoch from '2026-06-09 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.709829)'), GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.710026)'))) / (select extract(epoch from '2026-06-09 17:38:02'::timestamp) - extract(epoch from '2026-06-09 17:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484986 -3.710164)', '2026-06-09 17:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.710026)'), GeomFromEWKT('SRID=4674;POINT (-38.484986 -3.710164)'))) / (select extract(epoch from '2026-06-09 17:38:13'::timestamp) - extract(epoch from '2026-06-09 17:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.710026)'), GeomFromEWKT('SRID=4674;POINT (-38.484986 -3.710164)'))) / (select extract(epoch from '2026-06-09 17:38:13'::timestamp) - extract(epoch from '2026-06-09 17:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484985 -3.710297)', '2026-06-09 17:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484986 -3.710164)'), GeomFromEWKT('SRID=4674;POINT (-38.484985 -3.710297)'))) / (select extract(epoch from '2026-06-09 17:38:23'::timestamp) - extract(epoch from '2026-06-09 17:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484986 -3.710164)'), GeomFromEWKT('SRID=4674;POINT (-38.484985 -3.710297)'))) / (select extract(epoch from '2026-06-09 17:38:23'::timestamp) - extract(epoch from '2026-06-09 17:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484987 -3.710503)', '2026-06-09 17:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484985 -3.710297)'), GeomFromEWKT('SRID=4674;POINT (-38.484987 -3.710503)'))) / (select extract(epoch from '2026-06-09 17:38:36'::timestamp) - extract(epoch from '2026-06-09 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484985 -3.710297)'), GeomFromEWKT('SRID=4674;POINT (-38.484987 -3.710503)'))) / (select extract(epoch from '2026-06-09 17:38:36'::timestamp) - extract(epoch from '2026-06-09 17:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484944 -3.710683)', '2026-06-09 17:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484987 -3.710503)'), GeomFromEWKT('SRID=4674;POINT (-38.484944 -3.710683)'))) / (select extract(epoch from '2026-06-09 17:38:47'::timestamp) - extract(epoch from '2026-06-09 17:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484987 -3.710503)'), GeomFromEWKT('SRID=4674;POINT (-38.484944 -3.710683)'))) / (select extract(epoch from '2026-06-09 17:38:47'::timestamp) - extract(epoch from '2026-06-09 17:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48488 -3.710815)', '2026-06-09 17:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484944 -3.710683)'), GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.710815)'))) / (select extract(epoch from '2026-06-09 17:38:56'::timestamp) - extract(epoch from '2026-06-09 17:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484944 -3.710683)'), GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.710815)'))) / (select extract(epoch from '2026-06-09 17:38:56'::timestamp) - extract(epoch from '2026-06-09 17:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484795 -3.710953)', '2026-06-09 17:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.710815)'), GeomFromEWKT('SRID=4674;POINT (-38.484795 -3.710953)'))) / (select extract(epoch from '2026-06-09 17:39:07'::timestamp) - extract(epoch from '2026-06-09 17:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.710815)'), GeomFromEWKT('SRID=4674;POINT (-38.484795 -3.710953)'))) / (select extract(epoch from '2026-06-09 17:39:07'::timestamp) - extract(epoch from '2026-06-09 17:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484729 -3.711082)', '2026-06-09 17:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484795 -3.710953)'), GeomFromEWKT('SRID=4674;POINT (-38.484729 -3.711082)'))) / (select extract(epoch from '2026-06-09 17:39:18'::timestamp) - extract(epoch from '2026-06-09 17:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484795 -3.710953)'), GeomFromEWKT('SRID=4674;POINT (-38.484729 -3.711082)'))) / (select extract(epoch from '2026-06-09 17:39:18'::timestamp) - extract(epoch from '2026-06-09 17:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484698 -3.711167)', '2026-06-09 17:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484729 -3.711082)'), GeomFromEWKT('SRID=4674;POINT (-38.484698 -3.711167)'))) / (select extract(epoch from '2026-06-09 17:39:26'::timestamp) - extract(epoch from '2026-06-09 17:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484729 -3.711082)'), GeomFromEWKT('SRID=4674;POINT (-38.484698 -3.711167)'))) / (select extract(epoch from '2026-06-09 17:39:26'::timestamp) - extract(epoch from '2026-06-09 17:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484667 -3.711289)', '2026-06-09 17:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484698 -3.711167)'), GeomFromEWKT('SRID=4674;POINT (-38.484667 -3.711289)'))) / (select extract(epoch from '2026-06-09 17:39:36'::timestamp) - extract(epoch from '2026-06-09 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484698 -3.711167)'), GeomFromEWKT('SRID=4674;POINT (-38.484667 -3.711289)'))) / (select extract(epoch from '2026-06-09 17:39:36'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484641 -3.711428)', '2026-06-09 17:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484667 -3.711289)'), GeomFromEWKT('SRID=4674;POINT (-38.484641 -3.711428)'))) / (select extract(epoch from '2026-06-09 17:39:47'::timestamp) - extract(epoch from '2026-06-09 17:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484667 -3.711289)'), GeomFromEWKT('SRID=4674;POINT (-38.484641 -3.711428)'))) / (select extract(epoch from '2026-06-09 17:39:47'::timestamp) - extract(epoch from '2026-06-09 17:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484623 -3.711582)', '2026-06-09 17:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484641 -3.711428)'), GeomFromEWKT('SRID=4674;POINT (-38.484623 -3.711582)'))) / (select extract(epoch from '2026-06-09 17:39:58'::timestamp) - extract(epoch from '2026-06-09 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484641 -3.711428)'), GeomFromEWKT('SRID=4674;POINT (-38.484623 -3.711582)'))) / (select extract(epoch from '2026-06-09 17:39:58'::timestamp) - extract(epoch from '2026-06-09 17:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484624 -3.711751)', '2026-06-09 17:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484623 -3.711582)'), GeomFromEWKT('SRID=4674;POINT (-38.484624 -3.711751)'))) / (select extract(epoch from '2026-06-09 17:40:08'::timestamp) - extract(epoch from '2026-06-09 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484623 -3.711582)'), GeomFromEWKT('SRID=4674;POINT (-38.484624 -3.711751)'))) / (select extract(epoch from '2026-06-09 17:40:08'::timestamp) - extract(epoch from '2026-06-09 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'), 46534, 'SRID=4674;POINT (-38.484599 -3.711898)', '2026-06-09 17:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484624 -3.711751)'), GeomFromEWKT('SRID=4674;POINT (-38.484599 -3.711898)'))) / (select extract(epoch from '2026-06-09 17:40:17'::timestamp) - extract(epoch from '2026-06-09 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484624 -3.711751)'), GeomFromEWKT('SRID=4674;POINT (-38.484599 -3.711898)'))) / (select extract(epoch from '2026-06-09 17:40:17'::timestamp) - extract(epoch from '2026-06-09 17:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484566 -3.71204)', '2026-06-09 17:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484599 -3.711898)'), GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.71204)'))) / (select extract(epoch from '2026-06-09 17:40:28'::timestamp) - extract(epoch from '2026-06-09 17:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484599 -3.711898)'), GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.71204)'))) / (select extract(epoch from '2026-06-09 17:40:28'::timestamp) - extract(epoch from '2026-06-09 17:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.48455 -3.71216)', '2026-06-09 17:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.71204)'), GeomFromEWKT('SRID=4674;POINT (-38.48455 -3.71216)'))) / (select extract(epoch from '2026-06-09 17:40:39'::timestamp) - extract(epoch from '2026-06-09 17:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.71204)'), GeomFromEWKT('SRID=4674;POINT (-38.48455 -3.71216)'))) / (select extract(epoch from '2026-06-09 17:40:39'::timestamp) - extract(epoch from '2026-06-09 17:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484561 -3.712325)', '2026-06-09 17:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48455 -3.71216)'), GeomFromEWKT('SRID=4674;POINT (-38.484561 -3.712325)'))) / (select extract(epoch from '2026-06-09 17:40:51'::timestamp) - extract(epoch from '2026-06-09 17:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48455 -3.71216)'), GeomFromEWKT('SRID=4674;POINT (-38.484561 -3.712325)'))) / (select extract(epoch from '2026-06-09 17:40:51'::timestamp) - extract(epoch from '2026-06-09 17:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484536 -3.712487)', '2026-06-09 17:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484561 -3.712325)'), GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.712487)'))) / (select extract(epoch from '2026-06-09 17:41:02'::timestamp) - extract(epoch from '2026-06-09 17:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484561 -3.712325)'), GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.712487)'))) / (select extract(epoch from '2026-06-09 17:41:02'::timestamp) - extract(epoch from '2026-06-09 17:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484496 -3.712659)', '2026-06-09 17:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.712487)'), GeomFromEWKT('SRID=4674;POINT (-38.484496 -3.712659)'))) / (select extract(epoch from '2026-06-09 17:41:13'::timestamp) - extract(epoch from '2026-06-09 17:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.712487)'), GeomFromEWKT('SRID=4674;POINT (-38.484496 -3.712659)'))) / (select extract(epoch from '2026-06-09 17:41:13'::timestamp) - extract(epoch from '2026-06-09 17:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484437 -3.712869)', '2026-06-09 17:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484496 -3.712659)'), GeomFromEWKT('SRID=4674;POINT (-38.484437 -3.712869)'))) / (select extract(epoch from '2026-06-09 17:41:25'::timestamp) - extract(epoch from '2026-06-09 17:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484496 -3.712659)'), GeomFromEWKT('SRID=4674;POINT (-38.484437 -3.712869)'))) / (select extract(epoch from '2026-06-09 17:41:25'::timestamp) - extract(epoch from '2026-06-09 17:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484373 -3.713018)', '2026-06-09 17:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484437 -3.712869)'), GeomFromEWKT('SRID=4674;POINT (-38.484373 -3.713018)'))) / (select extract(epoch from '2026-06-09 17:41:35'::timestamp) - extract(epoch from '2026-06-09 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484437 -3.712869)'), GeomFromEWKT('SRID=4674;POINT (-38.484373 -3.713018)'))) / (select extract(epoch from '2026-06-09 17:41:35'::timestamp) - extract(epoch from '2026-06-09 17:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484308 -3.713175)', '2026-06-09 17:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484373 -3.713018)'), GeomFromEWKT('SRID=4674;POINT (-38.484308 -3.713175)'))) / (select extract(epoch from '2026-06-09 17:41:46'::timestamp) - extract(epoch from '2026-06-09 17:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484373 -3.713018)'), GeomFromEWKT('SRID=4674;POINT (-38.484308 -3.713175)'))) / (select extract(epoch from '2026-06-09 17:41:46'::timestamp) - extract(epoch from '2026-06-09 17:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484261 -3.713327)', '2026-06-09 17:41:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484308 -3.713175)'), GeomFromEWKT('SRID=4674;POINT (-38.484261 -3.713327)'))) / (select extract(epoch from '2026-06-09 17:41:57'::timestamp) - extract(epoch from '2026-06-09 17:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484308 -3.713175)'), GeomFromEWKT('SRID=4674;POINT (-38.484261 -3.713327)'))) / (select extract(epoch from '2026-06-09 17:41:57'::timestamp) - extract(epoch from '2026-06-09 17:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.484219 -3.713466)', '2026-06-09 17:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484261 -3.713327)'), GeomFromEWKT('SRID=4674;POINT (-38.484219 -3.713466)'))) / (select extract(epoch from '2026-06-09 17:42:07'::timestamp) - extract(epoch from '2026-06-09 17:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484261 -3.713327)'), GeomFromEWKT('SRID=4674;POINT (-38.484219 -3.713466)'))) / (select extract(epoch from '2026-06-09 17:42:07'::timestamp) - extract(epoch from '2026-06-09 17:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
