 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.310966 -2.778353)', '2026-07-17 07:32:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310938 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310966 -2.778353)'))) / (select extract(epoch from '2026-07-17 07:32:04'::timestamp) - extract(epoch from '2026-07-17 07:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310938 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310966 -2.778353)'))) / (select extract(epoch from '2026-07-17 07:32:04'::timestamp) - extract(epoch from '2026-07-17 07:31: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'), 47644, 'SRID=4674;POINT (-40.310992 -2.778339)', '2026-07-17 07:32:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310966 -2.778353)'), GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778339)'))) / (select extract(epoch from '2026-07-17 07:32:14'::timestamp) - extract(epoch from '2026-07-17 07:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310966 -2.778353)'), GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778339)'))) / (select extract(epoch from '2026-07-17 07:32:14'::timestamp) - extract(epoch from '2026-07-17 07:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311022 -2.778326)', '2026-07-17 07:32:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.778326)'))) / (select extract(epoch from '2026-07-17 07:32:27'::timestamp) - extract(epoch from '2026-07-17 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.778326)'))) / (select extract(epoch from '2026-07-17 07:32:27'::timestamp) - extract(epoch from '2026-07-17 07:32: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'), 47644, 'SRID=4674;POINT (-40.311069 -2.778309)', '2026-07-17 07:32:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.778326)'), GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.778309)'))) / (select extract(epoch from '2026-07-17 07:32:47'::timestamp) - extract(epoch from '2026-07-17 07:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.778326)'), GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.778309)'))) / (select extract(epoch from '2026-07-17 07:32:47'::timestamp) - extract(epoch from '2026-07-17 07:32: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'), 47644, 'SRID=4674;POINT (-40.311089 -2.778291)', '2026-07-17 07:32:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.778309)'), GeomFromEWKT('SRID=4674;POINT (-40.311089 -2.778291)'))) / (select extract(epoch from '2026-07-17 07:32:59'::timestamp) - extract(epoch from '2026-07-17 07:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.778309)'), GeomFromEWKT('SRID=4674;POINT (-40.311089 -2.778291)'))) / (select extract(epoch from '2026-07-17 07:32:59'::timestamp) - extract(epoch from '2026-07-17 07:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311114 -2.778269)', '2026-07-17 07:33:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311089 -2.778291)'), GeomFromEWKT('SRID=4674;POINT (-40.311114 -2.778269)'))) / (select extract(epoch from '2026-07-17 07:33:15'::timestamp) - extract(epoch from '2026-07-17 07:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311089 -2.778291)'), GeomFromEWKT('SRID=4674;POINT (-40.311114 -2.778269)'))) / (select extract(epoch from '2026-07-17 07:33:15'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311149 -2.778261)', '2026-07-17 07:33:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311114 -2.778269)'), GeomFromEWKT('SRID=4674;POINT (-40.311149 -2.778261)'))) / (select extract(epoch from '2026-07-17 07:33:33'::timestamp) - extract(epoch from '2026-07-17 07:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311114 -2.778269)'), GeomFromEWKT('SRID=4674;POINT (-40.311149 -2.778261)'))) / (select extract(epoch from '2026-07-17 07:33:33'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311175 -2.778256)', '2026-07-17 07:33:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311149 -2.778261)'), GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.778256)'))) / (select extract(epoch from '2026-07-17 07:33:45'::timestamp) - extract(epoch from '2026-07-17 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311149 -2.778261)'), GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.778256)'))) / (select extract(epoch from '2026-07-17 07:33:45'::timestamp) - extract(epoch from '2026-07-17 07:33: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'), 47644, 'SRID=4674;POINT (-40.311214 -2.778252)', '2026-07-17 07:33:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.778256)'), GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.778252)'))) / (select extract(epoch from '2026-07-17 07:33:59'::timestamp) - extract(epoch from '2026-07-17 07:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.778256)'), GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.778252)'))) / (select extract(epoch from '2026-07-17 07:33:59'::timestamp) - extract(epoch from '2026-07-17 07:33: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'), 47644, 'SRID=4674;POINT (-40.311249 -2.77825)', '2026-07-17 07:34:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.778252)'), GeomFromEWKT('SRID=4674;POINT (-40.311249 -2.77825)'))) / (select extract(epoch from '2026-07-17 07:34:15'::timestamp) - extract(epoch from '2026-07-17 07:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.778252)'), GeomFromEWKT('SRID=4674;POINT (-40.311249 -2.77825)'))) / (select extract(epoch from '2026-07-17 07:34:15'::timestamp) - extract(epoch from '2026-07-17 07:33: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'), 47644, 'SRID=4674;POINT (-40.311274 -2.77824)', '2026-07-17 07:34:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311249 -2.77825)'), GeomFromEWKT('SRID=4674;POINT (-40.311274 -2.77824)'))) / (select extract(epoch from '2026-07-17 07:34:27'::timestamp) - extract(epoch from '2026-07-17 07:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311249 -2.77825)'), GeomFromEWKT('SRID=4674;POINT (-40.311274 -2.77824)'))) / (select extract(epoch from '2026-07-17 07:34:27'::timestamp) - extract(epoch from '2026-07-17 07:34: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'), 47644, 'SRID=4674;POINT (-40.311299 -2.778236)', '2026-07-17 07:34:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311274 -2.77824)'), GeomFromEWKT('SRID=4674;POINT (-40.311299 -2.778236)'))) / (select extract(epoch from '2026-07-17 07:34:37'::timestamp) - extract(epoch from '2026-07-17 07:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311274 -2.77824)'), GeomFromEWKT('SRID=4674;POINT (-40.311299 -2.778236)'))) / (select extract(epoch from '2026-07-17 07:34:37'::timestamp) - extract(epoch from '2026-07-17 07:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311326 -2.778224)', '2026-07-17 07:34:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311299 -2.778236)'), GeomFromEWKT('SRID=4674;POINT (-40.311326 -2.778224)'))) / (select extract(epoch from '2026-07-17 07:34:52'::timestamp) - extract(epoch from '2026-07-17 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311299 -2.778236)'), GeomFromEWKT('SRID=4674;POINT (-40.311326 -2.778224)'))) / (select extract(epoch from '2026-07-17 07:34:52'::timestamp) - extract(epoch from '2026-07-17 07:34: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'), 47644, 'SRID=4674;POINT (-40.311365 -2.778213)', '2026-07-17 07:35:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311326 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.778213)'))) / (select extract(epoch from '2026-07-17 07:35:05'::timestamp) - extract(epoch from '2026-07-17 07:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311326 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.778213)'))) / (select extract(epoch from '2026-07-17 07:35:05'::timestamp) - extract(epoch from '2026-07-17 07:34: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'), 47644, 'SRID=4674;POINT (-40.311395 -2.778198)', '2026-07-17 07:35:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.778213)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.778198)'))) / (select extract(epoch from '2026-07-17 07:35:18'::timestamp) - extract(epoch from '2026-07-17 07:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.778213)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.778198)'))) / (select extract(epoch from '2026-07-17 07:35:18'::timestamp) - extract(epoch from '2026-07-17 07:35: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'), 47644, 'SRID=4674;POINT (-40.311422 -2.778186)', '2026-07-17 07:35:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.778198)'), GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.778186)'))) / (select extract(epoch from '2026-07-17 07:35:30'::timestamp) - extract(epoch from '2026-07-17 07:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.778198)'), GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.778186)'))) / (select extract(epoch from '2026-07-17 07:35:30'::timestamp) - extract(epoch from '2026-07-17 07:35: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'), 47644, 'SRID=4674;POINT (-40.311445 -2.77818)', '2026-07-17 07:35:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.778186)'), GeomFromEWKT('SRID=4674;POINT (-40.311445 -2.77818)'))) / (select extract(epoch from '2026-07-17 07:35:39'::timestamp) - extract(epoch from '2026-07-17 07:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.778186)'), GeomFromEWKT('SRID=4674;POINT (-40.311445 -2.77818)'))) / (select extract(epoch from '2026-07-17 07:35:39'::timestamp) - extract(epoch from '2026-07-17 07:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311467 -2.778168)', '2026-07-17 07:35:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311445 -2.77818)'), GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.778168)'))) / (select extract(epoch from '2026-07-17 07:35:52'::timestamp) - extract(epoch from '2026-07-17 07:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311445 -2.77818)'), GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.778168)'))) / (select extract(epoch from '2026-07-17 07:35:52'::timestamp) - extract(epoch from '2026-07-17 07:35: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'), 47644, 'SRID=4674;POINT (-40.311494 -2.778155)', '2026-07-17 07:36:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.778168)'), GeomFromEWKT('SRID=4674;POINT (-40.311494 -2.778155)'))) / (select extract(epoch from '2026-07-17 07:36:04'::timestamp) - extract(epoch from '2026-07-17 07:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.778168)'), GeomFromEWKT('SRID=4674;POINT (-40.311494 -2.778155)'))) / (select extract(epoch from '2026-07-17 07:36:04'::timestamp) - extract(epoch from '2026-07-17 07:35: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'), 47644, 'SRID=4674;POINT (-40.311522 -2.778139)', '2026-07-17 07:36:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311494 -2.778155)'), GeomFromEWKT('SRID=4674;POINT (-40.311522 -2.778139)'))) / (select extract(epoch from '2026-07-17 07:36:22'::timestamp) - extract(epoch from '2026-07-17 07:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311494 -2.778155)'), GeomFromEWKT('SRID=4674;POINT (-40.311522 -2.778139)'))) / (select extract(epoch from '2026-07-17 07:36:22'::timestamp) - extract(epoch from '2026-07-17 07:36: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'), 47644, 'SRID=4674;POINT (-40.31154 -2.77814)', '2026-07-17 07:36:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311522 -2.778139)'), GeomFromEWKT('SRID=4674;POINT (-40.31154 -2.77814)'))) / (select extract(epoch from '2026-07-17 07:36:30'::timestamp) - extract(epoch from '2026-07-17 07:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311522 -2.778139)'), GeomFromEWKT('SRID=4674;POINT (-40.31154 -2.77814)'))) / (select extract(epoch from '2026-07-17 07:36:30'::timestamp) - extract(epoch from '2026-07-17 07:36: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'), 47644, 'SRID=4674;POINT (-40.311562 -2.778139)', '2026-07-17 07:36:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31154 -2.77814)'), GeomFromEWKT('SRID=4674;POINT (-40.311562 -2.778139)'))) / (select extract(epoch from '2026-07-17 07:36:44'::timestamp) - extract(epoch from '2026-07-17 07:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31154 -2.77814)'), GeomFromEWKT('SRID=4674;POINT (-40.311562 -2.778139)'))) / (select extract(epoch from '2026-07-17 07:36:44'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311597 -2.77813)', '2026-07-17 07:36:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311562 -2.778139)'), GeomFromEWKT('SRID=4674;POINT (-40.311597 -2.77813)'))) / (select extract(epoch from '2026-07-17 07:36:54'::timestamp) - extract(epoch from '2026-07-17 07:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311562 -2.778139)'), GeomFromEWKT('SRID=4674;POINT (-40.311597 -2.77813)'))) / (select extract(epoch from '2026-07-17 07:36:54'::timestamp) - extract(epoch from '2026-07-17 07:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311631 -2.778122)', '2026-07-17 07:37:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311597 -2.77813)'), GeomFromEWKT('SRID=4674;POINT (-40.311631 -2.778122)'))) / (select extract(epoch from '2026-07-17 07:37:09'::timestamp) - extract(epoch from '2026-07-17 07:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311597 -2.77813)'), GeomFromEWKT('SRID=4674;POINT (-40.311631 -2.778122)'))) / (select extract(epoch from '2026-07-17 07:37:09'::timestamp) - extract(epoch from '2026-07-17 07:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311646 -2.778116)', '2026-07-17 07:37:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311631 -2.778122)'), GeomFromEWKT('SRID=4674;POINT (-40.311646 -2.778116)'))) / (select extract(epoch from '2026-07-17 07:37:20'::timestamp) - extract(epoch from '2026-07-17 07:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311631 -2.778122)'), GeomFromEWKT('SRID=4674;POINT (-40.311646 -2.778116)'))) / (select extract(epoch from '2026-07-17 07:37:20'::timestamp) - extract(epoch from '2026-07-17 07:37: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'), 47644, 'SRID=4674;POINT (-40.31167 -2.778112)', '2026-07-17 07:37:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311646 -2.778116)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.778112)'))) / (select extract(epoch from '2026-07-17 07:37:30'::timestamp) - extract(epoch from '2026-07-17 07:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311646 -2.778116)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.778112)'))) / (select extract(epoch from '2026-07-17 07:37:30'::timestamp) - extract(epoch from '2026-07-17 07:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311702 -2.778101)', '2026-07-17 07:37:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.778112)'), GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.778101)'))) / (select extract(epoch from '2026-07-17 07:37:44'::timestamp) - extract(epoch from '2026-07-17 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.778112)'), GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.778101)'))) / (select extract(epoch from '2026-07-17 07:37:44'::timestamp) - extract(epoch from '2026-07-17 07:37: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'), 47644, 'SRID=4674;POINT (-40.31173 -2.77809)', '2026-07-17 07:37:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.778101)'), GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.77809)'))) / (select extract(epoch from '2026-07-17 07:37:54'::timestamp) - extract(epoch from '2026-07-17 07:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.778101)'), GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.77809)'))) / (select extract(epoch from '2026-07-17 07:37:54'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.31174 -2.778084)', '2026-07-17 07:38:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.77809)'), GeomFromEWKT('SRID=4674;POINT (-40.31174 -2.778084)'))) / (select extract(epoch from '2026-07-17 07:38:05'::timestamp) - extract(epoch from '2026-07-17 07:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.77809)'), GeomFromEWKT('SRID=4674;POINT (-40.31174 -2.778084)'))) / (select extract(epoch from '2026-07-17 07:38:05'::timestamp) - extract(epoch from '2026-07-17 07:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311774 -2.778074)', '2026-07-17 07:38:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31174 -2.778084)'), GeomFromEWKT('SRID=4674;POINT (-40.311774 -2.778074)'))) / (select extract(epoch from '2026-07-17 07:38:22'::timestamp) - extract(epoch from '2026-07-17 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31174 -2.778084)'), GeomFromEWKT('SRID=4674;POINT (-40.311774 -2.778074)'))) / (select extract(epoch from '2026-07-17 07:38:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311795 -2.778071)', '2026-07-17 07:38:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311774 -2.778074)'), GeomFromEWKT('SRID=4674;POINT (-40.311795 -2.778071)'))) / (select extract(epoch from '2026-07-17 07:38:33'::timestamp) - extract(epoch from '2026-07-17 07:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311774 -2.778074)'), GeomFromEWKT('SRID=4674;POINT (-40.311795 -2.778071)'))) / (select extract(epoch from '2026-07-17 07:38:33'::timestamp) - extract(epoch from '2026-07-17 07:38: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'), 47644, 'SRID=4674;POINT (-40.311825 -2.778062)', '2026-07-17 07:38:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311795 -2.778071)'), GeomFromEWKT('SRID=4674;POINT (-40.311825 -2.778062)'))) / (select extract(epoch from '2026-07-17 07:38:44'::timestamp) - extract(epoch from '2026-07-17 07:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311795 -2.778071)'), GeomFromEWKT('SRID=4674;POINT (-40.311825 -2.778062)'))) / (select extract(epoch from '2026-07-17 07:38:44'::timestamp) - extract(epoch from '2026-07-17 07:38: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'), 47644, 'SRID=4674;POINT (-40.311848 -2.778054)', '2026-07-17 07:38:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311825 -2.778062)'), GeomFromEWKT('SRID=4674;POINT (-40.311848 -2.778054)'))) / (select extract(epoch from '2026-07-17 07:38:55'::timestamp) - extract(epoch from '2026-07-17 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311825 -2.778062)'), GeomFromEWKT('SRID=4674;POINT (-40.311848 -2.778054)'))) / (select extract(epoch from '2026-07-17 07:38:55'::timestamp) - extract(epoch from '2026-07-17 07:38: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'), 47644, 'SRID=4674;POINT (-40.311895 -2.778045)', '2026-07-17 07:39:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311848 -2.778054)'), GeomFromEWKT('SRID=4674;POINT (-40.311895 -2.778045)'))) / (select extract(epoch from '2026-07-17 07:39:08'::timestamp) - extract(epoch from '2026-07-17 07:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311848 -2.778054)'), GeomFromEWKT('SRID=4674;POINT (-40.311895 -2.778045)'))) / (select extract(epoch from '2026-07-17 07:39:08'::timestamp) - extract(epoch from '2026-07-17 07:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311919 -2.778042)', '2026-07-17 07:39:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311895 -2.778045)'), GeomFromEWKT('SRID=4674;POINT (-40.311919 -2.778042)'))) / (select extract(epoch from '2026-07-17 07:39:18'::timestamp) - extract(epoch from '2026-07-17 07:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311895 -2.778045)'), GeomFromEWKT('SRID=4674;POINT (-40.311919 -2.778042)'))) / (select extract(epoch from '2026-07-17 07:39:18'::timestamp) - extract(epoch from '2026-07-17 07:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311936 -2.778029)', '2026-07-17 07:39:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311919 -2.778042)'), GeomFromEWKT('SRID=4674;POINT (-40.311936 -2.778029)'))) / (select extract(epoch from '2026-07-17 07:39:33'::timestamp) - extract(epoch from '2026-07-17 07:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311919 -2.778042)'), GeomFromEWKT('SRID=4674;POINT (-40.311936 -2.778029)'))) / (select extract(epoch from '2026-07-17 07:39:33'::timestamp) - extract(epoch from '2026-07-17 07:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311966 -2.778015)', '2026-07-17 07:39:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311936 -2.778029)'), GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.778015)'))) / (select extract(epoch from '2026-07-17 07:39:47'::timestamp) - extract(epoch from '2026-07-17 07:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311936 -2.778029)'), GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.778015)'))) / (select extract(epoch from '2026-07-17 07:39:47'::timestamp) - extract(epoch from '2026-07-17 07:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312002 -2.778004)', '2026-07-17 07:40:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.778015)'), GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.778004)'))) / (select extract(epoch from '2026-07-17 07:40:03'::timestamp) - extract(epoch from '2026-07-17 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.778015)'), GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.778004)'))) / (select extract(epoch from '2026-07-17 07:40:03'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312016 -2.778)', '2026-07-17 07:40:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.778004)'), GeomFromEWKT('SRID=4674;POINT (-40.312016 -2.778)'))) / (select extract(epoch from '2026-07-17 07:40:14'::timestamp) - extract(epoch from '2026-07-17 07:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.778004)'), GeomFromEWKT('SRID=4674;POINT (-40.312016 -2.778)'))) / (select extract(epoch from '2026-07-17 07:40:14'::timestamp) - extract(epoch from '2026-07-17 07:40: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'), 47644, 'SRID=4674;POINT (-40.312049 -2.777996)', '2026-07-17 07:40:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312016 -2.778)'), GeomFromEWKT('SRID=4674;POINT (-40.312049 -2.777996)'))) / (select extract(epoch from '2026-07-17 07:40:31'::timestamp) - extract(epoch from '2026-07-17 07:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312016 -2.778)'), GeomFromEWKT('SRID=4674;POINT (-40.312049 -2.777996)'))) / (select extract(epoch from '2026-07-17 07:40:31'::timestamp) - extract(epoch from '2026-07-17 07:40: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'), 47644, 'SRID=4674;POINT (-40.31209 -2.777996)', '2026-07-17 07:40:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312049 -2.777996)'), GeomFromEWKT('SRID=4674;POINT (-40.31209 -2.777996)'))) / (select extract(epoch from '2026-07-17 07:40:45'::timestamp) - extract(epoch from '2026-07-17 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312049 -2.777996)'), GeomFromEWKT('SRID=4674;POINT (-40.31209 -2.777996)'))) / (select extract(epoch from '2026-07-17 07:40:45'::timestamp) - extract(epoch from '2026-07-17 07:40: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'), 47644, 'SRID=4674;POINT (-40.312113 -2.777995)', '2026-07-17 07:40:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31209 -2.777996)'), GeomFromEWKT('SRID=4674;POINT (-40.312113 -2.777995)'))) / (select extract(epoch from '2026-07-17 07:40:53'::timestamp) - extract(epoch from '2026-07-17 07:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31209 -2.777996)'), GeomFromEWKT('SRID=4674;POINT (-40.312113 -2.777995)'))) / (select extract(epoch from '2026-07-17 07:40:53'::timestamp) - extract(epoch from '2026-07-17 07:40: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'), 47644, 'SRID=4674;POINT (-40.312135 -2.777992)', '2026-07-17 07:41:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312113 -2.777995)'), GeomFromEWKT('SRID=4674;POINT (-40.312135 -2.777992)'))) / (select extract(epoch from '2026-07-17 07:41:02'::timestamp) - extract(epoch from '2026-07-17 07:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312113 -2.777995)'), GeomFromEWKT('SRID=4674;POINT (-40.312135 -2.777992)'))) / (select extract(epoch from '2026-07-17 07:41:02'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312157 -2.77798)', '2026-07-17 07:41:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312135 -2.777992)'), GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.77798)'))) / (select extract(epoch from '2026-07-17 07:41:14'::timestamp) - extract(epoch from '2026-07-17 07:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312135 -2.777992)'), GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.77798)'))) / (select extract(epoch from '2026-07-17 07:41:14'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312181 -2.777977)', '2026-07-17 07:41:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.77798)'), GeomFromEWKT('SRID=4674;POINT (-40.312181 -2.777977)'))) / (select extract(epoch from '2026-07-17 07:41:22'::timestamp) - extract(epoch from '2026-07-17 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.77798)'), GeomFromEWKT('SRID=4674;POINT (-40.312181 -2.777977)'))) / (select extract(epoch from '2026-07-17 07:41:22'::timestamp) - extract(epoch from '2026-07-17 07:41: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'), 47644, 'SRID=4674;POINT (-40.312218 -2.777952)', '2026-07-17 07:41:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312181 -2.777977)'), GeomFromEWKT('SRID=4674;POINT (-40.312218 -2.777952)'))) / (select extract(epoch from '2026-07-17 07:41:36'::timestamp) - extract(epoch from '2026-07-17 07:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312181 -2.777977)'), GeomFromEWKT('SRID=4674;POINT (-40.312218 -2.777952)'))) / (select extract(epoch from '2026-07-17 07:41:36'::timestamp) - extract(epoch from '2026-07-17 07:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312241 -2.777935)', '2026-07-17 07:41:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312218 -2.777952)'), GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.777935)'))) / (select extract(epoch from '2026-07-17 07:41:49'::timestamp) - extract(epoch from '2026-07-17 07:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312218 -2.777952)'), GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.777935)'))) / (select extract(epoch from '2026-07-17 07:41:49'::timestamp) - extract(epoch from '2026-07-17 07:41: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'), 47644, 'SRID=4674;POINT (-40.312278 -2.777917)', '2026-07-17 07:42:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.777935)'), GeomFromEWKT('SRID=4674;POINT (-40.312278 -2.777917)'))) / (select extract(epoch from '2026-07-17 07:42:05'::timestamp) - extract(epoch from '2026-07-17 07:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.777935)'), GeomFromEWKT('SRID=4674;POINT (-40.312278 -2.777917)'))) / (select extract(epoch from '2026-07-17 07:42:05'::timestamp) - extract(epoch from '2026-07-17 07:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312306 -2.777896)', '2026-07-17 07:42:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312278 -2.777917)'), GeomFromEWKT('SRID=4674;POINT (-40.312306 -2.777896)'))) / (select extract(epoch from '2026-07-17 07:42:21'::timestamp) - extract(epoch from '2026-07-17 07:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312278 -2.777917)'), GeomFromEWKT('SRID=4674;POINT (-40.312306 -2.777896)'))) / (select extract(epoch from '2026-07-17 07:42:21'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.31233 -2.777877)', '2026-07-17 07:42:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312306 -2.777896)'), GeomFromEWKT('SRID=4674;POINT (-40.31233 -2.777877)'))) / (select extract(epoch from '2026-07-17 07:42:34'::timestamp) - extract(epoch from '2026-07-17 07:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312306 -2.777896)'), GeomFromEWKT('SRID=4674;POINT (-40.31233 -2.777877)'))) / (select extract(epoch from '2026-07-17 07:42:34'::timestamp) - extract(epoch from '2026-07-17 07:42: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'), 47644, 'SRID=4674;POINT (-40.312355 -2.777869)', '2026-07-17 07:42:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31233 -2.777877)'), GeomFromEWKT('SRID=4674;POINT (-40.312355 -2.777869)'))) / (select extract(epoch from '2026-07-17 07:42:44'::timestamp) - extract(epoch from '2026-07-17 07:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31233 -2.777877)'), GeomFromEWKT('SRID=4674;POINT (-40.312355 -2.777869)'))) / (select extract(epoch from '2026-07-17 07:42:44'::timestamp) - extract(epoch from '2026-07-17 07:42: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'), 47644, 'SRID=4674;POINT (-40.312375 -2.777859)', '2026-07-17 07:42:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312355 -2.777869)'), GeomFromEWKT('SRID=4674;POINT (-40.312375 -2.777859)'))) / (select extract(epoch from '2026-07-17 07:42:55'::timestamp) - extract(epoch from '2026-07-17 07:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312355 -2.777869)'), GeomFromEWKT('SRID=4674;POINT (-40.312375 -2.777859)'))) / (select extract(epoch from '2026-07-17 07:42:55'::timestamp) - extract(epoch from '2026-07-17 07:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312413 -2.777855)', '2026-07-17 07:43:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312375 -2.777859)'), GeomFromEWKT('SRID=4674;POINT (-40.312413 -2.777855)'))) / (select extract(epoch from '2026-07-17 07:43:06'::timestamp) - extract(epoch from '2026-07-17 07:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312375 -2.777859)'), GeomFromEWKT('SRID=4674;POINT (-40.312413 -2.777855)'))) / (select extract(epoch from '2026-07-17 07:43:06'::timestamp) - extract(epoch from '2026-07-17 07:42: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'), 47644, 'SRID=4674;POINT (-40.312438 -2.777857)', '2026-07-17 07:43:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312413 -2.777855)'), GeomFromEWKT('SRID=4674;POINT (-40.312438 -2.777857)'))) / (select extract(epoch from '2026-07-17 07:43:15'::timestamp) - extract(epoch from '2026-07-17 07:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312413 -2.777855)'), GeomFromEWKT('SRID=4674;POINT (-40.312438 -2.777857)'))) / (select extract(epoch from '2026-07-17 07:43:15'::timestamp) - extract(epoch from '2026-07-17 07:43: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'), 47644, 'SRID=4674;POINT (-40.312462 -2.777859)', '2026-07-17 07:43:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312438 -2.777857)'), GeomFromEWKT('SRID=4674;POINT (-40.312462 -2.777859)'))) / (select extract(epoch from '2026-07-17 07:43:24'::timestamp) - extract(epoch from '2026-07-17 07:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312438 -2.777857)'), GeomFromEWKT('SRID=4674;POINT (-40.312462 -2.777859)'))) / (select extract(epoch from '2026-07-17 07:43:24'::timestamp) - extract(epoch from '2026-07-17 07:43: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'), 47644, 'SRID=4674;POINT (-40.312485 -2.777849)', '2026-07-17 07:43:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312462 -2.777859)'), GeomFromEWKT('SRID=4674;POINT (-40.312485 -2.777849)'))) / (select extract(epoch from '2026-07-17 07:43:35'::timestamp) - extract(epoch from '2026-07-17 07:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312462 -2.777859)'), GeomFromEWKT('SRID=4674;POINT (-40.312485 -2.777849)'))) / (select extract(epoch from '2026-07-17 07:43:35'::timestamp) - extract(epoch from '2026-07-17 07:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312528 -2.777832)', '2026-07-17 07:43:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312485 -2.777849)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.777832)'))) / (select extract(epoch from '2026-07-17 07:43:48'::timestamp) - extract(epoch from '2026-07-17 07:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312485 -2.777849)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.777832)'))) / (select extract(epoch from '2026-07-17 07:43:48'::timestamp) - extract(epoch from '2026-07-17 07:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31257 -2.777826)', '2026-07-17 07:44:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.777832)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.777826)'))) / (select extract(epoch from '2026-07-17 07:44:01'::timestamp) - extract(epoch from '2026-07-17 07:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.777832)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.777826)'))) / (select extract(epoch from '2026-07-17 07:44:01'::timestamp) - extract(epoch from '2026-07-17 07:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312611 -2.777818)', '2026-07-17 07:44:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.777826)'), GeomFromEWKT('SRID=4674;POINT (-40.312611 -2.777818)'))) / (select extract(epoch from '2026-07-17 07:44:15'::timestamp) - extract(epoch from '2026-07-17 07:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.777826)'), GeomFromEWKT('SRID=4674;POINT (-40.312611 -2.777818)'))) / (select extract(epoch from '2026-07-17 07:44:15'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312644 -2.77776)', '2026-07-17 07:44:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312611 -2.777818)'), GeomFromEWKT('SRID=4674;POINT (-40.312644 -2.77776)'))) / (select extract(epoch from '2026-07-17 07:44:24'::timestamp) - extract(epoch from '2026-07-17 07:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312611 -2.777818)'), GeomFromEWKT('SRID=4674;POINT (-40.312644 -2.77776)'))) / (select extract(epoch from '2026-07-17 07:44:24'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312615 -2.777773)', '2026-07-17 07:44:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312644 -2.77776)'), GeomFromEWKT('SRID=4674;POINT (-40.312615 -2.777773)'))) / (select extract(epoch from '2026-07-17 07:44:31'::timestamp) - extract(epoch from '2026-07-17 07:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312644 -2.77776)'), GeomFromEWKT('SRID=4674;POINT (-40.312615 -2.777773)'))) / (select extract(epoch from '2026-07-17 07:44:31'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312617 -2.777785)', '2026-07-17 07:44:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312615 -2.777773)'), GeomFromEWKT('SRID=4674;POINT (-40.312617 -2.777785)'))) / (select extract(epoch from '2026-07-17 07:44:32'::timestamp) - extract(epoch from '2026-07-17 07:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312615 -2.777773)'), GeomFromEWKT('SRID=4674;POINT (-40.312617 -2.777785)'))) / (select extract(epoch from '2026-07-17 07:44:32'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312601 -2.777862)', '2026-07-17 07:44:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312617 -2.777785)'), GeomFromEWKT('SRID=4674;POINT (-40.312601 -2.777862)'))) / (select extract(epoch from '2026-07-17 07:44:37'::timestamp) - extract(epoch from '2026-07-17 07:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312617 -2.777785)'), GeomFromEWKT('SRID=4674;POINT (-40.312601 -2.777862)'))) / (select extract(epoch from '2026-07-17 07:44:37'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312589 -2.777891)', '2026-07-17 07:44:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312601 -2.777862)'), GeomFromEWKT('SRID=4674;POINT (-40.312589 -2.777891)'))) / (select extract(epoch from '2026-07-17 07:44:39'::timestamp) - extract(epoch from '2026-07-17 07:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312601 -2.777862)'), GeomFromEWKT('SRID=4674;POINT (-40.312589 -2.777891)'))) / (select extract(epoch from '2026-07-17 07:44:39'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312541 -2.777944)', '2026-07-17 07:44:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312589 -2.777891)'), GeomFromEWKT('SRID=4674;POINT (-40.312541 -2.777944)'))) / (select extract(epoch from '2026-07-17 07:44:43'::timestamp) - extract(epoch from '2026-07-17 07:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312589 -2.777891)'), GeomFromEWKT('SRID=4674;POINT (-40.312541 -2.777944)'))) / (select extract(epoch from '2026-07-17 07:44:43'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312439 -2.778089)', '2026-07-17 07:44:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312541 -2.777944)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778089)'))) / (select extract(epoch from '2026-07-17 07:44:52'::timestamp) - extract(epoch from '2026-07-17 07:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312541 -2.777944)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778089)'))) / (select extract(epoch from '2026-07-17 07:44:52'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312395 -2.778198)', '2026-07-17 07:44:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778089)'), GeomFromEWKT('SRID=4674;POINT (-40.312395 -2.778198)'))) / (select extract(epoch from '2026-07-17 07:44:59'::timestamp) - extract(epoch from '2026-07-17 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778089)'), GeomFromEWKT('SRID=4674;POINT (-40.312395 -2.778198)'))) / (select extract(epoch from '2026-07-17 07:44:59'::timestamp) - extract(epoch from '2026-07-17 07:44: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'), 47644, 'SRID=4674;POINT (-40.312388 -2.77826)', '2026-07-17 07:45:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312395 -2.778198)'), GeomFromEWKT('SRID=4674;POINT (-40.312388 -2.77826)'))) / (select extract(epoch from '2026-07-17 07:45:05'::timestamp) - extract(epoch from '2026-07-17 07:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312395 -2.778198)'), GeomFromEWKT('SRID=4674;POINT (-40.312388 -2.77826)'))) / (select extract(epoch from '2026-07-17 07:45:05'::timestamp) - extract(epoch from '2026-07-17 07:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31239 -2.778267)', '2026-07-17 07:45:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312388 -2.77826)'), GeomFromEWKT('SRID=4674;POINT (-40.31239 -2.778267)'))) / (select extract(epoch from '2026-07-17 07:45:06'::timestamp) - extract(epoch from '2026-07-17 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312388 -2.77826)'), GeomFromEWKT('SRID=4674;POINT (-40.31239 -2.778267)'))) / (select extract(epoch from '2026-07-17 07:45:06'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312399 -2.778303)', '2026-07-17 07:45:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31239 -2.778267)'), GeomFromEWKT('SRID=4674;POINT (-40.312399 -2.778303)'))) / (select extract(epoch from '2026-07-17 07:45:11'::timestamp) - extract(epoch from '2026-07-17 07:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31239 -2.778267)'), GeomFromEWKT('SRID=4674;POINT (-40.312399 -2.778303)'))) / (select extract(epoch from '2026-07-17 07:45:11'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47644, 'SRID=4674;POINT (-40.31242 -2.778339)', '2026-07-17 07:45:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312399 -2.778303)'), GeomFromEWKT('SRID=4674;POINT (-40.31242 -2.778339)'))) / (select extract(epoch from '2026-07-17 07:45:20'::timestamp) - extract(epoch from '2026-07-17 07:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312399 -2.778303)'), GeomFromEWKT('SRID=4674;POINT (-40.31242 -2.778339)'))) / (select extract(epoch from '2026-07-17 07:45:20'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47644, 'SRID=4674;POINT (-40.312439 -2.778361)', '2026-07-17 07:45:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31242 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778361)'))) / (select extract(epoch from '2026-07-17 07:45:28'::timestamp) - extract(epoch from '2026-07-17 07:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31242 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778361)'))) / (select extract(epoch from '2026-07-17 07:45:28'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47644, 'SRID=4674;POINT (-40.31248 -2.778379)', '2026-07-17 07:45:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778361)'), GeomFromEWKT('SRID=4674;POINT (-40.31248 -2.778379)'))) / (select extract(epoch from '2026-07-17 07:45:42'::timestamp) - extract(epoch from '2026-07-17 07:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312439 -2.778361)'), GeomFromEWKT('SRID=4674;POINT (-40.31248 -2.778379)'))) / (select extract(epoch from '2026-07-17 07:45:42'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47644, 'SRID=4674;POINT (-40.31257 -2.778371)', '2026-07-17 07:46:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31248 -2.778379)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.778371)'))) / (select extract(epoch from '2026-07-17 07:46:10'::timestamp) - extract(epoch from '2026-07-17 07:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31248 -2.778379)'), GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.778371)'))) / (select extract(epoch from '2026-07-17 07:46:10'::timestamp) - extract(epoch from '2026-07-17 07:45: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'), 47644, 'SRID=4674;POINT (-40.31264 -2.77834)', '2026-07-17 07:46:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.778371)'), GeomFromEWKT('SRID=4674;POINT (-40.31264 -2.77834)'))) / (select extract(epoch from '2026-07-17 07:46:38'::timestamp) - extract(epoch from '2026-07-17 07:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31257 -2.778371)'), GeomFromEWKT('SRID=4674;POINT (-40.31264 -2.77834)'))) / (select extract(epoch from '2026-07-17 07:46:38'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47644, 'SRID=4674;POINT (-40.312692 -2.778305)', '2026-07-17 07:46:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31264 -2.77834)'), GeomFromEWKT('SRID=4674;POINT (-40.312692 -2.778305)'))) / (select extract(epoch from '2026-07-17 07:46:59'::timestamp) - extract(epoch from '2026-07-17 07:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31264 -2.77834)'), GeomFromEWKT('SRID=4674;POINT (-40.312692 -2.778305)'))) / (select extract(epoch from '2026-07-17 07:46:59'::timestamp) - extract(epoch from '2026-07-17 07:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312752 -2.778309)', '2026-07-17 07:47:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312692 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778309)'))) / (select extract(epoch from '2026-07-17 07:47:10'::timestamp) - extract(epoch from '2026-07-17 07:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312692 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778309)'))) / (select extract(epoch from '2026-07-17 07:47:10'::timestamp) - extract(epoch from '2026-07-17 07:46: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'), 47644, 'SRID=4674;POINT (-40.312774 -2.778328)', '2026-07-17 07:47:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778309)'), GeomFromEWKT('SRID=4674;POINT (-40.312774 -2.778328)'))) / (select extract(epoch from '2026-07-17 07:47:12'::timestamp) - extract(epoch from '2026-07-17 07:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778309)'), GeomFromEWKT('SRID=4674;POINT (-40.312774 -2.778328)'))) / (select extract(epoch from '2026-07-17 07:47:12'::timestamp) - extract(epoch from '2026-07-17 07:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312796 -2.778381)', '2026-07-17 07:47:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312774 -2.778328)'), GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.778381)'))) / (select extract(epoch from '2026-07-17 07:47:16'::timestamp) - extract(epoch from '2026-07-17 07:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312774 -2.778328)'), GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.778381)'))) / (select extract(epoch from '2026-07-17 07:47:16'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47644, 'SRID=4674;POINT (-40.312752 -2.778468)', '2026-07-17 07:47:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.778381)'), GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778468)'))) / (select extract(epoch from '2026-07-17 07:47:23'::timestamp) - extract(epoch from '2026-07-17 07:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312796 -2.778381)'), GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778468)'))) / (select extract(epoch from '2026-07-17 07:47:23'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47644, 'SRID=4674;POINT (-40.312606 -2.778521)', '2026-07-17 07:47:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.312606 -2.778521)'))) / (select extract(epoch from '2026-07-17 07:47:32'::timestamp) - extract(epoch from '2026-07-17 07:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312752 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.312606 -2.778521)'))) / (select extract(epoch from '2026-07-17 07:47:32'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47644, 'SRID=4674;POINT (-40.312458 -2.778594)', '2026-07-17 07:47:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312606 -2.778521)'), GeomFromEWKT('SRID=4674;POINT (-40.312458 -2.778594)'))) / (select extract(epoch from '2026-07-17 07:47:40'::timestamp) - extract(epoch from '2026-07-17 07:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312606 -2.778521)'), GeomFromEWKT('SRID=4674;POINT (-40.312458 -2.778594)'))) / (select extract(epoch from '2026-07-17 07:47:40'::timestamp) - extract(epoch from '2026-07-17 07:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312326 -2.778709)', '2026-07-17 07:47:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312458 -2.778594)'), GeomFromEWKT('SRID=4674;POINT (-40.312326 -2.778709)'))) / (select extract(epoch from '2026-07-17 07:47:49'::timestamp) - extract(epoch from '2026-07-17 07:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312458 -2.778594)'), GeomFromEWKT('SRID=4674;POINT (-40.312326 -2.778709)'))) / (select extract(epoch from '2026-07-17 07:47:49'::timestamp) - extract(epoch from '2026-07-17 07:47: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'), 47644, 'SRID=4674;POINT (-40.312227 -2.778774)', '2026-07-17 07:47:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312326 -2.778709)'), GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.778774)'))) / (select extract(epoch from '2026-07-17 07:47:55'::timestamp) - extract(epoch from '2026-07-17 07:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312326 -2.778709)'), GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.778774)'))) / (select extract(epoch from '2026-07-17 07:47:55'::timestamp) - extract(epoch from '2026-07-17 07:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312148 -2.778872)', '2026-07-17 07:48:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.778774)'), GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.778872)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.778774)'), GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.778872)'))) / (select extract(epoch from '2026-07-17 07:48:01'::timestamp) - extract(epoch from '2026-07-17 07:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312092 -2.779025)', '2026-07-17 07:48:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779025)'))) / (select extract(epoch from '2026-07-17 07:48:09'::timestamp) - extract(epoch from '2026-07-17 07:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779025)'))) / (select extract(epoch from '2026-07-17 07:48:09'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312048 -2.779137)', '2026-07-17 07:48:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779025)'), GeomFromEWKT('SRID=4674;POINT (-40.312048 -2.779137)'))) / (select extract(epoch from '2026-07-17 07:48:15'::timestamp) - extract(epoch from '2026-07-17 07:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779025)'), GeomFromEWKT('SRID=4674;POINT (-40.312048 -2.779137)'))) / (select extract(epoch from '2026-07-17 07:48:15'::timestamp) - extract(epoch from '2026-07-17 07:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31197 -2.779241)', '2026-07-17 07:48:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312048 -2.779137)'), GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779241)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312048 -2.779137)'), GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779241)'))) / (select extract(epoch from '2026-07-17 07:48:22'::timestamp) - extract(epoch from '2026-07-17 07:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311861 -2.779358)', '2026-07-17 07:48:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779241)'), GeomFromEWKT('SRID=4674;POINT (-40.311861 -2.779358)'))) / (select extract(epoch from '2026-07-17 07:48:30'::timestamp) - extract(epoch from '2026-07-17 07:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779241)'), GeomFromEWKT('SRID=4674;POINT (-40.311861 -2.779358)'))) / (select extract(epoch from '2026-07-17 07:48:30'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311784 -2.779467)', '2026-07-17 07:48:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311861 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.311784 -2.779467)'))) / (select extract(epoch from '2026-07-17 07:48:37'::timestamp) - extract(epoch from '2026-07-17 07:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311861 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.311784 -2.779467)'))) / (select extract(epoch from '2026-07-17 07:48:37'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311698 -2.779569)', '2026-07-17 07:48:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311784 -2.779467)'), GeomFromEWKT('SRID=4674;POINT (-40.311698 -2.779569)'))) / (select extract(epoch from '2026-07-17 07:48:44'::timestamp) - extract(epoch from '2026-07-17 07:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311784 -2.779467)'), GeomFromEWKT('SRID=4674;POINT (-40.311698 -2.779569)'))) / (select extract(epoch from '2026-07-17 07:48:44'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47644, 'SRID=4674;POINT (-40.3116 -2.779694)', '2026-07-17 07:48:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311698 -2.779569)'), GeomFromEWKT('SRID=4674;POINT (-40.3116 -2.779694)'))) / (select extract(epoch from '2026-07-17 07:48:52'::timestamp) - extract(epoch from '2026-07-17 07:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311698 -2.779569)'), GeomFromEWKT('SRID=4674;POINT (-40.3116 -2.779694)'))) / (select extract(epoch from '2026-07-17 07:48:52'::timestamp) - extract(epoch from '2026-07-17 07:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311539 -2.779792)', '2026-07-17 07:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3116 -2.779694)'), GeomFromEWKT('SRID=4674;POINT (-40.311539 -2.779792)'))) / (select extract(epoch from '2026-07-17 07:48:58'::timestamp) - extract(epoch from '2026-07-17 07:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3116 -2.779694)'), GeomFromEWKT('SRID=4674;POINT (-40.311539 -2.779792)'))) / (select extract(epoch from '2026-07-17 07:48:58'::timestamp) - extract(epoch from '2026-07-17 07:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311452 -2.7799)', '2026-07-17 07:49:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311539 -2.779792)'), GeomFromEWKT('SRID=4674;POINT (-40.311452 -2.7799)'))) / (select extract(epoch from '2026-07-17 07:49:05'::timestamp) - extract(epoch from '2026-07-17 07:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311539 -2.779792)'), GeomFromEWKT('SRID=4674;POINT (-40.311452 -2.7799)'))) / (select extract(epoch from '2026-07-17 07:49:05'::timestamp) - extract(epoch from '2026-07-17 07:48: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'), 47644, 'SRID=4674;POINT (-40.311374 -2.780019)', '2026-07-17 07:49:12', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311452 -2.7799)'), GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.780019)'))) / (select extract(epoch from '2026-07-17 07:49:12'::timestamp) - extract(epoch from '2026-07-17 07:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311452 -2.7799)'), GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.780019)'))) / (select extract(epoch from '2026-07-17 07:49:12'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311292 -2.780132)', '2026-07-17 07:49:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.780019)'), GeomFromEWKT('SRID=4674;POINT (-40.311292 -2.780132)'))) / (select extract(epoch from '2026-07-17 07:49:20'::timestamp) - extract(epoch from '2026-07-17 07:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.780019)'), GeomFromEWKT('SRID=4674;POINT (-40.311292 -2.780132)'))) / (select extract(epoch from '2026-07-17 07:49:20'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311191 -2.780205)', '2026-07-17 07:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311292 -2.780132)'), GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.780205)'))) / (select extract(epoch from '2026-07-17 07:49:27'::timestamp) - extract(epoch from '2026-07-17 07:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311292 -2.780132)'), GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.780205)'))) / (select extract(epoch from '2026-07-17 07:49:27'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47644, 'SRID=4674;POINT (-40.311082 -2.780319)', '2026-07-17 07:49:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.780205)'), GeomFromEWKT('SRID=4674;POINT (-40.311082 -2.780319)'))) / (select extract(epoch from '2026-07-17 07:49:35'::timestamp) - extract(epoch from '2026-07-17 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.780205)'), GeomFromEWKT('SRID=4674;POINT (-40.311082 -2.780319)'))) / (select extract(epoch from '2026-07-17 07:49:35'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47644, 'SRID=4674;POINT (-40.310984 -2.780364)', '2026-07-17 07:49:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311082 -2.780319)'), GeomFromEWKT('SRID=4674;POINT (-40.310984 -2.780364)'))) / (select extract(epoch from '2026-07-17 07:49:42'::timestamp) - extract(epoch from '2026-07-17 07:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311082 -2.780319)'), GeomFromEWKT('SRID=4674;POINT (-40.310984 -2.780364)'))) / (select extract(epoch from '2026-07-17 07:49:42'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47644, 'SRID=4674;POINT (-40.310946 -2.780342)', '2026-07-17 07:49:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310984 -2.780364)'), GeomFromEWKT('SRID=4674;POINT (-40.310946 -2.780342)'))) / (select extract(epoch from '2026-07-17 07:49:51'::timestamp) - extract(epoch from '2026-07-17 07:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310984 -2.780364)'), GeomFromEWKT('SRID=4674;POINT (-40.310946 -2.780342)'))) / (select extract(epoch from '2026-07-17 07:49:51'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47644, 'SRID=4674;POINT (-40.310947 -2.78027)', '2026-07-17 07:50:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310946 -2.780342)'), GeomFromEWKT('SRID=4674;POINT (-40.310947 -2.78027)'))) / (select extract(epoch from '2026-07-17 07:50:07'::timestamp) - extract(epoch from '2026-07-17 07:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310946 -2.780342)'), GeomFromEWKT('SRID=4674;POINT (-40.310947 -2.78027)'))) / (select extract(epoch from '2026-07-17 07:50:07'::timestamp) - extract(epoch from '2026-07-17 07:49: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'), 47644, 'SRID=4674;POINT (-40.310969 -2.780242)', '2026-07-17 07:50:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310947 -2.78027)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.780242)'))) / (select extract(epoch from '2026-07-17 07:50:17'::timestamp) - extract(epoch from '2026-07-17 07:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310947 -2.78027)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.780242)'))) / (select extract(epoch from '2026-07-17 07:50:17'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47644, 'SRID=4674;POINT (-40.311007 -2.78022)', '2026-07-17 07:50:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.780242)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.78022)'))) / (select extract(epoch from '2026-07-17 07:50:31'::timestamp) - extract(epoch from '2026-07-17 07:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.780242)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.78022)'))) / (select extract(epoch from '2026-07-17 07:50:31'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47644, 'SRID=4674;POINT (-40.311032 -2.780213)', '2026-07-17 07:50:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.78022)'), GeomFromEWKT('SRID=4674;POINT (-40.311032 -2.780213)'))) / (select extract(epoch from '2026-07-17 07:50:41'::timestamp) - extract(epoch from '2026-07-17 07:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.78022)'), GeomFromEWKT('SRID=4674;POINT (-40.311032 -2.780213)'))) / (select extract(epoch from '2026-07-17 07:50:41'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47644, 'SRID=4674;POINT (-40.311063 -2.780201)', '2026-07-17 07:50:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311032 -2.780213)'), GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.780201)'))) / (select extract(epoch from '2026-07-17 07:50:54'::timestamp) - extract(epoch from '2026-07-17 07:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311032 -2.780213)'), GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.780201)'))) / (select extract(epoch from '2026-07-17 07:50:54'::timestamp) - extract(epoch from '2026-07-17 07:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311094 -2.780191)', '2026-07-17 07:51:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.780201)'), GeomFromEWKT('SRID=4674;POINT (-40.311094 -2.780191)'))) / (select extract(epoch from '2026-07-17 07:51:04'::timestamp) - extract(epoch from '2026-07-17 07:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.780201)'), GeomFromEWKT('SRID=4674;POINT (-40.311094 -2.780191)'))) / (select extract(epoch from '2026-07-17 07:51:04'::timestamp) - extract(epoch from '2026-07-17 07:50: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'), 47644, 'SRID=4674;POINT (-40.311116 -2.780184)', '2026-07-17 07:51:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311094 -2.780191)'), GeomFromEWKT('SRID=4674;POINT (-40.311116 -2.780184)'))) / (select extract(epoch from '2026-07-17 07:51:13'::timestamp) - extract(epoch from '2026-07-17 07:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311094 -2.780191)'), GeomFromEWKT('SRID=4674;POINT (-40.311116 -2.780184)'))) / (select extract(epoch from '2026-07-17 07:51:13'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47644, 'SRID=4674;POINT (-40.311135 -2.780177)', '2026-07-17 07:51:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311116 -2.780184)'), GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.780177)'))) / (select extract(epoch from '2026-07-17 07:51:22'::timestamp) - extract(epoch from '2026-07-17 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311116 -2.780184)'), GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.780177)'))) / (select extract(epoch from '2026-07-17 07:51:22'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311151 -2.780166)', '2026-07-17 07:51:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.780177)'), GeomFromEWKT('SRID=4674;POINT (-40.311151 -2.780166)'))) / (select extract(epoch from '2026-07-17 07:51:34'::timestamp) - extract(epoch from '2026-07-17 07:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311135 -2.780177)'), GeomFromEWKT('SRID=4674;POINT (-40.311151 -2.780166)'))) / (select extract(epoch from '2026-07-17 07:51:34'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47644, 'SRID=4674;POINT (-40.311173 -2.780151)', '2026-07-17 07:51:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311151 -2.780166)'), GeomFromEWKT('SRID=4674;POINT (-40.311173 -2.780151)'))) / (select extract(epoch from '2026-07-17 07:51:49'::timestamp) - extract(epoch from '2026-07-17 07:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311151 -2.780166)'), GeomFromEWKT('SRID=4674;POINT (-40.311173 -2.780151)'))) / (select extract(epoch from '2026-07-17 07:51:49'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47644, 'SRID=4674;POINT (-40.311195 -2.78015)', '2026-07-17 07:51:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311173 -2.780151)'), GeomFromEWKT('SRID=4674;POINT (-40.311195 -2.78015)'))) / (select extract(epoch from '2026-07-17 07:51:59'::timestamp) - extract(epoch from '2026-07-17 07:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311173 -2.780151)'), GeomFromEWKT('SRID=4674;POINT (-40.311195 -2.78015)'))) / (select extract(epoch from '2026-07-17 07:51:59'::timestamp) - extract(epoch from '2026-07-17 07:51: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'), 47644, 'SRID=4674;POINT (-40.31121 -2.780148)', '2026-07-17 07:52:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311195 -2.78015)'), GeomFromEWKT('SRID=4674;POINT (-40.31121 -2.780148)'))) / (select extract(epoch from '2026-07-17 07:52:10'::timestamp) - extract(epoch from '2026-07-17 07:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311195 -2.78015)'), GeomFromEWKT('SRID=4674;POINT (-40.31121 -2.780148)'))) / (select extract(epoch from '2026-07-17 07:52:10'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.31124 -2.780144)', '2026-07-17 07:52:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31121 -2.780148)'), GeomFromEWKT('SRID=4674;POINT (-40.31124 -2.780144)'))) / (select extract(epoch from '2026-07-17 07:52:23'::timestamp) - extract(epoch from '2026-07-17 07:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31121 -2.780148)'), GeomFromEWKT('SRID=4674;POINT (-40.31124 -2.780144)'))) / (select extract(epoch from '2026-07-17 07:52:23'::timestamp) - extract(epoch from '2026-07-17 07:52: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'), 47644, 'SRID=4674;POINT (-40.311266 -2.78013)', '2026-07-17 07:52:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31124 -2.780144)'), GeomFromEWKT('SRID=4674;POINT (-40.311266 -2.78013)'))) / (select extract(epoch from '2026-07-17 07:52:35'::timestamp) - extract(epoch from '2026-07-17 07:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31124 -2.780144)'), GeomFromEWKT('SRID=4674;POINT (-40.311266 -2.78013)'))) / (select extract(epoch from '2026-07-17 07:52:35'::timestamp) - extract(epoch from '2026-07-17 07:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311285 -2.780124)', '2026-07-17 07:52:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311266 -2.78013)'), GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.780124)'))) / (select extract(epoch from '2026-07-17 07:52:43'::timestamp) - extract(epoch from '2026-07-17 07:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311266 -2.78013)'), GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.780124)'))) / (select extract(epoch from '2026-07-17 07:52:43'::timestamp) - extract(epoch from '2026-07-17 07:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311305 -2.780116)', '2026-07-17 07:52:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.780124)'), GeomFromEWKT('SRID=4674;POINT (-40.311305 -2.780116)'))) / (select extract(epoch from '2026-07-17 07:52:53'::timestamp) - extract(epoch from '2026-07-17 07:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.780124)'), GeomFromEWKT('SRID=4674;POINT (-40.311305 -2.780116)'))) / (select extract(epoch from '2026-07-17 07:52:53'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311329 -2.780101)', '2026-07-17 07:53:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311305 -2.780116)'), GeomFromEWKT('SRID=4674;POINT (-40.311329 -2.780101)'))) / (select extract(epoch from '2026-07-17 07:53:04'::timestamp) - extract(epoch from '2026-07-17 07:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311305 -2.780116)'), GeomFromEWKT('SRID=4674;POINT (-40.311329 -2.780101)'))) / (select extract(epoch from '2026-07-17 07:53:04'::timestamp) - extract(epoch from '2026-07-17 07:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311353 -2.780098)', '2026-07-17 07:53:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311329 -2.780101)'), GeomFromEWKT('SRID=4674;POINT (-40.311353 -2.780098)'))) / (select extract(epoch from '2026-07-17 07:53:15'::timestamp) - extract(epoch from '2026-07-17 07:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311329 -2.780101)'), GeomFromEWKT('SRID=4674;POINT (-40.311353 -2.780098)'))) / (select extract(epoch from '2026-07-17 07:53:15'::timestamp) - extract(epoch from '2026-07-17 07:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311374 -2.78009)', '2026-07-17 07:53:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311353 -2.780098)'), GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.78009)'))) / (select extract(epoch from '2026-07-17 07:53:29'::timestamp) - extract(epoch from '2026-07-17 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311353 -2.780098)'), GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.78009)'))) / (select extract(epoch from '2026-07-17 07:53:29'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47644, 'SRID=4674;POINT (-40.311393 -2.780088)', '2026-07-17 07:53:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.78009)'), GeomFromEWKT('SRID=4674;POINT (-40.311393 -2.780088)'))) / (select extract(epoch from '2026-07-17 07:53:39'::timestamp) - extract(epoch from '2026-07-17 07:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311374 -2.78009)'), GeomFromEWKT('SRID=4674;POINT (-40.311393 -2.780088)'))) / (select extract(epoch from '2026-07-17 07:53:39'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47644, 'SRID=4674;POINT (-40.31141 -2.78009)', '2026-07-17 07:53:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311393 -2.780088)'), GeomFromEWKT('SRID=4674;POINT (-40.31141 -2.78009)'))) / (select extract(epoch from '2026-07-17 07:53:47'::timestamp) - extract(epoch from '2026-07-17 07:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311393 -2.780088)'), GeomFromEWKT('SRID=4674;POINT (-40.31141 -2.78009)'))) / (select extract(epoch from '2026-07-17 07:53:47'::timestamp) - extract(epoch from '2026-07-17 07:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311431 -2.780088)', '2026-07-17 07:53:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31141 -2.78009)'), GeomFromEWKT('SRID=4674;POINT (-40.311431 -2.780088)'))) / (select extract(epoch from '2026-07-17 07:53:56'::timestamp) - extract(epoch from '2026-07-17 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31141 -2.78009)'), GeomFromEWKT('SRID=4674;POINT (-40.311431 -2.780088)'))) / (select extract(epoch from '2026-07-17 07:53:56'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47644, 'SRID=4674;POINT (-40.31145 -2.780085)', '2026-07-17 07:54:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311431 -2.780088)'), GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.780085)'))) / (select extract(epoch from '2026-07-17 07:54:05'::timestamp) - extract(epoch from '2026-07-17 07:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311431 -2.780088)'), GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.780085)'))) / (select extract(epoch from '2026-07-17 07:54:05'::timestamp) - extract(epoch from '2026-07-17 07:53: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'), 47644, 'SRID=4674;POINT (-40.311479 -2.780082)', '2026-07-17 07:54:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.780085)'), GeomFromEWKT('SRID=4674;POINT (-40.311479 -2.780082)'))) / (select extract(epoch from '2026-07-17 07:54:18'::timestamp) - extract(epoch from '2026-07-17 07:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31145 -2.780085)'), GeomFromEWKT('SRID=4674;POINT (-40.311479 -2.780082)'))) / (select extract(epoch from '2026-07-17 07:54:18'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47644, 'SRID=4674;POINT (-40.311495 -2.780077)', '2026-07-17 07:54:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311479 -2.780082)'), GeomFromEWKT('SRID=4674;POINT (-40.311495 -2.780077)'))) / (select extract(epoch from '2026-07-17 07:54:27'::timestamp) - extract(epoch from '2026-07-17 07:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311479 -2.780082)'), GeomFromEWKT('SRID=4674;POINT (-40.311495 -2.780077)'))) / (select extract(epoch from '2026-07-17 07:54:27'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47644, 'SRID=4674;POINT (-40.311523 -2.780055)', '2026-07-17 07:54:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311495 -2.780077)'), GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.780055)'))) / (select extract(epoch from '2026-07-17 07:54:41'::timestamp) - extract(epoch from '2026-07-17 07:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311495 -2.780077)'), GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.780055)'))) / (select extract(epoch from '2026-07-17 07:54:41'::timestamp) - extract(epoch from '2026-07-17 07:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311555 -2.780034)', '2026-07-17 07:54:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.780055)'), GeomFromEWKT('SRID=4674;POINT (-40.311555 -2.780034)'))) / (select extract(epoch from '2026-07-17 07:54:56'::timestamp) - extract(epoch from '2026-07-17 07:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311523 -2.780055)'), GeomFromEWKT('SRID=4674;POINT (-40.311555 -2.780034)'))) / (select extract(epoch from '2026-07-17 07:54:56'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311582 -2.780022)', '2026-07-17 07:55:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311555 -2.780034)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.780022)'))) / (select extract(epoch from '2026-07-17 07:55:07'::timestamp) - extract(epoch from '2026-07-17 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311555 -2.780034)'), GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.780022)'))) / (select extract(epoch from '2026-07-17 07:55:07'::timestamp) - extract(epoch from '2026-07-17 07:54: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'), 47644, 'SRID=4674;POINT (-40.311615 -2.780015)', '2026-07-17 07:55:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.780022)'), GeomFromEWKT('SRID=4674;POINT (-40.311615 -2.780015)'))) / (select extract(epoch from '2026-07-17 07:55:23'::timestamp) - extract(epoch from '2026-07-17 07:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311582 -2.780022)'), GeomFromEWKT('SRID=4674;POINT (-40.311615 -2.780015)'))) / (select extract(epoch from '2026-07-17 07:55:23'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311645 -2.780003)', '2026-07-17 07:55:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311615 -2.780015)'), GeomFromEWKT('SRID=4674;POINT (-40.311645 -2.780003)'))) / (select extract(epoch from '2026-07-17 07:55:39'::timestamp) - extract(epoch from '2026-07-17 07:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311615 -2.780015)'), GeomFromEWKT('SRID=4674;POINT (-40.311645 -2.780003)'))) / (select extract(epoch from '2026-07-17 07:55:39'::timestamp) - extract(epoch from '2026-07-17 07:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311717 -2.779957)', '2026-07-17 07:56:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311645 -2.780003)'), GeomFromEWKT('SRID=4674;POINT (-40.311717 -2.779957)'))) / (select extract(epoch from '2026-07-17 07:56:13'::timestamp) - extract(epoch from '2026-07-17 07:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311645 -2.780003)'), GeomFromEWKT('SRID=4674;POINT (-40.311717 -2.779957)'))) / (select extract(epoch from '2026-07-17 07:56:13'::timestamp) - extract(epoch from '2026-07-17 07:55: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'), 47644, 'SRID=4674;POINT (-40.311738 -2.779938)', '2026-07-17 07:56:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311717 -2.779957)'), GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.779938)'))) / (select extract(epoch from '2026-07-17 07:56:34'::timestamp) - extract(epoch from '2026-07-17 07:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311717 -2.779957)'), GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.779938)'))) / (select extract(epoch from '2026-07-17 07:56:34'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47644, 'SRID=4674;POINT (-40.311754 -2.779929)', '2026-07-17 07:56:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.311754 -2.779929)'))) / (select extract(epoch from '2026-07-17 07:56:42'::timestamp) - extract(epoch from '2026-07-17 07:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.311754 -2.779929)'))) / (select extract(epoch from '2026-07-17 07:56:42'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47644, 'SRID=4674;POINT (-40.311788 -2.779912)', '2026-07-17 07:56:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311754 -2.779929)'), GeomFromEWKT('SRID=4674;POINT (-40.311788 -2.779912)'))) / (select extract(epoch from '2026-07-17 07:56:56'::timestamp) - extract(epoch from '2026-07-17 07:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311754 -2.779929)'), GeomFromEWKT('SRID=4674;POINT (-40.311788 -2.779912)'))) / (select extract(epoch from '2026-07-17 07:56:56'::timestamp) - extract(epoch from '2026-07-17 07:56: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'), 47644, 'SRID=4674;POINT (-40.311824 -2.779903)', '2026-07-17 07:57:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311788 -2.779912)'), GeomFromEWKT('SRID=4674;POINT (-40.311824 -2.779903)'))) / (select extract(epoch from '2026-07-17 07:57:09'::timestamp) - extract(epoch from '2026-07-17 07:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311788 -2.779912)'), GeomFromEWKT('SRID=4674;POINT (-40.311824 -2.779903)'))) / (select extract(epoch from '2026-07-17 07:57:09'::timestamp) - extract(epoch from '2026-07-17 07:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311849 -2.779896)', '2026-07-17 07:57:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311824 -2.779903)'), GeomFromEWKT('SRID=4674;POINT (-40.311849 -2.779896)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311824 -2.779903)'), GeomFromEWKT('SRID=4674;POINT (-40.311849 -2.779896)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311863 -2.77989)', '2026-07-17 07:57:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311849 -2.779896)'), GeomFromEWKT('SRID=4674;POINT (-40.311863 -2.77989)'))) / (select extract(epoch from '2026-07-17 07:57:30'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311849 -2.779896)'), GeomFromEWKT('SRID=4674;POINT (-40.311863 -2.77989)'))) / (select extract(epoch from '2026-07-17 07:57:30'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311882 -2.779879)', '2026-07-17 07:57:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311863 -2.77989)'), GeomFromEWKT('SRID=4674;POINT (-40.311882 -2.779879)'))) / (select extract(epoch from '2026-07-17 07:57:42'::timestamp) - extract(epoch from '2026-07-17 07:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311863 -2.77989)'), GeomFromEWKT('SRID=4674;POINT (-40.311882 -2.779879)'))) / (select extract(epoch from '2026-07-17 07:57:42'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.311911 -2.779867)', '2026-07-17 07:57:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311882 -2.779879)'), GeomFromEWKT('SRID=4674;POINT (-40.311911 -2.779867)'))) / (select extract(epoch from '2026-07-17 07:57:53'::timestamp) - extract(epoch from '2026-07-17 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311882 -2.779879)'), GeomFromEWKT('SRID=4674;POINT (-40.311911 -2.779867)'))) / (select extract(epoch from '2026-07-17 07:57:53'::timestamp) - extract(epoch from '2026-07-17 07:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311933 -2.779856)', '2026-07-17 07:58:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311911 -2.779867)'), GeomFromEWKT('SRID=4674;POINT (-40.311933 -2.779856)'))) / (select extract(epoch from '2026-07-17 07:58:05'::timestamp) - extract(epoch from '2026-07-17 07:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311911 -2.779867)'), GeomFromEWKT('SRID=4674;POINT (-40.311933 -2.779856)'))) / (select extract(epoch from '2026-07-17 07:58:05'::timestamp) - extract(epoch from '2026-07-17 07:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.311947 -2.779842)', '2026-07-17 07:58:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311933 -2.779856)'), GeomFromEWKT('SRID=4674;POINT (-40.311947 -2.779842)'))) / (select extract(epoch from '2026-07-17 07:58:16'::timestamp) - extract(epoch from '2026-07-17 07:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311933 -2.779856)'), GeomFromEWKT('SRID=4674;POINT (-40.311947 -2.779842)'))) / (select extract(epoch from '2026-07-17 07:58:16'::timestamp) - extract(epoch from '2026-07-17 07:58: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'), 47644, 'SRID=4674;POINT (-40.31197 -2.779815)', '2026-07-17 07:58:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311947 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779815)'))) / (select extract(epoch from '2026-07-17 07:58:34'::timestamp) - extract(epoch from '2026-07-17 07:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311947 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779815)'))) / (select extract(epoch from '2026-07-17 07:58:34'::timestamp) - extract(epoch from '2026-07-17 07:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312002 -2.779798)', '2026-07-17 07:58:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779815)'), GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.779798)'))) / (select extract(epoch from '2026-07-17 07:58:47'::timestamp) - extract(epoch from '2026-07-17 07:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31197 -2.779815)'), GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.779798)'))) / (select extract(epoch from '2026-07-17 07:58:47'::timestamp) - extract(epoch from '2026-07-17 07:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312013 -2.779782)', '2026-07-17 07:58:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.779798)'), GeomFromEWKT('SRID=4674;POINT (-40.312013 -2.779782)'))) / (select extract(epoch from '2026-07-17 07:58:59'::timestamp) - extract(epoch from '2026-07-17 07:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312002 -2.779798)'), GeomFromEWKT('SRID=4674;POINT (-40.312013 -2.779782)'))) / (select extract(epoch from '2026-07-17 07:58:59'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47644, 'SRID=4674;POINT (-40.312041 -2.779768)', '2026-07-17 07:59:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312013 -2.779782)'), GeomFromEWKT('SRID=4674;POINT (-40.312041 -2.779768)'))) / (select extract(epoch from '2026-07-17 07:59:14'::timestamp) - extract(epoch from '2026-07-17 07:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312013 -2.779782)'), GeomFromEWKT('SRID=4674;POINT (-40.312041 -2.779768)'))) / (select extract(epoch from '2026-07-17 07:59:14'::timestamp) - extract(epoch from '2026-07-17 07:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312064 -2.779759)', '2026-07-17 07:59:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312041 -2.779768)'), GeomFromEWKT('SRID=4674;POINT (-40.312064 -2.779759)'))) / (select extract(epoch from '2026-07-17 07:59:26'::timestamp) - extract(epoch from '2026-07-17 07:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312041 -2.779768)'), GeomFromEWKT('SRID=4674;POINT (-40.312064 -2.779759)'))) / (select extract(epoch from '2026-07-17 07:59:26'::timestamp) - extract(epoch from '2026-07-17 07:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312092 -2.779754)', '2026-07-17 07:59:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312064 -2.779759)'), GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779754)'))) / (select extract(epoch from '2026-07-17 07:59:37'::timestamp) - extract(epoch from '2026-07-17 07:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312064 -2.779759)'), GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779754)'))) / (select extract(epoch from '2026-07-17 07:59:37'::timestamp) - extract(epoch from '2026-07-17 07:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31212 -2.779745)', '2026-07-17 07:59:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779754)'), GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.779745)'))) / (select extract(epoch from '2026-07-17 07:59:51'::timestamp) - extract(epoch from '2026-07-17 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312092 -2.779754)'), GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.779745)'))) / (select extract(epoch from '2026-07-17 07:59:51'::timestamp) - extract(epoch from '2026-07-17 07:59: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'), 47644, 'SRID=4674;POINT (-40.312157 -2.779735)', '2026-07-17 08:00:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.779735)'))) / (select extract(epoch from '2026-07-17 08:00:06'::timestamp) - extract(epoch from '2026-07-17 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.779735)'))) / (select extract(epoch from '2026-07-17 08:00:06'::timestamp) - extract(epoch from '2026-07-17 07:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312184 -2.779726)', '2026-07-17 08:00:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.779735)'), GeomFromEWKT('SRID=4674;POINT (-40.312184 -2.779726)'))) / (select extract(epoch from '2026-07-17 08:00:18'::timestamp) - extract(epoch from '2026-07-17 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312157 -2.779735)'), GeomFromEWKT('SRID=4674;POINT (-40.312184 -2.779726)'))) / (select extract(epoch from '2026-07-17 08:00:18'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47644, 'SRID=4674;POINT (-40.312204 -2.77971)', '2026-07-17 08:00:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312184 -2.779726)'), GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.77971)'))) / (select extract(epoch from '2026-07-17 08:00:29'::timestamp) - extract(epoch from '2026-07-17 08:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312184 -2.779726)'), GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.77971)'))) / (select extract(epoch from '2026-07-17 08:00:29'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47644, 'SRID=4674;POINT (-40.312229 -2.779702)', '2026-07-17 08:00:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.77971)'), GeomFromEWKT('SRID=4674;POINT (-40.312229 -2.779702)'))) / (select extract(epoch from '2026-07-17 08:00:41'::timestamp) - extract(epoch from '2026-07-17 08:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.77971)'), GeomFromEWKT('SRID=4674;POINT (-40.312229 -2.779702)'))) / (select extract(epoch from '2026-07-17 08:00:41'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47644, 'SRID=4674;POINT (-40.312259 -2.779699)', '2026-07-17 08:00:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312229 -2.779702)'), GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.779699)'))) / (select extract(epoch from '2026-07-17 08:00:54'::timestamp) - extract(epoch from '2026-07-17 08:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312229 -2.779702)'), GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.779699)'))) / (select extract(epoch from '2026-07-17 08:00:54'::timestamp) - extract(epoch from '2026-07-17 08:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312292 -2.779686)', '2026-07-17 08:01:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.779699)'), GeomFromEWKT('SRID=4674;POINT (-40.312292 -2.779686)'))) / (select extract(epoch from '2026-07-17 08:01:06'::timestamp) - extract(epoch from '2026-07-17 08:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.779699)'), GeomFromEWKT('SRID=4674;POINT (-40.312292 -2.779686)'))) / (select extract(epoch from '2026-07-17 08:01:06'::timestamp) - extract(epoch from '2026-07-17 08:00: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'), 47644, 'SRID=4674;POINT (-40.312325 -2.779669)', '2026-07-17 08:01:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312292 -2.779686)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.779669)'))) / (select extract(epoch from '2026-07-17 08:01:19'::timestamp) - extract(epoch from '2026-07-17 08:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312292 -2.779686)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.779669)'))) / (select extract(epoch from '2026-07-17 08:01:19'::timestamp) - extract(epoch from '2026-07-17 08:01: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'), 47644, 'SRID=4674;POINT (-40.312357 -2.779662)', '2026-07-17 08:01:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.779669)'), GeomFromEWKT('SRID=4674;POINT (-40.312357 -2.779662)'))) / (select extract(epoch from '2026-07-17 08:01:31'::timestamp) - extract(epoch from '2026-07-17 08:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.779669)'), GeomFromEWKT('SRID=4674;POINT (-40.312357 -2.779662)'))) / (select extract(epoch from '2026-07-17 08:01:31'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.31238 -2.779659)', '2026-07-17 08:01:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312357 -2.779662)'), GeomFromEWKT('SRID=4674;POINT (-40.31238 -2.779659)'))) / (select extract(epoch from '2026-07-17 08:01:41'::timestamp) - extract(epoch from '2026-07-17 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312357 -2.779662)'), GeomFromEWKT('SRID=4674;POINT (-40.31238 -2.779659)'))) / (select extract(epoch from '2026-07-17 08:01:41'::timestamp) - extract(epoch from '2026-07-17 08:01: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'), 47644, 'SRID=4674;POINT (-40.312423 -2.779649)', '2026-07-17 08:01:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31238 -2.779659)'), GeomFromEWKT('SRID=4674;POINT (-40.312423 -2.779649)'))) / (select extract(epoch from '2026-07-17 08:01:56'::timestamp) - extract(epoch from '2026-07-17 08:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31238 -2.779659)'), GeomFromEWKT('SRID=4674;POINT (-40.312423 -2.779649)'))) / (select extract(epoch from '2026-07-17 08:01:56'::timestamp) - extract(epoch from '2026-07-17 08:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312431 -2.779602)', '2026-07-17 08:02:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312423 -2.779649)'), GeomFromEWKT('SRID=4674;POINT (-40.312431 -2.779602)'))) / (select extract(epoch from '2026-07-17 08:02:06'::timestamp) - extract(epoch from '2026-07-17 08:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312423 -2.779649)'), GeomFromEWKT('SRID=4674;POINT (-40.312431 -2.779602)'))) / (select extract(epoch from '2026-07-17 08:02:06'::timestamp) - extract(epoch from '2026-07-17 08:01: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'), 47644, 'SRID=4674;POINT (-40.312461 -2.779536)', '2026-07-17 08:02:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312431 -2.779602)'), GeomFromEWKT('SRID=4674;POINT (-40.312461 -2.779536)'))) / (select extract(epoch from '2026-07-17 08:02:11'::timestamp) - extract(epoch from '2026-07-17 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312431 -2.779602)'), GeomFromEWKT('SRID=4674;POINT (-40.312461 -2.779536)'))) / (select extract(epoch from '2026-07-17 08:02:11'::timestamp) - extract(epoch from '2026-07-17 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.312595 -2.779475)', '2026-07-17 08:02:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312461 -2.779536)'), GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.779475)'))) / (select extract(epoch from '2026-07-17 08:02:18'::timestamp) - extract(epoch from '2026-07-17 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312461 -2.779536)'), GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.779475)'))) / (select extract(epoch from '2026-07-17 08:02:18'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47644, 'SRID=4674;POINT (-40.312738 -2.779453)', '2026-07-17 08:02:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.312738 -2.779453)'))) / (select extract(epoch from '2026-07-17 08:02:24'::timestamp) - extract(epoch from '2026-07-17 08:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.312738 -2.779453)'))) / (select extract(epoch from '2026-07-17 08:02:24'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47644, 'SRID=4674;POINT (-40.312846 -2.779421)', '2026-07-17 08:02:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312738 -2.779453)'), GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.779421)'))) / (select extract(epoch from '2026-07-17 08:02:29'::timestamp) - extract(epoch from '2026-07-17 08:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312738 -2.779453)'), GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.779421)'))) / (select extract(epoch from '2026-07-17 08:02:29'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.313005 -2.779372)', '2026-07-17 08:02:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.779421)'), GeomFromEWKT('SRID=4674;POINT (-40.313005 -2.779372)'))) / (select extract(epoch from '2026-07-17 08:02:36'::timestamp) - extract(epoch from '2026-07-17 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.779421)'), GeomFromEWKT('SRID=4674;POINT (-40.313005 -2.779372)'))) / (select extract(epoch from '2026-07-17 08:02:36'::timestamp) - extract(epoch from '2026-07-17 08:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.313152 -2.779341)', '2026-07-17 08:02:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313005 -2.779372)'), GeomFromEWKT('SRID=4674;POINT (-40.313152 -2.779341)'))) / (select extract(epoch from '2026-07-17 08:02:42'::timestamp) - extract(epoch from '2026-07-17 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313005 -2.779372)'), GeomFromEWKT('SRID=4674;POINT (-40.313152 -2.779341)'))) / (select extract(epoch from '2026-07-17 08:02:42'::timestamp) - extract(epoch from '2026-07-17 08:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.313294 -2.779315)', '2026-07-17 08:02:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313152 -2.779341)'), GeomFromEWKT('SRID=4674;POINT (-40.313294 -2.779315)'))) / (select extract(epoch from '2026-07-17 08:02:48'::timestamp) - extract(epoch from '2026-07-17 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313152 -2.779341)'), GeomFromEWKT('SRID=4674;POINT (-40.313294 -2.779315)'))) / (select extract(epoch from '2026-07-17 08:02:48'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47644, 'SRID=4674;POINT (-40.313426 -2.779282)', '2026-07-17 08:02:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313294 -2.779315)'), GeomFromEWKT('SRID=4674;POINT (-40.313426 -2.779282)'))) / (select extract(epoch from '2026-07-17 08:02:53'::timestamp) - extract(epoch from '2026-07-17 08:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313294 -2.779315)'), GeomFromEWKT('SRID=4674;POINT (-40.313426 -2.779282)'))) / (select extract(epoch from '2026-07-17 08:02:53'::timestamp) - extract(epoch from '2026-07-17 08:02: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'), 47644, 'SRID=4674;POINT (-40.313575 -2.779213)', '2026-07-17 08:03:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313426 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.779213)'))) / (select extract(epoch from '2026-07-17 08:03:00'::timestamp) - extract(epoch from '2026-07-17 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313426 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.779213)'))) / (select extract(epoch from '2026-07-17 08:03:00'::timestamp) - extract(epoch from '2026-07-17 08:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.313729 -2.77922)', '2026-07-17 08:03:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.779213)'), GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.77922)'))) / (select extract(epoch from '2026-07-17 08:03:07'::timestamp) - extract(epoch from '2026-07-17 08:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313575 -2.779213)'), GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.77922)'))) / (select extract(epoch from '2026-07-17 08:03:07'::timestamp) - extract(epoch from '2026-07-17 08:03: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'), 47644, 'SRID=4674;POINT (-40.313855 -2.779298)', '2026-07-17 08:03:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.77922)'), GeomFromEWKT('SRID=4674;POINT (-40.313855 -2.779298)'))) / (select extract(epoch from '2026-07-17 08:03:14'::timestamp) - extract(epoch from '2026-07-17 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.77922)'), GeomFromEWKT('SRID=4674;POINT (-40.313855 -2.779298)'))) / (select extract(epoch from '2026-07-17 08:03:14'::timestamp) - extract(epoch from '2026-07-17 08:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.314064 -2.779327)', '2026-07-17 08:03:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313855 -2.779298)'), GeomFromEWKT('SRID=4674;POINT (-40.314064 -2.779327)'))) / (select extract(epoch from '2026-07-17 08:03:23'::timestamp) - extract(epoch from '2026-07-17 08:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313855 -2.779298)'), GeomFromEWKT('SRID=4674;POINT (-40.314064 -2.779327)'))) / (select extract(epoch from '2026-07-17 08:03:23'::timestamp) - extract(epoch from '2026-07-17 08:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.314202 -2.779324)', '2026-07-17 08:03:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314064 -2.779327)'), GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.779324)'))) / (select extract(epoch from '2026-07-17 08:03:29'::timestamp) - extract(epoch from '2026-07-17 08:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314064 -2.779327)'), GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.779324)'))) / (select extract(epoch from '2026-07-17 08:03:29'::timestamp) - extract(epoch from '2026-07-17 08:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.314368 -2.779328)', '2026-07-17 08:03:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.779324)'), GeomFromEWKT('SRID=4674;POINT (-40.314368 -2.779328)'))) / (select extract(epoch from '2026-07-17 08:03:36'::timestamp) - extract(epoch from '2026-07-17 08:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.779324)'), GeomFromEWKT('SRID=4674;POINT (-40.314368 -2.779328)'))) / (select extract(epoch from '2026-07-17 08:03:36'::timestamp) - extract(epoch from '2026-07-17 08:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.314504 -2.779339)', '2026-07-17 08:03:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314368 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.779339)'))) / (select extract(epoch from '2026-07-17 08:03:42'::timestamp) - extract(epoch from '2026-07-17 08:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314368 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.779339)'))) / (select extract(epoch from '2026-07-17 08:03:42'::timestamp) - extract(epoch from '2026-07-17 08:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.314646 -2.779351)', '2026-07-17 08:03:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.779339)'), GeomFromEWKT('SRID=4674;POINT (-40.314646 -2.779351)'))) / (select extract(epoch from '2026-07-17 08:03:48'::timestamp) - extract(epoch from '2026-07-17 08:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314504 -2.779339)'), GeomFromEWKT('SRID=4674;POINT (-40.314646 -2.779351)'))) / (select extract(epoch from '2026-07-17 08:03:48'::timestamp) - extract(epoch from '2026-07-17 08:03: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'), 47644, 'SRID=4674;POINT (-40.314793 -2.779345)', '2026-07-17 08:03:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314646 -2.779351)'), GeomFromEWKT('SRID=4674;POINT (-40.314793 -2.779345)'))) / (select extract(epoch from '2026-07-17 08:03:54'::timestamp) - extract(epoch from '2026-07-17 08:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314646 -2.779351)'), GeomFromEWKT('SRID=4674;POINT (-40.314793 -2.779345)'))) / (select extract(epoch from '2026-07-17 08:03:54'::timestamp) - extract(epoch from '2026-07-17 08:03: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'), 47644, 'SRID=4674;POINT (-40.314936 -2.779322)', '2026-07-17 08:04:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314793 -2.779345)'), GeomFromEWKT('SRID=4674;POINT (-40.314936 -2.779322)'))) / (select extract(epoch from '2026-07-17 08:04:00'::timestamp) - extract(epoch from '2026-07-17 08:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314793 -2.779345)'), GeomFromEWKT('SRID=4674;POINT (-40.314936 -2.779322)'))) / (select extract(epoch from '2026-07-17 08:04:00'::timestamp) - extract(epoch from '2026-07-17 08:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.315087 -2.779285)', '2026-07-17 08:04:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314936 -2.779322)'), GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.779285)'))) / (select extract(epoch from '2026-07-17 08:04:06'::timestamp) - extract(epoch from '2026-07-17 08:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314936 -2.779322)'), GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.779285)'))) / (select extract(epoch from '2026-07-17 08:04:06'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.315205 -2.779261)', '2026-07-17 08:04:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.779285)'), GeomFromEWKT('SRID=4674;POINT (-40.315205 -2.779261)'))) / (select extract(epoch from '2026-07-17 08:04:11'::timestamp) - extract(epoch from '2026-07-17 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315087 -2.779285)'), GeomFromEWKT('SRID=4674;POINT (-40.315205 -2.779261)'))) / (select extract(epoch from '2026-07-17 08:04:11'::timestamp) - extract(epoch from '2026-07-17 08:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.315374 -2.779213)', '2026-07-17 08:04:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315205 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.315374 -2.779213)'))) / (select extract(epoch from '2026-07-17 08:04:18'::timestamp) - extract(epoch from '2026-07-17 08:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315205 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.315374 -2.779213)'))) / (select extract(epoch from '2026-07-17 08:04:18'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.315523 -2.779175)', '2026-07-17 08:04:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315374 -2.779213)'), GeomFromEWKT('SRID=4674;POINT (-40.315523 -2.779175)'))) / (select extract(epoch from '2026-07-17 08:04:25'::timestamp) - extract(epoch from '2026-07-17 08:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315374 -2.779213)'), GeomFromEWKT('SRID=4674;POINT (-40.315523 -2.779175)'))) / (select extract(epoch from '2026-07-17 08:04:25'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.315698 -2.779135)', '2026-07-17 08:04:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315523 -2.779175)'), GeomFromEWKT('SRID=4674;POINT (-40.315698 -2.779135)'))) / (select extract(epoch from '2026-07-17 08:04:33'::timestamp) - extract(epoch from '2026-07-17 08:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315523 -2.779175)'), GeomFromEWKT('SRID=4674;POINT (-40.315698 -2.779135)'))) / (select extract(epoch from '2026-07-17 08:04:33'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.31587 -2.779068)', '2026-07-17 08:04:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315698 -2.779135)'), GeomFromEWKT('SRID=4674;POINT (-40.31587 -2.779068)'))) / (select extract(epoch from '2026-07-17 08:04:41'::timestamp) - extract(epoch from '2026-07-17 08:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315698 -2.779135)'), GeomFromEWKT('SRID=4674;POINT (-40.31587 -2.779068)'))) / (select extract(epoch from '2026-07-17 08:04:41'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.316002 -2.778997)', '2026-07-17 08:04:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31587 -2.779068)'), GeomFromEWKT('SRID=4674;POINT (-40.316002 -2.778997)'))) / (select extract(epoch from '2026-07-17 08:04:47'::timestamp) - extract(epoch from '2026-07-17 08:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31587 -2.779068)'), GeomFromEWKT('SRID=4674;POINT (-40.316002 -2.778997)'))) / (select extract(epoch from '2026-07-17 08:04:47'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.316113 -2.778907)', '2026-07-17 08:04:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316002 -2.778997)'), GeomFromEWKT('SRID=4674;POINT (-40.316113 -2.778907)'))) / (select extract(epoch from '2026-07-17 08:04:53'::timestamp) - extract(epoch from '2026-07-17 08:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316002 -2.778997)'), GeomFromEWKT('SRID=4674;POINT (-40.316113 -2.778907)'))) / (select extract(epoch from '2026-07-17 08:04:53'::timestamp) - extract(epoch from '2026-07-17 08:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.316268 -2.778838)', '2026-07-17 08:05:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316113 -2.778907)'), GeomFromEWKT('SRID=4674;POINT (-40.316268 -2.778838)'))) / (select extract(epoch from '2026-07-17 08:05:00'::timestamp) - extract(epoch from '2026-07-17 08:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316113 -2.778907)'), GeomFromEWKT('SRID=4674;POINT (-40.316268 -2.778838)'))) / (select extract(epoch from '2026-07-17 08:05:00'::timestamp) - extract(epoch from '2026-07-17 08:04: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'), 47644, 'SRID=4674;POINT (-40.316369 -2.778786)', '2026-07-17 08:05:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316268 -2.778838)'), GeomFromEWKT('SRID=4674;POINT (-40.316369 -2.778786)'))) / (select extract(epoch from '2026-07-17 08:05:05'::timestamp) - extract(epoch from '2026-07-17 08:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316268 -2.778838)'), GeomFromEWKT('SRID=4674;POINT (-40.316369 -2.778786)'))) / (select extract(epoch from '2026-07-17 08:05:05'::timestamp) - extract(epoch from '2026-07-17 08:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.316492 -2.778711)', '2026-07-17 08:05:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316369 -2.778786)'), GeomFromEWKT('SRID=4674;POINT (-40.316492 -2.778711)'))) / (select extract(epoch from '2026-07-17 08:05:11'::timestamp) - extract(epoch from '2026-07-17 08:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316369 -2.778786)'), GeomFromEWKT('SRID=4674;POINT (-40.316492 -2.778711)'))) / (select extract(epoch from '2026-07-17 08:05:11'::timestamp) - extract(epoch from '2026-07-17 08:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.316623 -2.778625)', '2026-07-17 08:05:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316492 -2.778711)'), GeomFromEWKT('SRID=4674;POINT (-40.316623 -2.778625)'))) / (select extract(epoch from '2026-07-17 08:05:18'::timestamp) - extract(epoch from '2026-07-17 08:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316492 -2.778711)'), GeomFromEWKT('SRID=4674;POINT (-40.316623 -2.778625)'))) / (select extract(epoch from '2026-07-17 08:05:18'::timestamp) - extract(epoch from '2026-07-17 08:05: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'), 47644, 'SRID=4674;POINT (-40.31678 -2.778522)', '2026-07-17 08:05:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316623 -2.778625)'), GeomFromEWKT('SRID=4674;POINT (-40.31678 -2.778522)'))) / (select extract(epoch from '2026-07-17 08:05:26'::timestamp) - extract(epoch from '2026-07-17 08:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316623 -2.778625)'), GeomFromEWKT('SRID=4674;POINT (-40.31678 -2.778522)'))) / (select extract(epoch from '2026-07-17 08:05:26'::timestamp) - extract(epoch from '2026-07-17 08:05: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'), 47644, 'SRID=4674;POINT (-40.316958 -2.778421)', '2026-07-17 08:05:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31678 -2.778522)'), GeomFromEWKT('SRID=4674;POINT (-40.316958 -2.778421)'))) / (select extract(epoch from '2026-07-17 08:05:35'::timestamp) - extract(epoch from '2026-07-17 08:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31678 -2.778522)'), GeomFromEWKT('SRID=4674;POINT (-40.316958 -2.778421)'))) / (select extract(epoch from '2026-07-17 08:05:35'::timestamp) - extract(epoch from '2026-07-17 08:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.317106 -2.778314)', '2026-07-17 08:05:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316958 -2.778421)'), GeomFromEWKT('SRID=4674;POINT (-40.317106 -2.778314)'))) / (select extract(epoch from '2026-07-17 08:05:43'::timestamp) - extract(epoch from '2026-07-17 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316958 -2.778421)'), GeomFromEWKT('SRID=4674;POINT (-40.317106 -2.778314)'))) / (select extract(epoch from '2026-07-17 08:05:43'::timestamp) - extract(epoch from '2026-07-17 08:05: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'), 47644, 'SRID=4674;POINT (-40.31724 -2.778218)', '2026-07-17 08:05:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317106 -2.778314)'), GeomFromEWKT('SRID=4674;POINT (-40.31724 -2.778218)'))) / (select extract(epoch from '2026-07-17 08:05:50'::timestamp) - extract(epoch from '2026-07-17 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317106 -2.778314)'), GeomFromEWKT('SRID=4674;POINT (-40.31724 -2.778218)'))) / (select extract(epoch from '2026-07-17 08:05:50'::timestamp) - extract(epoch from '2026-07-17 08:05: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'), 47644, 'SRID=4674;POINT (-40.31735 -2.778087)', '2026-07-17 08:05:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31724 -2.778218)'), GeomFromEWKT('SRID=4674;POINT (-40.31735 -2.778087)'))) / (select extract(epoch from '2026-07-17 08:05:57'::timestamp) - extract(epoch from '2026-07-17 08:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31724 -2.778218)'), GeomFromEWKT('SRID=4674;POINT (-40.31735 -2.778087)'))) / (select extract(epoch from '2026-07-17 08:05:57'::timestamp) - extract(epoch from '2026-07-17 08:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.317407 -2.777934)', '2026-07-17 08:06:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31735 -2.778087)'), GeomFromEWKT('SRID=4674;POINT (-40.317407 -2.777934)'))) / (select extract(epoch from '2026-07-17 08:06:04'::timestamp) - extract(epoch from '2026-07-17 08:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31735 -2.778087)'), GeomFromEWKT('SRID=4674;POINT (-40.317407 -2.777934)'))) / (select extract(epoch from '2026-07-17 08:06:04'::timestamp) - extract(epoch from '2026-07-17 08:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.317465 -2.777818)', '2026-07-17 08:06:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317407 -2.777934)'), GeomFromEWKT('SRID=4674;POINT (-40.317465 -2.777818)'))) / (select extract(epoch from '2026-07-17 08:06:10'::timestamp) - extract(epoch from '2026-07-17 08:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317407 -2.777934)'), GeomFromEWKT('SRID=4674;POINT (-40.317465 -2.777818)'))) / (select extract(epoch from '2026-07-17 08:06:10'::timestamp) - extract(epoch from '2026-07-17 08:06: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'), 47644, 'SRID=4674;POINT (-40.317567 -2.777713)', '2026-07-17 08:06:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317465 -2.777818)'), GeomFromEWKT('SRID=4674;POINT (-40.317567 -2.777713)'))) / (select extract(epoch from '2026-07-17 08:06:17'::timestamp) - extract(epoch from '2026-07-17 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317465 -2.777818)'), GeomFromEWKT('SRID=4674;POINT (-40.317567 -2.777713)'))) / (select extract(epoch from '2026-07-17 08:06:17'::timestamp) - extract(epoch from '2026-07-17 08:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.317721 -2.777598)', '2026-07-17 08:06:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317567 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.317721 -2.777598)'))) / (select extract(epoch from '2026-07-17 08:06:25'::timestamp) - extract(epoch from '2026-07-17 08:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317567 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.317721 -2.777598)'))) / (select extract(epoch from '2026-07-17 08:06:25'::timestamp) - extract(epoch from '2026-07-17 08:06: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'), 47644, 'SRID=4674;POINT (-40.31784 -2.777456)', '2026-07-17 08:06:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317721 -2.777598)'), GeomFromEWKT('SRID=4674;POINT (-40.31784 -2.777456)'))) / (select extract(epoch from '2026-07-17 08:06:33'::timestamp) - extract(epoch from '2026-07-17 08:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317721 -2.777598)'), GeomFromEWKT('SRID=4674;POINT (-40.31784 -2.777456)'))) / (select extract(epoch from '2026-07-17 08:06:33'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.317965 -2.777279)', '2026-07-17 08:06:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31784 -2.777456)'), GeomFromEWKT('SRID=4674;POINT (-40.317965 -2.777279)'))) / (select extract(epoch from '2026-07-17 08:06:42'::timestamp) - extract(epoch from '2026-07-17 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31784 -2.777456)'), GeomFromEWKT('SRID=4674;POINT (-40.317965 -2.777279)'))) / (select extract(epoch from '2026-07-17 08:06:42'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.318081 -2.777161)', '2026-07-17 08:06:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317965 -2.777279)'), GeomFromEWKT('SRID=4674;POINT (-40.318081 -2.777161)'))) / (select extract(epoch from '2026-07-17 08:06:49'::timestamp) - extract(epoch from '2026-07-17 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317965 -2.777279)'), GeomFromEWKT('SRID=4674;POINT (-40.318081 -2.777161)'))) / (select extract(epoch from '2026-07-17 08:06:49'::timestamp) - extract(epoch from '2026-07-17 08:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.318204 -2.777054)', '2026-07-17 08:06:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318081 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.318204 -2.777054)'))) / (select extract(epoch from '2026-07-17 08:06:56'::timestamp) - extract(epoch from '2026-07-17 08:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318081 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.318204 -2.777054)'))) / (select extract(epoch from '2026-07-17 08:06:56'::timestamp) - extract(epoch from '2026-07-17 08:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.318308 -2.77694)', '2026-07-17 08:07:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318204 -2.777054)'), GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.77694)'))) / (select extract(epoch from '2026-07-17 08:07:02'::timestamp) - extract(epoch from '2026-07-17 08:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318204 -2.777054)'), GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.77694)'))) / (select extract(epoch from '2026-07-17 08:07:02'::timestamp) - extract(epoch from '2026-07-17 08:06: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'), 47644, 'SRID=4674;POINT (-40.31844 -2.776743)', '2026-07-17 08:07:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.77694)'), GeomFromEWKT('SRID=4674;POINT (-40.31844 -2.776743)'))) / (select extract(epoch from '2026-07-17 08:07:12'::timestamp) - extract(epoch from '2026-07-17 08:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.77694)'), GeomFromEWKT('SRID=4674;POINT (-40.31844 -2.776743)'))) / (select extract(epoch from '2026-07-17 08:07:12'::timestamp) - extract(epoch from '2026-07-17 08:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31854 -2.776579)', '2026-07-17 08:07:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31844 -2.776743)'), GeomFromEWKT('SRID=4674;POINT (-40.31854 -2.776579)'))) / (select extract(epoch from '2026-07-17 08:07:20'::timestamp) - extract(epoch from '2026-07-17 08:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31844 -2.776743)'), GeomFromEWKT('SRID=4674;POINT (-40.31854 -2.776579)'))) / (select extract(epoch from '2026-07-17 08:07:20'::timestamp) - extract(epoch from '2026-07-17 08:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.318615 -2.776401)', '2026-07-17 08:07:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31854 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.318615 -2.776401)'))) / (select extract(epoch from '2026-07-17 08:07:28'::timestamp) - extract(epoch from '2026-07-17 08:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31854 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.318615 -2.776401)'))) / (select extract(epoch from '2026-07-17 08:07:28'::timestamp) - extract(epoch from '2026-07-17 08:07: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'), 47644, 'SRID=4674;POINT (-40.318715 -2.776264)', '2026-07-17 08:07:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318615 -2.776401)'), GeomFromEWKT('SRID=4674;POINT (-40.318715 -2.776264)'))) / (select extract(epoch from '2026-07-17 08:07:35'::timestamp) - extract(epoch from '2026-07-17 08:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318615 -2.776401)'), GeomFromEWKT('SRID=4674;POINT (-40.318715 -2.776264)'))) / (select extract(epoch from '2026-07-17 08:07:35'::timestamp) - extract(epoch from '2026-07-17 08:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.31884 -2.776129)', '2026-07-17 08:07:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318715 -2.776264)'), GeomFromEWKT('SRID=4674;POINT (-40.31884 -2.776129)'))) / (select extract(epoch from '2026-07-17 08:07:43'::timestamp) - extract(epoch from '2026-07-17 08:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318715 -2.776264)'), GeomFromEWKT('SRID=4674;POINT (-40.31884 -2.776129)'))) / (select extract(epoch from '2026-07-17 08:07:43'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.318858 -2.775995)', '2026-07-17 08:07:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31884 -2.776129)'), GeomFromEWKT('SRID=4674;POINT (-40.318858 -2.775995)'))) / (select extract(epoch from '2026-07-17 08:07:49'::timestamp) - extract(epoch from '2026-07-17 08:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31884 -2.776129)'), GeomFromEWKT('SRID=4674;POINT (-40.318858 -2.775995)'))) / (select extract(epoch from '2026-07-17 08:07:49'::timestamp) - extract(epoch from '2026-07-17 08:07: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'), 47644, 'SRID=4674;POINT (-40.318861 -2.775857)', '2026-07-17 08:07:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318858 -2.775995)'), GeomFromEWKT('SRID=4674;POINT (-40.318861 -2.775857)'))) / (select extract(epoch from '2026-07-17 08:07:55'::timestamp) - extract(epoch from '2026-07-17 08:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318858 -2.775995)'), GeomFromEWKT('SRID=4674;POINT (-40.318861 -2.775857)'))) / (select extract(epoch from '2026-07-17 08:07:55'::timestamp) - extract(epoch from '2026-07-17 08:07: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'), 47644, 'SRID=4674;POINT (-40.318927 -2.775748)', '2026-07-17 08:08:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318861 -2.775857)'), GeomFromEWKT('SRID=4674;POINT (-40.318927 -2.775748)'))) / (select extract(epoch from '2026-07-17 08:08:01'::timestamp) - extract(epoch from '2026-07-17 08:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318861 -2.775857)'), GeomFromEWKT('SRID=4674;POINT (-40.318927 -2.775748)'))) / (select extract(epoch from '2026-07-17 08:08:01'::timestamp) - extract(epoch from '2026-07-17 08:07: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'), 47644, 'SRID=4674;POINT (-40.319006 -2.775666)', '2026-07-17 08:08:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318927 -2.775748)'), GeomFromEWKT('SRID=4674;POINT (-40.319006 -2.775666)'))) / (select extract(epoch from '2026-07-17 08:08:06'::timestamp) - extract(epoch from '2026-07-17 08:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318927 -2.775748)'), GeomFromEWKT('SRID=4674;POINT (-40.319006 -2.775666)'))) / (select extract(epoch from '2026-07-17 08:08:06'::timestamp) - extract(epoch from '2026-07-17 08:08: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'), 47644, 'SRID=4674;POINT (-40.319147 -2.775568)', '2026-07-17 08:08:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319006 -2.775666)'), GeomFromEWKT('SRID=4674;POINT (-40.319147 -2.775568)'))) / (select extract(epoch from '2026-07-17 08:08:13'::timestamp) - extract(epoch from '2026-07-17 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319006 -2.775666)'), GeomFromEWKT('SRID=4674;POINT (-40.319147 -2.775568)'))) / (select extract(epoch from '2026-07-17 08:08:13'::timestamp) - extract(epoch from '2026-07-17 08:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.319252 -2.775478)', '2026-07-17 08:08:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319147 -2.775568)'), GeomFromEWKT('SRID=4674;POINT (-40.319252 -2.775478)'))) / (select extract(epoch from '2026-07-17 08:08:19'::timestamp) - extract(epoch from '2026-07-17 08:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319147 -2.775568)'), GeomFromEWKT('SRID=4674;POINT (-40.319252 -2.775478)'))) / (select extract(epoch from '2026-07-17 08:08:19'::timestamp) - extract(epoch from '2026-07-17 08:08: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'), 47644, 'SRID=4674;POINT (-40.319312 -2.77536)', '2026-07-17 08:08:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319252 -2.775478)'), GeomFromEWKT('SRID=4674;POINT (-40.319312 -2.77536)'))) / (select extract(epoch from '2026-07-17 08:08:25'::timestamp) - extract(epoch from '2026-07-17 08:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319252 -2.775478)'), GeomFromEWKT('SRID=4674;POINT (-40.319312 -2.77536)'))) / (select extract(epoch from '2026-07-17 08:08:25'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.319353 -2.775205)', '2026-07-17 08:08:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319312 -2.77536)'), GeomFromEWKT('SRID=4674;POINT (-40.319353 -2.775205)'))) / (select extract(epoch from '2026-07-17 08:08:32'::timestamp) - extract(epoch from '2026-07-17 08:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319312 -2.77536)'), GeomFromEWKT('SRID=4674;POINT (-40.319353 -2.775205)'))) / (select extract(epoch from '2026-07-17 08:08:32'::timestamp) - extract(epoch from '2026-07-17 08:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.319444 -2.775143)', '2026-07-17 08:08:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319353 -2.775205)'), GeomFromEWKT('SRID=4674;POINT (-40.319444 -2.775143)'))) / (select extract(epoch from '2026-07-17 08:08:37'::timestamp) - extract(epoch from '2026-07-17 08:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319353 -2.775205)'), GeomFromEWKT('SRID=4674;POINT (-40.319444 -2.775143)'))) / (select extract(epoch from '2026-07-17 08:08:37'::timestamp) - extract(epoch from '2026-07-17 08:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.319599 -2.775079)', '2026-07-17 08:08:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319444 -2.775143)'), GeomFromEWKT('SRID=4674;POINT (-40.319599 -2.775079)'))) / (select extract(epoch from '2026-07-17 08:08:44'::timestamp) - extract(epoch from '2026-07-17 08:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319444 -2.775143)'), GeomFromEWKT('SRID=4674;POINT (-40.319599 -2.775079)'))) / (select extract(epoch from '2026-07-17 08:08:44'::timestamp) - extract(epoch from '2026-07-17 08:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.319746 -2.775034)', '2026-07-17 08:08:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319599 -2.775079)'), GeomFromEWKT('SRID=4674;POINT (-40.319746 -2.775034)'))) / (select extract(epoch from '2026-07-17 08:08:50'::timestamp) - extract(epoch from '2026-07-17 08:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319599 -2.775079)'), GeomFromEWKT('SRID=4674;POINT (-40.319746 -2.775034)'))) / (select extract(epoch from '2026-07-17 08:08:50'::timestamp) - extract(epoch from '2026-07-17 08:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.319903 -2.774937)', '2026-07-17 08:08:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319746 -2.775034)'), GeomFromEWKT('SRID=4674;POINT (-40.319903 -2.774937)'))) / (select extract(epoch from '2026-07-17 08:08:58'::timestamp) - extract(epoch from '2026-07-17 08:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319746 -2.775034)'), GeomFromEWKT('SRID=4674;POINT (-40.319903 -2.774937)'))) / (select extract(epoch from '2026-07-17 08:08:58'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320003 -2.77483)', '2026-07-17 08:09:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319903 -2.774937)'), GeomFromEWKT('SRID=4674;POINT (-40.320003 -2.77483)'))) / (select extract(epoch from '2026-07-17 08:09:04'::timestamp) - extract(epoch from '2026-07-17 08:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319903 -2.774937)'), GeomFromEWKT('SRID=4674;POINT (-40.320003 -2.77483)'))) / (select extract(epoch from '2026-07-17 08:09:04'::timestamp) - extract(epoch from '2026-07-17 08:08: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'), 47644, 'SRID=4674;POINT (-40.320125 -2.774773)', '2026-07-17 08:09:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320003 -2.77483)'), GeomFromEWKT('SRID=4674;POINT (-40.320125 -2.774773)'))) / (select extract(epoch from '2026-07-17 08:09:10'::timestamp) - extract(epoch from '2026-07-17 08:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320003 -2.77483)'), GeomFromEWKT('SRID=4674;POINT (-40.320125 -2.774773)'))) / (select extract(epoch from '2026-07-17 08:09:10'::timestamp) - extract(epoch from '2026-07-17 08:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320265 -2.774754)', '2026-07-17 08:09:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320125 -2.774773)'), GeomFromEWKT('SRID=4674;POINT (-40.320265 -2.774754)'))) / (select extract(epoch from '2026-07-17 08:09:16'::timestamp) - extract(epoch from '2026-07-17 08:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320125 -2.774773)'), GeomFromEWKT('SRID=4674;POINT (-40.320265 -2.774754)'))) / (select extract(epoch from '2026-07-17 08:09:16'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320413 -2.774671)', '2026-07-17 08:09:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320265 -2.774754)'), GeomFromEWKT('SRID=4674;POINT (-40.320413 -2.774671)'))) / (select extract(epoch from '2026-07-17 08:09:24'::timestamp) - extract(epoch from '2026-07-17 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320265 -2.774754)'), GeomFromEWKT('SRID=4674;POINT (-40.320413 -2.774671)'))) / (select extract(epoch from '2026-07-17 08:09:24'::timestamp) - extract(epoch from '2026-07-17 08:09: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'), 47644, 'SRID=4674;POINT (-40.320554 -2.774587)', '2026-07-17 08:09:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320413 -2.774671)'), GeomFromEWKT('SRID=4674;POINT (-40.320554 -2.774587)'))) / (select extract(epoch from '2026-07-17 08:09:31'::timestamp) - extract(epoch from '2026-07-17 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320413 -2.774671)'), GeomFromEWKT('SRID=4674;POINT (-40.320554 -2.774587)'))) / (select extract(epoch from '2026-07-17 08:09:31'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320716 -2.774526)', '2026-07-17 08:09:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320554 -2.774587)'), GeomFromEWKT('SRID=4674;POINT (-40.320716 -2.774526)'))) / (select extract(epoch from '2026-07-17 08:09:38'::timestamp) - extract(epoch from '2026-07-17 08:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320554 -2.774587)'), GeomFromEWKT('SRID=4674;POINT (-40.320716 -2.774526)'))) / (select extract(epoch from '2026-07-17 08:09:38'::timestamp) - extract(epoch from '2026-07-17 08:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320831 -2.774501)', '2026-07-17 08:09:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320716 -2.774526)'), GeomFromEWKT('SRID=4674;POINT (-40.320831 -2.774501)'))) / (select extract(epoch from '2026-07-17 08:09:43'::timestamp) - extract(epoch from '2026-07-17 08:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320716 -2.774526)'), GeomFromEWKT('SRID=4674;POINT (-40.320831 -2.774501)'))) / (select extract(epoch from '2026-07-17 08:09:43'::timestamp) - extract(epoch from '2026-07-17 08:09: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'), 47644, 'SRID=4674;POINT (-40.320982 -2.77439)', '2026-07-17 08:09:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320831 -2.774501)'), GeomFromEWKT('SRID=4674;POINT (-40.320982 -2.77439)'))) / (select extract(epoch from '2026-07-17 08:09:51'::timestamp) - extract(epoch from '2026-07-17 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320831 -2.774501)'), GeomFromEWKT('SRID=4674;POINT (-40.320982 -2.77439)'))) / (select extract(epoch from '2026-07-17 08:09:51'::timestamp) - extract(epoch from '2026-07-17 08:09: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'), 47644, 'SRID=4674;POINT (-40.321099 -2.774265)', '2026-07-17 08:09:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320982 -2.77439)'), GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.774265)'))) / (select extract(epoch from '2026-07-17 08:09:58'::timestamp) - extract(epoch from '2026-07-17 08:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320982 -2.77439)'), GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.774265)'))) / (select extract(epoch from '2026-07-17 08:09:58'::timestamp) - extract(epoch from '2026-07-17 08:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321181 -2.774139)', '2026-07-17 08:10:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.774265)'), GeomFromEWKT('SRID=4674;POINT (-40.321181 -2.774139)'))) / (select extract(epoch from '2026-07-17 08:10:04'::timestamp) - extract(epoch from '2026-07-17 08:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.774265)'), GeomFromEWKT('SRID=4674;POINT (-40.321181 -2.774139)'))) / (select extract(epoch from '2026-07-17 08:10:04'::timestamp) - extract(epoch from '2026-07-17 08:09: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'), 47644, 'SRID=4674;POINT (-40.321275 -2.774029)', '2026-07-17 08:10:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321181 -2.774139)'), GeomFromEWKT('SRID=4674;POINT (-40.321275 -2.774029)'))) / (select extract(epoch from '2026-07-17 08:10:10'::timestamp) - extract(epoch from '2026-07-17 08:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321181 -2.774139)'), GeomFromEWKT('SRID=4674;POINT (-40.321275 -2.774029)'))) / (select extract(epoch from '2026-07-17 08:10:10'::timestamp) - extract(epoch from '2026-07-17 08:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321417 -2.773912)', '2026-07-17 08:10:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321275 -2.774029)'), GeomFromEWKT('SRID=4674;POINT (-40.321417 -2.773912)'))) / (select extract(epoch from '2026-07-17 08:10:18'::timestamp) - extract(epoch from '2026-07-17 08:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321275 -2.774029)'), GeomFromEWKT('SRID=4674;POINT (-40.321417 -2.773912)'))) / (select extract(epoch from '2026-07-17 08:10:18'::timestamp) - extract(epoch from '2026-07-17 08:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321544 -2.773837)', '2026-07-17 08:10:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321417 -2.773912)'), GeomFromEWKT('SRID=4674;POINT (-40.321544 -2.773837)'))) / (select extract(epoch from '2026-07-17 08:10:24'::timestamp) - extract(epoch from '2026-07-17 08:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321417 -2.773912)'), GeomFromEWKT('SRID=4674;POINT (-40.321544 -2.773837)'))) / (select extract(epoch from '2026-07-17 08:10:24'::timestamp) - extract(epoch from '2026-07-17 08:10: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'), 47644, 'SRID=4674;POINT (-40.321663 -2.773807)', '2026-07-17 08:10:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321544 -2.773837)'), GeomFromEWKT('SRID=4674;POINT (-40.321663 -2.773807)'))) / (select extract(epoch from '2026-07-17 08:10:29'::timestamp) - extract(epoch from '2026-07-17 08:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321544 -2.773837)'), GeomFromEWKT('SRID=4674;POINT (-40.321663 -2.773807)'))) / (select extract(epoch from '2026-07-17 08:10:29'::timestamp) - extract(epoch from '2026-07-17 08:10: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'), 47644, 'SRID=4674;POINT (-40.321786 -2.773738)', '2026-07-17 08:10:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321663 -2.773807)'), GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.773738)'))) / (select extract(epoch from '2026-07-17 08:10:35'::timestamp) - extract(epoch from '2026-07-17 08:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321663 -2.773807)'), GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.773738)'))) / (select extract(epoch from '2026-07-17 08:10:35'::timestamp) - extract(epoch from '2026-07-17 08:10: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'), 47644, 'SRID=4674;POINT (-40.321854 -2.77362)', '2026-07-17 08:10:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.773738)'), GeomFromEWKT('SRID=4674;POINT (-40.321854 -2.77362)'))) / (select extract(epoch from '2026-07-17 08:10:41'::timestamp) - extract(epoch from '2026-07-17 08:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.773738)'), GeomFromEWKT('SRID=4674;POINT (-40.321854 -2.77362)'))) / (select extract(epoch from '2026-07-17 08:10:41'::timestamp) - extract(epoch from '2026-07-17 08:10: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'), 47644, 'SRID=4674;POINT (-40.321874 -2.77346)', '2026-07-17 08:10:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321854 -2.77362)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.77346)'))) / (select extract(epoch from '2026-07-17 08:10:48'::timestamp) - extract(epoch from '2026-07-17 08:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321854 -2.77362)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.77346)'))) / (select extract(epoch from '2026-07-17 08:10:48'::timestamp) - extract(epoch from '2026-07-17 08:10: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'), 47644, 'SRID=4674;POINT (-40.321915 -2.773336)', '2026-07-17 08:10:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.77346)'), GeomFromEWKT('SRID=4674;POINT (-40.321915 -2.773336)'))) / (select extract(epoch from '2026-07-17 08:10:54'::timestamp) - extract(epoch from '2026-07-17 08:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.77346)'), GeomFromEWKT('SRID=4674;POINT (-40.321915 -2.773336)'))) / (select extract(epoch from '2026-07-17 08:10:54'::timestamp) - extract(epoch from '2026-07-17 08:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322002 -2.773241)', '2026-07-17 08:11:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321915 -2.773336)'), GeomFromEWKT('SRID=4674;POINT (-40.322002 -2.773241)'))) / (select extract(epoch from '2026-07-17 08:11:00'::timestamp) - extract(epoch from '2026-07-17 08:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321915 -2.773336)'), GeomFromEWKT('SRID=4674;POINT (-40.322002 -2.773241)'))) / (select extract(epoch from '2026-07-17 08:11:00'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322151 -2.773133)', '2026-07-17 08:11:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322002 -2.773241)'), GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.773133)'))) / (select extract(epoch from '2026-07-17 08:11:08'::timestamp) - extract(epoch from '2026-07-17 08:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322002 -2.773241)'), GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.773133)'))) / (select extract(epoch from '2026-07-17 08:11:08'::timestamp) - extract(epoch from '2026-07-17 08:11: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'), 47644, 'SRID=4674;POINT (-40.322241 -2.773027)', '2026-07-17 08:11:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.773133)'), GeomFromEWKT('SRID=4674;POINT (-40.322241 -2.773027)'))) / (select extract(epoch from '2026-07-17 08:11:14'::timestamp) - extract(epoch from '2026-07-17 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.773133)'), GeomFromEWKT('SRID=4674;POINT (-40.322241 -2.773027)'))) / (select extract(epoch from '2026-07-17 08:11:14'::timestamp) - extract(epoch from '2026-07-17 08:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322272 -2.772916)', '2026-07-17 08:11:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322241 -2.773027)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.772916)'))) / (select extract(epoch from '2026-07-17 08:11:19'::timestamp) - extract(epoch from '2026-07-17 08:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322241 -2.773027)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.772916)'))) / (select extract(epoch from '2026-07-17 08:11:19'::timestamp) - extract(epoch from '2026-07-17 08:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322317 -2.772759)', '2026-07-17 08:11:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.772916)'), GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.772759)'))) / (select extract(epoch from '2026-07-17 08:11:26'::timestamp) - extract(epoch from '2026-07-17 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.772916)'), GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.772759)'))) / (select extract(epoch from '2026-07-17 08:11:26'::timestamp) - extract(epoch from '2026-07-17 08:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322416 -2.77265)', '2026-07-17 08:11:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.772759)'), GeomFromEWKT('SRID=4674;POINT (-40.322416 -2.77265)'))) / (select extract(epoch from '2026-07-17 08:11:32'::timestamp) - extract(epoch from '2026-07-17 08:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.772759)'), GeomFromEWKT('SRID=4674;POINT (-40.322416 -2.77265)'))) / (select extract(epoch from '2026-07-17 08:11:32'::timestamp) - extract(epoch from '2026-07-17 08:11: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'), 47644, 'SRID=4674;POINT (-40.322531 -2.772545)', '2026-07-17 08:11:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322416 -2.77265)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.772545)'))) / (select extract(epoch from '2026-07-17 08:11:39'::timestamp) - extract(epoch from '2026-07-17 08:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322416 -2.77265)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.772545)'))) / (select extract(epoch from '2026-07-17 08:11:39'::timestamp) - extract(epoch from '2026-07-17 08:11: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'), 47644, 'SRID=4674;POINT (-40.322553 -2.772505)', '2026-07-17 08:11:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.772545)'), GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.772505)'))) / (select extract(epoch from '2026-07-17 08:11:41'::timestamp) - extract(epoch from '2026-07-17 08:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.772545)'), GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.772505)'))) / (select extract(epoch from '2026-07-17 08:11:41'::timestamp) - extract(epoch from '2026-07-17 08:11: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'), 47644, 'SRID=4674;POINT (-40.32257 -2.772442)', '2026-07-17 08:11:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.772505)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.772442)'))) / (select extract(epoch from '2026-07-17 08:11:44'::timestamp) - extract(epoch from '2026-07-17 08:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.772505)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.772442)'))) / (select extract(epoch from '2026-07-17 08:11:44'::timestamp) - extract(epoch from '2026-07-17 08:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322582 -2.772306)', '2026-07-17 08:11:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.772442)'), GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.772306)'))) / (select extract(epoch from '2026-07-17 08:11:50'::timestamp) - extract(epoch from '2026-07-17 08:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.772442)'), GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.772306)'))) / (select extract(epoch from '2026-07-17 08:11:50'::timestamp) - extract(epoch from '2026-07-17 08:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32262 -2.772225)', '2026-07-17 08:11:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.772306)'), GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.772225)'))) / (select extract(epoch from '2026-07-17 08:11:54'::timestamp) - extract(epoch from '2026-07-17 08:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.772306)'), GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.772225)'))) / (select extract(epoch from '2026-07-17 08:11:54'::timestamp) - extract(epoch from '2026-07-17 08:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322637 -2.772205)', '2026-07-17 08:11:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.772225)'), GeomFromEWKT('SRID=4674;POINT (-40.322637 -2.772205)'))) / (select extract(epoch from '2026-07-17 08:11:55'::timestamp) - extract(epoch from '2026-07-17 08:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.772225)'), GeomFromEWKT('SRID=4674;POINT (-40.322637 -2.772205)'))) / (select extract(epoch from '2026-07-17 08:11:55'::timestamp) - extract(epoch from '2026-07-17 08:11: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'), 47644, 'SRID=4674;POINT (-40.322708 -2.772114)', '2026-07-17 08:12:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322637 -2.772205)'), GeomFromEWKT('SRID=4674;POINT (-40.322708 -2.772114)'))) / (select extract(epoch from '2026-07-17 08:12:00'::timestamp) - extract(epoch from '2026-07-17 08:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322637 -2.772205)'), GeomFromEWKT('SRID=4674;POINT (-40.322708 -2.772114)'))) / (select extract(epoch from '2026-07-17 08:12:00'::timestamp) - extract(epoch from '2026-07-17 08:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32274 -2.77206)', '2026-07-17 08:12:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322708 -2.772114)'), GeomFromEWKT('SRID=4674;POINT (-40.32274 -2.77206)'))) / (select extract(epoch from '2026-07-17 08:12:03'::timestamp) - extract(epoch from '2026-07-17 08:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322708 -2.772114)'), GeomFromEWKT('SRID=4674;POINT (-40.32274 -2.77206)'))) / (select extract(epoch from '2026-07-17 08:12:03'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.322742 -2.772022)', '2026-07-17 08:12:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32274 -2.77206)'), GeomFromEWKT('SRID=4674;POINT (-40.322742 -2.772022)'))) / (select extract(epoch from '2026-07-17 08:12:05'::timestamp) - extract(epoch from '2026-07-17 08:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32274 -2.77206)'), GeomFromEWKT('SRID=4674;POINT (-40.322742 -2.772022)'))) / (select extract(epoch from '2026-07-17 08:12:05'::timestamp) - extract(epoch from '2026-07-17 08:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322668 -2.771907)', '2026-07-17 08:12:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322742 -2.772022)'), GeomFromEWKT('SRID=4674;POINT (-40.322668 -2.771907)'))) / (select extract(epoch from '2026-07-17 08:12:12'::timestamp) - extract(epoch from '2026-07-17 08:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322742 -2.772022)'), GeomFromEWKT('SRID=4674;POINT (-40.322668 -2.771907)'))) / (select extract(epoch from '2026-07-17 08:12:12'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.322595 -2.77177)', '2026-07-17 08:12:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322668 -2.771907)'), GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.77177)'))) / (select extract(epoch from '2026-07-17 08:12:19'::timestamp) - extract(epoch from '2026-07-17 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322668 -2.771907)'), GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.77177)'))) / (select extract(epoch from '2026-07-17 08:12:19'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.322525 -2.771636)', '2026-07-17 08:12:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.77177)'), GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771636)'))) / (select extract(epoch from '2026-07-17 08:12:26'::timestamp) - extract(epoch from '2026-07-17 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.77177)'), GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771636)'))) / (select extract(epoch from '2026-07-17 08:12:26'::timestamp) - extract(epoch from '2026-07-17 08:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322489 -2.771517)', '2026-07-17 08:12:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771636)'), GeomFromEWKT('SRID=4674;POINT (-40.322489 -2.771517)'))) / (select extract(epoch from '2026-07-17 08:12:32'::timestamp) - extract(epoch from '2026-07-17 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771636)'), GeomFromEWKT('SRID=4674;POINT (-40.322489 -2.771517)'))) / (select extract(epoch from '2026-07-17 08:12:32'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.32244 -2.771388)', '2026-07-17 08:12:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322489 -2.771517)'), GeomFromEWKT('SRID=4674;POINT (-40.32244 -2.771388)'))) / (select extract(epoch from '2026-07-17 08:12:38'::timestamp) - extract(epoch from '2026-07-17 08:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322489 -2.771517)'), GeomFromEWKT('SRID=4674;POINT (-40.32244 -2.771388)'))) / (select extract(epoch from '2026-07-17 08:12:38'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.322421 -2.771238)', '2026-07-17 08:12:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32244 -2.771388)'), GeomFromEWKT('SRID=4674;POINT (-40.322421 -2.771238)'))) / (select extract(epoch from '2026-07-17 08:12:45'::timestamp) - extract(epoch from '2026-07-17 08:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32244 -2.771388)'), GeomFromEWKT('SRID=4674;POINT (-40.322421 -2.771238)'))) / (select extract(epoch from '2026-07-17 08:12:45'::timestamp) - extract(epoch from '2026-07-17 08:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322429 -2.771095)', '2026-07-17 08:12:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322421 -2.771238)'), GeomFromEWKT('SRID=4674;POINT (-40.322429 -2.771095)'))) / (select extract(epoch from '2026-07-17 08:12:51'::timestamp) - extract(epoch from '2026-07-17 08:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322421 -2.771238)'), GeomFromEWKT('SRID=4674;POINT (-40.322429 -2.771095)'))) / (select extract(epoch from '2026-07-17 08:12:51'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322458 -2.77096)', '2026-07-17 08:12:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322429 -2.771095)'), GeomFromEWKT('SRID=4674;POINT (-40.322458 -2.77096)'))) / (select extract(epoch from '2026-07-17 08:12:57'::timestamp) - extract(epoch from '2026-07-17 08:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322429 -2.771095)'), GeomFromEWKT('SRID=4674;POINT (-40.322458 -2.77096)'))) / (select extract(epoch from '2026-07-17 08:12:57'::timestamp) - extract(epoch from '2026-07-17 08:12: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'), 47644, 'SRID=4674;POINT (-40.322439 -2.770828)', '2026-07-17 08:13:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322458 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.322439 -2.770828)'))) / (select extract(epoch from '2026-07-17 08:13:03'::timestamp) - extract(epoch from '2026-07-17 08:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322458 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.322439 -2.770828)'))) / (select extract(epoch from '2026-07-17 08:13:03'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322372 -2.770711)', '2026-07-17 08:13:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322439 -2.770828)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.770711)'))) / (select extract(epoch from '2026-07-17 08:13:09'::timestamp) - extract(epoch from '2026-07-17 08:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322439 -2.770828)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.770711)'))) / (select extract(epoch from '2026-07-17 08:13:09'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.32235 -2.770577)', '2026-07-17 08:13:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.770711)'), GeomFromEWKT('SRID=4674;POINT (-40.32235 -2.770577)'))) / (select extract(epoch from '2026-07-17 08:13:15'::timestamp) - extract(epoch from '2026-07-17 08:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.770711)'), GeomFromEWKT('SRID=4674;POINT (-40.32235 -2.770577)'))) / (select extract(epoch from '2026-07-17 08:13:15'::timestamp) - extract(epoch from '2026-07-17 08:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322335 -2.770465)', '2026-07-17 08:13:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32235 -2.770577)'), GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.770465)'))) / (select extract(epoch from '2026-07-17 08:13:20'::timestamp) - extract(epoch from '2026-07-17 08:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32235 -2.770577)'), GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.770465)'))) / (select extract(epoch from '2026-07-17 08:13:20'::timestamp) - extract(epoch from '2026-07-17 08:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322276 -2.77029)', '2026-07-17 08:13:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.770465)'), GeomFromEWKT('SRID=4674;POINT (-40.322276 -2.77029)'))) / (select extract(epoch from '2026-07-17 08:13:28'::timestamp) - extract(epoch from '2026-07-17 08:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322335 -2.770465)'), GeomFromEWKT('SRID=4674;POINT (-40.322276 -2.77029)'))) / (select extract(epoch from '2026-07-17 08:13:28'::timestamp) - extract(epoch from '2026-07-17 08:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322267 -2.770245)', '2026-07-17 08:13:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322276 -2.77029)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.770245)'))) / (select extract(epoch from '2026-07-17 08:13:30'::timestamp) - extract(epoch from '2026-07-17 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322276 -2.77029)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.770245)'))) / (select extract(epoch from '2026-07-17 08:13:30'::timestamp) - extract(epoch from '2026-07-17 08:13: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'), 47644, 'SRID=4674;POINT (-40.322264 -2.770182)', '2026-07-17 08:13:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.770245)'), GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.770182)'))) / (select extract(epoch from '2026-07-17 08:13:33'::timestamp) - extract(epoch from '2026-07-17 08:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.770245)'), GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.770182)'))) / (select extract(epoch from '2026-07-17 08:13:33'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322263 -2.770068)', '2026-07-17 08:13:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.770182)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.770068)'))) / (select extract(epoch from '2026-07-17 08:13:38'::timestamp) - extract(epoch from '2026-07-17 08:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.770182)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.770068)'))) / (select extract(epoch from '2026-07-17 08:13:38'::timestamp) - extract(epoch from '2026-07-17 08:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322255 -2.76991)', '2026-07-17 08:13:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.770068)'), GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.76991)'))) / (select extract(epoch from '2026-07-17 08:13:45'::timestamp) - extract(epoch from '2026-07-17 08:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.770068)'), GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.76991)'))) / (select extract(epoch from '2026-07-17 08:13:45'::timestamp) - extract(epoch from '2026-07-17 08:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322285 -2.769791)', '2026-07-17 08:13:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.76991)'), GeomFromEWKT('SRID=4674;POINT (-40.322285 -2.769791)'))) / (select extract(epoch from '2026-07-17 08:13:51'::timestamp) - extract(epoch from '2026-07-17 08:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.76991)'), GeomFromEWKT('SRID=4674;POINT (-40.322285 -2.769791)'))) / (select extract(epoch from '2026-07-17 08:13:51'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322371 -2.769755)', '2026-07-17 08:13:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322285 -2.769791)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.769755)'))) / (select extract(epoch from '2026-07-17 08:13:56'::timestamp) - extract(epoch from '2026-07-17 08:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322285 -2.769791)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.769755)'))) / (select extract(epoch from '2026-07-17 08:13:56'::timestamp) - extract(epoch from '2026-07-17 08:13: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'), 47644, 'SRID=4674;POINT (-40.322412 -2.769793)', '2026-07-17 08:14:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.769755)'), GeomFromEWKT('SRID=4674;POINT (-40.322412 -2.769793)'))) / (select extract(epoch from '2026-07-17 08:14:00'::timestamp) - extract(epoch from '2026-07-17 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.769755)'), GeomFromEWKT('SRID=4674;POINT (-40.322412 -2.769793)'))) / (select extract(epoch from '2026-07-17 08:14:00'::timestamp) - extract(epoch from '2026-07-17 08:13: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'), 47644, 'SRID=4674;POINT (-40.322419 -2.769823)', '2026-07-17 08:14:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322412 -2.769793)'), GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.769823)'))) / (select extract(epoch from '2026-07-17 08:14:02'::timestamp) - extract(epoch from '2026-07-17 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322412 -2.769793)'), GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.769823)'))) / (select extract(epoch from '2026-07-17 08:14:02'::timestamp) - extract(epoch from '2026-07-17 08:14: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'), 47644, 'SRID=4674;POINT (-40.322393 -2.769887)', '2026-07-17 08:14:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.769823)'), GeomFromEWKT('SRID=4674;POINT (-40.322393 -2.769887)'))) / (select extract(epoch from '2026-07-17 08:14:12'::timestamp) - extract(epoch from '2026-07-17 08:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.769823)'), GeomFromEWKT('SRID=4674;POINT (-40.322393 -2.769887)'))) / (select extract(epoch from '2026-07-17 08:14:12'::timestamp) - extract(epoch from '2026-07-17 08:14: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'), 47644, 'SRID=4674;POINT (-40.322368 -2.769926)', '2026-07-17 08:14:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322393 -2.769887)'), GeomFromEWKT('SRID=4674;POINT (-40.322368 -2.769926)'))) / (select extract(epoch from '2026-07-17 08:14:27'::timestamp) - extract(epoch from '2026-07-17 08:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322393 -2.769887)'), GeomFromEWKT('SRID=4674;POINT (-40.322368 -2.769926)'))) / (select extract(epoch from '2026-07-17 08:14:27'::timestamp) - extract(epoch from '2026-07-17 08:14: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'), 47644, 'SRID=4674;POINT (-40.32242 -2.769911)', '2026-07-17 08:14:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322368 -2.769926)'), GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769911)'))) / (select extract(epoch from '2026-07-17 08:14:50'::timestamp) - extract(epoch from '2026-07-17 08:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322368 -2.769926)'), GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769911)'))) / (select extract(epoch from '2026-07-17 08:14:50'::timestamp) - extract(epoch from '2026-07-17 08:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32242 -2.769908)', '2026-07-17 08:15:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769911)'), GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769908)'))) / (select extract(epoch from '2026-07-17 08:15:02'::timestamp) - extract(epoch from '2026-07-17 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769911)'), GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769908)'))) / (select extract(epoch from '2026-07-17 08:15:02'::timestamp) - extract(epoch from '2026-07-17 08:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322364 -2.769945)', '2026-07-17 08:15:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769908)'), GeomFromEWKT('SRID=4674;POINT (-40.322364 -2.769945)'))) / (select extract(epoch from '2026-07-17 08:15:49'::timestamp) - extract(epoch from '2026-07-17 08:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32242 -2.769908)'), GeomFromEWKT('SRID=4674;POINT (-40.322364 -2.769945)'))) / (select extract(epoch from '2026-07-17 08:15:49'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322322 -2.76994)', '2026-07-17 08:16:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322364 -2.769945)'), GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.76994)'))) / (select extract(epoch from '2026-07-17 08:16:00'::timestamp) - extract(epoch from '2026-07-17 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322364 -2.769945)'), GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.76994)'))) / (select extract(epoch from '2026-07-17 08:16:00'::timestamp) - extract(epoch from '2026-07-17 08:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322244 -2.769938)', '2026-07-17 08:19:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.76994)'), GeomFromEWKT('SRID=4674;POINT (-40.322244 -2.769938)'))) / (select extract(epoch from '2026-07-17 08:19:36'::timestamp) - extract(epoch from '2026-07-17 08:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.76994)'), GeomFromEWKT('SRID=4674;POINT (-40.322244 -2.769938)'))) / (select extract(epoch from '2026-07-17 08:19:36'::timestamp) - extract(epoch from '2026-07-17 08:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322186 -2.769982)', '2026-07-17 08:19:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322244 -2.769938)'), GeomFromEWKT('SRID=4674;POINT (-40.322186 -2.769982)'))) / (select extract(epoch from '2026-07-17 08:19:49'::timestamp) - extract(epoch from '2026-07-17 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322244 -2.769938)'), GeomFromEWKT('SRID=4674;POINT (-40.322186 -2.769982)'))) / (select extract(epoch from '2026-07-17 08:19:49'::timestamp) - extract(epoch from '2026-07-17 08:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322142 -2.769999)', '2026-07-17 08:20:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322186 -2.769982)'), GeomFromEWKT('SRID=4674;POINT (-40.322142 -2.769999)'))) / (select extract(epoch from '2026-07-17 08:20:00'::timestamp) - extract(epoch from '2026-07-17 08:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322186 -2.769982)'), GeomFromEWKT('SRID=4674;POINT (-40.322142 -2.769999)'))) / (select extract(epoch from '2026-07-17 08:20:00'::timestamp) - extract(epoch from '2026-07-17 08:19: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'), 47644, 'SRID=4674;POINT (-40.322113 -2.770023)', '2026-07-17 08:20:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322142 -2.769999)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770023)'))) / (select extract(epoch from '2026-07-17 08:20:11'::timestamp) - extract(epoch from '2026-07-17 08:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322142 -2.769999)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770023)'))) / (select extract(epoch from '2026-07-17 08:20:11'::timestamp) - extract(epoch from '2026-07-17 08:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322098 -2.770048)', '2026-07-17 08:20:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770023)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770048)'))) / (select extract(epoch from '2026-07-17 08:20:42'::timestamp) - extract(epoch from '2026-07-17 08:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770023)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770048)'))) / (select extract(epoch from '2026-07-17 08:20:42'::timestamp) - extract(epoch from '2026-07-17 08:20: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'), 47644, 'SRID=4674;POINT (-40.322072 -2.770042)', '2026-07-17 08:20:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770042)'))) / (select extract(epoch from '2026-07-17 08:20:48'::timestamp) - extract(epoch from '2026-07-17 08:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770042)'))) / (select extract(epoch from '2026-07-17 08:20:48'::timestamp) - extract(epoch from '2026-07-17 08:20: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'), 47644, 'SRID=4674;POINT (-40.322039 -2.770049)', '2026-07-17 08:20:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770042)'), GeomFromEWKT('SRID=4674;POINT (-40.322039 -2.770049)'))) / (select extract(epoch from '2026-07-17 08:20:59'::timestamp) - extract(epoch from '2026-07-17 08:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770042)'), GeomFromEWKT('SRID=4674;POINT (-40.322039 -2.770049)'))) / (select extract(epoch from '2026-07-17 08:20:59'::timestamp) - extract(epoch from '2026-07-17 08:20: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'), 47644, 'SRID=4674;POINT (-40.322098 -2.770031)', '2026-07-17 08:24:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322039 -2.770049)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770031)'))) / (select extract(epoch from '2026-07-17 08:24:58'::timestamp) - extract(epoch from '2026-07-17 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322039 -2.770049)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770031)'))) / (select extract(epoch from '2026-07-17 08:24:58'::timestamp) - extract(epoch from '2026-07-17 08:20: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'), 47644, 'SRID=4674;POINT (-40.322135 -2.770015)', '2026-07-17 08:25:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770031)'), GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770015)'))) / (select extract(epoch from '2026-07-17 08:25:10'::timestamp) - extract(epoch from '2026-07-17 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.770031)'), GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770015)'))) / (select extract(epoch from '2026-07-17 08:25:10'::timestamp) - extract(epoch from '2026-07-17 08:24: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'), 47644, 'SRID=4674;POINT (-40.322176 -2.770005)', '2026-07-17 08:25:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770015)'), GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.770005)'))) / (select extract(epoch from '2026-07-17 08:25:25'::timestamp) - extract(epoch from '2026-07-17 08:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770015)'), GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.770005)'))) / (select extract(epoch from '2026-07-17 08:25:25'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322259 -2.769974)', '2026-07-17 08:25:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.770005)'), GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.769974)'))) / (select extract(epoch from '2026-07-17 08:25:51'::timestamp) - extract(epoch from '2026-07-17 08:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.770005)'), GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.769974)'))) / (select extract(epoch from '2026-07-17 08:25:51'::timestamp) - extract(epoch from '2026-07-17 08:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322295 -2.76996)', '2026-07-17 08:26:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.769974)'), GeomFromEWKT('SRID=4674;POINT (-40.322295 -2.76996)'))) / (select extract(epoch from '2026-07-17 08:26:04'::timestamp) - extract(epoch from '2026-07-17 08:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.769974)'), GeomFromEWKT('SRID=4674;POINT (-40.322295 -2.76996)'))) / (select extract(epoch from '2026-07-17 08:26:04'::timestamp) - extract(epoch from '2026-07-17 08:25: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'), 47644, 'SRID=4674;POINT (-40.322315 -2.769936)', '2026-07-17 08:26:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322295 -2.76996)'), GeomFromEWKT('SRID=4674;POINT (-40.322315 -2.769936)'))) / (select extract(epoch from '2026-07-17 08:26:21'::timestamp) - extract(epoch from '2026-07-17 08:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322295 -2.76996)'), GeomFromEWKT('SRID=4674;POINT (-40.322315 -2.769936)'))) / (select extract(epoch from '2026-07-17 08:26:21'::timestamp) - extract(epoch from '2026-07-17 08:26: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'), 47644, 'SRID=4674;POINT (-40.322337 -2.769914)', '2026-07-17 08:26:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322315 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.322337 -2.769914)'))) / (select extract(epoch from '2026-07-17 08:26:34'::timestamp) - extract(epoch from '2026-07-17 08:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322315 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.322337 -2.769914)'))) / (select extract(epoch from '2026-07-17 08:26:34'::timestamp) - extract(epoch from '2026-07-17 08:26: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'), 47644, 'SRID=4674;POINT (-40.322383 -2.769875)', '2026-07-17 08:26:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322337 -2.769914)'), GeomFromEWKT('SRID=4674;POINT (-40.322383 -2.769875)'))) / (select extract(epoch from '2026-07-17 08:26:51'::timestamp) - extract(epoch from '2026-07-17 08:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322337 -2.769914)'), GeomFromEWKT('SRID=4674;POINT (-40.322383 -2.769875)'))) / (select extract(epoch from '2026-07-17 08:26:51'::timestamp) - extract(epoch from '2026-07-17 08:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322413 -2.769858)', '2026-07-17 08:27:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322383 -2.769875)'), GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769858)'))) / (select extract(epoch from '2026-07-17 08:27:04'::timestamp) - extract(epoch from '2026-07-17 08:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322383 -2.769875)'), GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769858)'))) / (select extract(epoch from '2026-07-17 08:27:04'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322451 -2.769824)', '2026-07-17 08:27:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769858)'), GeomFromEWKT('SRID=4674;POINT (-40.322451 -2.769824)'))) / (select extract(epoch from '2026-07-17 08:27:19'::timestamp) - extract(epoch from '2026-07-17 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769858)'), GeomFromEWKT('SRID=4674;POINT (-40.322451 -2.769824)'))) / (select extract(epoch from '2026-07-17 08:27:19'::timestamp) - extract(epoch from '2026-07-17 08:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322456 -2.769749)', '2026-07-17 08:27:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322451 -2.769824)'), GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.769749)'))) / (select extract(epoch from '2026-07-17 08:27:25'::timestamp) - extract(epoch from '2026-07-17 08:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322451 -2.769824)'), GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.769749)'))) / (select extract(epoch from '2026-07-17 08:27:25'::timestamp) - extract(epoch from '2026-07-17 08:27: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'), 47644, 'SRID=4674;POINT (-40.322395 -2.769635)', '2026-07-17 08:27:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.769749)'), GeomFromEWKT('SRID=4674;POINT (-40.322395 -2.769635)'))) / (select extract(epoch from '2026-07-17 08:27:32'::timestamp) - extract(epoch from '2026-07-17 08:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.769749)'), GeomFromEWKT('SRID=4674;POINT (-40.322395 -2.769635)'))) / (select extract(epoch from '2026-07-17 08:27:32'::timestamp) - extract(epoch from '2026-07-17 08:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32231 -2.769473)', '2026-07-17 08:27:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322395 -2.769635)'), GeomFromEWKT('SRID=4674;POINT (-40.32231 -2.769473)'))) / (select extract(epoch from '2026-07-17 08:27:40'::timestamp) - extract(epoch from '2026-07-17 08:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322395 -2.769635)'), GeomFromEWKT('SRID=4674;POINT (-40.32231 -2.769473)'))) / (select extract(epoch from '2026-07-17 08:27:40'::timestamp) - extract(epoch from '2026-07-17 08:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322209 -2.769329)', '2026-07-17 08:27:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32231 -2.769473)'), GeomFromEWKT('SRID=4674;POINT (-40.322209 -2.769329)'))) / (select extract(epoch from '2026-07-17 08:27:48'::timestamp) - extract(epoch from '2026-07-17 08:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32231 -2.769473)'), GeomFromEWKT('SRID=4674;POINT (-40.322209 -2.769329)'))) / (select extract(epoch from '2026-07-17 08:27:48'::timestamp) - extract(epoch from '2026-07-17 08:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322125 -2.769144)', '2026-07-17 08:27:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322209 -2.769329)'), GeomFromEWKT('SRID=4674;POINT (-40.322125 -2.769144)'))) / (select extract(epoch from '2026-07-17 08:27:57'::timestamp) - extract(epoch from '2026-07-17 08:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322209 -2.769329)'), GeomFromEWKT('SRID=4674;POINT (-40.322125 -2.769144)'))) / (select extract(epoch from '2026-07-17 08:27:57'::timestamp) - extract(epoch from '2026-07-17 08:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322052 -2.768985)', '2026-07-17 08:28:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322125 -2.769144)'), GeomFromEWKT('SRID=4674;POINT (-40.322052 -2.768985)'))) / (select extract(epoch from '2026-07-17 08:28:05'::timestamp) - extract(epoch from '2026-07-17 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322125 -2.769144)'), GeomFromEWKT('SRID=4674;POINT (-40.322052 -2.768985)'))) / (select extract(epoch from '2026-07-17 08:28:05'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.321978 -2.768828)', '2026-07-17 08:28:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322052 -2.768985)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.768828)'))) / (select extract(epoch from '2026-07-17 08:28:13'::timestamp) - extract(epoch from '2026-07-17 08:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322052 -2.768985)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.768828)'))) / (select extract(epoch from '2026-07-17 08:28:13'::timestamp) - extract(epoch from '2026-07-17 08:28: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'), 47644, 'SRID=4674;POINT (-40.321936 -2.768668)', '2026-07-17 08:28:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.768828)'), GeomFromEWKT('SRID=4674;POINT (-40.321936 -2.768668)'))) / (select extract(epoch from '2026-07-17 08:28:20'::timestamp) - extract(epoch from '2026-07-17 08:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.768828)'), GeomFromEWKT('SRID=4674;POINT (-40.321936 -2.768668)'))) / (select extract(epoch from '2026-07-17 08:28:20'::timestamp) - extract(epoch from '2026-07-17 08:28: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'), 47644, 'SRID=4674;POINT (-40.321858 -2.768512)', '2026-07-17 08:28:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321936 -2.768668)'), GeomFromEWKT('SRID=4674;POINT (-40.321858 -2.768512)'))) / (select extract(epoch from '2026-07-17 08:28:28'::timestamp) - extract(epoch from '2026-07-17 08:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321936 -2.768668)'), GeomFromEWKT('SRID=4674;POINT (-40.321858 -2.768512)'))) / (select extract(epoch from '2026-07-17 08:28:28'::timestamp) - extract(epoch from '2026-07-17 08:28: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'), 47644, 'SRID=4674;POINT (-40.321746 -2.768415)', '2026-07-17 08:28:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321858 -2.768512)'), GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.768415)'))) / (select extract(epoch from '2026-07-17 08:28:35'::timestamp) - extract(epoch from '2026-07-17 08:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321858 -2.768512)'), GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.768415)'))) / (select extract(epoch from '2026-07-17 08:28:35'::timestamp) - extract(epoch from '2026-07-17 08:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321662 -2.7683)', '2026-07-17 08:28:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.768415)'), GeomFromEWKT('SRID=4674;POINT (-40.321662 -2.7683)'))) / (select extract(epoch from '2026-07-17 08:28:42'::timestamp) - extract(epoch from '2026-07-17 08:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.768415)'), GeomFromEWKT('SRID=4674;POINT (-40.321662 -2.7683)'))) / (select extract(epoch from '2026-07-17 08:28:42'::timestamp) - extract(epoch from '2026-07-17 08:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321589 -2.76817)', '2026-07-17 08:28:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321662 -2.7683)'), GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.76817)'))) / (select extract(epoch from '2026-07-17 08:28:49'::timestamp) - extract(epoch from '2026-07-17 08:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321662 -2.7683)'), GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.76817)'))) / (select extract(epoch from '2026-07-17 08:28:49'::timestamp) - extract(epoch from '2026-07-17 08:28: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'), 47644, 'SRID=4674;POINT (-40.321554 -2.768036)', '2026-07-17 08:28:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.76817)'), GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768036)'))) / (select extract(epoch from '2026-07-17 08:28:55'::timestamp) - extract(epoch from '2026-07-17 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.76817)'), GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768036)'))) / (select extract(epoch from '2026-07-17 08:28:55'::timestamp) - extract(epoch from '2026-07-17 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321488 -2.767905)', '2026-07-17 08:29:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768036)'), GeomFromEWKT('SRID=4674;POINT (-40.321488 -2.767905)'))) / (select extract(epoch from '2026-07-17 08:29:02'::timestamp) - extract(epoch from '2026-07-17 08:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768036)'), GeomFromEWKT('SRID=4674;POINT (-40.321488 -2.767905)'))) / (select extract(epoch from '2026-07-17 08:29:02'::timestamp) - extract(epoch from '2026-07-17 08:28: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'), 47644, 'SRID=4674;POINT (-40.321434 -2.767775)', '2026-07-17 08:29:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321488 -2.767905)'), GeomFromEWKT('SRID=4674;POINT (-40.321434 -2.767775)'))) / (select extract(epoch from '2026-07-17 08:29:09'::timestamp) - extract(epoch from '2026-07-17 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321488 -2.767905)'), GeomFromEWKT('SRID=4674;POINT (-40.321434 -2.767775)'))) / (select extract(epoch from '2026-07-17 08:29:09'::timestamp) - extract(epoch from '2026-07-17 08:29: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'), 47644, 'SRID=4674;POINT (-40.321401 -2.76761)', '2026-07-17 08:29:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321434 -2.767775)'), GeomFromEWKT('SRID=4674;POINT (-40.321401 -2.76761)'))) / (select extract(epoch from '2026-07-17 08:29:16'::timestamp) - extract(epoch from '2026-07-17 08:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321434 -2.767775)'), GeomFromEWKT('SRID=4674;POINT (-40.321401 -2.76761)'))) / (select extract(epoch from '2026-07-17 08:29:16'::timestamp) - extract(epoch from '2026-07-17 08:29: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'), 47644, 'SRID=4674;POINT (-40.321363 -2.767452)', '2026-07-17 08:29:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321401 -2.76761)'), GeomFromEWKT('SRID=4674;POINT (-40.321363 -2.767452)'))) / (select extract(epoch from '2026-07-17 08:29:23'::timestamp) - extract(epoch from '2026-07-17 08:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321401 -2.76761)'), GeomFromEWKT('SRID=4674;POINT (-40.321363 -2.767452)'))) / (select extract(epoch from '2026-07-17 08:29:23'::timestamp) - extract(epoch from '2026-07-17 08:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321333 -2.767303)', '2026-07-17 08:29:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321363 -2.767452)'), GeomFromEWKT('SRID=4674;POINT (-40.321333 -2.767303)'))) / (select extract(epoch from '2026-07-17 08:29:29'::timestamp) - extract(epoch from '2026-07-17 08:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321363 -2.767452)'), GeomFromEWKT('SRID=4674;POINT (-40.321333 -2.767303)'))) / (select extract(epoch from '2026-07-17 08:29:29'::timestamp) - extract(epoch from '2026-07-17 08:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321299 -2.767139)', '2026-07-17 08:29:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321333 -2.767303)'), GeomFromEWKT('SRID=4674;POINT (-40.321299 -2.767139)'))) / (select extract(epoch from '2026-07-17 08:29:36'::timestamp) - extract(epoch from '2026-07-17 08:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321333 -2.767303)'), GeomFromEWKT('SRID=4674;POINT (-40.321299 -2.767139)'))) / (select extract(epoch from '2026-07-17 08:29:36'::timestamp) - extract(epoch from '2026-07-17 08:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321236 -2.766957)', '2026-07-17 08:29:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321299 -2.767139)'), GeomFromEWKT('SRID=4674;POINT (-40.321236 -2.766957)'))) / (select extract(epoch from '2026-07-17 08:29:45'::timestamp) - extract(epoch from '2026-07-17 08:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321299 -2.767139)'), GeomFromEWKT('SRID=4674;POINT (-40.321236 -2.766957)'))) / (select extract(epoch from '2026-07-17 08:29:45'::timestamp) - extract(epoch from '2026-07-17 08:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32119 -2.766778)', '2026-07-17 08:29:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321236 -2.766957)'), GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.766778)'))) / (select extract(epoch from '2026-07-17 08:29:53'::timestamp) - extract(epoch from '2026-07-17 08:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321236 -2.766957)'), GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.766778)'))) / (select extract(epoch from '2026-07-17 08:29:53'::timestamp) - extract(epoch from '2026-07-17 08:29: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'), 47644, 'SRID=4674;POINT (-40.32114 -2.7666)', '2026-07-17 08:30:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.766778)'), GeomFromEWKT('SRID=4674;POINT (-40.32114 -2.7666)'))) / (select extract(epoch from '2026-07-17 08:30:01'::timestamp) - extract(epoch from '2026-07-17 08:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.766778)'), GeomFromEWKT('SRID=4674;POINT (-40.32114 -2.7666)'))) / (select extract(epoch from '2026-07-17 08:30:01'::timestamp) - extract(epoch from '2026-07-17 08:29: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'), 47644, 'SRID=4674;POINT (-40.321096 -2.76644)', '2026-07-17 08:30:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32114 -2.7666)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.76644)'))) / (select extract(epoch from '2026-07-17 08:30:08'::timestamp) - extract(epoch from '2026-07-17 08:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32114 -2.7666)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.76644)'))) / (select extract(epoch from '2026-07-17 08:30:08'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.321058 -2.766277)', '2026-07-17 08:30:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.76644)'), GeomFromEWKT('SRID=4674;POINT (-40.321058 -2.766277)'))) / (select extract(epoch from '2026-07-17 08:30:15'::timestamp) - extract(epoch from '2026-07-17 08:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.76644)'), GeomFromEWKT('SRID=4674;POINT (-40.321058 -2.766277)'))) / (select extract(epoch from '2026-07-17 08:30:15'::timestamp) - extract(epoch from '2026-07-17 08:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321019 -2.76612)', '2026-07-17 08:30:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321058 -2.766277)'), GeomFromEWKT('SRID=4674;POINT (-40.321019 -2.76612)'))) / (select extract(epoch from '2026-07-17 08:30:22'::timestamp) - extract(epoch from '2026-07-17 08:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321058 -2.766277)'), GeomFromEWKT('SRID=4674;POINT (-40.321019 -2.76612)'))) / (select extract(epoch from '2026-07-17 08:30:22'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320952 -2.765925)', '2026-07-17 08:30:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321019 -2.76612)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.765925)'))) / (select extract(epoch from '2026-07-17 08:30:31'::timestamp) - extract(epoch from '2026-07-17 08:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321019 -2.76612)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.765925)'))) / (select extract(epoch from '2026-07-17 08:30:31'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320911 -2.765738)', '2026-07-17 08:30:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.765925)'), GeomFromEWKT('SRID=4674;POINT (-40.320911 -2.765738)'))) / (select extract(epoch from '2026-07-17 08:30:39'::timestamp) - extract(epoch from '2026-07-17 08:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.765925)'), GeomFromEWKT('SRID=4674;POINT (-40.320911 -2.765738)'))) / (select extract(epoch from '2026-07-17 08:30:39'::timestamp) - extract(epoch from '2026-07-17 08:30: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'), 47644, 'SRID=4674;POINT (-40.32089 -2.765597)', '2026-07-17 08:30:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320911 -2.765738)'), GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.765597)'))) / (select extract(epoch from '2026-07-17 08:30:45'::timestamp) - extract(epoch from '2026-07-17 08:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320911 -2.765738)'), GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.765597)'))) / (select extract(epoch from '2026-07-17 08:30:45'::timestamp) - extract(epoch from '2026-07-17 08:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320852 -2.765432)', '2026-07-17 08:30:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.765597)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765432)'))) / (select extract(epoch from '2026-07-17 08:30:52'::timestamp) - extract(epoch from '2026-07-17 08:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.765597)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765432)'))) / (select extract(epoch from '2026-07-17 08:30:52'::timestamp) - extract(epoch from '2026-07-17 08:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320796 -2.765252)', '2026-07-17 08:31:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765432)'), GeomFromEWKT('SRID=4674;POINT (-40.320796 -2.765252)'))) / (select extract(epoch from '2026-07-17 08:31:00'::timestamp) - extract(epoch from '2026-07-17 08:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765432)'), GeomFromEWKT('SRID=4674;POINT (-40.320796 -2.765252)'))) / (select extract(epoch from '2026-07-17 08:31:00'::timestamp) - extract(epoch from '2026-07-17 08:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320763 -2.765089)', '2026-07-17 08:31:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320796 -2.765252)'), GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765089)'))) / (select extract(epoch from '2026-07-17 08:31:07'::timestamp) - extract(epoch from '2026-07-17 08:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320796 -2.765252)'), GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765089)'))) / (select extract(epoch from '2026-07-17 08:31:07'::timestamp) - extract(epoch from '2026-07-17 08:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320742 -2.764955)', '2026-07-17 08:31:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765089)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.764955)'))) / (select extract(epoch from '2026-07-17 08:31:13'::timestamp) - extract(epoch from '2026-07-17 08:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765089)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.764955)'))) / (select extract(epoch from '2026-07-17 08:31:13'::timestamp) - extract(epoch from '2026-07-17 08:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320674 -2.764808)', '2026-07-17 08:31:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.764955)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.764808)'))) / (select extract(epoch from '2026-07-17 08:31:20'::timestamp) - extract(epoch from '2026-07-17 08:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.764955)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.764808)'))) / (select extract(epoch from '2026-07-17 08:31:20'::timestamp) - extract(epoch from '2026-07-17 08:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320624 -2.764652)', '2026-07-17 08:31:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.764808)'), GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.764652)'))) / (select extract(epoch from '2026-07-17 08:31:27'::timestamp) - extract(epoch from '2026-07-17 08:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.764808)'), GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.764652)'))) / (select extract(epoch from '2026-07-17 08:31:27'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320578 -2.764488)', '2026-07-17 08:31:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.764652)'), GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.764488)'))) / (select extract(epoch from '2026-07-17 08:31:35'::timestamp) - extract(epoch from '2026-07-17 08:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.764652)'), GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.764488)'))) / (select extract(epoch from '2026-07-17 08:31:35'::timestamp) - extract(epoch from '2026-07-17 08:31: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'), 47644, 'SRID=4674;POINT (-40.320511 -2.764259)', '2026-07-17 08:31:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.764488)'), GeomFromEWKT('SRID=4674;POINT (-40.320511 -2.764259)'))) / (select extract(epoch from '2026-07-17 08:31:45'::timestamp) - extract(epoch from '2026-07-17 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.764488)'), GeomFromEWKT('SRID=4674;POINT (-40.320511 -2.764259)'))) / (select extract(epoch from '2026-07-17 08:31:45'::timestamp) - extract(epoch from '2026-07-17 08:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320438 -2.764114)', '2026-07-17 08:31:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320511 -2.764259)'), GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.764114)'))) / (select extract(epoch from '2026-07-17 08:31:52'::timestamp) - extract(epoch from '2026-07-17 08:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320511 -2.764259)'), GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.764114)'))) / (select extract(epoch from '2026-07-17 08:31:52'::timestamp) - extract(epoch from '2026-07-17 08:31: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'), 47644, 'SRID=4674;POINT (-40.320405 -2.763969)', '2026-07-17 08:31:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.764114)'), GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763969)'))) / (select extract(epoch from '2026-07-17 08:31:59'::timestamp) - extract(epoch from '2026-07-17 08:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.764114)'), GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763969)'))) / (select extract(epoch from '2026-07-17 08:31:59'::timestamp) - extract(epoch from '2026-07-17 08:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320405 -2.763803)', '2026-07-17 08:32:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763969)'), GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763803)'))) / (select extract(epoch from '2026-07-17 08:32:06'::timestamp) - extract(epoch from '2026-07-17 08:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763969)'), GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763803)'))) / (select extract(epoch from '2026-07-17 08:32:06'::timestamp) - extract(epoch from '2026-07-17 08:31: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'), 47644, 'SRID=4674;POINT (-40.320396 -2.763636)', '2026-07-17 08:32:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763803)'), GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.763636)'))) / (select extract(epoch from '2026-07-17 08:32:13'::timestamp) - extract(epoch from '2026-07-17 08:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320405 -2.763803)'), GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.763636)'))) / (select extract(epoch from '2026-07-17 08:32:13'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320367 -2.763454)', '2026-07-17 08:32:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.763636)'), GeomFromEWKT('SRID=4674;POINT (-40.320367 -2.763454)'))) / (select extract(epoch from '2026-07-17 08:32:21'::timestamp) - extract(epoch from '2026-07-17 08:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320396 -2.763636)'), GeomFromEWKT('SRID=4674;POINT (-40.320367 -2.763454)'))) / (select extract(epoch from '2026-07-17 08:32:21'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320315 -2.76328)', '2026-07-17 08:32:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320367 -2.763454)'), GeomFromEWKT('SRID=4674;POINT (-40.320315 -2.76328)'))) / (select extract(epoch from '2026-07-17 08:32:29'::timestamp) - extract(epoch from '2026-07-17 08:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320367 -2.763454)'), GeomFromEWKT('SRID=4674;POINT (-40.320315 -2.76328)'))) / (select extract(epoch from '2026-07-17 08:32:29'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320352 -2.763163)', '2026-07-17 08:32:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320315 -2.76328)'), GeomFromEWKT('SRID=4674;POINT (-40.320352 -2.763163)'))) / (select extract(epoch from '2026-07-17 08:32:35'::timestamp) - extract(epoch from '2026-07-17 08:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320315 -2.76328)'), GeomFromEWKT('SRID=4674;POINT (-40.320352 -2.763163)'))) / (select extract(epoch from '2026-07-17 08:32:35'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320436 -2.763131)', '2026-07-17 08:32:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320352 -2.763163)'), GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.763131)'))) / (select extract(epoch from '2026-07-17 08:32:40'::timestamp) - extract(epoch from '2026-07-17 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320352 -2.763163)'), GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.763131)'))) / (select extract(epoch from '2026-07-17 08:32:40'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320473 -2.763143)', '2026-07-17 08:32:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.763131)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.763143)'))) / (select extract(epoch from '2026-07-17 08:32:43'::timestamp) - extract(epoch from '2026-07-17 08:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.763131)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.763143)'))) / (select extract(epoch from '2026-07-17 08:32:43'::timestamp) - extract(epoch from '2026-07-17 08:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320491 -2.763175)', '2026-07-17 08:32:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.763143)'), GeomFromEWKT('SRID=4674;POINT (-40.320491 -2.763175)'))) / (select extract(epoch from '2026-07-17 08:32:45'::timestamp) - extract(epoch from '2026-07-17 08:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.763143)'), GeomFromEWKT('SRID=4674;POINT (-40.320491 -2.763175)'))) / (select extract(epoch from '2026-07-17 08:32:45'::timestamp) - extract(epoch from '2026-07-17 08:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320492 -2.763193)', '2026-07-17 08:32:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320491 -2.763175)'), GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.763193)'))) / (select extract(epoch from '2026-07-17 08:32:46'::timestamp) - extract(epoch from '2026-07-17 08:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320491 -2.763175)'), GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.763193)'))) / (select extract(epoch from '2026-07-17 08:32:46'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320499 -2.763243)', '2026-07-17 08:32:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.763193)'), GeomFromEWKT('SRID=4674;POINT (-40.320499 -2.763243)'))) / (select extract(epoch from '2026-07-17 08:32:49'::timestamp) - extract(epoch from '2026-07-17 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.763193)'), GeomFromEWKT('SRID=4674;POINT (-40.320499 -2.763243)'))) / (select extract(epoch from '2026-07-17 08:32:49'::timestamp) - extract(epoch from '2026-07-17 08:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320508 -2.763386)', '2026-07-17 08:32:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320499 -2.763243)'), GeomFromEWKT('SRID=4674;POINT (-40.320508 -2.763386)'))) / (select extract(epoch from '2026-07-17 08:32:56'::timestamp) - extract(epoch from '2026-07-17 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320499 -2.763243)'), GeomFromEWKT('SRID=4674;POINT (-40.320508 -2.763386)'))) / (select extract(epoch from '2026-07-17 08:32:56'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320502 -2.76351)', '2026-07-17 08:33:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320508 -2.763386)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.76351)'))) / (select extract(epoch from '2026-07-17 08:33:02'::timestamp) - extract(epoch from '2026-07-17 08:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320508 -2.763386)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.76351)'))) / (select extract(epoch from '2026-07-17 08:33:02'::timestamp) - extract(epoch from '2026-07-17 08:32: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'), 47644, 'SRID=4674;POINT (-40.320529 -2.763628)', '2026-07-17 08:33:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.76351)'), GeomFromEWKT('SRID=4674;POINT (-40.320529 -2.763628)'))) / (select extract(epoch from '2026-07-17 08:33:08'::timestamp) - extract(epoch from '2026-07-17 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.76351)'), GeomFromEWKT('SRID=4674;POINT (-40.320529 -2.763628)'))) / (select extract(epoch from '2026-07-17 08:33:08'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320609 -2.763757)', '2026-07-17 08:33:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320529 -2.763628)'), GeomFromEWKT('SRID=4674;POINT (-40.320609 -2.763757)'))) / (select extract(epoch from '2026-07-17 08:33:15'::timestamp) - extract(epoch from '2026-07-17 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320529 -2.763628)'), GeomFromEWKT('SRID=4674;POINT (-40.320609 -2.763757)'))) / (select extract(epoch from '2026-07-17 08:33:15'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320643 -2.763885)', '2026-07-17 08:33:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320609 -2.763757)'), GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.763885)'))) / (select extract(epoch from '2026-07-17 08:33:22'::timestamp) - extract(epoch from '2026-07-17 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320609 -2.763757)'), GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.763885)'))) / (select extract(epoch from '2026-07-17 08:33:22'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320642 -2.764002)', '2026-07-17 08:33:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.763885)'), GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.764002)'))) / (select extract(epoch from '2026-07-17 08:33:28'::timestamp) - extract(epoch from '2026-07-17 08:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.763885)'), GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.764002)'))) / (select extract(epoch from '2026-07-17 08:33:28'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320641 -2.764125)', '2026-07-17 08:33:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.764002)'), GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.764125)'))) / (select extract(epoch from '2026-07-17 08:33:34'::timestamp) - extract(epoch from '2026-07-17 08:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.764002)'), GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.764125)'))) / (select extract(epoch from '2026-07-17 08:33:34'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320636 -2.764264)', '2026-07-17 08:33:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.764125)'), GeomFromEWKT('SRID=4674;POINT (-40.320636 -2.764264)'))) / (select extract(epoch from '2026-07-17 08:33:41'::timestamp) - extract(epoch from '2026-07-17 08:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.764125)'), GeomFromEWKT('SRID=4674;POINT (-40.320636 -2.764264)'))) / (select extract(epoch from '2026-07-17 08:33:41'::timestamp) - extract(epoch from '2026-07-17 08:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32062 -2.764444)', '2026-07-17 08:33:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320636 -2.764264)'), GeomFromEWKT('SRID=4674;POINT (-40.32062 -2.764444)'))) / (select extract(epoch from '2026-07-17 08:33:50'::timestamp) - extract(epoch from '2026-07-17 08:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320636 -2.764264)'), GeomFromEWKT('SRID=4674;POINT (-40.32062 -2.764444)'))) / (select extract(epoch from '2026-07-17 08:33:50'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320604 -2.764577)', '2026-07-17 08:33:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32062 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.320604 -2.764577)'))) / (select extract(epoch from '2026-07-17 08:33:57'::timestamp) - extract(epoch from '2026-07-17 08:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32062 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.320604 -2.764577)'))) / (select extract(epoch from '2026-07-17 08:33:57'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320646 -2.764737)', '2026-07-17 08:34:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320604 -2.764577)'), GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.764737)'))) / (select extract(epoch from '2026-07-17 08:34:05'::timestamp) - extract(epoch from '2026-07-17 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320604 -2.764577)'), GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.764737)'))) / (select extract(epoch from '2026-07-17 08:34:05'::timestamp) - extract(epoch from '2026-07-17 08:33: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'), 47644, 'SRID=4674;POINT (-40.320681 -2.764863)', '2026-07-17 08:34:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.764737)'), GeomFromEWKT('SRID=4674;POINT (-40.320681 -2.764863)'))) / (select extract(epoch from '2026-07-17 08:34:12'::timestamp) - extract(epoch from '2026-07-17 08:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.764737)'), GeomFromEWKT('SRID=4674;POINT (-40.320681 -2.764863)'))) / (select extract(epoch from '2026-07-17 08:34:12'::timestamp) - extract(epoch from '2026-07-17 08:34: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'), 47644, 'SRID=4674;POINT (-40.320696 -2.765013)', '2026-07-17 08:34:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320681 -2.764863)'), GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765013)'))) / (select extract(epoch from '2026-07-17 08:34:20'::timestamp) - extract(epoch from '2026-07-17 08:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320681 -2.764863)'), GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765013)'))) / (select extract(epoch from '2026-07-17 08:34:20'::timestamp) - extract(epoch from '2026-07-17 08:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320712 -2.765137)', '2026-07-17 08:34:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765013)'), GeomFromEWKT('SRID=4674;POINT (-40.320712 -2.765137)'))) / (select extract(epoch from '2026-07-17 08:34:26'::timestamp) - extract(epoch from '2026-07-17 08:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765013)'), GeomFromEWKT('SRID=4674;POINT (-40.320712 -2.765137)'))) / (select extract(epoch from '2026-07-17 08:34:26'::timestamp) - extract(epoch from '2026-07-17 08:34: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'), 47644, 'SRID=4674;POINT (-40.320738 -2.765258)', '2026-07-17 08:34:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320712 -2.765137)'), GeomFromEWKT('SRID=4674;POINT (-40.320738 -2.765258)'))) / (select extract(epoch from '2026-07-17 08:34:32'::timestamp) - extract(epoch from '2026-07-17 08:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320712 -2.765137)'), GeomFromEWKT('SRID=4674;POINT (-40.320738 -2.765258)'))) / (select extract(epoch from '2026-07-17 08:34:32'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320805 -2.765399)', '2026-07-17 08:34:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320738 -2.765258)'), GeomFromEWKT('SRID=4674;POINT (-40.320805 -2.765399)'))) / (select extract(epoch from '2026-07-17 08:34:40'::timestamp) - extract(epoch from '2026-07-17 08:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320738 -2.765258)'), GeomFromEWKT('SRID=4674;POINT (-40.320805 -2.765399)'))) / (select extract(epoch from '2026-07-17 08:34:40'::timestamp) - extract(epoch from '2026-07-17 08:34: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'), 47644, 'SRID=4674;POINT (-40.320826 -2.76553)', '2026-07-17 08:34:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320805 -2.765399)'), GeomFromEWKT('SRID=4674;POINT (-40.320826 -2.76553)'))) / (select extract(epoch from '2026-07-17 08:34:46'::timestamp) - extract(epoch from '2026-07-17 08:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320805 -2.765399)'), GeomFromEWKT('SRID=4674;POINT (-40.320826 -2.76553)'))) / (select extract(epoch from '2026-07-17 08:34:46'::timestamp) - extract(epoch from '2026-07-17 08:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320845 -2.765661)', '2026-07-17 08:34:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320826 -2.76553)'), GeomFromEWKT('SRID=4674;POINT (-40.320845 -2.765661)'))) / (select extract(epoch from '2026-07-17 08:34:52'::timestamp) - extract(epoch from '2026-07-17 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320826 -2.76553)'), GeomFromEWKT('SRID=4674;POINT (-40.320845 -2.765661)'))) / (select extract(epoch from '2026-07-17 08:34:52'::timestamp) - extract(epoch from '2026-07-17 08:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320889 -2.765806)', '2026-07-17 08:34:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320845 -2.765661)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765806)'))) / (select extract(epoch from '2026-07-17 08:34:59'::timestamp) - extract(epoch from '2026-07-17 08:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320845 -2.765661)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765806)'))) / (select extract(epoch from '2026-07-17 08:34:59'::timestamp) - extract(epoch from '2026-07-17 08:34: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'), 47644, 'SRID=4674;POINT (-40.320933 -2.76596)', '2026-07-17 08:35:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765806)'), GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.76596)'))) / (select extract(epoch from '2026-07-17 08:35:06'::timestamp) - extract(epoch from '2026-07-17 08:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765806)'), GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.76596)'))) / (select extract(epoch from '2026-07-17 08:35:06'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.320963 -2.766125)', '2026-07-17 08:35:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.76596)'), GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.766125)'))) / (select extract(epoch from '2026-07-17 08:35:14'::timestamp) - extract(epoch from '2026-07-17 08:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.76596)'), GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.766125)'))) / (select extract(epoch from '2026-07-17 08:35:14'::timestamp) - extract(epoch from '2026-07-17 08:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.320997 -2.766281)', '2026-07-17 08:35:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.766125)'), GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.766281)'))) / (select extract(epoch from '2026-07-17 08:35:22'::timestamp) - extract(epoch from '2026-07-17 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.766125)'), GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.766281)'))) / (select extract(epoch from '2026-07-17 08:35:22'::timestamp) - extract(epoch from '2026-07-17 08:35: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'), 47644, 'SRID=4674;POINT (-40.321038 -2.766456)', '2026-07-17 08:35:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.766281)'), GeomFromEWKT('SRID=4674;POINT (-40.321038 -2.766456)'))) / (select extract(epoch from '2026-07-17 08:35:31'::timestamp) - extract(epoch from '2026-07-17 08:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.766281)'), GeomFromEWKT('SRID=4674;POINT (-40.321038 -2.766456)'))) / (select extract(epoch from '2026-07-17 08:35:31'::timestamp) - extract(epoch from '2026-07-17 08:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321081 -2.766547)', '2026-07-17 08:35:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321038 -2.766456)'), GeomFromEWKT('SRID=4674;POINT (-40.321081 -2.766547)'))) / (select extract(epoch from '2026-07-17 08:35:36'::timestamp) - extract(epoch from '2026-07-17 08:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321038 -2.766456)'), GeomFromEWKT('SRID=4674;POINT (-40.321081 -2.766547)'))) / (select extract(epoch from '2026-07-17 08:35:36'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.321135 -2.766658)', '2026-07-17 08:35:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321081 -2.766547)'), GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766658)'))) / (select extract(epoch from '2026-07-17 08:35:42'::timestamp) - extract(epoch from '2026-07-17 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321081 -2.766547)'), GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766658)'))) / (select extract(epoch from '2026-07-17 08:35:42'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.321184 -2.766778)', '2026-07-17 08:35:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766658)'), GeomFromEWKT('SRID=4674;POINT (-40.321184 -2.766778)'))) / (select extract(epoch from '2026-07-17 08:35:48'::timestamp) - extract(epoch from '2026-07-17 08:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766658)'), GeomFromEWKT('SRID=4674;POINT (-40.321184 -2.766778)'))) / (select extract(epoch from '2026-07-17 08:35:48'::timestamp) - extract(epoch from '2026-07-17 08:35: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'), 47644, 'SRID=4674;POINT (-40.321244 -2.766911)', '2026-07-17 08:35:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321184 -2.766778)'), GeomFromEWKT('SRID=4674;POINT (-40.321244 -2.766911)'))) / (select extract(epoch from '2026-07-17 08:35:55'::timestamp) - extract(epoch from '2026-07-17 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321184 -2.766778)'), GeomFromEWKT('SRID=4674;POINT (-40.321244 -2.766911)'))) / (select extract(epoch from '2026-07-17 08:35:55'::timestamp) - extract(epoch from '2026-07-17 08:35: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'), 47644, 'SRID=4674;POINT (-40.321284 -2.76707)', '2026-07-17 08:36:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321244 -2.766911)'), GeomFromEWKT('SRID=4674;POINT (-40.321284 -2.76707)'))) / (select extract(epoch from '2026-07-17 08:36:03'::timestamp) - extract(epoch from '2026-07-17 08:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321244 -2.766911)'), GeomFromEWKT('SRID=4674;POINT (-40.321284 -2.76707)'))) / (select extract(epoch from '2026-07-17 08:36:03'::timestamp) - extract(epoch from '2026-07-17 08:35: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'), 47644, 'SRID=4674;POINT (-40.321318 -2.767203)', '2026-07-17 08:36:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321284 -2.76707)'), GeomFromEWKT('SRID=4674;POINT (-40.321318 -2.767203)'))) / (select extract(epoch from '2026-07-17 08:36:10'::timestamp) - extract(epoch from '2026-07-17 08:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321284 -2.76707)'), GeomFromEWKT('SRID=4674;POINT (-40.321318 -2.767203)'))) / (select extract(epoch from '2026-07-17 08:36:10'::timestamp) - extract(epoch from '2026-07-17 08:36: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'), 47644, 'SRID=4674;POINT (-40.321367 -2.767345)', '2026-07-17 08:36:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321318 -2.767203)'), GeomFromEWKT('SRID=4674;POINT (-40.321367 -2.767345)'))) / (select extract(epoch from '2026-07-17 08:36:17'::timestamp) - extract(epoch from '2026-07-17 08:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321318 -2.767203)'), GeomFromEWKT('SRID=4674;POINT (-40.321367 -2.767345)'))) / (select extract(epoch from '2026-07-17 08:36:17'::timestamp) - extract(epoch from '2026-07-17 08:36: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'), 47644, 'SRID=4674;POINT (-40.321413 -2.76749)', '2026-07-17 08:36:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321367 -2.767345)'), GeomFromEWKT('SRID=4674;POINT (-40.321413 -2.76749)'))) / (select extract(epoch from '2026-07-17 08:36:24'::timestamp) - extract(epoch from '2026-07-17 08:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321367 -2.767345)'), GeomFromEWKT('SRID=4674;POINT (-40.321413 -2.76749)'))) / (select extract(epoch from '2026-07-17 08:36:24'::timestamp) - extract(epoch from '2026-07-17 08:36: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'), 47644, 'SRID=4674;POINT (-40.321462 -2.767628)', '2026-07-17 08:36:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321413 -2.76749)'), GeomFromEWKT('SRID=4674;POINT (-40.321462 -2.767628)'))) / (select extract(epoch from '2026-07-17 08:36:31'::timestamp) - extract(epoch from '2026-07-17 08:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321413 -2.76749)'), GeomFromEWKT('SRID=4674;POINT (-40.321462 -2.767628)'))) / (select extract(epoch from '2026-07-17 08:36:31'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.321491 -2.767755)', '2026-07-17 08:36:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321462 -2.767628)'), GeomFromEWKT('SRID=4674;POINT (-40.321491 -2.767755)'))) / (select extract(epoch from '2026-07-17 08:36:37'::timestamp) - extract(epoch from '2026-07-17 08:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321462 -2.767628)'), GeomFromEWKT('SRID=4674;POINT (-40.321491 -2.767755)'))) / (select extract(epoch from '2026-07-17 08:36:37'::timestamp) - extract(epoch from '2026-07-17 08:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321523 -2.767893)', '2026-07-17 08:36:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321491 -2.767755)'), GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.767893)'))) / (select extract(epoch from '2026-07-17 08:36:44'::timestamp) - extract(epoch from '2026-07-17 08:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321491 -2.767755)'), GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.767893)'))) / (select extract(epoch from '2026-07-17 08:36:44'::timestamp) - extract(epoch from '2026-07-17 08:36: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'), 47644, 'SRID=4674;POINT (-40.32157 -2.768065)', '2026-07-17 08:36:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.767893)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768065)'))) / (select extract(epoch from '2026-07-17 08:36:52'::timestamp) - extract(epoch from '2026-07-17 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.767893)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768065)'))) / (select extract(epoch from '2026-07-17 08:36:52'::timestamp) - extract(epoch from '2026-07-17 08:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321632 -2.768217)', '2026-07-17 08:36:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768065)'), GeomFromEWKT('SRID=4674;POINT (-40.321632 -2.768217)'))) / (select extract(epoch from '2026-07-17 08:36:59'::timestamp) - extract(epoch from '2026-07-17 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768065)'), GeomFromEWKT('SRID=4674;POINT (-40.321632 -2.768217)'))) / (select extract(epoch from '2026-07-17 08:36:59'::timestamp) - extract(epoch from '2026-07-17 08:36: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'), 47644, 'SRID=4674;POINT (-40.321682 -2.76834)', '2026-07-17 08:37:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321632 -2.768217)'), GeomFromEWKT('SRID=4674;POINT (-40.321682 -2.76834)'))) / (select extract(epoch from '2026-07-17 08:37:05'::timestamp) - extract(epoch from '2026-07-17 08:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321632 -2.768217)'), GeomFromEWKT('SRID=4674;POINT (-40.321682 -2.76834)'))) / (select extract(epoch from '2026-07-17 08:37:05'::timestamp) - extract(epoch from '2026-07-17 08:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321726 -2.768444)', '2026-07-17 08:37:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321682 -2.76834)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.768444)'))) / (select extract(epoch from '2026-07-17 08:37:10'::timestamp) - extract(epoch from '2026-07-17 08:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321682 -2.76834)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.768444)'))) / (select extract(epoch from '2026-07-17 08:37:10'::timestamp) - extract(epoch from '2026-07-17 08:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321767 -2.768557)', '2026-07-17 08:37:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321767 -2.768557)'))) / (select extract(epoch from '2026-07-17 08:37:16'::timestamp) - extract(epoch from '2026-07-17 08:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321767 -2.768557)'))) / (select extract(epoch from '2026-07-17 08:37:16'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.321805 -2.768714)', '2026-07-17 08:37:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321767 -2.768557)'), GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768714)'))) / (select extract(epoch from '2026-07-17 08:37:24'::timestamp) - extract(epoch from '2026-07-17 08:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321767 -2.768557)'), GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768714)'))) / (select extract(epoch from '2026-07-17 08:37:24'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.32184 -2.768854)', '2026-07-17 08:37:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768714)'), GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.768854)'))) / (select extract(epoch from '2026-07-17 08:37:31'::timestamp) - extract(epoch from '2026-07-17 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768714)'), GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.768854)'))) / (select extract(epoch from '2026-07-17 08:37:31'::timestamp) - extract(epoch from '2026-07-17 08:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.321901 -2.768995)', '2026-07-17 08:37:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.768854)'), GeomFromEWKT('SRID=4674;POINT (-40.321901 -2.768995)'))) / (select extract(epoch from '2026-07-17 08:37:38'::timestamp) - extract(epoch from '2026-07-17 08:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.768854)'), GeomFromEWKT('SRID=4674;POINT (-40.321901 -2.768995)'))) / (select extract(epoch from '2026-07-17 08:37:38'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.321962 -2.769128)', '2026-07-17 08:37:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321901 -2.768995)'), GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769128)'))) / (select extract(epoch from '2026-07-17 08:37:45'::timestamp) - extract(epoch from '2026-07-17 08:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321901 -2.768995)'), GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769128)'))) / (select extract(epoch from '2026-07-17 08:37:45'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.322007 -2.76926)', '2026-07-17 08:37:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769128)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.76926)'))) / (select extract(epoch from '2026-07-17 08:37:52'::timestamp) - extract(epoch from '2026-07-17 08:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769128)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.76926)'))) / (select extract(epoch from '2026-07-17 08:37:52'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.322056 -2.769397)', '2026-07-17 08:37:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.76926)'), GeomFromEWKT('SRID=4674;POINT (-40.322056 -2.769397)'))) / (select extract(epoch from '2026-07-17 08:37:59'::timestamp) - extract(epoch from '2026-07-17 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.76926)'), GeomFromEWKT('SRID=4674;POINT (-40.322056 -2.769397)'))) / (select extract(epoch from '2026-07-17 08:37:59'::timestamp) - extract(epoch from '2026-07-17 08:37: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'), 47644, 'SRID=4674;POINT (-40.322077 -2.769492)', '2026-07-17 08:38:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322056 -2.769397)'), GeomFromEWKT('SRID=4674;POINT (-40.322077 -2.769492)'))) / (select extract(epoch from '2026-07-17 08:38:04'::timestamp) - extract(epoch from '2026-07-17 08:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322056 -2.769397)'), GeomFromEWKT('SRID=4674;POINT (-40.322077 -2.769492)'))) / (select extract(epoch from '2026-07-17 08:38:04'::timestamp) - extract(epoch from '2026-07-17 08:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322116 -2.769642)', '2026-07-17 08:38:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322077 -2.769492)'), GeomFromEWKT('SRID=4674;POINT (-40.322116 -2.769642)'))) / (select extract(epoch from '2026-07-17 08:38:11'::timestamp) - extract(epoch from '2026-07-17 08:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322077 -2.769492)'), GeomFromEWKT('SRID=4674;POINT (-40.322116 -2.769642)'))) / (select extract(epoch from '2026-07-17 08:38:11'::timestamp) - extract(epoch from '2026-07-17 08:38: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'), 47644, 'SRID=4674;POINT (-40.322138 -2.769809)', '2026-07-17 08:38:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322116 -2.769642)'), GeomFromEWKT('SRID=4674;POINT (-40.322138 -2.769809)'))) / (select extract(epoch from '2026-07-17 08:38:19'::timestamp) - extract(epoch from '2026-07-17 08:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322116 -2.769642)'), GeomFromEWKT('SRID=4674;POINT (-40.322138 -2.769809)'))) / (select extract(epoch from '2026-07-17 08:38:19'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322139 -2.769941)', '2026-07-17 08:38:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322138 -2.769809)'), GeomFromEWKT('SRID=4674;POINT (-40.322139 -2.769941)'))) / (select extract(epoch from '2026-07-17 08:38:25'::timestamp) - extract(epoch from '2026-07-17 08:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322138 -2.769809)'), GeomFromEWKT('SRID=4674;POINT (-40.322139 -2.769941)'))) / (select extract(epoch from '2026-07-17 08:38:25'::timestamp) - extract(epoch from '2026-07-17 08:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322146 -2.770082)', '2026-07-17 08:38:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322139 -2.769941)'), GeomFromEWKT('SRID=4674;POINT (-40.322146 -2.770082)'))) / (select extract(epoch from '2026-07-17 08:38:32'::timestamp) - extract(epoch from '2026-07-17 08:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322139 -2.769941)'), GeomFromEWKT('SRID=4674;POINT (-40.322146 -2.770082)'))) / (select extract(epoch from '2026-07-17 08:38:32'::timestamp) - extract(epoch from '2026-07-17 08:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322163 -2.770223)', '2026-07-17 08:38:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322146 -2.770082)'), GeomFromEWKT('SRID=4674;POINT (-40.322163 -2.770223)'))) / (select extract(epoch from '2026-07-17 08:38:39'::timestamp) - extract(epoch from '2026-07-17 08:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322146 -2.770082)'), GeomFromEWKT('SRID=4674;POINT (-40.322163 -2.770223)'))) / (select extract(epoch from '2026-07-17 08:38:39'::timestamp) - extract(epoch from '2026-07-17 08:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322182 -2.770369)', '2026-07-17 08:38:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322163 -2.770223)'), GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770369)'))) / (select extract(epoch from '2026-07-17 08:38:46'::timestamp) - extract(epoch from '2026-07-17 08:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322163 -2.770223)'), GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770369)'))) / (select extract(epoch from '2026-07-17 08:38:46'::timestamp) - extract(epoch from '2026-07-17 08:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322214 -2.770541)', '2026-07-17 08:38:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770369)'), GeomFromEWKT('SRID=4674;POINT (-40.322214 -2.770541)'))) / (select extract(epoch from '2026-07-17 08:38:54'::timestamp) - extract(epoch from '2026-07-17 08:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770369)'), GeomFromEWKT('SRID=4674;POINT (-40.322214 -2.770541)'))) / (select extract(epoch from '2026-07-17 08:38:54'::timestamp) - extract(epoch from '2026-07-17 08:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322259 -2.77066)', '2026-07-17 08:39:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322214 -2.770541)'), GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.77066)'))) / (select extract(epoch from '2026-07-17 08:39:00'::timestamp) - extract(epoch from '2026-07-17 08:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322214 -2.770541)'), GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.77066)'))) / (select extract(epoch from '2026-07-17 08:39:00'::timestamp) - extract(epoch from '2026-07-17 08:38: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'), 47644, 'SRID=4674;POINT (-40.322322 -2.770801)', '2026-07-17 08:39:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.77066)'), GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.770801)'))) / (select extract(epoch from '2026-07-17 08:39:07'::timestamp) - extract(epoch from '2026-07-17 08:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322259 -2.77066)'), GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.770801)'))) / (select extract(epoch from '2026-07-17 08:39:07'::timestamp) - extract(epoch from '2026-07-17 08:39: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'), 47644, 'SRID=4674;POINT (-40.322371 -2.770938)', '2026-07-17 08:39:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.770801)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770938)'))) / (select extract(epoch from '2026-07-17 08:39:14'::timestamp) - extract(epoch from '2026-07-17 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322322 -2.770801)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770938)'))) / (select extract(epoch from '2026-07-17 08:39:14'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322432 -2.77106)', '2026-07-17 08:39:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770938)'), GeomFromEWKT('SRID=4674;POINT (-40.322432 -2.77106)'))) / (select extract(epoch from '2026-07-17 08:39:21'::timestamp) - extract(epoch from '2026-07-17 08:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770938)'), GeomFromEWKT('SRID=4674;POINT (-40.322432 -2.77106)'))) / (select extract(epoch from '2026-07-17 08:39:21'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322465 -2.771199)', '2026-07-17 08:39:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322432 -2.77106)'), GeomFromEWKT('SRID=4674;POINT (-40.322465 -2.771199)'))) / (select extract(epoch from '2026-07-17 08:39:28'::timestamp) - extract(epoch from '2026-07-17 08:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322432 -2.77106)'), GeomFromEWKT('SRID=4674;POINT (-40.322465 -2.771199)'))) / (select extract(epoch from '2026-07-17 08:39:28'::timestamp) - extract(epoch from '2026-07-17 08:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322492 -2.77136)', '2026-07-17 08:39:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322465 -2.771199)'), GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.77136)'))) / (select extract(epoch from '2026-07-17 08:39:36'::timestamp) - extract(epoch from '2026-07-17 08:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322465 -2.771199)'), GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.77136)'))) / (select extract(epoch from '2026-07-17 08:39:36'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322511 -2.771513)', '2026-07-17 08:39:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.77136)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.771513)'))) / (select extract(epoch from '2026-07-17 08:39:43'::timestamp) - extract(epoch from '2026-07-17 08:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.77136)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.771513)'))) / (select extract(epoch from '2026-07-17 08:39:43'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322525 -2.771707)', '2026-07-17 08:39:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.771513)'), GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771707)'))) / (select extract(epoch from '2026-07-17 08:39:52'::timestamp) - extract(epoch from '2026-07-17 08:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.771513)'), GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771707)'))) / (select extract(epoch from '2026-07-17 08:39:52'::timestamp) - extract(epoch from '2026-07-17 08:39: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'), 47644, 'SRID=4674;POINT (-40.322529 -2.771846)', '2026-07-17 08:39:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771707)'), GeomFromEWKT('SRID=4674;POINT (-40.322529 -2.771846)'))) / (select extract(epoch from '2026-07-17 08:39:59'::timestamp) - extract(epoch from '2026-07-17 08:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322525 -2.771707)'), GeomFromEWKT('SRID=4674;POINT (-40.322529 -2.771846)'))) / (select extract(epoch from '2026-07-17 08:39:59'::timestamp) - extract(epoch from '2026-07-17 08:39: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'), 47644, 'SRID=4674;POINT (-40.322541 -2.772037)', '2026-07-17 08:40:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322529 -2.771846)'), GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.772037)'))) / (select extract(epoch from '2026-07-17 08:40:08'::timestamp) - extract(epoch from '2026-07-17 08:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322529 -2.771846)'), GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.772037)'))) / (select extract(epoch from '2026-07-17 08:40:08'::timestamp) - extract(epoch from '2026-07-17 08:39: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'), 47644, 'SRID=4674;POINT (-40.322578 -2.772181)', '2026-07-17 08:40:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.772037)'), GeomFromEWKT('SRID=4674;POINT (-40.322578 -2.772181)'))) / (select extract(epoch from '2026-07-17 08:40:15'::timestamp) - extract(epoch from '2026-07-17 08:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.772037)'), GeomFromEWKT('SRID=4674;POINT (-40.322578 -2.772181)'))) / (select extract(epoch from '2026-07-17 08:40:15'::timestamp) - extract(epoch from '2026-07-17 08:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322594 -2.772351)', '2026-07-17 08:40:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322578 -2.772181)'), GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.772351)'))) / (select extract(epoch from '2026-07-17 08:40:23'::timestamp) - extract(epoch from '2026-07-17 08:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322578 -2.772181)'), GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.772351)'))) / (select extract(epoch from '2026-07-17 08:40:23'::timestamp) - extract(epoch from '2026-07-17 08:40: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'), 47644, 'SRID=4674;POINT (-40.322612 -2.772522)', '2026-07-17 08:40:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.772351)'), GeomFromEWKT('SRID=4674;POINT (-40.322612 -2.772522)'))) / (select extract(epoch from '2026-07-17 08:40:31'::timestamp) - extract(epoch from '2026-07-17 08:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.772351)'), GeomFromEWKT('SRID=4674;POINT (-40.322612 -2.772522)'))) / (select extract(epoch from '2026-07-17 08:40:31'::timestamp) - extract(epoch from '2026-07-17 08:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322651 -2.772694)', '2026-07-17 08:40:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322612 -2.772522)'), GeomFromEWKT('SRID=4674;POINT (-40.322651 -2.772694)'))) / (select extract(epoch from '2026-07-17 08:40:39'::timestamp) - extract(epoch from '2026-07-17 08:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322612 -2.772522)'), GeomFromEWKT('SRID=4674;POINT (-40.322651 -2.772694)'))) / (select extract(epoch from '2026-07-17 08:40:39'::timestamp) - extract(epoch from '2026-07-17 08:40: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'), 47644, 'SRID=4674;POINT (-40.322664 -2.77286)', '2026-07-17 08:40:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322651 -2.772694)'), GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.77286)'))) / (select extract(epoch from '2026-07-17 08:40:47'::timestamp) - extract(epoch from '2026-07-17 08:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322651 -2.772694)'), GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.77286)'))) / (select extract(epoch from '2026-07-17 08:40:47'::timestamp) - extract(epoch from '2026-07-17 08:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.322698 -2.773019)', '2026-07-17 08:40:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.77286)'), GeomFromEWKT('SRID=4674;POINT (-40.322698 -2.773019)'))) / (select extract(epoch from '2026-07-17 08:40:55'::timestamp) - extract(epoch from '2026-07-17 08:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.77286)'), GeomFromEWKT('SRID=4674;POINT (-40.322698 -2.773019)'))) / (select extract(epoch from '2026-07-17 08:40:55'::timestamp) - extract(epoch from '2026-07-17 08:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.32273 -2.773211)', '2026-07-17 08:41:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322698 -2.773019)'), GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.773211)'))) / (select extract(epoch from '2026-07-17 08:41:04'::timestamp) - extract(epoch from '2026-07-17 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322698 -2.773019)'), GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.773211)'))) / (select extract(epoch from '2026-07-17 08:41:04'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.322758 -2.773315)', '2026-07-17 08:41:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.773211)'), GeomFromEWKT('SRID=4674;POINT (-40.322758 -2.773315)'))) / (select extract(epoch from '2026-07-17 08:41:09'::timestamp) - extract(epoch from '2026-07-17 08:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.773211)'), GeomFromEWKT('SRID=4674;POINT (-40.322758 -2.773315)'))) / (select extract(epoch from '2026-07-17 08:41:09'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.322769 -2.773425)', '2026-07-17 08:41:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322758 -2.773315)'), GeomFromEWKT('SRID=4674;POINT (-40.322769 -2.773425)'))) / (select extract(epoch from '2026-07-17 08:41:14'::timestamp) - extract(epoch from '2026-07-17 08:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322758 -2.773315)'), GeomFromEWKT('SRID=4674;POINT (-40.322769 -2.773425)'))) / (select extract(epoch from '2026-07-17 08:41:14'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.322831 -2.773589)', '2026-07-17 08:41:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322769 -2.773425)'), GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.773589)'))) / (select extract(epoch from '2026-07-17 08:41:22'::timestamp) - extract(epoch from '2026-07-17 08:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322769 -2.773425)'), GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.773589)'))) / (select extract(epoch from '2026-07-17 08:41:22'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.322911 -2.773695)', '2026-07-17 08:41:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.773589)'), GeomFromEWKT('SRID=4674;POINT (-40.322911 -2.773695)'))) / (select extract(epoch from '2026-07-17 08:41:28'::timestamp) - extract(epoch from '2026-07-17 08:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.773589)'), GeomFromEWKT('SRID=4674;POINT (-40.322911 -2.773695)'))) / (select extract(epoch from '2026-07-17 08:41:28'::timestamp) - extract(epoch from '2026-07-17 08:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.323025 -2.773847)', '2026-07-17 08:41:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322911 -2.773695)'), GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.773847)'))) / (select extract(epoch from '2026-07-17 08:41:37'::timestamp) - extract(epoch from '2026-07-17 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322911 -2.773695)'), GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.773847)'))) / (select extract(epoch from '2026-07-17 08:41:37'::timestamp) - extract(epoch from '2026-07-17 08:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.323079 -2.773977)', '2026-07-17 08:41:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.773847)'), GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773977)'))) / (select extract(epoch from '2026-07-17 08:41:44'::timestamp) - extract(epoch from '2026-07-17 08:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.773847)'), GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773977)'))) / (select extract(epoch from '2026-07-17 08:41:44'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.323121 -2.774103)', '2026-07-17 08:41:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773977)'), GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.774103)'))) / (select extract(epoch from '2026-07-17 08:41:50'::timestamp) - extract(epoch from '2026-07-17 08:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773977)'), GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.774103)'))) / (select extract(epoch from '2026-07-17 08:41:50'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.323178 -2.774234)', '2026-07-17 08:41:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.774103)'), GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.774234)'))) / (select extract(epoch from '2026-07-17 08:41:57'::timestamp) - extract(epoch from '2026-07-17 08:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.774103)'), GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.774234)'))) / (select extract(epoch from '2026-07-17 08:41:57'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.323216 -2.774358)', '2026-07-17 08:42:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.774234)'), GeomFromEWKT('SRID=4674;POINT (-40.323216 -2.774358)'))) / (select extract(epoch from '2026-07-17 08:42:03'::timestamp) - extract(epoch from '2026-07-17 08:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.774234)'), GeomFromEWKT('SRID=4674;POINT (-40.323216 -2.774358)'))) / (select extract(epoch from '2026-07-17 08:42:03'::timestamp) - extract(epoch from '2026-07-17 08:41: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'), 47644, 'SRID=4674;POINT (-40.323281 -2.774495)', '2026-07-17 08:42:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323216 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.323281 -2.774495)'))) / (select extract(epoch from '2026-07-17 08:42:10'::timestamp) - extract(epoch from '2026-07-17 08:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323216 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.323281 -2.774495)'))) / (select extract(epoch from '2026-07-17 08:42:10'::timestamp) - extract(epoch from '2026-07-17 08:42: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'), 47644, 'SRID=4674;POINT (-40.323379 -2.774679)', '2026-07-17 08:42:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323281 -2.774495)'), GeomFromEWKT('SRID=4674;POINT (-40.323379 -2.774679)'))) / (select extract(epoch from '2026-07-17 08:42:20'::timestamp) - extract(epoch from '2026-07-17 08:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323281 -2.774495)'), GeomFromEWKT('SRID=4674;POINT (-40.323379 -2.774679)'))) / (select extract(epoch from '2026-07-17 08:42:20'::timestamp) - extract(epoch from '2026-07-17 08:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.323412 -2.774811)', '2026-07-17 08:42:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323379 -2.774679)'), GeomFromEWKT('SRID=4674;POINT (-40.323412 -2.774811)'))) / (select extract(epoch from '2026-07-17 08:42:27'::timestamp) - extract(epoch from '2026-07-17 08:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323379 -2.774679)'), GeomFromEWKT('SRID=4674;POINT (-40.323412 -2.774811)'))) / (select extract(epoch from '2026-07-17 08:42:27'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323449 -2.774952)', '2026-07-17 08:42:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323412 -2.774811)'), GeomFromEWKT('SRID=4674;POINT (-40.323449 -2.774952)'))) / (select extract(epoch from '2026-07-17 08:42:34'::timestamp) - extract(epoch from '2026-07-17 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323412 -2.774811)'), GeomFromEWKT('SRID=4674;POINT (-40.323449 -2.774952)'))) / (select extract(epoch from '2026-07-17 08:42:34'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323488 -2.775094)', '2026-07-17 08:42:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323449 -2.774952)'), GeomFromEWKT('SRID=4674;POINT (-40.323488 -2.775094)'))) / (select extract(epoch from '2026-07-17 08:42:41'::timestamp) - extract(epoch from '2026-07-17 08:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323449 -2.774952)'), GeomFromEWKT('SRID=4674;POINT (-40.323488 -2.775094)'))) / (select extract(epoch from '2026-07-17 08:42:41'::timestamp) - extract(epoch from '2026-07-17 08:42: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'), 47644, 'SRID=4674;POINT (-40.323548 -2.775242)', '2026-07-17 08:42:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323488 -2.775094)'), GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.775242)'))) / (select extract(epoch from '2026-07-17 08:42:48'::timestamp) - extract(epoch from '2026-07-17 08:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323488 -2.775094)'), GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.775242)'))) / (select extract(epoch from '2026-07-17 08:42:48'::timestamp) - extract(epoch from '2026-07-17 08:42: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'), 47644, 'SRID=4674;POINT (-40.323593 -2.775391)', '2026-07-17 08:42:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.775242)'), GeomFromEWKT('SRID=4674;POINT (-40.323593 -2.775391)'))) / (select extract(epoch from '2026-07-17 08:42:55'::timestamp) - extract(epoch from '2026-07-17 08:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.775242)'), GeomFromEWKT('SRID=4674;POINT (-40.323593 -2.775391)'))) / (select extract(epoch from '2026-07-17 08:42:55'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323642 -2.775567)', '2026-07-17 08:43:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323593 -2.775391)'), GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.775567)'))) / (select extract(epoch from '2026-07-17 08:43:04'::timestamp) - extract(epoch from '2026-07-17 08:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323593 -2.775391)'), GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.775567)'))) / (select extract(epoch from '2026-07-17 08:43:04'::timestamp) - extract(epoch from '2026-07-17 08:42: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'), 47644, 'SRID=4674;POINT (-40.323706 -2.775742)', '2026-07-17 08:43:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.775567)'), GeomFromEWKT('SRID=4674;POINT (-40.323706 -2.775742)'))) / (select extract(epoch from '2026-07-17 08:43:13'::timestamp) - extract(epoch from '2026-07-17 08:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.775567)'), GeomFromEWKT('SRID=4674;POINT (-40.323706 -2.775742)'))) / (select extract(epoch from '2026-07-17 08:43:13'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323733 -2.775886)', '2026-07-17 08:43:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323706 -2.775742)'), GeomFromEWKT('SRID=4674;POINT (-40.323733 -2.775886)'))) / (select extract(epoch from '2026-07-17 08:43:20'::timestamp) - extract(epoch from '2026-07-17 08:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323706 -2.775742)'), GeomFromEWKT('SRID=4674;POINT (-40.323733 -2.775886)'))) / (select extract(epoch from '2026-07-17 08:43:20'::timestamp) - extract(epoch from '2026-07-17 08:43: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'), 47644, 'SRID=4674;POINT (-40.32377 -2.776001)', '2026-07-17 08:43:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323733 -2.775886)'), GeomFromEWKT('SRID=4674;POINT (-40.32377 -2.776001)'))) / (select extract(epoch from '2026-07-17 08:43:26'::timestamp) - extract(epoch from '2026-07-17 08:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323733 -2.775886)'), GeomFromEWKT('SRID=4674;POINT (-40.32377 -2.776001)'))) / (select extract(epoch from '2026-07-17 08:43:26'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323831 -2.776184)', '2026-07-17 08:43:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32377 -2.776001)'), GeomFromEWKT('SRID=4674;POINT (-40.323831 -2.776184)'))) / (select extract(epoch from '2026-07-17 08:43:36'::timestamp) - extract(epoch from '2026-07-17 08:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32377 -2.776001)'), GeomFromEWKT('SRID=4674;POINT (-40.323831 -2.776184)'))) / (select extract(epoch from '2026-07-17 08:43:36'::timestamp) - extract(epoch from '2026-07-17 08:43: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'), 47644, 'SRID=4674;POINT (-40.323874 -2.776332)', '2026-07-17 08:43:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323831 -2.776184)'), GeomFromEWKT('SRID=4674;POINT (-40.323874 -2.776332)'))) / (select extract(epoch from '2026-07-17 08:43:43'::timestamp) - extract(epoch from '2026-07-17 08:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323831 -2.776184)'), GeomFromEWKT('SRID=4674;POINT (-40.323874 -2.776332)'))) / (select extract(epoch from '2026-07-17 08:43:43'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.323903 -2.776469)', '2026-07-17 08:43:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323874 -2.776332)'), GeomFromEWKT('SRID=4674;POINT (-40.323903 -2.776469)'))) / (select extract(epoch from '2026-07-17 08:43:50'::timestamp) - extract(epoch from '2026-07-17 08:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323874 -2.776332)'), GeomFromEWKT('SRID=4674;POINT (-40.323903 -2.776469)'))) / (select extract(epoch from '2026-07-17 08:43:50'::timestamp) - extract(epoch from '2026-07-17 08:43: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'), 47644, 'SRID=4674;POINT (-40.323925 -2.776643)', '2026-07-17 08:43:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323903 -2.776469)'), GeomFromEWKT('SRID=4674;POINT (-40.323925 -2.776643)'))) / (select extract(epoch from '2026-07-17 08:43:58'::timestamp) - extract(epoch from '2026-07-17 08:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323903 -2.776469)'), GeomFromEWKT('SRID=4674;POINT (-40.323925 -2.776643)'))) / (select extract(epoch from '2026-07-17 08:43:58'::timestamp) - extract(epoch from '2026-07-17 08:43: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'), 47644, 'SRID=4674;POINT (-40.323928 -2.776791)', '2026-07-17 08:44:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323925 -2.776643)'), GeomFromEWKT('SRID=4674;POINT (-40.323928 -2.776791)'))) / (select extract(epoch from '2026-07-17 08:44:05'::timestamp) - extract(epoch from '2026-07-17 08:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323925 -2.776643)'), GeomFromEWKT('SRID=4674;POINT (-40.323928 -2.776791)'))) / (select extract(epoch from '2026-07-17 08:44:05'::timestamp) - extract(epoch from '2026-07-17 08:43: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'), 47644, 'SRID=4674;POINT (-40.323951 -2.776934)', '2026-07-17 08:44:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323928 -2.776791)'), GeomFromEWKT('SRID=4674;POINT (-40.323951 -2.776934)'))) / (select extract(epoch from '2026-07-17 08:44:12'::timestamp) - extract(epoch from '2026-07-17 08:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323928 -2.776791)'), GeomFromEWKT('SRID=4674;POINT (-40.323951 -2.776934)'))) / (select extract(epoch from '2026-07-17 08:44:12'::timestamp) - extract(epoch from '2026-07-17 08:44: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'), 47644, 'SRID=4674;POINT (-40.323991 -2.777074)', '2026-07-17 08:44:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323951 -2.776934)'), GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.777074)'))) / (select extract(epoch from '2026-07-17 08:44:19'::timestamp) - extract(epoch from '2026-07-17 08:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323951 -2.776934)'), GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.777074)'))) / (select extract(epoch from '2026-07-17 08:44:19'::timestamp) - extract(epoch from '2026-07-17 08:44: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'), 47644, 'SRID=4674;POINT (-40.324046 -2.777243)', '2026-07-17 08:44:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.777074)'), GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.777243)'))) / (select extract(epoch from '2026-07-17 08:44:27'::timestamp) - extract(epoch from '2026-07-17 08:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.777074)'), GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.777243)'))) / (select extract(epoch from '2026-07-17 08:44:27'::timestamp) - extract(epoch from '2026-07-17 08:44: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'), 47644, 'SRID=4674;POINT (-40.324116 -2.777387)', '2026-07-17 08:44:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.777387)'))) / (select extract(epoch from '2026-07-17 08:44:34'::timestamp) - extract(epoch from '2026-07-17 08:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.777387)'))) / (select extract(epoch from '2026-07-17 08:44:34'::timestamp) - extract(epoch from '2026-07-17 08:44: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'), 47644, 'SRID=4674;POINT (-40.324171 -2.777553)', '2026-07-17 08:44:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.777387)'), GeomFromEWKT('SRID=4674;POINT (-40.324171 -2.777553)'))) / (select extract(epoch from '2026-07-17 08:44:42'::timestamp) - extract(epoch from '2026-07-17 08:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.777387)'), GeomFromEWKT('SRID=4674;POINT (-40.324171 -2.777553)'))) / (select extract(epoch from '2026-07-17 08:44:42'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47644, 'SRID=4674;POINT (-40.324207 -2.777735)', '2026-07-17 08:44:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324171 -2.777553)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777735)'))) / (select extract(epoch from '2026-07-17 08:44:51'::timestamp) - extract(epoch from '2026-07-17 08:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324171 -2.777553)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777735)'))) / (select extract(epoch from '2026-07-17 08:44:51'::timestamp) - extract(epoch from '2026-07-17 08:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.324237 -2.777909)', '2026-07-17 08:44:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777735)'), GeomFromEWKT('SRID=4674;POINT (-40.324237 -2.777909)'))) / (select extract(epoch from '2026-07-17 08:44:59'::timestamp) - extract(epoch from '2026-07-17 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777735)'), GeomFromEWKT('SRID=4674;POINT (-40.324237 -2.777909)'))) / (select extract(epoch from '2026-07-17 08:44:59'::timestamp) - extract(epoch from '2026-07-17 08:44: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'), 47644, 'SRID=4674;POINT (-40.324265 -2.778079)', '2026-07-17 08:45:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324237 -2.777909)'), GeomFromEWKT('SRID=4674;POINT (-40.324265 -2.778079)'))) / (select extract(epoch from '2026-07-17 08:45:07'::timestamp) - extract(epoch from '2026-07-17 08:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324237 -2.777909)'), GeomFromEWKT('SRID=4674;POINT (-40.324265 -2.778079)'))) / (select extract(epoch from '2026-07-17 08:45:07'::timestamp) - extract(epoch from '2026-07-17 08:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.324316 -2.778223)', '2026-07-17 08:45:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324265 -2.778079)'), GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.778223)'))) / (select extract(epoch from '2026-07-17 08:45:14'::timestamp) - extract(epoch from '2026-07-17 08:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324265 -2.778079)'), GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.778223)'))) / (select extract(epoch from '2026-07-17 08:45:14'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324367 -2.778383)', '2026-07-17 08:45:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.778223)'), GeomFromEWKT('SRID=4674;POINT (-40.324367 -2.778383)'))) / (select extract(epoch from '2026-07-17 08:45:22'::timestamp) - extract(epoch from '2026-07-17 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.778223)'), GeomFromEWKT('SRID=4674;POINT (-40.324367 -2.778383)'))) / (select extract(epoch from '2026-07-17 08:45:22'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324424 -2.778523)', '2026-07-17 08:45:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324367 -2.778383)'), GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.778523)'))) / (select extract(epoch from '2026-07-17 08:45:29'::timestamp) - extract(epoch from '2026-07-17 08:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324367 -2.778383)'), GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.778523)'))) / (select extract(epoch from '2026-07-17 08:45:29'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324488 -2.778666)', '2026-07-17 08:45:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.778523)'), GeomFromEWKT('SRID=4674;POINT (-40.324488 -2.778666)'))) / (select extract(epoch from '2026-07-17 08:45:36'::timestamp) - extract(epoch from '2026-07-17 08:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.778523)'), GeomFromEWKT('SRID=4674;POINT (-40.324488 -2.778666)'))) / (select extract(epoch from '2026-07-17 08:45:36'::timestamp) - extract(epoch from '2026-07-17 08:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.324555 -2.778857)', '2026-07-17 08:45:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324488 -2.778666)'), GeomFromEWKT('SRID=4674;POINT (-40.324555 -2.778857)'))) / (select extract(epoch from '2026-07-17 08:45:45'::timestamp) - extract(epoch from '2026-07-17 08:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324488 -2.778666)'), GeomFromEWKT('SRID=4674;POINT (-40.324555 -2.778857)'))) / (select extract(epoch from '2026-07-17 08:45:45'::timestamp) - extract(epoch from '2026-07-17 08:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.324597 -2.779012)', '2026-07-17 08:45:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324555 -2.778857)'), GeomFromEWKT('SRID=4674;POINT (-40.324597 -2.779012)'))) / (select extract(epoch from '2026-07-17 08:45:53'::timestamp) - extract(epoch from '2026-07-17 08:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324555 -2.778857)'), GeomFromEWKT('SRID=4674;POINT (-40.324597 -2.779012)'))) / (select extract(epoch from '2026-07-17 08:45:53'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324676 -2.779128)', '2026-07-17 08:45:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324597 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.324676 -2.779128)'))) / (select extract(epoch from '2026-07-17 08:45:59'::timestamp) - extract(epoch from '2026-07-17 08:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324597 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.324676 -2.779128)'))) / (select extract(epoch from '2026-07-17 08:45:59'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324794 -2.779202)', '2026-07-17 08:46:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324676 -2.779128)'), GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.779202)'))) / (select extract(epoch from '2026-07-17 08:46:05'::timestamp) - extract(epoch from '2026-07-17 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324676 -2.779128)'), GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.779202)'))) / (select extract(epoch from '2026-07-17 08:46:05'::timestamp) - extract(epoch from '2026-07-17 08:45: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'), 47644, 'SRID=4674;POINT (-40.324936 -2.779337)', '2026-07-17 08:46:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.779202)'), GeomFromEWKT('SRID=4674;POINT (-40.324936 -2.779337)'))) / (select extract(epoch from '2026-07-17 08:46:13'::timestamp) - extract(epoch from '2026-07-17 08:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.779202)'), GeomFromEWKT('SRID=4674;POINT (-40.324936 -2.779337)'))) / (select extract(epoch from '2026-07-17 08:46:13'::timestamp) - extract(epoch from '2026-07-17 08:46: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'), 47644, 'SRID=4674;POINT (-40.325001 -2.779426)', '2026-07-17 08:46:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324936 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.325001 -2.779426)'))) / (select extract(epoch from '2026-07-17 08:46:18'::timestamp) - extract(epoch from '2026-07-17 08:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324936 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.325001 -2.779426)'))) / (select extract(epoch from '2026-07-17 08:46:18'::timestamp) - extract(epoch from '2026-07-17 08:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325088 -2.779529)', '2026-07-17 08:46:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325001 -2.779426)'), GeomFromEWKT('SRID=4674;POINT (-40.325088 -2.779529)'))) / (select extract(epoch from '2026-07-17 08:46:24'::timestamp) - extract(epoch from '2026-07-17 08:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325001 -2.779426)'), GeomFromEWKT('SRID=4674;POINT (-40.325088 -2.779529)'))) / (select extract(epoch from '2026-07-17 08:46:24'::timestamp) - extract(epoch from '2026-07-17 08:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325148 -2.779645)', '2026-07-17 08:46:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325088 -2.779529)'), GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779645)'))) / (select extract(epoch from '2026-07-17 08:46:30'::timestamp) - extract(epoch from '2026-07-17 08:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325088 -2.779529)'), GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779645)'))) / (select extract(epoch from '2026-07-17 08:46:30'::timestamp) - extract(epoch from '2026-07-17 08:46: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'), 47644, 'SRID=4674;POINT (-40.325238 -2.779814)', '2026-07-17 08:46:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.325238 -2.779814)'))) / (select extract(epoch from '2026-07-17 08:46:39'::timestamp) - extract(epoch from '2026-07-17 08:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.325238 -2.779814)'))) / (select extract(epoch from '2026-07-17 08:46:39'::timestamp) - extract(epoch from '2026-07-17 08:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325325 -2.779939)', '2026-07-17 08:46:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325238 -2.779814)'), GeomFromEWKT('SRID=4674;POINT (-40.325325 -2.779939)'))) / (select extract(epoch from '2026-07-17 08:46:46'::timestamp) - extract(epoch from '2026-07-17 08:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325238 -2.779814)'), GeomFromEWKT('SRID=4674;POINT (-40.325325 -2.779939)'))) / (select extract(epoch from '2026-07-17 08:46:46'::timestamp) - extract(epoch from '2026-07-17 08:46: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'), 47644, 'SRID=4674;POINT (-40.325391 -2.780049)', '2026-07-17 08:46:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325325 -2.779939)'), GeomFromEWKT('SRID=4674;POINT (-40.325391 -2.780049)'))) / (select extract(epoch from '2026-07-17 08:46:52'::timestamp) - extract(epoch from '2026-07-17 08:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325325 -2.779939)'), GeomFromEWKT('SRID=4674;POINT (-40.325391 -2.780049)'))) / (select extract(epoch from '2026-07-17 08:46:52'::timestamp) - extract(epoch from '2026-07-17 08:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325455 -2.780195)', '2026-07-17 08:47:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325391 -2.780049)'), GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.780195)'))) / (select extract(epoch from '2026-07-17 08:47:00'::timestamp) - extract(epoch from '2026-07-17 08:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325391 -2.780049)'), GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.780195)'))) / (select extract(epoch from '2026-07-17 08:47:00'::timestamp) - extract(epoch from '2026-07-17 08:46: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'), 47644, 'SRID=4674;POINT (-40.325451 -2.780333)', '2026-07-17 08:47:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.780195)'), GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780333)'))) / (select extract(epoch from '2026-07-17 08:47:07'::timestamp) - extract(epoch from '2026-07-17 08:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.780195)'), GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780333)'))) / (select extract(epoch from '2026-07-17 08:47:07'::timestamp) - extract(epoch from '2026-07-17 08:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325451 -2.780516)', '2026-07-17 08:47:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780333)'), GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780516)'))) / (select extract(epoch from '2026-07-17 08:47:16'::timestamp) - extract(epoch from '2026-07-17 08:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780333)'), GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780516)'))) / (select extract(epoch from '2026-07-17 08:47:16'::timestamp) - extract(epoch from '2026-07-17 08:47: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'), 47644, 'SRID=4674;POINT (-40.325466 -2.780658)', '2026-07-17 08:47:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780516)'), GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.780658)'))) / (select extract(epoch from '2026-07-17 08:47:23'::timestamp) - extract(epoch from '2026-07-17 08:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325451 -2.780516)'), GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.780658)'))) / (select extract(epoch from '2026-07-17 08:47:23'::timestamp) - extract(epoch from '2026-07-17 08:47: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'), 47644, 'SRID=4674;POINT (-40.325503 -2.780821)', '2026-07-17 08:47:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.780658)'), GeomFromEWKT('SRID=4674;POINT (-40.325503 -2.780821)'))) / (select extract(epoch from '2026-07-17 08:47:31'::timestamp) - extract(epoch from '2026-07-17 08:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.780658)'), GeomFromEWKT('SRID=4674;POINT (-40.325503 -2.780821)'))) / (select extract(epoch from '2026-07-17 08:47:31'::timestamp) - extract(epoch from '2026-07-17 08:47: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'), 47644, 'SRID=4674;POINT (-40.325534 -2.780964)', '2026-07-17 08:47:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325503 -2.780821)'), GeomFromEWKT('SRID=4674;POINT (-40.325534 -2.780964)'))) / (select extract(epoch from '2026-07-17 08:47:38'::timestamp) - extract(epoch from '2026-07-17 08:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325503 -2.780821)'), GeomFromEWKT('SRID=4674;POINT (-40.325534 -2.780964)'))) / (select extract(epoch from '2026-07-17 08:47:38'::timestamp) - extract(epoch from '2026-07-17 08:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47644, 'SRID=4674;POINT (-40.325573 -2.781102)', '2026-07-17 08:47:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325534 -2.780964)'), GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.781102)'))) / (select extract(epoch from '2026-07-17 08:47:45'::timestamp) - extract(epoch from '2026-07-17 08:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325534 -2.780964)'), GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.781102)'))) / (select extract(epoch from '2026-07-17 08:47:45'::timestamp) - extract(epoch from '2026-07-17 08:47: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'), 47644, 'SRID=4674;POINT (-40.32563 -2.781252)', '2026-07-17 08:47:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.781102)'), GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.781252)'))) / (select extract(epoch from '2026-07-17 08:47:52'::timestamp) - extract(epoch from '2026-07-17 08:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.781102)'), GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.781252)'))) / (select extract(epoch from '2026-07-17 08:47:52'::timestamp) - extract(epoch from '2026-07-17 08:47: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'), 47644, 'SRID=4674;POINT (-40.325685 -2.781394)', '2026-07-17 08:47:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.781252)'), GeomFromEWKT('SRID=4674;POINT (-40.325685 -2.781394)'))) / (select extract(epoch from '2026-07-17 08:47:59'::timestamp) - extract(epoch from '2026-07-17 08:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.781252)'), GeomFromEWKT('SRID=4674;POINT (-40.325685 -2.781394)'))) / (select extract(epoch from '2026-07-17 08:47:59'::timestamp) - extract(epoch from '2026-07-17 08:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
