 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137799 -3.123612)', '2026-07-10 14:23:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137766 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.137799 -3.123612)'))) / (select extract(epoch from '2026-07-10 14:23:40'::timestamp) - extract(epoch from '2026-07-10 14:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137766 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.137799 -3.123612)'))) / (select extract(epoch from '2026-07-10 14:23:40'::timestamp) - extract(epoch from '2026-07-10 14:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137837 -3.123579)', '2026-07-10 14:23:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137799 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.137837 -3.123579)'))) / (select extract(epoch from '2026-07-10 14:23:47'::timestamp) - extract(epoch from '2026-07-10 14:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137799 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.137837 -3.123579)'))) / (select extract(epoch from '2026-07-10 14:23:47'::timestamp) - extract(epoch from '2026-07-10 14:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137877 -3.12355)', '2026-07-10 14:23:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137837 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.137877 -3.12355)'))) / (select extract(epoch from '2026-07-10 14:23:54'::timestamp) - extract(epoch from '2026-07-10 14:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137837 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.137877 -3.12355)'))) / (select extract(epoch from '2026-07-10 14:23:54'::timestamp) - extract(epoch from '2026-07-10 14:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137908 -3.123535)', '2026-07-10 14:23:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137877 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.137908 -3.123535)'))) / (select extract(epoch from '2026-07-10 14:23:59'::timestamp) - extract(epoch from '2026-07-10 14:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137877 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.137908 -3.123535)'))) / (select extract(epoch from '2026-07-10 14:23:59'::timestamp) - extract(epoch from '2026-07-10 14:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137895 -3.123527)', '2026-07-10 14:24:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137908 -3.123535)'), GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123527)'))) / (select extract(epoch from '2026-07-10 14:24:05'::timestamp) - extract(epoch from '2026-07-10 14:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137908 -3.123535)'), GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123527)'))) / (select extract(epoch from '2026-07-10 14:24:05'::timestamp) - extract(epoch from '2026-07-10 14:23: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'), 47521, 'SRID=4674;POINT (-39.137895 -3.123521)', '2026-07-10 14:24:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123521)'))) / (select extract(epoch from '2026-07-10 14:24:11'::timestamp) - extract(epoch from '2026-07-10 14:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123527)'), GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123521)'))) / (select extract(epoch from '2026-07-10 14:24:11'::timestamp) - extract(epoch from '2026-07-10 14:24: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'), 47521, 'SRID=4674;POINT (-39.137902 -3.123513)', '2026-07-10 14:24:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.137902 -3.123513)'))) / (select extract(epoch from '2026-07-10 14:24:18'::timestamp) - extract(epoch from '2026-07-10 14:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137895 -3.123521)'), GeomFromEWKT('SRID=4674;POINT (-39.137902 -3.123513)'))) / (select extract(epoch from '2026-07-10 14:24:18'::timestamp) - extract(epoch from '2026-07-10 14:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137925 -3.123491)', '2026-07-10 14:24:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137902 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.137925 -3.123491)'))) / (select extract(epoch from '2026-07-10 14:24:27'::timestamp) - extract(epoch from '2026-07-10 14:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137902 -3.123513)'), GeomFromEWKT('SRID=4674;POINT (-39.137925 -3.123491)'))) / (select extract(epoch from '2026-07-10 14:24:27'::timestamp) - extract(epoch from '2026-07-10 14:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.137966 -3.123461)', '2026-07-10 14:24:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137925 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.137966 -3.123461)'))) / (select extract(epoch from '2026-07-10 14:24:35'::timestamp) - extract(epoch from '2026-07-10 14:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137925 -3.123491)'), GeomFromEWKT('SRID=4674;POINT (-39.137966 -3.123461)'))) / (select extract(epoch from '2026-07-10 14:24:35'::timestamp) - extract(epoch from '2026-07-10 14:24: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'), 47521, 'SRID=4674;POINT (-39.138002 -3.123441)', '2026-07-10 14:24:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137966 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138002 -3.123441)'))) / (select extract(epoch from '2026-07-10 14:24:41'::timestamp) - extract(epoch from '2026-07-10 14:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.137966 -3.123461)'), GeomFromEWKT('SRID=4674;POINT (-39.138002 -3.123441)'))) / (select extract(epoch from '2026-07-10 14:24:41'::timestamp) - extract(epoch from '2026-07-10 14:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138035 -3.123421)', '2026-07-10 14:24:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138002 -3.123441)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123421)'))) / (select extract(epoch from '2026-07-10 14:24:46'::timestamp) - extract(epoch from '2026-07-10 14:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138002 -3.123441)'), GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123421)'))) / (select extract(epoch from '2026-07-10 14:24:46'::timestamp) - extract(epoch from '2026-07-10 14:24: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'), 47521, 'SRID=4674;POINT (-39.138073 -3.123396)', '2026-07-10 14:24:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123396)'))) / (select extract(epoch from '2026-07-10 14:24:53'::timestamp) - extract(epoch from '2026-07-10 14:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138035 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123396)'))) / (select extract(epoch from '2026-07-10 14:24:53'::timestamp) - extract(epoch from '2026-07-10 14:24: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'), 47521, 'SRID=4674;POINT (-39.138108 -3.123373)', '2026-07-10 14:24:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:24:59'::timestamp) - extract(epoch from '2026-07-10 14:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138073 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:24:59'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123363)', '2026-07-10 14:25:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:25:04'::timestamp) - extract(epoch from '2026-07-10 14:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138108 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:25:04'::timestamp) - extract(epoch from '2026-07-10 14:24: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.12335)', '2026-07-10 14:25:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12335)'))) / (select extract(epoch from '2026-07-10 14:25:10'::timestamp) - extract(epoch from '2026-07-10 14:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12335)'))) / (select extract(epoch from '2026-07-10 14:25:10'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123357)', '2026-07-10 14:25:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:25:13'::timestamp) - extract(epoch from '2026-07-10 14:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:25:13'::timestamp) - extract(epoch from '2026-07-10 14:25: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'), 47521, 'SRID=4674;POINT (-39.138149 -3.123351)', '2026-07-10 14:25:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:25:15'::timestamp) - extract(epoch from '2026-07-10 14:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:25:15'::timestamp) - extract(epoch from '2026-07-10 14:25: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.12336)', '2026-07-10 14:25:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:25:18'::timestamp) - extract(epoch from '2026-07-10 14:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:25:18'::timestamp) - extract(epoch from '2026-07-10 14:25: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123361)', '2026-07-10 14:25:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:25:19'::timestamp) - extract(epoch from '2026-07-10 14:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:25:19'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123354)', '2026-07-10 14:25:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:25:24'::timestamp) - extract(epoch from '2026-07-10 14:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:25:24'::timestamp) - extract(epoch from '2026-07-10 14:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13812 -3.123339)', '2026-07-10 14:25:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123339)'))) / (select extract(epoch from '2026-07-10 14:25:31'::timestamp) - extract(epoch from '2026-07-10 14:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123339)'))) / (select extract(epoch from '2026-07-10 14:25:31'::timestamp) - extract(epoch from '2026-07-10 14:25: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.12333)', '2026-07-10 14:25:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:25:38'::timestamp) - extract(epoch from '2026-07-10 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:25:38'::timestamp) - extract(epoch from '2026-07-10 14:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138123 -3.123336)', '2026-07-10 14:25:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:25:44'::timestamp) - extract(epoch from '2026-07-10 14:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:25:44'::timestamp) - extract(epoch from '2026-07-10 14:25: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'), 47521, 'SRID=4674;POINT (-39.138115 -3.123339)', '2026-07-10 14:25:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123339)'))) / (select extract(epoch from '2026-07-10 14:25:50'::timestamp) - extract(epoch from '2026-07-10 14:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123339)'))) / (select extract(epoch from '2026-07-10 14:25:50'::timestamp) - extract(epoch from '2026-07-10 14:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.123337)', '2026-07-10 14:26:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123337)'))) / (select extract(epoch from '2026-07-10 14:26:00'::timestamp) - extract(epoch from '2026-07-10 14:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123337)'))) / (select extract(epoch from '2026-07-10 14:26:00'::timestamp) - extract(epoch from '2026-07-10 14:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138117 -3.12333)', '2026-07-10 14:26:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:26:05'::timestamp) - extract(epoch from '2026-07-10 14:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:26:05'::timestamp) - extract(epoch from '2026-07-10 14:26: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123326)', '2026-07-10 14:26:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:26:11'::timestamp) - extract(epoch from '2026-07-10 14:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:26:11'::timestamp) - extract(epoch from '2026-07-10 14:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123318)', '2026-07-10 14:26:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:26:17'::timestamp) - extract(epoch from '2026-07-10 14:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:26:17'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123326)', '2026-07-10 14:26:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:26:22'::timestamp) - extract(epoch from '2026-07-10 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:26:22'::timestamp) - extract(epoch from '2026-07-10 14:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138119 -3.123322)', '2026-07-10 14:26:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123322)'))) / (select extract(epoch from '2026-07-10 14:26:28'::timestamp) - extract(epoch from '2026-07-10 14:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123322)'))) / (select extract(epoch from '2026-07-10 14:26:28'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123318)', '2026-07-10 14:26:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:26:33'::timestamp) - extract(epoch from '2026-07-10 14:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:26:33'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123319)', '2026-07-10 14:26:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:26:41'::timestamp) - extract(epoch from '2026-07-10 14:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:26:41'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138118 -3.123313)', '2026-07-10 14:26:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:26:51'::timestamp) - extract(epoch from '2026-07-10 14:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:26:51'::timestamp) - extract(epoch from '2026-07-10 14:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123305)', '2026-07-10 14:27:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123305)'))) / (select extract(epoch from '2026-07-10 14:27:00'::timestamp) - extract(epoch from '2026-07-10 14:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123305)'))) / (select extract(epoch from '2026-07-10 14:27:00'::timestamp) - extract(epoch from '2026-07-10 14:26: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'), 47521, 'SRID=4674;POINT (-39.138115 -3.1233)', '2026-07-10 14:27:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.1233)'))) / (select extract(epoch from '2026-07-10 14:27:05'::timestamp) - extract(epoch from '2026-07-10 14:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.1233)'))) / (select extract(epoch from '2026-07-10 14:27:05'::timestamp) - extract(epoch from '2026-07-10 14:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123302)', '2026-07-10 14:27:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123302)'))) / (select extract(epoch from '2026-07-10 14:27:12'::timestamp) - extract(epoch from '2026-07-10 14:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123302)'))) / (select extract(epoch from '2026-07-10 14:27:12'::timestamp) - extract(epoch from '2026-07-10 14:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138114 -3.123305)', '2026-07-10 14:27:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123305)'))) / (select extract(epoch from '2026-07-10 14:27:17'::timestamp) - extract(epoch from '2026-07-10 14:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123302)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123305)'))) / (select extract(epoch from '2026-07-10 14:27:17'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138114 -3.123306)', '2026-07-10 14:27:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123306)'))) / (select extract(epoch from '2026-07-10 14:27:22'::timestamp) - extract(epoch from '2026-07-10 14:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123305)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123306)'))) / (select extract(epoch from '2026-07-10 14:27:22'::timestamp) - extract(epoch from '2026-07-10 14:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123312)', '2026-07-10 14:27:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123312)'))) / (select extract(epoch from '2026-07-10 14:27:29'::timestamp) - extract(epoch from '2026-07-10 14:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123312)'))) / (select extract(epoch from '2026-07-10 14:27:29'::timestamp) - extract(epoch from '2026-07-10 14:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138123 -3.123314)', '2026-07-10 14:27:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:27:36'::timestamp) - extract(epoch from '2026-07-10 14:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:27:36'::timestamp) - extract(epoch from '2026-07-10 14:27: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123316)', '2026-07-10 14:27:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123316)'))) / (select extract(epoch from '2026-07-10 14:27:42'::timestamp) - extract(epoch from '2026-07-10 14:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123316)'))) / (select extract(epoch from '2026-07-10 14:27:42'::timestamp) - extract(epoch from '2026-07-10 14:27: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123314)', '2026-07-10 14:27:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:27:50'::timestamp) - extract(epoch from '2026-07-10 14:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:27:50'::timestamp) - extract(epoch from '2026-07-10 14:27: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123317)', '2026-07-10 14:27:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123317)'))) / (select extract(epoch from '2026-07-10 14:27:57'::timestamp) - extract(epoch from '2026-07-10 14:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123317)'))) / (select extract(epoch from '2026-07-10 14:27:57'::timestamp) - extract(epoch from '2026-07-10 14:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13812 -3.123324)', '2026-07-10 14:28:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123324)'))) / (select extract(epoch from '2026-07-10 14:28:02'::timestamp) - extract(epoch from '2026-07-10 14:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123324)'))) / (select extract(epoch from '2026-07-10 14:28:02'::timestamp) - extract(epoch from '2026-07-10 14:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123321)', '2026-07-10 14:28:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:07'::timestamp) - extract(epoch from '2026-07-10 14:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:07'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.138117 -3.123319)', '2026-07-10 14:28:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:28:15'::timestamp) - extract(epoch from '2026-07-10 14:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:28:15'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123316)', '2026-07-10 14:28:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123316)'))) / (select extract(epoch from '2026-07-10 14:28:24'::timestamp) - extract(epoch from '2026-07-10 14:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123316)'))) / (select extract(epoch from '2026-07-10 14:28:24'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.138122 -3.123321)', '2026-07-10 14:28:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:30'::timestamp) - extract(epoch from '2026-07-10 14:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:30'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123321)', '2026-07-10 14:28:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:39'::timestamp) - extract(epoch from '2026-07-10 14:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:28:39'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123323)', '2026-07-10 14:28:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123323)'))) / (select extract(epoch from '2026-07-10 14:28:44'::timestamp) - extract(epoch from '2026-07-10 14:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123323)'))) / (select extract(epoch from '2026-07-10 14:28:44'::timestamp) - extract(epoch from '2026-07-10 14:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123326)', '2026-07-10 14:28:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:28:50'::timestamp) - extract(epoch from '2026-07-10 14:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:28:50'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123319)', '2026-07-10 14:28:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:28:57'::timestamp) - extract(epoch from '2026-07-10 14:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:28:57'::timestamp) - extract(epoch from '2026-07-10 14:28: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'), 47521, 'SRID=4674;POINT (-39.138118 -3.123327)', '2026-07-10 14:29:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123327)'))) / (select extract(epoch from '2026-07-10 14:29:04'::timestamp) - extract(epoch from '2026-07-10 14:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123327)'))) / (select extract(epoch from '2026-07-10 14:29:04'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123327)', '2026-07-10 14:29:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123327)'))) / (select extract(epoch from '2026-07-10 14:29:13'::timestamp) - extract(epoch from '2026-07-10 14:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123327)'))) / (select extract(epoch from '2026-07-10 14:29:13'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123326)', '2026-07-10 14:29:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:29:20'::timestamp) - extract(epoch from '2026-07-10 14:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:29:20'::timestamp) - extract(epoch from '2026-07-10 14:29: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123326)', '2026-07-10 14:29:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:29:28'::timestamp) - extract(epoch from '2026-07-10 14:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123326)'))) / (select extract(epoch from '2026-07-10 14:29:28'::timestamp) - extract(epoch from '2026-07-10 14:29: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123323)', '2026-07-10 14:29:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123323)'))) / (select extract(epoch from '2026-07-10 14:29:35'::timestamp) - extract(epoch from '2026-07-10 14:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123323)'))) / (select extract(epoch from '2026-07-10 14:29:35'::timestamp) - extract(epoch from '2026-07-10 14:29: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'), 47521, 'SRID=4674;POINT (-39.138115 -3.123321)', '2026-07-10 14:29:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:29:43'::timestamp) - extract(epoch from '2026-07-10 14:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'))) / (select extract(epoch from '2026-07-10 14:29:43'::timestamp) - extract(epoch from '2026-07-10 14:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138115 -3.123318)', '2026-07-10 14:29:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:29:50'::timestamp) - extract(epoch from '2026-07-10 14:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:29:50'::timestamp) - extract(epoch from '2026-07-10 14:29: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123313)', '2026-07-10 14:30:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:01'::timestamp) - extract(epoch from '2026-07-10 14:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:01'::timestamp) - extract(epoch from '2026-07-10 14:29: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'), 47521, 'SRID=4674;POINT (-39.138115 -3.123315)', '2026-07-10 14:30:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123315)'))) / (select extract(epoch from '2026-07-10 14:30:10'::timestamp) - extract(epoch from '2026-07-10 14:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123315)'))) / (select extract(epoch from '2026-07-10 14:30:10'::timestamp) - extract(epoch from '2026-07-10 14:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138114 -3.123309)', '2026-07-10 14:30:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123309)'))) / (select extract(epoch from '2026-07-10 14:30:15'::timestamp) - extract(epoch from '2026-07-10 14:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123309)'))) / (select extract(epoch from '2026-07-10 14:30:15'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123313)', '2026-07-10 14:30:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:22'::timestamp) - extract(epoch from '2026-07-10 14:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123309)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:22'::timestamp) - extract(epoch from '2026-07-10 14:30: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123314)', '2026-07-10 14:30:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:30:27'::timestamp) - extract(epoch from '2026-07-10 14:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'))) / (select extract(epoch from '2026-07-10 14:30:27'::timestamp) - extract(epoch from '2026-07-10 14:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138116 -3.123313)', '2026-07-10 14:30:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:37'::timestamp) - extract(epoch from '2026-07-10 14:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:37'::timestamp) - extract(epoch from '2026-07-10 14:30: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123312)', '2026-07-10 14:30:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123312)'))) / (select extract(epoch from '2026-07-10 14:30:38'::timestamp) - extract(epoch from '2026-07-10 14:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123312)'))) / (select extract(epoch from '2026-07-10 14:30:38'::timestamp) - extract(epoch from '2026-07-10 14:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123318)', '2026-07-10 14:30:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:30:41'::timestamp) - extract(epoch from '2026-07-10 14:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123318)'))) / (select extract(epoch from '2026-07-10 14:30:41'::timestamp) - extract(epoch from '2026-07-10 14:30: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.123313)', '2026-07-10 14:30:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:53'::timestamp) - extract(epoch from '2026-07-10 14:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123313)'))) / (select extract(epoch from '2026-07-10 14:30:53'::timestamp) - extract(epoch from '2026-07-10 14:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138122 -3.123315)', '2026-07-10 14:31:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123315)'))) / (select extract(epoch from '2026-07-10 14:31:03'::timestamp) - extract(epoch from '2026-07-10 14:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123315)'))) / (select extract(epoch from '2026-07-10 14:31:03'::timestamp) - extract(epoch from '2026-07-10 14:30: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123319)', '2026-07-10 14:31:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:31:11'::timestamp) - extract(epoch from '2026-07-10 14:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138122 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123319)'))) / (select extract(epoch from '2026-07-10 14:31:11'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138133 -3.123329)', '2026-07-10 14:31:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123329)'))) / (select extract(epoch from '2026-07-10 14:31:20'::timestamp) - extract(epoch from '2026-07-10 14:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123329)'))) / (select extract(epoch from '2026-07-10 14:31:20'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.12333)', '2026-07-10 14:31:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:31:22'::timestamp) - extract(epoch from '2026-07-10 14:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:31:22'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138131 -3.12333)', '2026-07-10 14:31:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:31:24'::timestamp) - extract(epoch from '2026-07-10 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12333)'))) / (select extract(epoch from '2026-07-10 14:31:24'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123334)', '2026-07-10 14:31:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123334)'))) / (select extract(epoch from '2026-07-10 14:31:31'::timestamp) - extract(epoch from '2026-07-10 14:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123334)'))) / (select extract(epoch from '2026-07-10 14:31:31'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123333)', '2026-07-10 14:31:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'))) / (select extract(epoch from '2026-07-10 14:31:40'::timestamp) - extract(epoch from '2026-07-10 14:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'))) / (select extract(epoch from '2026-07-10 14:31:40'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.123336)', '2026-07-10 14:31:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:31:48'::timestamp) - extract(epoch from '2026-07-10 14:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:31:48'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123336)', '2026-07-10 14:31:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:31:56'::timestamp) - extract(epoch from '2026-07-10 14:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123336)'))) / (select extract(epoch from '2026-07-10 14:31:56'::timestamp) - extract(epoch from '2026-07-10 14:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138136 -3.123344)', '2026-07-10 14:32:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123344)'))) / (select extract(epoch from '2026-07-10 14:32:01'::timestamp) - extract(epoch from '2026-07-10 14:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123344)'))) / (select extract(epoch from '2026-07-10 14:32:01'::timestamp) - extract(epoch from '2026-07-10 14:31: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123347)', '2026-07-10 14:32:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:32:06'::timestamp) - extract(epoch from '2026-07-10 14:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:32:06'::timestamp) - extract(epoch from '2026-07-10 14:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123351)', '2026-07-10 14:32:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:32:17'::timestamp) - extract(epoch from '2026-07-10 14:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:32:17'::timestamp) - extract(epoch from '2026-07-10 14:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138152 -3.123357)', '2026-07-10 14:32:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:32:24'::timestamp) - extract(epoch from '2026-07-10 14:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:32:24'::timestamp) - extract(epoch from '2026-07-10 14:32: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'), 47521, 'SRID=4674;POINT (-39.138152 -3.123357)', '2026-07-10 14:32:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:32:31'::timestamp) - extract(epoch from '2026-07-10 14:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:32:31'::timestamp) - extract(epoch from '2026-07-10 14:32:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138152 -3.123352)', '2026-07-10 14:32:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:32:37'::timestamp) - extract(epoch from '2026-07-10 14:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:32:37'::timestamp) - extract(epoch from '2026-07-10 14:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123353)', '2026-07-10 14:32:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:32:38'::timestamp) - extract(epoch from '2026-07-10 14:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:32:38'::timestamp) - extract(epoch from '2026-07-10 14:32: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'), 47521, 'SRID=4674;POINT (-39.138151 -3.123361)', '2026-07-10 14:32:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:32:45'::timestamp) - extract(epoch from '2026-07-10 14:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:32:45'::timestamp) - extract(epoch from '2026-07-10 14:32: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123362)', '2026-07-10 14:32:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:32:51'::timestamp) - extract(epoch from '2026-07-10 14:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:32:51'::timestamp) - extract(epoch from '2026-07-10 14:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138155 -3.123364)', '2026-07-10 14:32:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:32:59'::timestamp) - extract(epoch from '2026-07-10 14:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:32:59'::timestamp) - extract(epoch from '2026-07-10 14:32: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123359)', '2026-07-10 14:33:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:33:07'::timestamp) - extract(epoch from '2026-07-10 14:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:33:07'::timestamp) - extract(epoch from '2026-07-10 14:32: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123359)', '2026-07-10 14:33:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:33:15'::timestamp) - extract(epoch from '2026-07-10 14:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:33:15'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123363)', '2026-07-10 14:33:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:33:23'::timestamp) - extract(epoch from '2026-07-10 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:33:23'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13815 -3.12336)', '2026-07-10 14:33:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:33:32'::timestamp) - extract(epoch from '2026-07-10 14:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:33:32'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123363)', '2026-07-10 14:33:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:33:37'::timestamp) - extract(epoch from '2026-07-10 14:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:33:37'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123371)', '2026-07-10 14:33:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:33:43'::timestamp) - extract(epoch from '2026-07-10 14:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:33:43'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.123372)', '2026-07-10 14:33:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:33:50'::timestamp) - extract(epoch from '2026-07-10 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:33:50'::timestamp) - extract(epoch from '2026-07-10 14:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.12337)', '2026-07-10 14:33:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:33:56'::timestamp) - extract(epoch from '2026-07-10 14:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:33:56'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123359)', '2026-07-10 14:34:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:34:03'::timestamp) - extract(epoch from '2026-07-10 14:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:34:03'::timestamp) - extract(epoch from '2026-07-10 14:33: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123365)', '2026-07-10 14:34:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:34:08'::timestamp) - extract(epoch from '2026-07-10 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:34:08'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123368)', '2026-07-10 14:34:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:34:18'::timestamp) - extract(epoch from '2026-07-10 14:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:34:18'::timestamp) - extract(epoch from '2026-07-10 14:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138163 -3.123368)', '2026-07-10 14:34:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:34:26'::timestamp) - extract(epoch from '2026-07-10 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:34:26'::timestamp) - extract(epoch from '2026-07-10 14:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138167 -3.123375)', '2026-07-10 14:34:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:34:33'::timestamp) - extract(epoch from '2026-07-10 14:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:34:33'::timestamp) - extract(epoch from '2026-07-10 14:34: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123371)', '2026-07-10 14:34:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:34:38'::timestamp) - extract(epoch from '2026-07-10 14:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:34:38'::timestamp) - extract(epoch from '2026-07-10 14:34: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123371)', '2026-07-10 14:34:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:34:48'::timestamp) - extract(epoch from '2026-07-10 14:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:34:48'::timestamp) - extract(epoch from '2026-07-10 14:34: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123367)', '2026-07-10 14:34:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:34:59'::timestamp) - extract(epoch from '2026-07-10 14:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:34:59'::timestamp) - extract(epoch from '2026-07-10 14:34: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123371)', '2026-07-10 14:35:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:03'::timestamp) - extract(epoch from '2026-07-10 14:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:03'::timestamp) - extract(epoch from '2026-07-10 14:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13816 -3.123372)', '2026-07-10 14:35:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:35:09'::timestamp) - extract(epoch from '2026-07-10 14:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:35:09'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123369)', '2026-07-10 14:35:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:35:15'::timestamp) - extract(epoch from '2026-07-10 14:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:35:15'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123371)', '2026-07-10 14:35:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:24'::timestamp) - extract(epoch from '2026-07-10 14:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:24'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123377)', '2026-07-10 14:35:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:35:31'::timestamp) - extract(epoch from '2026-07-10 14:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:35:31'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123377)', '2026-07-10 14:35:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:35:36'::timestamp) - extract(epoch from '2026-07-10 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:35:36'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123372)', '2026-07-10 14:35:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:35:44'::timestamp) - extract(epoch from '2026-07-10 14:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:35:44'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123371)', '2026-07-10 14:35:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:50'::timestamp) - extract(epoch from '2026-07-10 14:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:50'::timestamp) - extract(epoch from '2026-07-10 14:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.123371)', '2026-07-10 14:35:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:54'::timestamp) - extract(epoch from '2026-07-10 14:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:35:54'::timestamp) - extract(epoch from '2026-07-10 14:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138162 -3.123369)', '2026-07-10 14:36:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:36:00'::timestamp) - extract(epoch from '2026-07-10 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:36:00'::timestamp) - extract(epoch from '2026-07-10 14:35: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123368)', '2026-07-10 14:36:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:36:06'::timestamp) - extract(epoch from '2026-07-10 14:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:36:06'::timestamp) - extract(epoch from '2026-07-10 14:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138154 -3.123364)', '2026-07-10 14:36:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:36:18'::timestamp) - extract(epoch from '2026-07-10 14:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:36:18'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123363)', '2026-07-10 14:36:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:36:24'::timestamp) - extract(epoch from '2026-07-10 14:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:36:24'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.12337)', '2026-07-10 14:36:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:36:27'::timestamp) - extract(epoch from '2026-07-10 14:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:36:27'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123363)', '2026-07-10 14:36:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:36:30'::timestamp) - extract(epoch from '2026-07-10 14:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:36:30'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.12337)', '2026-07-10 14:36:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:36:36'::timestamp) - extract(epoch from '2026-07-10 14:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:36:36'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123369)', '2026-07-10 14:36:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:36:45'::timestamp) - extract(epoch from '2026-07-10 14:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:36:45'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.123369)', '2026-07-10 14:37:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:37:01'::timestamp) - extract(epoch from '2026-07-10 14:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:37:01'::timestamp) - extract(epoch from '2026-07-10 14:36: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'), 47521, 'SRID=4674;POINT (-39.138171 -3.123376)', '2026-07-10 14:37:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:07'::timestamp) - extract(epoch from '2026-07-10 14:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:07'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.123376)', '2026-07-10 14:37:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:12'::timestamp) - extract(epoch from '2026-07-10 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:12'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138166 -3.123382)', '2026-07-10 14:37:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:37:19'::timestamp) - extract(epoch from '2026-07-10 14:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:37:19'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.12338)', '2026-07-10 14:37:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:37:25'::timestamp) - extract(epoch from '2026-07-10 14:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:37:25'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123375)', '2026-07-10 14:37:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:37:36'::timestamp) - extract(epoch from '2026-07-10 14:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:37:36'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123372)', '2026-07-10 14:37:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:37:44'::timestamp) - extract(epoch from '2026-07-10 14:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:37:44'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123376)', '2026-07-10 14:37:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:50'::timestamp) - extract(epoch from '2026-07-10 14:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:37:50'::timestamp) - extract(epoch from '2026-07-10 14:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138171 -3.123374)', '2026-07-10 14:37:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:37:58'::timestamp) - extract(epoch from '2026-07-10 14:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:37:58'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138174 -3.123378)', '2026-07-10 14:38:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:05'::timestamp) - extract(epoch from '2026-07-10 14:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:05'::timestamp) - extract(epoch from '2026-07-10 14:37: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'), 47521, 'SRID=4674;POINT (-39.138178 -3.12338)', '2026-07-10 14:38:06', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:38:06'::timestamp) - extract(epoch from '2026-07-10 14:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:38:06'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.138174 -3.123378)', '2026-07-10 14:38:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:11'::timestamp) - extract(epoch from '2026-07-10 14:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:11'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.138172 -3.123373)', '2026-07-10 14:38:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:38:20'::timestamp) - extract(epoch from '2026-07-10 14:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:38:20'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.138174 -3.123377)', '2026-07-10 14:38:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:38:28'::timestamp) - extract(epoch from '2026-07-10 14:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:38:28'::timestamp) - extract(epoch from '2026-07-10 14:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138166 -3.12338)', '2026-07-10 14:38:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:38:38'::timestamp) - extract(epoch from '2026-07-10 14:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:38:38'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.138168 -3.123378)', '2026-07-10 14:38:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:48'::timestamp) - extract(epoch from '2026-07-10 14:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:38:48'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123377)', '2026-07-10 14:39:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:39:02'::timestamp) - extract(epoch from '2026-07-10 14:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:39:02'::timestamp) - extract(epoch from '2026-07-10 14:38: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123364)', '2026-07-10 14:39:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:39:06'::timestamp) - extract(epoch from '2026-07-10 14:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:39:06'::timestamp) - extract(epoch from '2026-07-10 14:39: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.123361)', '2026-07-10 14:39:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:39:07'::timestamp) - extract(epoch from '2026-07-10 14:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:39:07'::timestamp) - extract(epoch from '2026-07-10 14:39: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'), 47521, 'SRID=4674;POINT (-39.138143 -3.123371)', '2026-07-10 14:39:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:39:14'::timestamp) - extract(epoch from '2026-07-10 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:39:14'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123372)', '2026-07-10 14:39:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:39:20'::timestamp) - extract(epoch from '2026-07-10 14:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:39:20'::timestamp) - extract(epoch from '2026-07-10 14:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138154 -3.123369)', '2026-07-10 14:39:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:39:28'::timestamp) - extract(epoch from '2026-07-10 14:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:39:28'::timestamp) - extract(epoch from '2026-07-10 14:39: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123372)', '2026-07-10 14:39:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:39:36'::timestamp) - extract(epoch from '2026-07-10 14:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:39:36'::timestamp) - extract(epoch from '2026-07-10 14:39: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123375)', '2026-07-10 14:39:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:39:47'::timestamp) - extract(epoch from '2026-07-10 14:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:39:47'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123369)', '2026-07-10 14:39:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:39:56'::timestamp) - extract(epoch from '2026-07-10 14:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:39:56'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123371)', '2026-07-10 14:40:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:40:06'::timestamp) - extract(epoch from '2026-07-10 14:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:40:06'::timestamp) - extract(epoch from '2026-07-10 14:39: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123364)', '2026-07-10 14:40:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:40:12'::timestamp) - extract(epoch from '2026-07-10 14:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:40:12'::timestamp) - extract(epoch from '2026-07-10 14:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13816 -3.123364)', '2026-07-10 14:40:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:40:18'::timestamp) - extract(epoch from '2026-07-10 14:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:40:18'::timestamp) - extract(epoch from '2026-07-10 14:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138166 -3.123372)', '2026-07-10 14:40:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:40:25'::timestamp) - extract(epoch from '2026-07-10 14:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:40:25'::timestamp) - extract(epoch from '2026-07-10 14:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138176 -3.123368)', '2026-07-10 14:40:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:40:38'::timestamp) - extract(epoch from '2026-07-10 14:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:40:38'::timestamp) - extract(epoch from '2026-07-10 14:40: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'), 47521, 'SRID=4674;POINT (-39.138175 -3.123371)', '2026-07-10 14:40:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:40:44'::timestamp) - extract(epoch from '2026-07-10 14:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:40:44'::timestamp) - extract(epoch from '2026-07-10 14:40: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'), 47521, 'SRID=4674;POINT (-39.138174 -3.123374)', '2026-07-10 14:40:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:40:51'::timestamp) - extract(epoch from '2026-07-10 14:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:40:51'::timestamp) - extract(epoch from '2026-07-10 14:40: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'), 47521, 'SRID=4674;POINT (-39.138176 -3.123374)', '2026-07-10 14:40:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:40:53'::timestamp) - extract(epoch from '2026-07-10 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:40:53'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138177 -3.123378)', '2026-07-10 14:40:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:40:55'::timestamp) - extract(epoch from '2026-07-10 14:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:40:55'::timestamp) - extract(epoch from '2026-07-10 14:40: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'), 47521, 'SRID=4674;POINT (-39.138169 -3.123383)', '2026-07-10 14:41:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:41:02'::timestamp) - extract(epoch from '2026-07-10 14:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:41:02'::timestamp) - extract(epoch from '2026-07-10 14:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138176 -3.123386)', '2026-07-10 14:41:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:41:10'::timestamp) - extract(epoch from '2026-07-10 14:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:41:10'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123389)', '2026-07-10 14:41:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:41:18'::timestamp) - extract(epoch from '2026-07-10 14:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:41:18'::timestamp) - extract(epoch from '2026-07-10 14:41: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123398)', '2026-07-10 14:41:25', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123398)'))) / (select extract(epoch from '2026-07-10 14:41:25'::timestamp) - extract(epoch from '2026-07-10 14:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123398)'))) / (select extract(epoch from '2026-07-10 14:41:25'::timestamp) - extract(epoch from '2026-07-10 14:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13817 -3.123395)', '2026-07-10 14:41:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123395)'))) / (select extract(epoch from '2026-07-10 14:41:31'::timestamp) - extract(epoch from '2026-07-10 14:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123395)'))) / (select extract(epoch from '2026-07-10 14:41:31'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.123388)', '2026-07-10 14:41:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:41:38'::timestamp) - extract(epoch from '2026-07-10 14:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:41:38'::timestamp) - extract(epoch from '2026-07-10 14:41: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123383)', '2026-07-10 14:41:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:41:47'::timestamp) - extract(epoch from '2026-07-10 14:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:41:47'::timestamp) - extract(epoch from '2026-07-10 14:41: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123382)', '2026-07-10 14:41:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:41:54'::timestamp) - extract(epoch from '2026-07-10 14:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:41:54'::timestamp) - extract(epoch from '2026-07-10 14:41: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.123382)', '2026-07-10 14:41:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:41:59'::timestamp) - extract(epoch from '2026-07-10 14:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:41:59'::timestamp) - extract(epoch from '2026-07-10 14:41: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'), 47521, 'SRID=4674;POINT (-39.138166 -3.123383)', '2026-07-10 14:42:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:42:05'::timestamp) - extract(epoch from '2026-07-10 14:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:42:05'::timestamp) - extract(epoch from '2026-07-10 14:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138167 -3.123386)', '2026-07-10 14:42:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:42:13'::timestamp) - extract(epoch from '2026-07-10 14:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:42:13'::timestamp) - extract(epoch from '2026-07-10 14:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138159 -3.123377)', '2026-07-10 14:42:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:42:20'::timestamp) - extract(epoch from '2026-07-10 14:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:42:20'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123368)', '2026-07-10 14:42:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:42:27'::timestamp) - extract(epoch from '2026-07-10 14:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:42:27'::timestamp) - extract(epoch from '2026-07-10 14:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138162 -3.123375)', '2026-07-10 14:42:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:42:33'::timestamp) - extract(epoch from '2026-07-10 14:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:42:33'::timestamp) - extract(epoch from '2026-07-10 14:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138161 -3.123374)', '2026-07-10 14:42:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:42:39'::timestamp) - extract(epoch from '2026-07-10 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123374)'))) / (select extract(epoch from '2026-07-10 14:42:39'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123375)', '2026-07-10 14:42:45', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:42:45'::timestamp) - extract(epoch from '2026-07-10 14:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:42:45'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123376)', '2026-07-10 14:42:48', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:42:48'::timestamp) - extract(epoch from '2026-07-10 14:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:42:48'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123379)', '2026-07-10 14:42:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123379)'))) / (select extract(epoch from '2026-07-10 14:42:50'::timestamp) - extract(epoch from '2026-07-10 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123379)'))) / (select extract(epoch from '2026-07-10 14:42:50'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138157 -3.12338)', '2026-07-10 14:42:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:42:58'::timestamp) - extract(epoch from '2026-07-10 14:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:42:58'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.123375)', '2026-07-10 14:43:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:43:04'::timestamp) - extract(epoch from '2026-07-10 14:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:43:04'::timestamp) - extract(epoch from '2026-07-10 14:42: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'), 47521, 'SRID=4674;POINT (-39.138164 -3.123385)', '2026-07-10 14:43:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:43:12'::timestamp) - extract(epoch from '2026-07-10 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:43:12'::timestamp) - extract(epoch from '2026-07-10 14:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138169 -3.123382)', '2026-07-10 14:43:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:43:20'::timestamp) - extract(epoch from '2026-07-10 14:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:43:20'::timestamp) - extract(epoch from '2026-07-10 14:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13817 -3.123387)', '2026-07-10 14:43:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:43:28'::timestamp) - extract(epoch from '2026-07-10 14:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:43:28'::timestamp) - extract(epoch from '2026-07-10 14:43: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123382)', '2026-07-10 14:43:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:43:36'::timestamp) - extract(epoch from '2026-07-10 14:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:43:36'::timestamp) - extract(epoch from '2026-07-10 14:43: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.123383)', '2026-07-10 14:43:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:43:44'::timestamp) - extract(epoch from '2026-07-10 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:43:44'::timestamp) - extract(epoch from '2026-07-10 14:43: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.123379)', '2026-07-10 14:43:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123379)'))) / (select extract(epoch from '2026-07-10 14:43:53'::timestamp) - extract(epoch from '2026-07-10 14:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123379)'))) / (select extract(epoch from '2026-07-10 14:43:53'::timestamp) - extract(epoch from '2026-07-10 14:43: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'), 47521, 'SRID=4674;POINT (-39.138167 -3.12338)', '2026-07-10 14:44:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:44:02'::timestamp) - extract(epoch from '2026-07-10 14:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:44:02'::timestamp) - extract(epoch from '2026-07-10 14:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.123376)', '2026-07-10 14:44:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:44:08'::timestamp) - extract(epoch from '2026-07-10 14:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:44:08'::timestamp) - extract(epoch from '2026-07-10 14:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138165 -3.123381)', '2026-07-10 14:44:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123381)'))) / (select extract(epoch from '2026-07-10 14:44:13'::timestamp) - extract(epoch from '2026-07-10 14:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123381)'))) / (select extract(epoch from '2026-07-10 14:44:13'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123384)', '2026-07-10 14:44:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:18'::timestamp) - extract(epoch from '2026-07-10 14:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:18'::timestamp) - extract(epoch from '2026-07-10 14:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123385)', '2026-07-10 14:44:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:44:24'::timestamp) - extract(epoch from '2026-07-10 14:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:44:24'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138149 -3.12338)', '2026-07-10 14:44:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:44:30'::timestamp) - extract(epoch from '2026-07-10 14:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:44:30'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123382)', '2026-07-10 14:44:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:44:33'::timestamp) - extract(epoch from '2026-07-10 14:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:44:33'::timestamp) - extract(epoch from '2026-07-10 14:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138161 -3.123388)', '2026-07-10 14:44:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:44:34'::timestamp) - extract(epoch from '2026-07-10 14:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:44:34'::timestamp) - extract(epoch from '2026-07-10 14:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123384)', '2026-07-10 14:44:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:39'::timestamp) - extract(epoch from '2026-07-10 14:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:39'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.13815 -3.123386)', '2026-07-10 14:44:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:44:46'::timestamp) - extract(epoch from '2026-07-10 14:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:44:46'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138149 -3.123385)', '2026-07-10 14:44:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:44:53'::timestamp) - extract(epoch from '2026-07-10 14:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:44:53'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123384)', '2026-07-10 14:44:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:57'::timestamp) - extract(epoch from '2026-07-10 14:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:44:57'::timestamp) - extract(epoch from '2026-07-10 14:44: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123381)', '2026-07-10 14:45:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123381)'))) / (select extract(epoch from '2026-07-10 14:45:05'::timestamp) - extract(epoch from '2026-07-10 14:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123381)'))) / (select extract(epoch from '2026-07-10 14:45:05'::timestamp) - extract(epoch from '2026-07-10 14:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.123389)', '2026-07-10 14:45:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:45:18'::timestamp) - extract(epoch from '2026-07-10 14:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:45:18'::timestamp) - extract(epoch from '2026-07-10 14:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138163 -3.123389)', '2026-07-10 14:45:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:45:25'::timestamp) - extract(epoch from '2026-07-10 14:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123389)'))) / (select extract(epoch from '2026-07-10 14:45:25'::timestamp) - extract(epoch from '2026-07-10 14:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.12339)', '2026-07-10 14:45:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:45:31'::timestamp) - extract(epoch from '2026-07-10 14:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:45:31'::timestamp) - extract(epoch from '2026-07-10 14:45: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'), 47521, 'SRID=4674;POINT (-39.138168 -3.123385)', '2026-07-10 14:45:37', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:45:37'::timestamp) - extract(epoch from '2026-07-10 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:45:37'::timestamp) - extract(epoch from '2026-07-10 14:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138159 -3.12339)', '2026-07-10 14:45:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:45:43'::timestamp) - extract(epoch from '2026-07-10 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:45:43'::timestamp) - extract(epoch from '2026-07-10 14:45: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.12338)', '2026-07-10 14:45:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:45:48'::timestamp) - extract(epoch from '2026-07-10 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:45:48'::timestamp) - extract(epoch from '2026-07-10 14:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138155 -3.123384)', '2026-07-10 14:45:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:45:54'::timestamp) - extract(epoch from '2026-07-10 14:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:45:54'::timestamp) - extract(epoch from '2026-07-10 14:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13815 -3.123363)', '2026-07-10 14:46:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:46:01'::timestamp) - extract(epoch from '2026-07-10 14:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:46:01'::timestamp) - extract(epoch from '2026-07-10 14:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138149 -3.123361)', '2026-07-10 14:46:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:46:08'::timestamp) - extract(epoch from '2026-07-10 14:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:46:08'::timestamp) - extract(epoch from '2026-07-10 14:46: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'), 47521, 'SRID=4674;POINT (-39.138151 -3.123356)', '2026-07-10 14:46:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:46:15'::timestamp) - extract(epoch from '2026-07-10 14:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:46:15'::timestamp) - extract(epoch from '2026-07-10 14:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123358)', '2026-07-10 14:46:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:46:21'::timestamp) - extract(epoch from '2026-07-10 14:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:46:21'::timestamp) - extract(epoch from '2026-07-10 14:46: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123356)', '2026-07-10 14:46:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:46:33'::timestamp) - extract(epoch from '2026-07-10 14:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:46:33'::timestamp) - extract(epoch from '2026-07-10 14:46: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123362)', '2026-07-10 14:46:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:46:40'::timestamp) - extract(epoch from '2026-07-10 14:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:46:40'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123364)', '2026-07-10 14:46:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:46:44'::timestamp) - extract(epoch from '2026-07-10 14:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:46:44'::timestamp) - extract(epoch from '2026-07-10 14:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138154 -3.123367)', '2026-07-10 14:46:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:46:50'::timestamp) - extract(epoch from '2026-07-10 14:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:46:50'::timestamp) - extract(epoch from '2026-07-10 14:46: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123365)', '2026-07-10 14:46:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:46:56'::timestamp) - extract(epoch from '2026-07-10 14:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:46:56'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123362)', '2026-07-10 14:47:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:47:01'::timestamp) - extract(epoch from '2026-07-10 14:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:47:01'::timestamp) - extract(epoch from '2026-07-10 14:46: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'), 47521, 'SRID=4674;POINT (-39.138157 -3.123367)', '2026-07-10 14:47:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:47:08'::timestamp) - extract(epoch from '2026-07-10 14:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:47:08'::timestamp) - extract(epoch from '2026-07-10 14:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138161 -3.123368)', '2026-07-10 14:47:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:47:15'::timestamp) - extract(epoch from '2026-07-10 14:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:47:15'::timestamp) - extract(epoch from '2026-07-10 14:47: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.12338)', '2026-07-10 14:47:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:47:22'::timestamp) - extract(epoch from '2026-07-10 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:47:22'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138171 -3.123382)', '2026-07-10 14:47:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:47:28'::timestamp) - extract(epoch from '2026-07-10 14:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123382)'))) / (select extract(epoch from '2026-07-10 14:47:28'::timestamp) - extract(epoch from '2026-07-10 14:47: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'), 47521, 'SRID=4674;POINT (-39.138161 -3.123373)', '2026-07-10 14:47:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:47:34'::timestamp) - extract(epoch from '2026-07-10 14:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:47:34'::timestamp) - extract(epoch from '2026-07-10 14:47: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123371)', '2026-07-10 14:47:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:47:41'::timestamp) - extract(epoch from '2026-07-10 14:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123371)'))) / (select extract(epoch from '2026-07-10 14:47:41'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123366)', '2026-07-10 14:47:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:47:52'::timestamp) - extract(epoch from '2026-07-10 14:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:47:52'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138147 -3.123356)', '2026-07-10 14:48:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:48:01'::timestamp) - extract(epoch from '2026-07-10 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:48:01'::timestamp) - extract(epoch from '2026-07-10 14:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138139 -3.12335)', '2026-07-10 14:48:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 14:48:08'::timestamp) - extract(epoch from '2026-07-10 14:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 14:48:08'::timestamp) - extract(epoch from '2026-07-10 14:48: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123353)', '2026-07-10 14:48:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:48:20'::timestamp) - extract(epoch from '2026-07-10 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:48:20'::timestamp) - extract(epoch from '2026-07-10 14:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138146 -3.123352)', '2026-07-10 14:48:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:48:22'::timestamp) - extract(epoch from '2026-07-10 14:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:48:22'::timestamp) - extract(epoch from '2026-07-10 14:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123354)', '2026-07-10 14:48:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:48:24'::timestamp) - extract(epoch from '2026-07-10 14:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:48:24'::timestamp) - extract(epoch from '2026-07-10 14:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138145 -3.123356)', '2026-07-10 14:48:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:48:30'::timestamp) - extract(epoch from '2026-07-10 14:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:48:30'::timestamp) - extract(epoch from '2026-07-10 14:48: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'), 47521, 'SRID=4674;POINT (-39.138148 -3.123352)', '2026-07-10 14:48:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:48:35'::timestamp) - extract(epoch from '2026-07-10 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:48:35'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138146 -3.123347)', '2026-07-10 14:48:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:48:42'::timestamp) - extract(epoch from '2026-07-10 14:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:48:42'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123349)', '2026-07-10 14:48:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123349)'))) / (select extract(epoch from '2026-07-10 14:48:54'::timestamp) - extract(epoch from '2026-07-10 14:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123349)'))) / (select extract(epoch from '2026-07-10 14:48:54'::timestamp) - extract(epoch from '2026-07-10 14:48: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123348)', '2026-07-10 14:48:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123348)'))) / (select extract(epoch from '2026-07-10 14:48:59'::timestamp) - extract(epoch from '2026-07-10 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123348)'))) / (select extract(epoch from '2026-07-10 14:48:59'::timestamp) - extract(epoch from '2026-07-10 14:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138136 -3.123347)', '2026-07-10 14:49:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:49:05'::timestamp) - extract(epoch from '2026-07-10 14:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'))) / (select extract(epoch from '2026-07-10 14:49:05'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123341)', '2026-07-10 14:49:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123341)'))) / (select extract(epoch from '2026-07-10 14:49:12'::timestamp) - extract(epoch from '2026-07-10 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123341)'))) / (select extract(epoch from '2026-07-10 14:49:12'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138143 -3.12334)', '2026-07-10 14:49:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12334)'))) / (select extract(epoch from '2026-07-10 14:49:17'::timestamp) - extract(epoch from '2026-07-10 14:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12334)'))) / (select extract(epoch from '2026-07-10 14:49:17'::timestamp) - extract(epoch from '2026-07-10 14:49: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'), 47521, 'SRID=4674;POINT (-39.138146 -3.123351)', '2026-07-10 14:49:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:49:28'::timestamp) - extract(epoch from '2026-07-10 14:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:49:28'::timestamp) - extract(epoch from '2026-07-10 14:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123356)', '2026-07-10 14:49:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:49:36'::timestamp) - extract(epoch from '2026-07-10 14:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:49:36'::timestamp) - extract(epoch from '2026-07-10 14:49: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'), 47521, 'SRID=4674;POINT (-39.138147 -3.123354)', '2026-07-10 14:49:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:49:50'::timestamp) - extract(epoch from '2026-07-10 14:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123354)'))) / (select extract(epoch from '2026-07-10 14:49:50'::timestamp) - extract(epoch from '2026-07-10 14:49: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'), 47521, 'SRID=4674;POINT (-39.138148 -3.123358)', '2026-07-10 14:49:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:49:59'::timestamp) - extract(epoch from '2026-07-10 14:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:49:59'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13815 -3.123357)', '2026-07-10 14:50:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:50:05'::timestamp) - extract(epoch from '2026-07-10 14:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:50:05'::timestamp) - extract(epoch from '2026-07-10 14:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.12336)', '2026-07-10 14:50:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:50:12'::timestamp) - extract(epoch from '2026-07-10 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:50:12'::timestamp) - extract(epoch from '2026-07-10 14:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123365)', '2026-07-10 14:50:18', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:50:18'::timestamp) - extract(epoch from '2026-07-10 14:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:50:18'::timestamp) - extract(epoch from '2026-07-10 14:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123364)', '2026-07-10 14:50:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:50:27'::timestamp) - extract(epoch from '2026-07-10 14:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:50:27'::timestamp) - extract(epoch from '2026-07-10 14:50: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123359)', '2026-07-10 14:50:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:50:35'::timestamp) - extract(epoch from '2026-07-10 14:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:50:35'::timestamp) - extract(epoch from '2026-07-10 14:50: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123359)', '2026-07-10 14:50:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:50:42'::timestamp) - extract(epoch from '2026-07-10 14:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:50:42'::timestamp) - extract(epoch from '2026-07-10 14:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13816 -3.12336)', '2026-07-10 14:50:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:50:49'::timestamp) - extract(epoch from '2026-07-10 14:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:50:49'::timestamp) - extract(epoch from '2026-07-10 14:50: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123364)', '2026-07-10 14:50:57', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:50:57'::timestamp) - extract(epoch from '2026-07-10 14:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:50:57'::timestamp) - extract(epoch from '2026-07-10 14:50: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123363)', '2026-07-10 14:51:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:51:02'::timestamp) - extract(epoch from '2026-07-10 14:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:51:02'::timestamp) - extract(epoch from '2026-07-10 14:50: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123369)', '2026-07-10 14:51:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:51:08'::timestamp) - extract(epoch from '2026-07-10 14:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:51:08'::timestamp) - extract(epoch from '2026-07-10 14:51: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123369)', '2026-07-10 14:51:13', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:51:13'::timestamp) - extract(epoch from '2026-07-10 14:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:51:13'::timestamp) - extract(epoch from '2026-07-10 14:51: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123363)', '2026-07-10 14:51:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:51:20'::timestamp) - extract(epoch from '2026-07-10 14:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:51:20'::timestamp) - extract(epoch from '2026-07-10 14:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138158 -3.123358)', '2026-07-10 14:51:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:51:26'::timestamp) - extract(epoch from '2026-07-10 14:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:51:26'::timestamp) - extract(epoch from '2026-07-10 14:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.123355)', '2026-07-10 14:51:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123355)'))) / (select extract(epoch from '2026-07-10 14:51:31'::timestamp) - extract(epoch from '2026-07-10 14:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123355)'))) / (select extract(epoch from '2026-07-10 14:51:31'::timestamp) - extract(epoch from '2026-07-10 14:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138146 -3.123356)', '2026-07-10 14:51:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:51:39'::timestamp) - extract(epoch from '2026-07-10 14:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:51:39'::timestamp) - extract(epoch from '2026-07-10 14:51: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'), 47521, 'SRID=4674;POINT (-39.138151 -3.123357)', '2026-07-10 14:51:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:51:46'::timestamp) - extract(epoch from '2026-07-10 14:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:51:46'::timestamp) - extract(epoch from '2026-07-10 14:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138144 -3.123362)', '2026-07-10 14:51:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:51:52'::timestamp) - extract(epoch from '2026-07-10 14:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:51:52'::timestamp) - extract(epoch from '2026-07-10 14:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138144 -3.123365)', '2026-07-10 14:51:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:51:59'::timestamp) - extract(epoch from '2026-07-10 14:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:51:59'::timestamp) - extract(epoch from '2026-07-10 14:51: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123365)', '2026-07-10 14:52:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:52:09'::timestamp) - extract(epoch from '2026-07-10 14:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:52:09'::timestamp) - extract(epoch from '2026-07-10 14:51: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'), 47521, 'SRID=4674;POINT (-39.138157 -3.12336)', '2026-07-10 14:52:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:52:15'::timestamp) - extract(epoch from '2026-07-10 14:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:52:15'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123362)', '2026-07-10 14:52:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:52:22'::timestamp) - extract(epoch from '2026-07-10 14:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:52:22'::timestamp) - extract(epoch from '2026-07-10 14:52: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123364)', '2026-07-10 14:52:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:52:28'::timestamp) - extract(epoch from '2026-07-10 14:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:52:28'::timestamp) - extract(epoch from '2026-07-10 14:52: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'), 47521, 'SRID=4674;POINT (-39.138163 -3.123358)', '2026-07-10 14:52:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:52:36'::timestamp) - extract(epoch from '2026-07-10 14:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:52:36'::timestamp) - extract(epoch from '2026-07-10 14:52: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'), 47521, 'SRID=4674;POINT (-39.138151 -3.123355)', '2026-07-10 14:52:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123355)'))) / (select extract(epoch from '2026-07-10 14:52:43'::timestamp) - extract(epoch from '2026-07-10 14:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123355)'))) / (select extract(epoch from '2026-07-10 14:52:43'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138151 -3.123361)', '2026-07-10 14:52:52', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:52:52'::timestamp) - extract(epoch from '2026-07-10 14:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'))) / (select extract(epoch from '2026-07-10 14:52:52'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138147 -3.123362)', '2026-07-10 14:52:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:52:59'::timestamp) - extract(epoch from '2026-07-10 14:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:52:59'::timestamp) - extract(epoch from '2026-07-10 14:52: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123368)', '2026-07-10 14:53:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:53:06'::timestamp) - extract(epoch from '2026-07-10 14:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:53:06'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138145 -3.123363)', '2026-07-10 14:53:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:53:14'::timestamp) - extract(epoch from '2026-07-10 14:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:53:14'::timestamp) - extract(epoch from '2026-07-10 14:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138152 -3.123358)', '2026-07-10 14:53:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:53:22'::timestamp) - extract(epoch from '2026-07-10 14:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:53:22'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123366)', '2026-07-10 14:53:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:53:24'::timestamp) - extract(epoch from '2026-07-10 14:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:53:24'::timestamp) - extract(epoch from '2026-07-10 14:53: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'), 47521, 'SRID=4674;POINT (-39.138149 -3.123367)', '2026-07-10 14:53:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:53:26'::timestamp) - extract(epoch from '2026-07-10 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123367)'))) / (select extract(epoch from '2026-07-10 14:53:26'::timestamp) - extract(epoch from '2026-07-10 14:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.123369)', '2026-07-10 14:53:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:53:33'::timestamp) - extract(epoch from '2026-07-10 14:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:53:33'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138152 -3.123365)', '2026-07-10 14:53:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:53:41'::timestamp) - extract(epoch from '2026-07-10 14:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123365)'))) / (select extract(epoch from '2026-07-10 14:53:41'::timestamp) - extract(epoch from '2026-07-10 14:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123363)', '2026-07-10 14:53:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:53:53'::timestamp) - extract(epoch from '2026-07-10 14:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:53:53'::timestamp) - extract(epoch from '2026-07-10 14:53: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'), 47521, 'SRID=4674;POINT (-39.138157 -3.123362)', '2026-07-10 14:53:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:53:59'::timestamp) - extract(epoch from '2026-07-10 14:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:53:59'::timestamp) - extract(epoch from '2026-07-10 14:53: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'), 47521, 'SRID=4674;POINT (-39.138154 -3.123363)', '2026-07-10 14:54:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:54:07'::timestamp) - extract(epoch from '2026-07-10 14:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:54:07'::timestamp) - extract(epoch from '2026-07-10 14:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138151 -3.123369)', '2026-07-10 14:54:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:54:16'::timestamp) - extract(epoch from '2026-07-10 14:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123369)'))) / (select extract(epoch from '2026-07-10 14:54:16'::timestamp) - extract(epoch from '2026-07-10 14:54: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'), 47521, 'SRID=4674;POINT (-39.13815 -3.123363)', '2026-07-10 14:54:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:54:24'::timestamp) - extract(epoch from '2026-07-10 14:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:54:24'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138152 -3.123373)', '2026-07-10 14:54:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:54:33'::timestamp) - extract(epoch from '2026-07-10 14:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:54:33'::timestamp) - extract(epoch from '2026-07-10 14:54: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123375)', '2026-07-10 14:54:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:54:41'::timestamp) - extract(epoch from '2026-07-10 14:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:54:41'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123378)', '2026-07-10 14:54:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:54:45'::timestamp) - extract(epoch from '2026-07-10 14:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123378)'))) / (select extract(epoch from '2026-07-10 14:54:45'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.12338)', '2026-07-10 14:54:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:54:54'::timestamp) - extract(epoch from '2026-07-10 14:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12338)'))) / (select extract(epoch from '2026-07-10 14:54:54'::timestamp) - extract(epoch from '2026-07-10 14:54: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'), 47521, 'SRID=4674;POINT (-39.138152 -3.123384)', '2026-07-10 14:55:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:55:01'::timestamp) - extract(epoch from '2026-07-10 14:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:55:01'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123385)', '2026-07-10 14:55:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:55:07'::timestamp) - extract(epoch from '2026-07-10 14:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123385)'))) / (select extract(epoch from '2026-07-10 14:55:07'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123387)', '2026-07-10 14:55:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:55:13'::timestamp) - extract(epoch from '2026-07-10 14:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:55:13'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123383)', '2026-07-10 14:55:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:55:21'::timestamp) - extract(epoch from '2026-07-10 14:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:55:21'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.13816 -3.123383)', '2026-07-10 14:55:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:55:26'::timestamp) - extract(epoch from '2026-07-10 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:55:26'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.13817 -3.123384)', '2026-07-10 14:55:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:55:36'::timestamp) - extract(epoch from '2026-07-10 14:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123384)'))) / (select extract(epoch from '2026-07-10 14:55:36'::timestamp) - extract(epoch from '2026-07-10 14:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138177 -3.123387)', '2026-07-10 14:55:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:55:41'::timestamp) - extract(epoch from '2026-07-10 14:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123387)'))) / (select extract(epoch from '2026-07-10 14:55:41'::timestamp) - extract(epoch from '2026-07-10 14:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138173 -3.123392)', '2026-07-10 14:55:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123392)'))) / (select extract(epoch from '2026-07-10 14:55:42'::timestamp) - extract(epoch from '2026-07-10 14:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123392)'))) / (select extract(epoch from '2026-07-10 14:55:42'::timestamp) - extract(epoch from '2026-07-10 14:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.123391)', '2026-07-10 14:55:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123391)'))) / (select extract(epoch from '2026-07-10 14:55:46'::timestamp) - extract(epoch from '2026-07-10 14:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138173 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123391)'))) / (select extract(epoch from '2026-07-10 14:55:46'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.138175 -3.123397)', '2026-07-10 14:55:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123397)'))) / (select extract(epoch from '2026-07-10 14:55:53'::timestamp) - extract(epoch from '2026-07-10 14:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123397)'))) / (select extract(epoch from '2026-07-10 14:55:53'::timestamp) - extract(epoch from '2026-07-10 14:55: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'), 47521, 'SRID=4674;POINT (-39.138165 -3.123399)', '2026-07-10 14:55:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123399)'))) / (select extract(epoch from '2026-07-10 14:55:57'::timestamp) - extract(epoch from '2026-07-10 14:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123399)'))) / (select extract(epoch from '2026-07-10 14:55:57'::timestamp) - extract(epoch from '2026-07-10 14:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13817 -3.123388)', '2026-07-10 14:56:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:56:06'::timestamp) - extract(epoch from '2026-07-10 14:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123388)'))) / (select extract(epoch from '2026-07-10 14:56:06'::timestamp) - extract(epoch from '2026-07-10 14:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138168 -3.12339)', '2026-07-10 14:56:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:56:17'::timestamp) - extract(epoch from '2026-07-10 14:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.12339)'))) / (select extract(epoch from '2026-07-10 14:56:17'::timestamp) - extract(epoch from '2026-07-10 14:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13817 -3.123386)', '2026-07-10 14:56:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:56:24'::timestamp) - extract(epoch from '2026-07-10 14:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123386)'))) / (select extract(epoch from '2026-07-10 14:56:24'::timestamp) - extract(epoch from '2026-07-10 14:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138174 -3.123383)', '2026-07-10 14:56:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:56:33'::timestamp) - extract(epoch from '2026-07-10 14:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123383)'))) / (select extract(epoch from '2026-07-10 14:56:33'::timestamp) - extract(epoch from '2026-07-10 14:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138164 -3.123377)', '2026-07-10 14:56:44', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:56:44'::timestamp) - extract(epoch from '2026-07-10 14:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123377)'))) / (select extract(epoch from '2026-07-10 14:56:44'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123375)', '2026-07-10 14:56:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:56:57'::timestamp) - extract(epoch from '2026-07-10 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123375)'))) / (select extract(epoch from '2026-07-10 14:56:57'::timestamp) - extract(epoch from '2026-07-10 14:56: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.12337)', '2026-07-10 14:57:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:57:04'::timestamp) - extract(epoch from '2026-07-10 14:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12337)'))) / (select extract(epoch from '2026-07-10 14:57:04'::timestamp) - extract(epoch from '2026-07-10 14:56: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'), 47521, 'SRID=4674;POINT (-39.138156 -3.123373)', '2026-07-10 14:57:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:57:09'::timestamp) - extract(epoch from '2026-07-10 14:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123373)'))) / (select extract(epoch from '2026-07-10 14:57:09'::timestamp) - extract(epoch from '2026-07-10 14:57: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'), 47521, 'SRID=4674;POINT (-39.13815 -3.123372)', '2026-07-10 14:57:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:57:17'::timestamp) - extract(epoch from '2026-07-10 14:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123372)'))) / (select extract(epoch from '2026-07-10 14:57:17'::timestamp) - extract(epoch from '2026-07-10 14:57: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'), 47521, 'SRID=4674;POINT (-39.138152 -3.123376)', '2026-07-10 14:57:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:57:22'::timestamp) - extract(epoch from '2026-07-10 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123376)'))) / (select extract(epoch from '2026-07-10 14:57:22'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138159 -3.123366)', '2026-07-10 14:57:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:57:30'::timestamp) - extract(epoch from '2026-07-10 14:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123366)'))) / (select extract(epoch from '2026-07-10 14:57:30'::timestamp) - extract(epoch from '2026-07-10 14:57: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'), 47521, 'SRID=4674;POINT (-39.138155 -3.123362)', '2026-07-10 14:57:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:57:40'::timestamp) - extract(epoch from '2026-07-10 14:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123362)'))) / (select extract(epoch from '2026-07-10 14:57:40'::timestamp) - extract(epoch from '2026-07-10 14:57: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'), 47521, 'SRID=4674;POINT (-39.138162 -3.123363)', '2026-07-10 14:57:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:57:49'::timestamp) - extract(epoch from '2026-07-10 14:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:57:49'::timestamp) - extract(epoch from '2026-07-10 14:57: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'), 47521, 'SRID=4674;POINT (-39.138158 -3.123357)', '2026-07-10 14:57:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:57:56'::timestamp) - extract(epoch from '2026-07-10 14:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:57:56'::timestamp) - extract(epoch from '2026-07-10 14:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138153 -3.12336)', '2026-07-10 14:58:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:58:01'::timestamp) - extract(epoch from '2026-07-10 14:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'))) / (select extract(epoch from '2026-07-10 14:58:01'::timestamp) - extract(epoch from '2026-07-10 14:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138148 -3.123358)', '2026-07-10 14:58:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:58:08'::timestamp) - extract(epoch from '2026-07-10 14:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:58:08'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123358)', '2026-07-10 14:58:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:58:19'::timestamp) - extract(epoch from '2026-07-10 14:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:58:19'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123359)', '2026-07-10 14:58:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:58:26'::timestamp) - extract(epoch from '2026-07-10 14:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123359)'))) / (select extract(epoch from '2026-07-10 14:58:26'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.123357)', '2026-07-10 14:58:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:58:32'::timestamp) - extract(epoch from '2026-07-10 14:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:58:32'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123357)', '2026-07-10 14:58:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:58:40'::timestamp) - extract(epoch from '2026-07-10 14:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123357)'))) / (select extract(epoch from '2026-07-10 14:58:40'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.123352)', '2026-07-10 14:58:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:58:47'::timestamp) - extract(epoch from '2026-07-10 14:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:58:47'::timestamp) - extract(epoch from '2026-07-10 14:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123351)', '2026-07-10 14:58:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:58:54'::timestamp) - extract(epoch from '2026-07-10 14:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123351)'))) / (select extract(epoch from '2026-07-10 14:58:54'::timestamp) - extract(epoch from '2026-07-10 14:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123352)', '2026-07-10 14:59:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:59:02'::timestamp) - extract(epoch from '2026-07-10 14:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123352)'))) / (select extract(epoch from '2026-07-10 14:59:02'::timestamp) - extract(epoch from '2026-07-10 14:58: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123358)', '2026-07-10 14:59:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:59:08'::timestamp) - extract(epoch from '2026-07-10 14:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:59:08'::timestamp) - extract(epoch from '2026-07-10 14:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138137 -3.123353)', '2026-07-10 14:59:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:59:15'::timestamp) - extract(epoch from '2026-07-10 14:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:59:15'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.123358)', '2026-07-10 14:59:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:59:21'::timestamp) - extract(epoch from '2026-07-10 14:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123358)'))) / (select extract(epoch from '2026-07-10 14:59:21'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123363)', '2026-07-10 14:59:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:59:25'::timestamp) - extract(epoch from '2026-07-10 14:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123363)'))) / (select extract(epoch from '2026-07-10 14:59:25'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123364)', '2026-07-10 14:59:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:59:34'::timestamp) - extract(epoch from '2026-07-10 14:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123364)'))) / (select extract(epoch from '2026-07-10 14:59:34'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123368)', '2026-07-10 14:59:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:59:41'::timestamp) - extract(epoch from '2026-07-10 14:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123368)'))) / (select extract(epoch from '2026-07-10 14:59:41'::timestamp) - extract(epoch from '2026-07-10 14: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'), 47521, 'SRID=4674;POINT (-39.138146 -3.123356)', '2026-07-10 14:59:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:59:47'::timestamp) - extract(epoch from '2026-07-10 14:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:59:47'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138145 -3.123356)', '2026-07-10 14:59:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:59:52'::timestamp) - extract(epoch from '2026-07-10 14:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'))) / (select extract(epoch from '2026-07-10 14:59:52'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138144 -3.123353)', '2026-07-10 14:59:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:59:56'::timestamp) - extract(epoch from '2026-07-10 14:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123353)'))) / (select extract(epoch from '2026-07-10 14:59:56'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.123361)', '2026-07-10 15:00:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123361)'))) / (select extract(epoch from '2026-07-10 15:00:02'::timestamp) - extract(epoch from '2026-07-10 14:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123361)'))) / (select extract(epoch from '2026-07-10 15:00:02'::timestamp) - extract(epoch from '2026-07-10 14:59: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123361)', '2026-07-10 15:00:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123361)'))) / (select extract(epoch from '2026-07-10 15:00:08'::timestamp) - extract(epoch from '2026-07-10 15:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123361)'))) / (select extract(epoch from '2026-07-10 15:00:08'::timestamp) - extract(epoch from '2026-07-10 15:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138152 -3.123369)', '2026-07-10 15:00:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123369)'))) / (select extract(epoch from '2026-07-10 15:00:14'::timestamp) - extract(epoch from '2026-07-10 15:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123369)'))) / (select extract(epoch from '2026-07-10 15:00:14'::timestamp) - extract(epoch from '2026-07-10 15:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138162 -3.123363)', '2026-07-10 15:00:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 15:00:22'::timestamp) - extract(epoch from '2026-07-10 15:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'))) / (select extract(epoch from '2026-07-10 15:00:22'::timestamp) - extract(epoch from '2026-07-10 15:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138157 -3.123365)', '2026-07-10 15:00:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123365)'))) / (select extract(epoch from '2026-07-10 15:00:27'::timestamp) - extract(epoch from '2026-07-10 15:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123365)'))) / (select extract(epoch from '2026-07-10 15:00:27'::timestamp) - extract(epoch from '2026-07-10 15:00: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'), 47521, 'SRID=4674;POINT (-39.138153 -3.123366)', '2026-07-10 15:00:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'))) / (select extract(epoch from '2026-07-10 15:00:33'::timestamp) - extract(epoch from '2026-07-10 15:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'))) / (select extract(epoch from '2026-07-10 15:00:33'::timestamp) - extract(epoch from '2026-07-10 15:00: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123369)', '2026-07-10 15:00:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123369)'))) / (select extract(epoch from '2026-07-10 15:00:39'::timestamp) - extract(epoch from '2026-07-10 15:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123369)'))) / (select extract(epoch from '2026-07-10 15:00:39'::timestamp) - extract(epoch from '2026-07-10 15:00: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123368)', '2026-07-10 15:00:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123368)'))) / (select extract(epoch from '2026-07-10 15:00:45'::timestamp) - extract(epoch from '2026-07-10 15:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123368)'))) / (select extract(epoch from '2026-07-10 15:00:45'::timestamp) - extract(epoch from '2026-07-10 15:00: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'), 47521, 'SRID=4674;POINT (-39.138143 -3.123362)', '2026-07-10 15:00:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123362)'))) / (select extract(epoch from '2026-07-10 15:00:55'::timestamp) - extract(epoch from '2026-07-10 15:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123362)'))) / (select extract(epoch from '2026-07-10 15:00:55'::timestamp) - extract(epoch from '2026-07-10 15:00: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.123364)', '2026-07-10 15:01:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123364)'))) / (select extract(epoch from '2026-07-10 15:01:01'::timestamp) - extract(epoch from '2026-07-10 15:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123364)'))) / (select extract(epoch from '2026-07-10 15:01:01'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123366)', '2026-07-10 15:01:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123366)'))) / (select extract(epoch from '2026-07-10 15:01:13'::timestamp) - extract(epoch from '2026-07-10 15:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123366)'))) / (select extract(epoch from '2026-07-10 15:01:13'::timestamp) - extract(epoch from '2026-07-10 15:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138135 -3.123367)', '2026-07-10 15:01:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123367)'))) / (select extract(epoch from '2026-07-10 15:01:19'::timestamp) - extract(epoch from '2026-07-10 15:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123367)'))) / (select extract(epoch from '2026-07-10 15:01:19'::timestamp) - extract(epoch from '2026-07-10 15:01: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123363)', '2026-07-10 15:01:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123363)'))) / (select extract(epoch from '2026-07-10 15:01:25'::timestamp) - extract(epoch from '2026-07-10 15:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123363)'))) / (select extract(epoch from '2026-07-10 15:01:25'::timestamp) - extract(epoch from '2026-07-10 15:01: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'), 47521, 'SRID=4674;POINT (-39.138131 -3.123358)', '2026-07-10 15:01:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123358)'))) / (select extract(epoch from '2026-07-10 15:01:32'::timestamp) - extract(epoch from '2026-07-10 15:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123358)'))) / (select extract(epoch from '2026-07-10 15:01:32'::timestamp) - extract(epoch from '2026-07-10 15:01: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'), 47521, 'SRID=4674;POINT (-39.138131 -3.12336)', '2026-07-10 15:01:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12336)'))) / (select extract(epoch from '2026-07-10 15:01:34'::timestamp) - extract(epoch from '2026-07-10 15:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12336)'))) / (select extract(epoch from '2026-07-10 15:01:34'::timestamp) - extract(epoch from '2026-07-10 15:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138138 -3.123357)', '2026-07-10 15:01:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123357)'))) / (select extract(epoch from '2026-07-10 15:01:36'::timestamp) - extract(epoch from '2026-07-10 15:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123357)'))) / (select extract(epoch from '2026-07-10 15:01:36'::timestamp) - extract(epoch from '2026-07-10 15:01: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.12336)', '2026-07-10 15:01:45', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12336)'))) / (select extract(epoch from '2026-07-10 15:01:45'::timestamp) - extract(epoch from '2026-07-10 15:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12336)'))) / (select extract(epoch from '2026-07-10 15:01:45'::timestamp) - extract(epoch from '2026-07-10 15:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123358)', '2026-07-10 15:01:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123358)'))) / (select extract(epoch from '2026-07-10 15:01:54'::timestamp) - extract(epoch from '2026-07-10 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123358)'))) / (select extract(epoch from '2026-07-10 15:01:54'::timestamp) - extract(epoch from '2026-07-10 15:01: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123353)', '2026-07-10 15:02:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:02:01'::timestamp) - extract(epoch from '2026-07-10 15:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:02:01'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.123355)', '2026-07-10 15:02:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123355)'))) / (select extract(epoch from '2026-07-10 15:02:10'::timestamp) - extract(epoch from '2026-07-10 15:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123355)'))) / (select extract(epoch from '2026-07-10 15:02:10'::timestamp) - extract(epoch from '2026-07-10 15:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123354)', '2026-07-10 15:02:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123354)'))) / (select extract(epoch from '2026-07-10 15:02:17'::timestamp) - extract(epoch from '2026-07-10 15:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123354)'))) / (select extract(epoch from '2026-07-10 15:02:17'::timestamp) - extract(epoch from '2026-07-10 15:02: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.12335)', '2026-07-10 15:02:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:02:24'::timestamp) - extract(epoch from '2026-07-10 15:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:02:24'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138138 -3.12334)', '2026-07-10 15:02:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:02:37'::timestamp) - extract(epoch from '2026-07-10 15:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:02:37'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123337)', '2026-07-10 15:02:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:02:43'::timestamp) - extract(epoch from '2026-07-10 15:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:02:43'::timestamp) - extract(epoch from '2026-07-10 15:02: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'), 47521, 'SRID=4674;POINT (-39.138143 -3.123332)', '2026-07-10 15:02:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:02:51'::timestamp) - extract(epoch from '2026-07-10 15:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:02:51'::timestamp) - extract(epoch from '2026-07-10 15:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138141 -3.123334)', '2026-07-10 15:02:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:02:59'::timestamp) - extract(epoch from '2026-07-10 15:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:02:59'::timestamp) - extract(epoch from '2026-07-10 15:02: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123336)', '2026-07-10 15:03:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:03:05'::timestamp) - extract(epoch from '2026-07-10 15:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:03:05'::timestamp) - extract(epoch from '2026-07-10 15:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138147 -3.123342)', '2026-07-10 15:03:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:03:11'::timestamp) - extract(epoch from '2026-07-10 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:03:11'::timestamp) - extract(epoch from '2026-07-10 15:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138156 -3.123336)', '2026-07-10 15:03:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:03:15'::timestamp) - extract(epoch from '2026-07-10 15:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:03:15'::timestamp) - extract(epoch from '2026-07-10 15:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138141 -3.123342)', '2026-07-10 15:03:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:03:24'::timestamp) - extract(epoch from '2026-07-10 15:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:03:24'::timestamp) - extract(epoch from '2026-07-10 15:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138145 -3.123337)', '2026-07-10 15:03:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:03:32'::timestamp) - extract(epoch from '2026-07-10 15:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:03:32'::timestamp) - extract(epoch from '2026-07-10 15:03: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.12333)', '2026-07-10 15:03:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:03:40'::timestamp) - extract(epoch from '2026-07-10 15:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'))) / (select extract(epoch from '2026-07-10 15:03:40'::timestamp) - extract(epoch from '2026-07-10 15:03: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123325)', '2026-07-10 15:03:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123325)'))) / (select extract(epoch from '2026-07-10 15:03:49'::timestamp) - extract(epoch from '2026-07-10 15:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123325)'))) / (select extract(epoch from '2026-07-10 15:03:49'::timestamp) - extract(epoch from '2026-07-10 15:03: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.123339)', '2026-07-10 15:04:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:04:00'::timestamp) - extract(epoch from '2026-07-10 15:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:04:00'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138138 -3.12334)', '2026-07-10 15:04:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:04:13'::timestamp) - extract(epoch from '2026-07-10 15:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:04:13'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.123346)', '2026-07-10 15:04:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:04:14'::timestamp) - extract(epoch from '2026-07-10 15:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:04:14'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.138132 -3.123348)', '2026-07-10 15:04:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:04:17'::timestamp) - extract(epoch from '2026-07-10 15:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:04:17'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.138131 -3.123356)', '2026-07-10 15:04:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123356)'))) / (select extract(epoch from '2026-07-10 15:04:23'::timestamp) - extract(epoch from '2026-07-10 15:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123356)'))) / (select extract(epoch from '2026-07-10 15:04:23'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.12335)', '2026-07-10 15:04:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:04:28'::timestamp) - extract(epoch from '2026-07-10 15:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:04:28'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.138133 -3.123348)', '2026-07-10 15:04:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:04:35'::timestamp) - extract(epoch from '2026-07-10 15:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:04:35'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123347)', '2026-07-10 15:04:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:04:43'::timestamp) - extract(epoch from '2026-07-10 15:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:04:43'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123353)', '2026-07-10 15:04:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:04:49'::timestamp) - extract(epoch from '2026-07-10 15:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:04:49'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.138138 -3.123349)', '2026-07-10 15:04:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:04:57'::timestamp) - extract(epoch from '2026-07-10 15:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:04:57'::timestamp) - extract(epoch from '2026-07-10 15:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138131 -3.123348)', '2026-07-10 15:05:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:05:08'::timestamp) - extract(epoch from '2026-07-10 15:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:05:08'::timestamp) - extract(epoch from '2026-07-10 15:04: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123345)', '2026-07-10 15:05:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:05:16'::timestamp) - extract(epoch from '2026-07-10 15:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:05:16'::timestamp) - extract(epoch from '2026-07-10 15:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123345)', '2026-07-10 15:05:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:05:21'::timestamp) - extract(epoch from '2026-07-10 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:05:21'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.123344)', '2026-07-10 15:05:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:05:25'::timestamp) - extract(epoch from '2026-07-10 15:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:05:25'::timestamp) - extract(epoch from '2026-07-10 15:05: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'), 47521, 'SRID=4674;POINT (-39.138117 -3.123343)', '2026-07-10 15:05:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:05:31'::timestamp) - extract(epoch from '2026-07-10 15:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:05:31'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123339)', '2026-07-10 15:05:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:05:39'::timestamp) - extract(epoch from '2026-07-10 15:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:05:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123338)', '2026-07-10 15:05:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:05:47'::timestamp) - extract(epoch from '2026-07-10 15:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:05:47'::timestamp) - extract(epoch from '2026-07-10 15:05: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123344)', '2026-07-10 15:05:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:05:55'::timestamp) - extract(epoch from '2026-07-10 15:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:05:55'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138131 -3.123341)', '2026-07-10 15:06:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:06:03'::timestamp) - extract(epoch from '2026-07-10 15:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:06:03'::timestamp) - extract(epoch from '2026-07-10 15:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138132 -3.123336)', '2026-07-10 15:06:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:06:11'::timestamp) - extract(epoch from '2026-07-10 15:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:06:11'::timestamp) - extract(epoch from '2026-07-10 15:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138132 -3.123339)', '2026-07-10 15:06:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:06:18'::timestamp) - extract(epoch from '2026-07-10 15:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:06:18'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123341)', '2026-07-10 15:06:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:06:19'::timestamp) - extract(epoch from '2026-07-10 15:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:06:19'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.12334)', '2026-07-10 15:06:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:25'::timestamp) - extract(epoch from '2026-07-10 15:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:25'::timestamp) - extract(epoch from '2026-07-10 15:06: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.12334)', '2026-07-10 15:06:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:33'::timestamp) - extract(epoch from '2026-07-10 15:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:33'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.12334)', '2026-07-10 15:06:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:43'::timestamp) - extract(epoch from '2026-07-10 15:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:06:43'::timestamp) - extract(epoch from '2026-07-10 15:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138116 -3.123334)', '2026-07-10 15:06:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:06:52'::timestamp) - extract(epoch from '2026-07-10 15:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:06:52'::timestamp) - extract(epoch from '2026-07-10 15:06: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123332)', '2026-07-10 15:06:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:06:58'::timestamp) - extract(epoch from '2026-07-10 15:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:06:58'::timestamp) - extract(epoch from '2026-07-10 15:06: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123332)', '2026-07-10 15:07:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:07:05'::timestamp) - extract(epoch from '2026-07-10 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:07:05'::timestamp) - extract(epoch from '2026-07-10 15:06: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123328)', '2026-07-10 15:07:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:07:11'::timestamp) - extract(epoch from '2026-07-10 15:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123328)'))) / (select extract(epoch from '2026-07-10 15:07:11'::timestamp) - extract(epoch from '2026-07-10 15:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138121 -3.123334)', '2026-07-10 15:07:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:07:15'::timestamp) - extract(epoch from '2026-07-10 15:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:07:15'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.138119 -3.123335)', '2026-07-10 15:07:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:07:22'::timestamp) - extract(epoch from '2026-07-10 15:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:07:22'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.13812 -3.123331)', '2026-07-10 15:07:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:07:29'::timestamp) - extract(epoch from '2026-07-10 15:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:07:29'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123331)', '2026-07-10 15:07:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:07:35'::timestamp) - extract(epoch from '2026-07-10 15:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:07:35'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.123338)', '2026-07-10 15:07:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:07:40'::timestamp) - extract(epoch from '2026-07-10 15:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:07:40'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.12334)', '2026-07-10 15:07:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:07:45'::timestamp) - extract(epoch from '2026-07-10 15:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:07:45'::timestamp) - extract(epoch from '2026-07-10 15:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138138 -3.12334)', '2026-07-10 15:07:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:07:52'::timestamp) - extract(epoch from '2026-07-10 15:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:07:52'::timestamp) - extract(epoch from '2026-07-10 15:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123336)', '2026-07-10 15:07:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:07:58'::timestamp) - extract(epoch from '2026-07-10 15:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:07:58'::timestamp) - extract(epoch from '2026-07-10 15:07: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.123331)', '2026-07-10 15:08:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:08:07'::timestamp) - extract(epoch from '2026-07-10 15:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:08:07'::timestamp) - extract(epoch from '2026-07-10 15:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13812 -3.123327)', '2026-07-10 15:08:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:08:19'::timestamp) - extract(epoch from '2026-07-10 15:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123327)'))) / (select extract(epoch from '2026-07-10 15:08:19'::timestamp) - extract(epoch from '2026-07-10 15:08: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.123329)', '2026-07-10 15:08:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:08:29'::timestamp) - extract(epoch from '2026-07-10 15:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:08:29'::timestamp) - extract(epoch from '2026-07-10 15:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123332)', '2026-07-10 15:08:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:08:36'::timestamp) - extract(epoch from '2026-07-10 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:08:36'::timestamp) - extract(epoch from '2026-07-10 15:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123325)', '2026-07-10 15:08:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123325)'))) / (select extract(epoch from '2026-07-10 15:08:42'::timestamp) - extract(epoch from '2026-07-10 15:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123325)'))) / (select extract(epoch from '2026-07-10 15:08:42'::timestamp) - extract(epoch from '2026-07-10 15:08: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123321)', '2026-07-10 15:08:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:08:50'::timestamp) - extract(epoch from '2026-07-10 15:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:08:50'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123326)', '2026-07-10 15:08:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:08:59'::timestamp) - extract(epoch from '2026-07-10 15:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123326)'))) / (select extract(epoch from '2026-07-10 15:08:59'::timestamp) - extract(epoch from '2026-07-10 15:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138129 -3.123329)', '2026-07-10 15:09:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:09:10'::timestamp) - extract(epoch from '2026-07-10 15:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123326)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:09:10'::timestamp) - extract(epoch from '2026-07-10 15:08: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123337)', '2026-07-10 15:09:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:09:15'::timestamp) - extract(epoch from '2026-07-10 15:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:09:15'::timestamp) - extract(epoch from '2026-07-10 15:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123334)', '2026-07-10 15:09:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:09:24'::timestamp) - extract(epoch from '2026-07-10 15:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:09:24'::timestamp) - extract(epoch from '2026-07-10 15:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13813 -3.123331)', '2026-07-10 15:09:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:09:32'::timestamp) - extract(epoch from '2026-07-10 15:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:09:32'::timestamp) - extract(epoch from '2026-07-10 15:09: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'), 47521, 'SRID=4674;POINT (-39.138124 -3.123339)', '2026-07-10 15:09:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:09:39'::timestamp) - extract(epoch from '2026-07-10 15:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:09:39'::timestamp) - extract(epoch from '2026-07-10 15:09: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.12334)', '2026-07-10 15:09:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:09:47'::timestamp) - extract(epoch from '2026-07-10 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:09:47'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138117 -3.123343)', '2026-07-10 15:10:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:10:01'::timestamp) - extract(epoch from '2026-07-10 15:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:10:01'::timestamp) - extract(epoch from '2026-07-10 15:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138125 -3.123341)', '2026-07-10 15:10:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:10:06'::timestamp) - extract(epoch from '2026-07-10 15:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138117 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:10:06'::timestamp) - extract(epoch from '2026-07-10 15:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123345)', '2026-07-10 15:10:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:10:08'::timestamp) - extract(epoch from '2026-07-10 15:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:10:08'::timestamp) - extract(epoch from '2026-07-10 15:10: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123339)', '2026-07-10 15:10:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:10:16'::timestamp) - extract(epoch from '2026-07-10 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:10:16'::timestamp) - extract(epoch from '2026-07-10 15:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138131 -3.123338)', '2026-07-10 15:10:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:10:23'::timestamp) - extract(epoch from '2026-07-10 15:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:10:23'::timestamp) - extract(epoch from '2026-07-10 15:10: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'), 47521, 'SRID=4674;POINT (-39.138126 -3.123344)', '2026-07-10 15:10:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:10:25'::timestamp) - extract(epoch from '2026-07-10 15:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:10:25'::timestamp) - extract(epoch from '2026-07-10 15:10: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'), 47521, 'SRID=4674;POINT (-39.138116 -3.123342)', '2026-07-10 15:10:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:10:27'::timestamp) - extract(epoch from '2026-07-10 15:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:10:27'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123347)', '2026-07-10 15:10:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:10:32'::timestamp) - extract(epoch from '2026-07-10 15:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:10:32'::timestamp) - extract(epoch from '2026-07-10 15:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138131 -3.123342)', '2026-07-10 15:10:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:10:38'::timestamp) - extract(epoch from '2026-07-10 15:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:10:38'::timestamp) - extract(epoch from '2026-07-10 15:10: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.123334)', '2026-07-10 15:10:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:10:46'::timestamp) - extract(epoch from '2026-07-10 15:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:10:46'::timestamp) - extract(epoch from '2026-07-10 15:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123332)', '2026-07-10 15:10:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:10:54'::timestamp) - extract(epoch from '2026-07-10 15:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:10:54'::timestamp) - extract(epoch from '2026-07-10 15:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138136 -3.123331)', '2026-07-10 15:11:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:11:02'::timestamp) - extract(epoch from '2026-07-10 15:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123331)'))) / (select extract(epoch from '2026-07-10 15:11:02'::timestamp) - extract(epoch from '2026-07-10 15:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123339)', '2026-07-10 15:11:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:11:06'::timestamp) - extract(epoch from '2026-07-10 15:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:11:06'::timestamp) - extract(epoch from '2026-07-10 15:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.123344)', '2026-07-10 15:11:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:11:11'::timestamp) - extract(epoch from '2026-07-10 15:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:11:11'::timestamp) - extract(epoch from '2026-07-10 15:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138128 -3.12334)', '2026-07-10 15:11:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:11:16'::timestamp) - extract(epoch from '2026-07-10 15:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:11:16'::timestamp) - extract(epoch from '2026-07-10 15:11: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123342)', '2026-07-10 15:11:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:11:28'::timestamp) - extract(epoch from '2026-07-10 15:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:11:28'::timestamp) - extract(epoch from '2026-07-10 15:11: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'), 47521, 'SRID=4674;POINT (-39.138125 -3.123343)', '2026-07-10 15:11:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:11:37'::timestamp) - extract(epoch from '2026-07-10 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:11:37'::timestamp) - extract(epoch from '2026-07-10 15:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123344)', '2026-07-10 15:11:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:11:43'::timestamp) - extract(epoch from '2026-07-10 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:11:43'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123345)', '2026-07-10 15:11:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:11:48'::timestamp) - extract(epoch from '2026-07-10 15:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:11:48'::timestamp) - extract(epoch from '2026-07-10 15:11: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.123349)', '2026-07-10 15:11:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:11:57'::timestamp) - extract(epoch from '2026-07-10 15:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:11:57'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138121 -3.123346)', '2026-07-10 15:12:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:12:06'::timestamp) - extract(epoch from '2026-07-10 15:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:12:06'::timestamp) - extract(epoch from '2026-07-10 15:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.123344)', '2026-07-10 15:12:13', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:12:13'::timestamp) - extract(epoch from '2026-07-10 15:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:12:13'::timestamp) - extract(epoch from '2026-07-10 15:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138136 -3.123347)', '2026-07-10 15:12:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:12:20'::timestamp) - extract(epoch from '2026-07-10 15:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:12:20'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123343)', '2026-07-10 15:12:29', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:12:29'::timestamp) - extract(epoch from '2026-07-10 15:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:12:29'::timestamp) - extract(epoch from '2026-07-10 15:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138126 -3.12335)', '2026-07-10 15:12:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:12:35'::timestamp) - extract(epoch from '2026-07-10 15:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12335)'))) / (select extract(epoch from '2026-07-10 15:12:35'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138134 -3.123353)', '2026-07-10 15:12:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:12:40'::timestamp) - extract(epoch from '2026-07-10 15:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123353)'))) / (select extract(epoch from '2026-07-10 15:12:40'::timestamp) - extract(epoch from '2026-07-10 15:12: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'), 47521, 'SRID=4674;POINT (-39.138133 -3.123347)', '2026-07-10 15:12:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:12:45'::timestamp) - extract(epoch from '2026-07-10 15:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:12:45'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123341)', '2026-07-10 15:12:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:12:50'::timestamp) - extract(epoch from '2026-07-10 15:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:12:50'::timestamp) - extract(epoch from '2026-07-10 15:12: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'), 47521, 'SRID=4674;POINT (-39.13813 -3.123335)', '2026-07-10 15:12:57', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:12:57'::timestamp) - extract(epoch from '2026-07-10 15:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:12:57'::timestamp) - extract(epoch from '2026-07-10 15:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138137 -3.123335)', '2026-07-10 15:13:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:13:03'::timestamp) - extract(epoch from '2026-07-10 15:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:13:03'::timestamp) - extract(epoch from '2026-07-10 15:12: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123339)', '2026-07-10 15:13:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:13:10'::timestamp) - extract(epoch from '2026-07-10 15:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:13:10'::timestamp) - extract(epoch from '2026-07-10 15:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13814 -3.123334)', '2026-07-10 15:13:19', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:13:19'::timestamp) - extract(epoch from '2026-07-10 15:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123334)'))) / (select extract(epoch from '2026-07-10 15:13:19'::timestamp) - extract(epoch from '2026-07-10 15:13: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123335)', '2026-07-10 15:13:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:13:24'::timestamp) - extract(epoch from '2026-07-10 15:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:13:24'::timestamp) - extract(epoch from '2026-07-10 15:13: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'), 47521, 'SRID=4674;POINT (-39.138135 -3.123332)', '2026-07-10 15:13:30', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:13:30'::timestamp) - extract(epoch from '2026-07-10 15:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:13:30'::timestamp) - extract(epoch from '2026-07-10 15:13: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'), 47521, 'SRID=4674;POINT (-39.138136 -3.123329)', '2026-07-10 15:13:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:13:34'::timestamp) - extract(epoch from '2026-07-10 15:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:13:34'::timestamp) - extract(epoch from '2026-07-10 15:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138149 -3.123321)', '2026-07-10 15:13:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:13:45'::timestamp) - extract(epoch from '2026-07-10 15:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:13:45'::timestamp) - extract(epoch from '2026-07-10 15:13: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123318)', '2026-07-10 15:13:49', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123318)'))) / (select extract(epoch from '2026-07-10 15:13:49'::timestamp) - extract(epoch from '2026-07-10 15:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123318)'))) / (select extract(epoch from '2026-07-10 15:13:49'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123321)', '2026-07-10 15:13:58', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:13:58'::timestamp) - extract(epoch from '2026-07-10 15:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123321)'))) / (select extract(epoch from '2026-07-10 15:13:58'::timestamp) - extract(epoch from '2026-07-10 15:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138139 -3.123329)', '2026-07-10 15:14:10', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:14:10'::timestamp) - extract(epoch from '2026-07-10 15:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123329)'))) / (select extract(epoch from '2026-07-10 15:14:10'::timestamp) - extract(epoch from '2026-07-10 15:13: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'), 47521, 'SRID=4674;POINT (-39.138146 -3.123332)', '2026-07-10 15:14:17', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:14:17'::timestamp) - extract(epoch from '2026-07-10 15:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:14:17'::timestamp) - extract(epoch from '2026-07-10 15:14: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123336)', '2026-07-10 15:14:22', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:14:22'::timestamp) - extract(epoch from '2026-07-10 15:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123336)'))) / (select extract(epoch from '2026-07-10 15:14:22'::timestamp) - extract(epoch from '2026-07-10 15:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123343)', '2026-07-10 15:14:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:14:28'::timestamp) - extract(epoch from '2026-07-10 15:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123343)'))) / (select extract(epoch from '2026-07-10 15:14:28'::timestamp) - extract(epoch from '2026-07-10 15:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138142 -3.12334)', '2026-07-10 15:14:30', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:14:30'::timestamp) - extract(epoch from '2026-07-10 15:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:14:30'::timestamp) - extract(epoch from '2026-07-10 15:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138134 -3.12334)', '2026-07-10 15:14:32', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:14:32'::timestamp) - extract(epoch from '2026-07-10 15:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:14:32'::timestamp) - extract(epoch from '2026-07-10 15:14: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'), 47521, 'SRID=4674;POINT (-39.13814 -3.123338)', '2026-07-10 15:14:37', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:14:37'::timestamp) - extract(epoch from '2026-07-10 15:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123338)'))) / (select extract(epoch from '2026-07-10 15:14:37'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138142 -3.123332)', '2026-07-10 15:14:44', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:14:44'::timestamp) - extract(epoch from '2026-07-10 15:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123332)'))) / (select extract(epoch from '2026-07-10 15:14:44'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123335)', '2026-07-10 15:14:51', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:14:51'::timestamp) - extract(epoch from '2026-07-10 15:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:14:51'::timestamp) - extract(epoch from '2026-07-10 15:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123335)', '2026-07-10 15:14:56', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:14:56'::timestamp) - extract(epoch from '2026-07-10 15:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:14:56'::timestamp) - extract(epoch from '2026-07-10 15:14: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'), 47521, 'SRID=4674;POINT (-39.138137 -3.123337)', '2026-07-10 15:15:02', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:02'::timestamp) - extract(epoch from '2026-07-10 15:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:02'::timestamp) - extract(epoch from '2026-07-10 15:14: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123344)', '2026-07-10 15:15:08', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:15:08'::timestamp) - extract(epoch from '2026-07-10 15:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:15:08'::timestamp) - extract(epoch from '2026-07-10 15:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138129 -3.123341)', '2026-07-10 15:15:14', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:15:14'::timestamp) - extract(epoch from '2026-07-10 15:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'))) / (select extract(epoch from '2026-07-10 15:15:14'::timestamp) - extract(epoch from '2026-07-10 15:15: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'), 47521, 'SRID=4674;POINT (-39.138128 -3.123337)', '2026-07-10 15:15:28', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:28'::timestamp) - extract(epoch from '2026-07-10 15:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:28'::timestamp) - extract(epoch from '2026-07-10 15:15: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'), 47521, 'SRID=4674;POINT (-39.138132 -3.123337)', '2026-07-10 15:15:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:34'::timestamp) - extract(epoch from '2026-07-10 15:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123337)'))) / (select extract(epoch from '2026-07-10 15:15:34'::timestamp) - extract(epoch from '2026-07-10 15:15: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'), 47521, 'SRID=4674;POINT (-39.138129 -3.123342)', '2026-07-10 15:15:43', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:15:43'::timestamp) - extract(epoch from '2026-07-10 15:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:15:43'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.123335)', '2026-07-10 15:15:53', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:15:53'::timestamp) - extract(epoch from '2026-07-10 15:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'))) / (select extract(epoch from '2026-07-10 15:15:53'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47521, 'SRID=4674;POINT (-39.138127 -3.123333)', '2026-07-10 15:15:59', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:15:59'::timestamp) - extract(epoch from '2026-07-10 15:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:15:59'::timestamp) - extract(epoch from '2026-07-10 15:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123333)', '2026-07-10 15:16:07', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:16:07'::timestamp) - extract(epoch from '2026-07-10 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123333)'))) / (select extract(epoch from '2026-07-10 15:16:07'::timestamp) - extract(epoch from '2026-07-10 15:15: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'), 47521, 'SRID=4674;POINT (-39.138132 -3.123339)', '2026-07-10 15:16:14', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:16:14'::timestamp) - extract(epoch from '2026-07-10 15:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:16:14'::timestamp) - extract(epoch from '2026-07-10 15:16: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'), 47521, 'SRID=4674;POINT (-39.138141 -3.123339)', '2026-07-10 15:16:23', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:16:23'::timestamp) - extract(epoch from '2026-07-10 15:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123339)'))) / (select extract(epoch from '2026-07-10 15:16:23'::timestamp) - extract(epoch from '2026-07-10 15:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138133 -3.123347)', '2026-07-10 15:16:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:33'::timestamp) - extract(epoch from '2026-07-10 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:33'::timestamp) - extract(epoch from '2026-07-10 15:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138143 -3.123349)', '2026-07-10 15:16:38', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:16:38'::timestamp) - extract(epoch from '2026-07-10 15:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123349)'))) / (select extract(epoch from '2026-07-10 15:16:38'::timestamp) - extract(epoch from '2026-07-10 15:16: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'), 47521, 'SRID=4674;POINT (-39.138139 -3.123344)', '2026-07-10 15:16:45', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:16:45'::timestamp) - extract(epoch from '2026-07-10 15:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'))) / (select extract(epoch from '2026-07-10 15:16:45'::timestamp) - extract(epoch from '2026-07-10 15:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138137 -3.123347)', '2026-07-10 15:16:47', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:47'::timestamp) - extract(epoch from '2026-07-10 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:47'::timestamp) - extract(epoch from '2026-07-10 15:16: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'), 47521, 'SRID=4674;POINT (-39.138149 -3.123347)', '2026-07-10 15:16:49', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:49'::timestamp) - extract(epoch from '2026-07-10 15:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123347)'))) / (select extract(epoch from '2026-07-10 15:16:49'::timestamp) - extract(epoch from '2026-07-10 15:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138145 -3.123348)', '2026-07-10 15:16:50', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:16:50'::timestamp) - extract(epoch from '2026-07-10 15:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123348)'))) / (select extract(epoch from '2026-07-10 15:16:50'::timestamp) - extract(epoch from '2026-07-10 15:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138136 -3.123346)', '2026-07-10 15:16:54', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:16:54'::timestamp) - extract(epoch from '2026-07-10 15:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:16:54'::timestamp) - extract(epoch from '2026-07-10 15:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138137 -3.123342)', '2026-07-10 15:17:03', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:17:03'::timestamp) - extract(epoch from '2026-07-10 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123342)'))) / (select extract(epoch from '2026-07-10 15:17:03'::timestamp) - extract(epoch from '2026-07-10 15:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138127 -3.123346)', '2026-07-10 15:17:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:17:08'::timestamp) - extract(epoch from '2026-07-10 15:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123346)'))) / (select extract(epoch from '2026-07-10 15:17:08'::timestamp) - extract(epoch from '2026-07-10 15:17: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'), 47521, 'SRID=4674;POINT (-39.138118 -3.123345)', '2026-07-10 15:17:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:17:13'::timestamp) - extract(epoch from '2026-07-10 15:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'))) / (select extract(epoch from '2026-07-10 15:17:13'::timestamp) - extract(epoch from '2026-07-10 15:17: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'), 47521, 'SRID=4674;POINT (-39.138123 -3.12334)', '2026-07-10 15:17:21', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:17:21'::timestamp) - extract(epoch from '2026-07-10 15:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138118 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.12334)'))) / (select extract(epoch from '2026-07-10 15:17:21'::timestamp) - extract(epoch from '2026-07-10 15:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
